1 2008-10-21 Dan Williams <dcbw@redhat.com>
4 - (free_get_settings_info): don't use the DBusGProxy which could be
5 disposed of by the time the function is called
6 - (internal_new_connection_cb): save connection scope
7 - (connection_get_settings_cb): don't replace a connection unless it's
8 actually different from the existing one; fixes an issue where
9 killing the settings service wouldn't deactivate an active connection
10 provided by that settings service, because it was using a connection
11 that had already been replaced in the system or user hash
13 2008-10-21 Dan Williams <dcbw@redhat.com>
15 * src/NetworkManager.c
16 - (main): keep the DHCP manager around since it's a singleton; fixes
17 a use-after-free exposed by r4196 since the DHCP manager singleton
18 variable isn't cleared when the DHCP manager object is finalized
20 2008-10-20 Dan Williams <dcbw@redhat.com>
22 * libnm-util/nm-setting-wireless-security.c
23 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
25 2008-10-20 Dan Williams <dcbw@redhat.com>
27 * src/supplicant-manager/nm-supplicant-config.c
28 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
30 2008-10-20 Dan Williams <dcbw@redhat.com>
32 * src/dhcp-manager/nm-dhcp-manager.c
33 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
34 manager object already refs it once
35 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
36 also get cleaned up by nm_dhcp_device_destroy() to prevent
39 2008-10-20 Dan Williams <dcbw@redhat.com>
42 - (initial_get_connections): use private dbus manager, don't keep
43 ref-ing the singleton. Fixes mismatched refcounts of the dbus
46 2008-10-18 Dan Williams <dcbw@redhat.com>
48 * libnm-glib/nm-settings.c
49 libnm-glib/nm-settings.h
50 - Rename the "get_secrets" virtual function "service_get_secrets" to
51 clarify when it's used; NMExportedConnetion is a base-class for both
52 the client and service side, which is sort of confusing, and
53 get_secrets only makes sense on the service side.
55 * libnm-glib/nm-dbus-connection.c
56 - (get_secrets): remove, unused, and clients need to do extra work to
57 get secrets anyway since the call can block on the remote side
59 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
60 system-settings/plugins/keyfile/nm-keyfile-connection.c
61 - Fix up for get_secrets -> service_get_secrets
63 2008-10-16 Dan Williams <dcbw@redhat.com>
65 * src/nm-device-wifi.c
66 - (constructor): correctly determine encryption capabilities
68 2008-10-15 Dan Williams <dcbw@redhat.com>
70 * src/nm-device-wifi.c
71 - (wireless_qual_to_percent): fix quality calculation in a fallback case
74 2008-10-15 Dan Williams <dcbw@redhat.com>
76 * src/NetworkManagerSystem.c
77 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
78 if the ip4_dest is in a smaller subnet contained within a subnet
79 the machine is currently on, the destination is in the same subnet
80 - (nm_system_device_set_ip4_route): move subnet checks to callers
81 - (add_vpn_gateway_route): check if the VPN gateway is in the same
82 subnet as the parent device, and if so, don't add the direct
83 host route via the parent device's gateway (bgo #481620)
84 - (nm_system_apply_ip4_config): check whether the route to be added
85 is contained within a subnet the device is already on
87 2008-10-11 Dan Williams <dcbw@redhat.com>
89 * include/NetworkManager.h
90 introspection/nm-device.xml
91 include/NetworkManagerVPN.h
92 - Add a few more state reasons for the device deactivated state
94 * src/nm-device-interface.c
95 src/nm-device-interface.h
96 - (nm_device_interface_deactivate): add a 'reason' argument
100 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
101 - (nm_device_state_changed): pass the state change reason to
102 nm_device_take_down()
103 - (nm_device_set_managed): take a 'reason' argument, and pass it along
104 to the state change function
108 - (remove_one_device, handle_unmanaged_devices, sync_devices,
109 impl_manager_sleep): pass a reason code to nm_device_set_managed()
110 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
111 something reasonable along to VPN deactivation
113 * src/vpn-manager/nm-vpn-manager.c
114 src/vpn-manager/nm-vpn-manager.h
115 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
116 pass that along to nm_vpn_connection_disconnect()
118 2008-10-11 Dan Williams <dcbw@redhat.com>
120 * src/nm-device-wifi.c
121 - (can_scan): remove old madwifi hack for not scanning while connected
123 2008-10-11 Dan Williams <dcbw@redhat.com>
125 Add support for VPN subnet gateways (bgo #549196)
127 * include/NetworkManager.h
128 - Add key for internal VPN subnet gateway
130 * src/vpn-manager/nm-vpn-connection.c
131 - (ip_address_to_string): return a const from a static buffer so we
132 don't leak a lot of strings
133 - (print_vpn_config): print internal VPN gateway as well
134 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
136 - (nm_vpn_connection_get_ip4_internal_gateway): new function
138 * src/NetworkManagerSystem.c
139 src/NetworkManagerSystem.h
140 - (nm_system_device_replace_default_ip4_route): split into two, one for
141 VPN connections and one for normal devices
142 - (replace_default_ip4_route): break out route stuff into its own function
143 - (nm_system_replace_default_ip4_route_vpn,
144 nm_system_replace_default_ip4_route): simplify by having two cases,
145 one for VPNs and one for normal devices
147 * src/NetworkManagerPolicy.c
148 - (update_routing_and_dns): simplify, use split default route replacement
151 2008-10-10 Dan Williams <dcbw@redhat.com>
153 Rework default route handling to consolidate decisions in the policy,
154 and to take active VPN connections into account when changing the default
157 * src/NetworkManager.c
158 - (main): pass the vpn_manager to the policy so it knows about active
159 VPN connections; clean up the named manager which wasn't done before
161 * src/NetworkManagerPolicy.c
162 src/NetworkManagerPolicy.h
163 - (nm_policy_new): get a clue about the vpn_manager
164 - (update_default_route): remove, fold into update_routing_and_dns()
165 - (update_routing_and_dns): handle active VPN connections too; an
166 active VPN connection becomes the default route if it does not have
167 server-specified or user-specified custom routes. Otherwise, the
168 best active device gets the default route
169 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
170 nm_policy_destroy): track VPN connection activation and deactivation
171 and update the default route when appropriate
173 * src/NetworkManagerSystem.c
174 src/NetworkManagerSystem.h
175 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
176 in the VPN connection itself
177 - (nm_system_vpn_device_set_from_ip4_config,
178 nm_system_device_set_from_ip4_config): merge together to make
179 nm_system_apply_ip4_config()
180 - (add_vpn_gateway_route): add a route to the VPN's external gateway
181 via the parent device
182 - (nm_system_apply_ip4_config): simplify
183 - (add_ip4_route_to_gateway): new function; add a direct route to the
185 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
186 route stuff out into add_ip4_route_to_gateway() for clarity
189 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
191 * src/vpn-manager/nm-vpn-connection.c
192 src/vpn-manager/nm-vpn-connection.h
193 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
194 nm_vpn_connection_get_parent_device): add
195 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
197 - (connection_state_changed): update the named manager now that
198 nm_system_vpn_device_unset_from_ip4_config() is gone; do something
201 * src/vpn-manager/nm-vpn-manager.c
202 src/vpn-manager/nm-vpn-manager.h
203 - Add a 'connection-activated' signal
204 - (nm_vpn_manager_get_active_connections): new function; mainly for the
205 policy to find out about active VPN connections
207 2008-10-10 Tambet Ingo <tambet@gmail.com>
209 * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
210 a daemon to prevent NM logging spew on console on startup and shutdown (due
211 to dependency loop between NM and syslog).
213 2008-10-10 Alexander Sack <asac@ubuntu.com>
215 Implement managed mode. We bind devices configured in /etc/network/interfaces
216 to their connections by updating wired/wireless setting with the
217 mac address of the device.
219 * system-settings/plugins/ifupdown/plugin.c
220 - (get_net_address_for_udi): implement function to retrieve MAC
221 address of udi from hal in GByteArray format
222 - (bind_device_to_connection): bind mac address of device to
223 wired/wireless system connection
224 - (hal_device_added_cb): call bind_device_to_connection for
225 system connections with a matching interface.name
226 - (hal_device_added_cb): ensure that all code paths
227 properly free the "iface" string.
229 2008-10-10 Alexander Sack <asac@ubuntu.com>
231 Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
232 mode of the ifupdown system config plugin.
234 * system-settings/plugins/ifupdown/plugin.c
235 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
236 private unmanage_well_known state field accordingly
238 2008-10-10 Alexander Sack <asac@ubuntu.com>
240 Implement unmanaged mode that will prevent all devices in the
241 well_known_udis set from being touched by NetworkManager
243 * system-settings/plugins/ifupdown/plugin.c
244 - (typedef struct SCPluginIfupdownPrivate): add gboolean
245 unmanage_well_known field used to turn on/off unmanaged
247 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
248 signal when well_known_udis get added/removed
249 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
250 if we are in unmanaged mode
252 2008-10-10 Alexander Sack <asac@ubuntu.com>
254 Add support to track network devices that have a configuration
255 with a matching interface.name in /etc/network/interfaces
257 * system-settings/plugins/ifupdown/plugin.c
258 - (typedef struct SCPluginIfupdownPrivate): add hash table
259 to track |well_known_udis|
260 - (get_iface_for_udi): helper function to get interface.name
262 - (hal_device_added_cb, hal_device_removed_cb): callbacks
263 that add and remove devices to and from the well_known_udis
264 set depending on whether their |interface.name| matches
265 any interface definition in /etc/network/interfaces
266 - (SCPluginIfupdown_init): connect callbacks from above with
267 hal_mgr and setup well_known_udis hashtable
268 - (GObject__dispose): destroy well_known_udis hashtable
269 - (hal_device_added_cb2): implement wrapper callback with GFunc
270 signature. user_data is supposed to be a triple (hal_mgr,
272 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
273 startup and call hal_device_added_cb2
275 2008-10-10 Alexander Sack <asac@ubuntu.com>
277 Remove implementation for not used NMSystemConfigInterface callback functions
280 * system-settings/plugins/ifupdown/plugin.c
281 - (SCPluginIfupdown_unmanaged_devices_changed): removed
282 - (SCPluginIfupdown_connection_added): removed
284 2008-10-08 Dan Williams <dcbw@redhat.com>
286 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
288 * src/NetworkManagerUtils.c
289 - (nm_utils_call_dispatcher): add a 'hostname' action
291 * src/NetworkManagerPolicy.c
292 - (set_system_hostname): dispatch hostname changes
294 * callouts/nm-dispatcher-action.c
295 - (nm_dispatcher_action): handle 'hostname' actions
297 2008-10-08 Dan Williams <dcbw@redhat.com>
299 * src/NetworkManagerSystem.c
300 - (find_route): ref the route so it doesn't get destroyed when the cache
302 - (nm_system_device_set_priority): unref the route here after it's done
305 2008-10-08 Dan Williams <dcbw@redhat.com>
307 * src/nm-serial-device.c
308 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
310 2008-10-08 Tambet Ingo <tambet@gmail.com>
312 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
313 connection with new settings before saving it.
315 2008-10-06 Dan Williams <dcbw@redhat.com>
317 * src/nm-ip4-config.c
319 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
321 * src/nm-device-interface.c
322 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
323 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
324 by using '/' for the object path
327 - (src/nm-device.c): marshal missing/unexported ip4-config through
328 dbus as '/' since dbus-glib can't handle NULL objects nor can
329 dbus handle NULL object paths
331 2008-10-03 Alexander Sack <asac@ubuntu.com>
333 Implement system hostname support for debian/ubuntu
335 * system-settings/plugins/ifupdown/plugin.c
336 - (GObject__get_property): extend announced capabilities; add
337 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
338 - (GObject__set_property,write_system_hostname): implement
339 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
340 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
341 update_system_hostname, get_hostname):
342 implement hostname property that watches and
345 2008-10-03 Alexander Sack <asac@ubuntu.com>
347 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
348 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
349 system-settings/plugins/ifcfg-fedora/Makefile.am
350 system-settings/src/nm-inotify-helper.c
351 system-settings/src/nm-inotify-helper.h
353 - Move ifcfg-fedora inotify helpers to the system settings service so
354 they are available to all plugins
356 2008-10-03 Alexander Sack <asac@ubuntu.com>
358 Implement support for wep-tx-keyidx in ifupdown system
361 * system-settings/plugins/ifupdown/parser.c
362 - (update_wireless_security_setting_from_if_block): introduce
363 free_type_mapping func table; rename a few local
364 variables to improve readability; add wpa security mapping
365 for wep-tx-keyidx property
366 - (string_to_gpointerint): new function used for the auto_type_mapping
367 of new wep-tx-keyidx property
368 - (slist_free_all): free func used for mapped slist types
370 2008-10-03 Alexander Sack <asac@ubuntu.com>
372 * system-settings/src/main.c:
373 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
374 always used as the hash key; fixes a crash when removing wired
377 2008-10-02 Dan Williams <dcbw@redhat.com>
379 * src/nm-gsm-device.c
380 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
381 pass the required GSM secret along via user_data rather than keeping
382 it around in the private data where it sometimes didn't get cleared
383 - (real_get_ppp_name): implement using the GSM username
385 2008-10-02 Dan Williams <dcbw@redhat.com>
387 * src/ppp-manager/nm-ppp-manager.c
388 src/ppp-manager/nm-ppp-manager.h
389 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
390 the settings daemon for completely new ones
391 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
392 local PPP peer name; allow PPP debuging by launching NM with
393 the environment variable NM_PPP_DEBUG defined
394 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
395 create_pppd_cmd_line()
397 * src/nm-serial-device.c
398 src/nm-serial-device.h
399 - New 'get_ppp_name' function for subclasses to implement to return the
401 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
402 and pass that name to the PPP manager
404 * src/nm-device-ethernet.c
405 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
408 * src/nm-cdma-device.c
409 - (real_get_ppp_name): implement using the CDMA username
411 2008-10-02 Dan Williams <dcbw@redhat.com>
413 Patch from Alexander Sack <asac ubuntu com>
415 * system-settings/plugins/ifupdown/parser.c
416 - Implement more graceful ip4 config parsing for cases where
417 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
418 by using default values
420 2008-10-02 Dan Williams <dcbw@redhat.com>
422 * src/NetworkManagerPolicy.c
423 - (device_state_changed): when marking a connection invalid, clear its
424 secrets too so that fresh secrets get requested the next time
426 2008-10-01 Dan Williams <dcbw@redhat.com>
428 * system-settings/src/dbus-settings.c
429 - (nm_sysconfig_settings_init): cache system hostname on startup as
430 a fallback if no plugin provides a hostname
431 - (get_property): fall back to cached hostname if no plugin provides
434 2008-10-01 Dan Williams <dcbw@redhat.com>
436 Fix setting value comparison issue that caused some settings to look the
437 same when they were really different (rh #464417)
439 * libnm-util/nm-param-spec-specialized.c
440 - (type_is_fixed_size): return fundamental size of the fixed type too
441 - (nm_gvalues_compare_collection): use the fundamental fixed type size
442 in the comparison so that the _entire_ fixed type collection gets
443 compared rather than just the first 'len1' bytes
445 2008-09-30 Dan Williams <dcbw@redhat.com>
447 * src/NetworkManagerPolicy.c
448 - (lookup_thread_worker): don't store the idle handler ID becuase the
449 idle handler could have already run and freed the LookupThread
452 2008-09-30 Tambet Ingo <tambet@gmail.com>
454 * src/nm-device.c (nm_device_get_priority): Implement.
455 (nm_device_set_ip4_config): Send the device priority to system ip4
458 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
459 Add priority argument and if it's >= 0, set the priority of the network
460 route added automatically by netlink (or kernel?).
461 (nm_system_device_set_priority): Implement.
463 * src/NetworkManagerPolicy.c (get_best_device): Use
464 nm_device_get_priority() instead of home-grown version. Revert the
465 meaning, best priority is the lowest one.
467 2008-09-29 Dan Williams <dcbw@redhat.com>
469 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
470 when it returns EAGAIN (rh #362421)
472 * src/nm-device-wifi.c
473 - (wireless_get_range): try GIWRANGE a few times until the card responds
474 - (real_get_generic_capabilities, constructor): use wireless_get_range()
476 2008-09-28 Dan Williams <dcbw@redhat.com>
478 * src/nm-serial-device.c
479 src/nm-serial-device.h
480 - (nm_serial_device_close): stop PPP manager here so that PPP gets
481 cleaned at the right times when subclasses close the serial port too
482 - (nm_serial_device_send_command): use a default send delay; don't
483 spin forever on EAGAIN
484 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
485 remove, no longer used
486 - (find_response): return the matched response if any
487 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
489 - (wait_for_reply_done): pass the matched response to the callback
490 - (wait_for_reply_got_data): save the matched response; simplify timeout
492 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
493 const since they never get modified
494 - (cleanup_device): split out common cleanup stuff to a new function
495 - (real_deactivate_quickly, finalize): use cleanup_device()
497 * src/nm-gsm-device.c
498 - (modem_get_reply): remove, unused
499 - (set_apn): give the card a bit more time to respond
500 - (manual_registration_again, schedule_manual_registration_again,
501 manual_registration_response, manual_registration): handle manual
502 registration timeouts better by retrying registration a few times
503 because cards are a bit slow after CFUN=1
504 - (automatic_registration_get_network, get_network_response): use
505 modem_wait_for_reply() because it interacts better with the serial
506 buffer and does more intelligent matching; need to wait for 'OK'
507 rather than just matching terminators
508 - (schedule_automatic_registration_again,
509 automatic_registration_response, automatic_registration): retry
510 registration a few times on timeout or "searching" because cards
511 take a bit to find a network after being powered up with CFUN=1
512 - (power_up_response, power_up, init_full_done, enter_pin,
513 check_pin_done): power up the card with CFUN=1 before trying to
514 register with the network
515 - (init_modem_full, init_modem): use more standard 3G init strings
517 * src/nm-hso-gsm-device.c
518 - (modem_get_reply): remove, unused
519 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
520 modem_wait_for_reply() to match actual responses instead of single
521 termination characters; it doesn't leave stuff in the serial buffer
522 that might confuse later calls
523 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
524 to ensure that the call is really disconnected and not leave extra
525 stuff in the serial buffer
527 * src/nm-cdma-device.c
528 - (power_up_response, power_up, init_done): try Sierra-style modem
529 power up before attempting to connect
531 2008-09-27 Dan Williams <dcbw@redhat.com>
533 * libnm-util/nm-setting-gsm.c
534 - (verify): verify GSM network ID
536 2008-09-25 Dan Williams <dcbw@redhat.com>
538 * libnm-util/nm-setting-gsm.c
539 libnm-util/nm-setting-gsm.h
540 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
541 technology terms (bgo #551361)
543 2008-09-25 Dan Williams <dcbw@redhat.com>
545 Fix bgo #549401 (inspired by patch from Alexander Sack)
547 * src/nm-device-ethernet.c
548 - (finish_supplicant_task): clean up scheduled tasks and free memory
549 - (remove_supplicant_interface_error_handler): remove the supplicant
550 error idle callback too
551 - (supplicant_interface_release): rename from supplicant_interface_clean
552 to match nm-device-wifi.c; clean up supplicant interface-related
553 state tasks when the supplicant interface is disposed of
554 - (schedule_state_handler): add scheduled tasks to a list so they can
556 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
557 supplicant_iface_connection_state_cb_handler): use
558 finish_supplicant_task() to clean up each completed task
559 - (supplicant_iface_connection_error_cb_handler,
560 supplicant_connection_timeout_cb): clear source id when the task is
562 - (supplicant_iface_connection_error_cb): save scheduled task id for
564 - (nm_device_ethernet_dispose): clean up any pending supplicant state
567 * src/nm-device-wifi.c
568 - (finish_supplicant_task): clean up scheduled tasks and free memory
569 - (remove_supplicant_interface_error_handler): remove the supplicant
570 error idle callback too
571 - (supplicant_interface_release): clean up supplicant interface-related
572 state tasks when the supplicant interface is disposed of
573 - (schedule_state_handler): add scheduled tasks to a list so they can
575 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
576 supplicant_iface_connection_state_cb_handler): use
577 finish_supplicant_task() to clean up each completed task
578 - (supplicant_iface_connection_error_cb_handler): clear source id when
580 - (supplicant_iface_connection_error_cb): save scheduled task id for
582 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
584 2008-09-24 Tambet Ingo <tambet@gmail.com>
586 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
587 method and get/set hostname property.
589 2008-09-24 Tambet Ingo <tambet@gmail.com>
591 * src/supplicant-manager/nm-supplicant-interface.c
592 (nm_supplicant_interface_disconnect): Don't increment the reference
593 count when disconnecting. The problem is on shutdown, when the replies
594 to these commands do not arrive before NM exits, resulting on never
595 calling supplicant interface's dispose(), which removes the interface
598 2008-09-24 Tambet Ingo <tambet@gmail.com>
600 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
601 all the public function arguments.
603 2008-09-22 Tambet Ingo <tambet@gmail.com>
605 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
606 "Failure" signal from VPN plugins, store the failure reason, and
607 use it when the state is changed to failure.
609 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
612 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
613 reason to the end of the list to not break the API.
614 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
615 so it can be shared by plugins and daemon.
617 2008-09-18 Dan Williams <dcbw@redhat.com>
619 Patch from Alexander Sack <asac@ubuntu.com>
622 system-settings/plugins/Makefile.am
623 system-settings/plugins/ifupdown/Makefile.am
624 system-settings/plugins/ifupdown/interface_parser.c
625 system-settings/plugins/ifupdown/interface_parser.h
626 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
627 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
628 system-settings/plugins/ifupdown/parser.c
629 system-settings/plugins/ifupdown/parser.h
630 system-settings/plugins/ifupdown/plugin.c
631 system-settings/plugins/ifupdown/plugin.h
632 - Implement a Debian/Ubuntu legacy network configuration plugin
635 2008-09-18 Dan Williams <dcbw@redhat.com>
637 Implement support for honoring configured and automatic hostnames, and for
638 setting the configured hostname.
640 * introspection/nm-ip4-config.xml
643 src/dhcp-manager/nm-dhcp-manager.c
644 - Remove useless hostname property; it's not really part of the IPv4
647 * introspection/nm-settings-system.xml
648 libnm-glib/nm-dbus-settings-system.c
649 libnm-glib/nm-dbus-settings-system.h
650 - Add SetHostname() call to system settings D-Bus interface
651 - Add Hostname property to system settings D-Bus interface
652 - (nm_dbus_settings_system_save_hostname,
653 nm_dbus_settings_system_get_hostname): implement
657 - (nm_device_get_dhcp4_config): implement
661 - Fetch and track system settings service hostname changes, and proxy
662 the changes via a GObject property of the manager
664 * system-settings/src/nm-system-config-interface.c
665 system-settings/src/nm-system-config-interface.h
666 - Replace nm_system_config_interface_supports_add() with a capabilities
669 * system-settings/src/nm-system-config-error.c
670 system-settings/src/nm-system-config-error.h
671 - Add additional errors
673 * system-settings/src/dbus-settings.c
674 system-settings/src/dbus-settings.h
675 - (get_property, nm_sysconfig_settings_class_init): add hostname
676 property; first plugin returning a hostname wins
677 - (impl_settings_add_connection): use plugin capabilities instead of
678 nm_system_config_interface_supports_add()
679 - (impl_settings_save_hostname): implement hostname saving
681 * src/NetworkManagerPolicy.c
682 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
683 lookup_thread_die): implement an asynchronous hostname lookup thread
684 which given an IPv4 address tries to look up the hostname for that
685 address with reverse DNS
686 - (get_best_device): split out best device code from
687 update_routing_and_dns()
688 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
689 to preserve the 127.0.0.1 reverse mapping that so many things require
690 - (set_system_hostname): set a given hostname
691 - (update_system_hostname): implement hostname policy; a configured
692 hostname (from the system settings service) is used if available,
693 otherwise an automatically determined hostname from DHCP, VPN, etc.
694 If there was no automatically determined hostname, reverse DNS of
695 the best device's IP address will be used, and as a last resort the
696 hostname 'localhost.localdomain' is set.
697 - (update_routing_and_dns): use get_best_device(); update the system
698 hostname when the network config changes
699 - (hostname_changed): update system hostname if the system settings
700 service signals a hostname change
701 - (nm_policy_new): list for system settings service hostname changes
702 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
705 * system-settings/plugins/keyfile/plugin.c
706 system-settings/plugins/ifcfg-suse/plugin.c
707 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
708 capabilities properties
710 * system-settings/plugins/ifcfg-fedora/shvar.c
711 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
712 writes out /etc/sysconfig/network now
714 * system-settings/plugins/ifcfg-fedora/plugin.c
715 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
716 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
717 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
718 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
719 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
720 hostname get/set and capabilities get
722 2008-09-18 Dan Williams <dcbw@redhat.com>
724 * libnm-util/nm-setting-wireless.c
725 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
726 group ciphers if the wireless-security setting explicitly specified
727 them, effectively making the default be "all ciphers" (idea from
730 2008-09-15 Dan Williams <dcbw@redhat.com>
732 Patch from Alexander Sack <asac@ubuntu.com>
734 * src/named-manager/nm-named-manager.c
735 - (dispatch_resolvconf): respect resolvconf exit code
737 2008-09-12 Tambet Ingo <tambet@gmail.com>
739 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
740 again. Add some debugging.
742 2008-09-11 Dan Williams <dcbw@redhat.com>
744 * system-settings/plugins/keyfile/plugin.c
745 - (update_connection_settings): update connection manually, since
746 nm_exported_connection_update() does authentication
747 - (dir_changed): update_connection_settings() doesn't need to return
750 2008-09-09 Dan Williams <dcbw@redhat.com>
752 * libnm-glib/nm-vpn-plugin-ui-interface.c
753 libnm-glib/nm-vpn-plugin-ui-interface.h
754 libnm-glib/libnm_glib_vpn.ver
755 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
756 should clean up resources related to the connection (like keyring
758 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
759 should save user-scope secrets (like to the keyring)
761 2008-09-08 Dan Williams <dcbw@redhat.com>
763 Patch from Alexander Sack <asac@ubuntu.com>
765 * libnm-util/crypto_gnutls.c
766 libnm-util/crypto_nss.c
767 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
769 * libnm-util/nm-utils.c
770 libnm-util/nm-utils.h
771 libnm-util/libnm-util.ver
772 - (nm_utils_init): initialize libnm-util
773 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
775 * libnm-util/nm-setting-8021x.c
776 - (nm_setting_802_1x_class_init): init libnm-util when needed
778 2008-09-05 Dan Williams <dcbw@redhat.com>
780 Patch from Roy Marples <roy@marples.name> and others
783 src/named-manager/nm-named-manager.c
784 - Add support for resolvconf; use --with-resolvconf at configure time
787 2008-09-05 Dan Williams <dcbw@redhat.com>
789 * libnm-util/crypto_nss.c
790 libnm-util/crypto_gnutls.c
792 - (crypto_init): return error when init fails
794 2008-09-05 Dan Williams <dcbw@redhat.com>
796 * libnm-glib/nm-device-wifi.c
797 - (access_point_removed_proxy): clean up the active access point too
798 just in case the active ap changed signal didn't come through yet
799 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
801 2008-09-05 Dan Williams <dcbw@redhat.com>
803 * libnm-glib/nm-client.c
804 - (constructor): get initial state after we know whether NM is running
807 2008-09-05 Dan Williams <dcbw@redhat.com>
809 * libnm-glib/nm-ip4-config.c
810 libnm-glib/nm-dhcp4-config.c
811 - (finalize): clean up the DBusGProxy
813 2008-09-04 Dan Williams <dcbw@redhat.com>
815 * src/nm-ip4-config.c
817 - (nm_ip4_config_new): don't export over D-Bus here
818 - (nm_ip4_config_export): new function; export the config over D-Bus
819 - (nm_ip4_config_is_exported): new function
822 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
823 objects by balancing the IP4Config constructor; the device holds
824 a reference to the IP4Config already
825 - (nm_device_set_ip4_config): export the IP4Config when needed
827 2008-09-04 Dan Williams <dcbw@redhat.com>
829 * src/supplicant-manager/nm-supplicant-settings-verify.c
830 - Allow WPA-NONE key management for Ad-Hoc WPA connections
832 2008-09-04 Dan Williams <dcbw@redhat.com>
834 * libnm-util/nm-setting-vpn.c
835 libnm-util/nm-setting-vpn.h
836 - Split VPN secrets from VPN data so that settings services can actually
837 figure out that they are secrets and store them accordingly
839 * system-settings/plugins/keyfile/nm-keyfile-connection.c
840 system-settings/plugins/keyfile/reader.c
841 system-settings/plugins/keyfile/reader.h
842 system-settings/plugins/keyfile/writer.c
843 - Store VPN secrets separately from VPN data so that they can be fetched
845 - Implement the get_secrets() call so that (a) secrets don't leak out
846 to unprivileged callers, and (b) secrets can be sent to privileged
849 * vpn-daemons/vpnc/src/nm-vpnc-service.c
850 - Handle split VPN secrets
852 2008-08-27 Dan Williams <dcbw@redhat.com>
854 * system-settings/plugins/ifcfg-fedora/reader.c
855 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
857 2008-08-27 Dan Williams <dcbw@redhat.com>
859 Ensure zombie children get cleaned up. To get notifications when children
860 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
861 that requires calling waitpid() yourself if you've removed the child watch
862 handler before the process has actually died, which NM needs to do in a few
863 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
864 cleans up after the child when required. Should fix problems trying to
865 activate mobile broadband connections after a previous failure.
867 * src/dhcp-manager/nm-dhcp-dhclient.c
868 src/dhcp-manager/nm-dhcp-dhcpcd.c
869 - Use G_SPAWN_DO_NOT_REAP_CHILD
871 * src/dhcp-manager/nm-dhcp-manager.c
872 - (nm_dhcp_device_destroy): ensure child is cleaned up
873 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
874 block on child quitting, since the non-blocking functionality was
877 * src/dnsmasq-manager/nm-dnsmasq-manager.c
878 - (dm_watch_cb): child is already reaped here
879 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
882 - (aipd_cleanup): block until child is dead
884 * src/named-manager/nm-named-manager.c
885 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
886 event bothering to watch the child
888 * src/ppp-manager/nm-ppp-manager.c
889 - (ppp_watch_cb): child is already reaped here
890 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
892 * src/vpn-manager/nm-vpn-service.c
893 - (vpn_service_watch_cb): child is already reaped here
894 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
895 status of the child is actually tracked
896 - (ensure_killed, finalize): block until child is dead
898 2008-08-26 Dan Williams <dcbw@redhat.com>
900 * system-settings/plugins/keyfile/nm-keyfile-connection.c
901 - (update): Update filename of the connection if the connection id
904 * system-settings/plugins/keyfile/plugin.c
905 - (dir_changed): first pass at handling connection renames correctly
907 * system-settings/plugins/keyfile/writer.c
908 system-settings/plugins/keyfile/writer.h
909 - (write_connection): replace '/' with '*' when writing out the filename
910 from the connection id
912 2008-08-26 Dan Williams <dcbw@redhat.com>
914 Add connection UUIDs, since connection names can be changed, and since
915 old-style connection IDs could change over the life of the connection. The
916 UUID should be assigned at connection creation time, be stable for a given
917 connection, and should be unique among all connections for a given settings
921 libnm-util/Makefile.am
924 * introspection/nm-exported-connection.xml
925 - Remove "GetID" method
927 * libnm-glib/nm-dbus-connection.c
928 libnm-glib/nm-settings.c
929 libnm-glib/nm-settings.h
930 - Remove id-related stuff
932 * libnm-util/nm-utils.c
933 libnm-util/nm-utils.h
934 libnm-util/libnm-util.ver
935 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
936 utility functions to generate UUIDs
938 * libnm-util/nm-setting-connection.c
939 libnm-util/nm-setting-connection.h
940 - Add 'uuid' member to the connection setting
941 - (verify): require valid 'uuid' for a valid connection
943 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
944 system-settings/plugins/ifcfg-fedora/reader.c
945 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
946 system-settings/plugins/ifcfg-suse/parser.c
947 system-settings/plugins/keyfile/nm-keyfile-connection.c
948 system-settings/src/main.c
949 - Remove id-related stuff
950 - Give connections UUIDs where needed
952 2008-08-25 Dan Williams <dcbw@redhat.com>
954 * libnm-util/crypto_gnutls.c
955 libnm-util/crypto_nss.c
956 - (crypto_init, crypto_deinit): refcount init/deinit
957 - (crypto_md5_hash): allow NULL salt
959 2008-08-22 Michael Biebl <mbiebl@gmail.com>
961 * libnm-glib/Makefile.am
962 libnm-util/Makefile.am
963 libnm-glib/libnm_glib.ver
964 libnm-glib/libnm_glib_vpn.ver
965 libnm-util/libnm-util.ver
966 - Use linker version scripts to control the list of exported
967 symbols. List each exported symbol explicitely.
968 * libnm-util/Makefile.am
969 - Fix compilation of the test-crypto binary. The crypto
970 functions are no longer part of the libnm-util API. Add
971 crypto_*.c to test_crypto_SOURCES and link against the correct
974 2008-08-19 Dan Williams <dcbw@redhat.com>
978 - Don't build test/test-common
979 - Remove unused stuff
981 * test/nm-set-fallback
983 test/test-common/.cvsignore
984 test/test-common/Makefile.am
985 test/test-common/test-common.c
986 test/test-common/test-common.h
989 2008-08-18 Dan Williams <dcbw@redhat.com>
991 * libnm-util/nm-utils.c
992 libnm-util/nm-utils.h
993 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
994 export anything that needs to be converted with this function
996 * src/dhcp-manager/nm-dhcp-manager.c
997 - (garray_to_string): convert a byte array to a UTF-8 string with
998 minimal validation; the DHCP client sends it in ASCII anyway
999 - (get_option, copy_option): use garray_to_string()
1001 2008-08-18 Dan Williams <dcbw@redhat.com>
1003 * include/NetworkManager.h
1004 introspection/nm-device.xml
1005 - Add a "missing firmware" device state reason
1007 * src/NetworkManagerSystem.c
1008 src/NetworkManagerSystem.h
1009 - (nm_system_device_set_up_down): add a no_firmware argument
1010 - (nm_system_device_set_up_down_with_iface): if the result of setting
1011 IFF_UP is ENOENT, that almost always means missing firmware
1013 * src/backends/NetworkManagerGeneric.c
1014 src/nm-device-ethernet.c
1015 src/nm-device-private.h
1016 src/nm-device-wifi.c
1019 src/nm-hso-gsm-device.c
1020 src/vpn-manager/nm-vpn-connection.c
1021 - Pass no_firmware along; check it where appropriate
1023 2008-08-18 Dan Williams <dcbw@redhat.com>
1025 Patch from Robert Buchholz <rbu@gentoo.org>
1029 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1030 1003.1-1988, allowing for file names longer than 99 characters
1032 2008-08-17 Dan Williams <dcbw@redhat.com>
1034 * include/NetworkManager.h
1035 introspection/nm-device.xml
1037 - Finer-grained GSM registration failure error codes
1039 2008-08-17 Dan Williams <dcbw@redhat.com>
1041 * callouts/Makefile.am
1043 - Move dispatcher directory creation to callouts/Makefile.am
1045 * system-settings/plugins/keyfile/Makefile.am
1046 - Create keyfile connections directory in DESTDIR (bgo #546833)
1048 2008-08-15 Dan Williams <dcbw@redhat.com>
1050 Do connection sharing in a cleaner manner; all required iptables rules
1051 are now stored in the activation request and pertain only to the device
1052 which is being shared to other computers. (rh #458625)
1054 * src/nm-activation-request.c
1055 src/nm-activation-request.h
1056 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1057 the activation request which will get torn down automatically when
1058 the activation request dies
1059 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1060 is started, and tear them down when sharing is stopped
1063 - (start_sharing): start up sharing by doing the required iptables magic
1064 - (share_init): poke the right bits of the kernel and load the right
1066 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1067 connection if it's a 'shared' connection
1069 * src/NetworkManagerPolicy.c
1070 - Remove all sharing stuff; done in the device code itself
1072 2008-08-15 Dan Williams <dcbw@redhat.com>
1074 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1075 - (create_dm_cmd_line): send the right router address
1077 2008-08-15 Dan Williams <dcbw@redhat.com>
1079 * src/ppp-manager/nm-ppp-manager.c
1080 - (pppd_timed_out): ensure timeouts fail the connection
1082 2008-08-14 Dan Williams <dcbw@redhat.com>
1084 * src/nm-properties-changed-signal.c
1085 src/nm-properties-changed-signal.h
1086 - Add a property spec flag for "don't export this property" in
1087 property changed signals
1089 * src/nm-hso-gsm-device.c
1091 src/nm-cdma-device.c
1092 - Don't export monitor interface or netdev interface properties
1094 2008-08-14 Dan Williams <dcbw@redhat.com>
1096 * src/NetworkManagerPolicy.c
1097 - (update_routing_and_dns): 'hso' devices can be default even if they
1098 don't have a gateway
1100 2008-08-14 Dan Williams <dcbw@redhat.com>
1103 - (nm_device_deactivate_quickly): tear down activation request after
1104 calling device-specific deactivation
1106 * src/nm-hso-gsm-device.c
1107 - (real_deactivate_quickly): terminate connection when deactivating
1109 2008-08-14 Dan Williams <dcbw@redhat.com>
1111 * src/nm-activation-request.h
1112 - Add HSO secrets caller
1114 * src/nm-gsm-device.c
1116 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1117 something to the callback function
1118 - (set_apn, set_apn_done): call class dial function, not a static one
1119 - (nm_gsm_device_class_init): add a class 'dial' function
1121 * src/nm-hal-manager.c
1122 - (get_hso_netdev): find the hso-driven hardware's net device
1123 - (modem_device_creator): recognize hso-driven hardware and create the
1124 right type of device object for it
1127 src/nm-hso-gsm-device.c
1128 src/nm-hso-gsm-device.h
1129 - Implement support for devices driven by the 'hso' driver as a subclass
1132 2008-08-14 Dan Williams <dcbw@redhat.com>
1134 * src/NetworkManagerSystem.c
1135 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1136 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1137 success if the operation really was successful
1139 2008-08-14 Dan Williams <dcbw@redhat.com>
1141 * src/nm-netlink-monitor.c
1142 src/nm-netlink-monitor.h
1143 src/nm-device-ethernet.c
1144 - (nm_netlink_monitor_request_status): return an error on failure
1145 - (constructor): don't segfault on missing error
1147 2008-08-13 Dan Williams <dcbw@redhat.com>
1149 * callouts/nm-dispatcher-action.c
1150 - Add IP4 config info to script environment
1152 2008-08-12 Dan Williams <dcbw@redhat.com>
1155 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1156 that want to use DHCP hostnames should use dispatcher scripts
1159 * src/NetworkManagerSystem.h
1160 src/backends/NetworkManagerArch.c
1161 src/backends/NetworkManagerDebian.c
1162 src/backends/NetworkManagerFrugalware.c
1163 src/backends/NetworkManagerGeneric.c
1164 src/backends/NetworkManagerGeneric.h
1165 src/backends/NetworkManagerGentoo.c
1166 src/backends/NetworkManagerMandriva.c
1167 src/backends/NetworkManagerPaldo.c
1168 src/backends/NetworkManagerRedHat.c
1169 src/backends/NetworkManagerSlackware.c
1170 src/backends/NetworkManagerSuSE.c
1171 - Remove nm_system_set_hostname(), no longer used
1173 * src/backends/Makefile.am
1174 src/backends/shvar.c
1175 src/backends/shvar.h
1176 - Remove shvar.*; no longer used
1178 2008-08-12 Dan Williams <dcbw@redhat.com>
1180 Revert most of the 'hostname' patch. Too much stuff still breaks when
1181 hostname is updated at runtime. Distros or users who want hostname updates
1182 can use dispatcher scripts to update the hostname if they need it.
1184 2008-08-12 Dan Williams <dcbw@redhat.com>
1186 * introspection/nm-settings-system.xml
1187 system-settings/src/dbus-settings.c
1188 system-settings/src/dbus-settings.h
1189 - Add a 'Hostname' property (rw) which represents the configured
1190 hostname and domain of the system, if any
1192 * system-settings/src/nm-system-config-error.c
1193 system-settings/src/nm-system-config-error.h
1194 system-settings/src/nm-system-config-interface.c
1195 system-settings/src/nm-system-config-interface.h
1196 - Add a 'hostname' property to the plugin interface
1197 - Add a method to send updated hostname to plugins to save in their
1198 backing configuration store
1200 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1201 system-settings/plugins/keyfile/plugin.c
1202 system-settings/plugins/keyfile/writer.c
1203 system-settings/plugins/keyfile/writer.h
1204 system-settings/plugins/ifcfg-suse/plugin.c
1205 - Add minimal hostname support
1207 * system-settings/plugins/ifcfg-fedora/plugin.c
1208 - Add support for updating system hostname in /etc/sysconfig/network
1210 2008-08-12 Dan Williams <dcbw@redhat.com>
1212 * system-settings/plugins/ifcfg-fedora/shvar.c
1213 system-settings/plugins/ifcfg-fedora/shvar.c
1214 - Fix double-free caused by svSetValue() followed by svCloseFile()
1216 2008-08-12 Tambet Ingo <tambet@gmail.com>
1218 * Makefile.am: Fix distcheck.
1220 2008-08-12 Tambet Ingo <tambet@gmail.com>
1222 * libnm-glib/*.c. Document some more.
1224 2008-08-12 Tambet Ingo <tambet@gmail.com>
1226 Start documenting libnm-glib public API using gtk-doc.
1228 * libnm-glib/nm-serial-device.c:
1229 * libnm-glib/nm-object.c:
1230 * libnm-glib/nm-gsm-device.c:
1231 * libnm-glib/nm-device.c:
1232 * libnm-glib/nm-device-wifi.c:
1233 * libnm-glib/nm-device-ethernet.c:
1234 * libnm-glib/nm-client.c:
1235 * libnm-glib/nm-cdma-device.c: Document the public API.
1237 * docs/libnm-glib/libnm-glib.types: Implement.
1239 * docs/libnm-glib/Makefile.am: Implement.
1243 * Makefile.am: Add gtk-doc support.
1245 2008-08-12 Tambet Ingo <tambet@gmail.com>
1247 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1249 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1250 the composite result of all the IP4 configurations and call a distro
1251 specific update_resolv_conf().
1252 (update_resolv_conf): Implement one for directly writing to
1253 /etc/resolv.conf and one for opensuse to call netconfig.
1255 2008-08-11 Dan Williams <dcbw@redhat.com>
1257 * src/ppp-manager/nm-ppp-manager.c
1258 - (impl_ppp_manager_need_secrets): pass interface as required
1260 2008-08-11 Dan Williams <dcbw@redhat.com>
1262 Merge the vpn-properties setting with the vpn setting since it was pointless
1263 to keep both of them around. Convert the vpn 'data' hash table to a hash
1264 of string:string (instead of string:variant) so that system settings plugins
1265 can have an easier time dealing with the arbitrary key/value pairs.
1267 2008-08-11 Dan Williams <dcbw@redhat.com>
1269 * libnm-util/nm-utils.c
1270 - (nm_utils_register_value_transformations): add value transform for
1271 a hash table of string:string
1273 2008-08-10 Dan Williams <dcbw@redhat.com>
1275 * libnm-glib/nm-vpn-plugin.c
1276 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1277 an idle handler so the Connect reply gets delivered before the
1278 stop StateChanged signal
1280 2008-08-10 Dan Williams <dcbw@redhat.com>
1282 * src/nm-ip4-config.c
1283 - (get_property): use common ip4 address/route conversion functions
1284 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1285 copy the new route here, not take ownership
1287 2008-08-08 Tambet Ingo <tambet@gmail.com>
1289 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1290 Update the IP4 setting's method name.
1292 2008-08-07 Dan Williams <dcbw@redhat.com>
1294 * introspection/nm-ip4-config.xml
1295 libnm-glib/libnm-glib-test.c
1296 libnm-glib/nm-ip4-config.c
1297 libnm-glib/nm-ip4-config.h
1298 src/NetworkManagerSystem.h
1299 src/backends/NetworkManagerArch.c
1300 src/backends/NetworkManagerDebian.c
1301 src/backends/NetworkManagerFrugalware.c
1302 src/backends/NetworkManagerGeneric.c
1303 src/backends/NetworkManagerGeneric.h
1304 src/backends/NetworkManagerGentoo.c
1305 src/backends/NetworkManagerMandriva.c
1306 src/backends/NetworkManagerPaldo.c
1307 src/backends/NetworkManagerRedHat.c
1308 src/backends/NetworkManagerSlackware.c
1309 src/backends/NetworkManagerSuSE.c
1310 src/dhcp-manager/nm-dhcp-manager.c
1314 - Remove NIS logic; should be done from dispatcher scripts instead
1316 2008-08-07 Dan Williams <dcbw@redhat.com>
1318 * src/dhcp-manager/nm-dhcp-manager.c
1319 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1320 mis-handling of DHCP responses that returned more than one router
1321 (found by Grant Williamson)
1323 2008-08-07 Dan Williams <dcbw@redhat.com>
1325 * callouts/nm-dispatcher-action.c
1326 - (nm_dispatcher_action): grab device path and create the device; pass
1327 the device's DHCP4 config to script caller
1328 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1331 * libnm-glib/nm-dhcp4-config.c
1332 libnm-glib/nm-dhcp4-config.h
1333 - (nm_dhcp4_config_get_options): expose
1334 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1336 2008-08-07 Dan Williams <dcbw@redhat.com>
1338 * include/NetworkManager.h
1339 - Add the DHCP4Config D-Bus interface
1341 * libnm-glib/Makefile.am
1342 libnm-glib/nm-dhcp4-config.c
1343 libnm-glib/nm-dhcp4-config.h
1344 - Handle DHCP4 config objects exported by NM over D-Bus
1346 * libnm-glib/nm-device.c
1347 libnm-glib/nm-device.h
1348 - Add a 'dhcp4-config' property
1350 * libnm-glib/libnm-glib-test.c
1351 - Print out DHCP4 config for devices
1352 - Fix some crashes when no connections are active
1354 * src/nm-device-interface.c
1356 src/nm-dhcp4-config.c
1357 src/nm-dhcp4-config.h
1358 - Treat dhcp4-config object as an object path at the D-Bus interface so
1359 that when it doesn't exist we can proxy it as "/" which dbus-glib
1360 doesn't let us do when the property type is G_TYPE_OBJECT
1362 2008-08-07 Dan Williams <dcbw@redhat.com>
1364 * src/NetworkManager.c
1365 src/NetworkManagerSystem.h
1366 src/backends/NetworkManagerArch.c
1367 src/backends/NetworkManagerDebian.c
1368 src/backends/NetworkManagerFrugalware.c
1369 src/backends/NetworkManagerGeneric.c
1370 src/backends/NetworkManagerGeneric.h
1371 src/backends/NetworkManagerGentoo.c
1372 src/backends/NetworkManagerMandriva.c
1373 src/backends/NetworkManagerPaldo.c
1374 src/backends/NetworkManagerRedHat.c
1375 src/backends/NetworkManagerSlackware.c
1376 src/backends/NetworkManagerSuSE.c
1377 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1379 2008-08-06 Dan Williams <dcbw@redhat.com>
1381 * libnm-glib/nm-ip4-config.c
1382 libnm-glib/nm-ip4-config.h
1383 - Add 'routes' property
1385 * libnm-util/nm-setting-vpn.c
1386 libnm-util/nm-setting-vpn.h
1387 - Remove 'routes' property
1389 * libnm-util/nm-setting-ip4-config.c
1390 libnm-util/nm-setting-ip4-config.h
1391 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1392 - Add 'ignore-auto-routes' property
1393 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
1394 accomodate route metrics
1395 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1397 * libnm-util/nm-utils.c
1398 libnm-util/nm-utils.h
1399 - Add helpers for marshalling IP4 routes
1401 * src/NetworkManagerUtils.c
1402 - (nm_utils_merge_ip4_config): handle property renames and new route
1405 * src/NetworkManagerSystem.c
1406 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1407 nm_system_vpn_device_set_from_ip4_config): respect route metrics
1409 * src/dhcp-manager/nm-dhcp-manager.c
1410 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1412 * system-settings/plugins/ifcfg-fedora/reader.c
1413 system-settings/plugins/ifcfg-fedora/writer.c
1414 - Handle routes separately from addresses now that routes have a different
1417 * introspection/nm-ip4-config.xml
1420 - Rename internal routing functions
1421 - 'static-routes' renamed to 'routes'
1423 2008-08-04 Dan Williams <dcbw@redhat.com>
1425 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1427 * src/NetworkManager.c
1430 - More explicitly make the NMManager a singleton
1432 2008-08-04 Dan Williams <dcbw@redhat.com>
1434 * libnm-util/nm-connection.c
1435 libnm-util/nm-connection.h
1436 - (nm_connection_verify): return error on missing 'connection' setting
1437 (found by Sjoerd Simons)
1439 2008-08-04 Dan Williams <dcbw@redhat.com>
1441 Handle multiple concurrent PPP connections.
1443 * src/ppp-manager/nm-ppp-manager.c
1444 src/ppp-manager/nm-ppp-manager.h
1445 - (constructor): only PPP Manager request bus name once; each
1446 NMPPPManager object gets a unique object path
1447 - (nm_ppp_manager_class_init, get_property, set_property,
1448 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1450 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1451 remove timeout until PPP manager gets an IP4 config
1452 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1453 the plugin can call back to this specific PPP manager instance
1455 * src/nm-device-ethernet.c
1456 src/nm-serial-device.c
1457 - Pass parent device in nm_ppp_manager_new()
1459 * src/nm-gsm-device.c
1460 src/nm-cdma-device.c
1461 - (device_state_changed): don't close serial device on NEED_AUTH
1462 state changed, that's not a failure case like the rest are
1464 * src/ppp-manager/nm-pppd-plugin.c
1465 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1466 binds one interface to any pppd process, thus the correct index
1467 is always 0; send PHASE_DEAD on error to alert NM immediately of
1468 problems; try harder to get a peer address in spite of pppd
1469 - (plugin_init): use 'ipparam' as the object path back to our specific
1470 PPP manager instance
1472 2008-08-04 Dan Williams <dcbw@redhat.com>
1474 * src/ppp-manager/nm-ppp-manager.c
1475 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1476 since the GSM and CDMA settings now implement need_secrets, we can
1477 rely on them to do the right thing. Where secrets are not required,
1478 just pass empty strings back to the pppd plugin.
1479 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1480 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1481 on successful IP4 config receipt
1483 2008-08-04 Dan Williams <dcbw@redhat.com>
1485 * libnm-util/nm-setting-cdma.c
1486 libnm-util/nm-setting-gsm.c
1487 - (verify): validate username & password if they exist
1488 - (need_secrets): if username given, require a password too
1490 2008-08-04 Dan Williams <dcbw@redhat.com>
1492 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1493 - (create_dm_cmd_line): really don't listen on lo, despite what the
1494 manpage says about --listen-address without --interface
1497 2008-08-01 Dan Williams <dcbw@redhat.com>
1499 * libnm-glib/nm-device.c
1500 - (proxy_get_string): util function for querying a HAL property
1501 - (get_ancestor_device): split out from get_product_and_vendor()
1502 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1503 from PCI devices by querying subsys properties
1504 - (nm_device_update_description): simplify
1506 2008-08-01 Dan Williams <dcbw@redhat.com>
1508 * libnm-util/nm-setting-ip4-config.c
1509 libnm-util/nm-setting-ip4-config.h
1510 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1511 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
1512 settings, and they don't necessarily use DHCP.
1514 * src/NetworkManagerPolicy.c
1516 system-settings/plugins/ifcfg-fedora/reader.c
1517 system-settings/plugins/ifcfg-suse/parser.c
1518 - Fixup for method changes
1520 2008-07-31 Dan Williams <dcbw@redhat.com>
1522 * src/nm-activation-request.c
1523 src/vpn-manager/nm-vpn-connection.c
1524 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1525 itself should be attached to the activation request or the VPN
1526 connection, not the NMConnection object, since the call is not
1527 expected to live as long as the NMConnection itself
1529 2008-07-31 Dan Williams <dcbw@redhat.com>
1531 * src/nm-device-wifi.c
1532 - (real_act_stage2_config): fix issue where association would continue
1533 even though secrets were needed; 'goto out' was in wrong scope and
1534 result of handle_auth_or_fail() should have been dumped directly to
1535 'ret' to ensure that the association was postponed until secrets
1538 2008-07-31 Dan Williams <dcbw@redhat.com>
1540 * system-settings/plugins/ifcfg-fedora/plugin.c
1541 system-settings/plugins/ifcfg-fedora/reader.c
1542 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1545 2008-07-29 Dan Williams <dcbw@redhat.com>
1547 * src/nm-gsm-device.c
1548 - (automatic_registration_response, automatic_registration): recognize
1549 denied registration and reorder responses
1551 2008-07-29 Dan Williams <dcbw@redhat.com>
1553 * src/nm-serial-device.c
1554 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
1555 time(2) is used for current time, which returns seconds, we shouldn't
1556 be multiplying by 1000.
1558 2008-07-28 Dan Williams <dcbw@redhat.com>
1560 Patch from Fabrice Bellet <fabrice@bellet.info>
1562 * src/NetworkManagerSystem.c
1563 - (route_in_same_subnet): mask addresses and compare them so that the
1564 function actually does what it says it's going to do (rh #456685)
1566 2008-07-27 Dan Williams <dcbw@redhat.com>
1568 * libnm-util/nm-setting-ip6-config.c
1569 - (set_property): add missing break that caused routes to be overwritten
1572 * libnm-util/nm-setting-ip6-config.c
1573 - (verify): validate routes and return GError everywhere on invalid setting
1574 - (finalize): don't leak routes
1575 - (set_property): add missing break that caused routes to be overwritten
1578 2008-07-27 Dan Williams <dcbw@redhat.com>
1581 - Relicense to LGPLv2+
1583 2008-07-27 Dan Williams <dcbw@redhat.com>
1585 * system-settings/plugins/ifcfg-fedora/reader.c
1586 - (make_ip4_setting): fix parsing automatic configs
1588 2008-07-27 Dan Williams <dcbw@redhat.com>
1590 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1592 src/ppp-manager/nm-ppp-manager.c
1593 - Ensure child process gets reaped. The child watch function may be
1594 removed from the mainloop before the child gets killed, so we have
1595 to make sure the child is reaped when it's told to die intentionally
1597 2008-07-27 Dan Williams <dcbw@redhat.com>
1599 Patch from Roy Marples <roy@marples.name>
1601 * src/dhcp-manager/nm-dhcp-dhcpcd.c
1602 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1604 2008-07-27 Dan Williams <dcbw@redhat.com>
1606 * src/nm-gsm-device.c
1607 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1608 Huawei devices turn echo back on after CPIN (rh #456770)
1610 2008-07-24 Tambet Ingo <tambet@gmail.com>
1612 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1613 format argument to g_set_error() call.
1615 * src/backends/interface_parser.[ch]: Remove.
1617 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1619 2008-07-21 Dan Williams <dcbw@redhat.com>
1621 * src/ppp-manager/nm-ppp-manager.c
1622 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1623 to prevent pppd from picking up some random local address from an
1624 interface that doesn't have anything to do with the one we're
1625 interested in (rh #455348)
1627 2008-07-17 Dan Williams <dcbw@redhat.com>
1629 * libnm-util/nm-utils.c
1630 - (string_to_utf8): general function for conversion to UTF-8 assisted
1632 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1633 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1635 2008-07-17 Dan Williams <dcbw@redhat.com>
1637 * introspection/Makefile.am
1638 introspection/nm-device.xml
1639 introspection/nm-dhcp4-config.xml
1640 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1642 * src/nm-device-interface.c
1643 src/nm-device-interface.h
1644 - Add the DHCP4Config property
1647 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1648 D-Bus clients when it changes
1650 * src/nm-dhcp4-config.c
1651 src/nm-dhcp4-config.h
1652 - Simple object to store DHCP4 options, export them over D-Bus, and
1653 notify when they change
1655 * src/dhcp-manager/nm-dhcp-manager.c
1656 src/dhcp-manager/nm-dhcp-manager.h
1657 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1658 filter server-returned DHCP options into an NMDHCP4Config object
1660 2008-07-16 Dan Williams <dcbw@redhat.com>
1662 * introspection/nm-device.xml
1663 - Add device state reasons
1665 2008-07-16 Dan Williams <dcbw@redhat.com>
1667 Patch from Roy Marples <roy@marples.name>
1670 - Add --with-dhcp-client option
1672 * src/dhcp-manager/Makefile.am
1673 - pass DHCP_CLIENT_PATH on compile line
1675 * src/dhcp-manager/nm-dhcp-manager.c
1676 src/dhcp-manager/nm-dhcp-manager.h
1677 - Genericize for both dhcpcd and dhclient
1679 * src/dhcp-manager/nm-dhcp-dhclient.c
1680 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1682 * src/dhcp-manager/nm-dhcp-dhcpcd.c
1683 - Implement support for dhcpcd too
1685 2008-07-16 Tambet Ingo <tambet@gmail.com>
1687 * system-settings/src/nm-system-config-interface.c
1688 (nm_system_config_interface_supports_add): Implement.
1689 (nm_system_config_interface_add_connection): Return a boolean to notify
1692 * system-settings/src/nm-polkit-helpers.c:
1693 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1696 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1697 Return an error when none of the plugins support add or if addition
1698 failed for some reason.
1700 * system-settings/src/nm-system-config-error.h:
1701 * system-settings/src/nm-system-config-error.c: New files, mostly moved
1702 here from nm-polkit-helpers.[ch].
1704 * system-settings/src/Makefile.am: Build new files.
1706 * system-settings/plugins/keyfile/reader.c
1707 (read_array_of_array_of_uint): Make it more general so that it would
1708 work for routes as well.
1710 * system-settings/plugins/keyfile/writer.c
1711 (write_array_of_array_of_uint): Ditto.
1712 Fix the netmask/prefix writing.
1714 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
1715 boolean to notify errors.
1717 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
1718 Return more specific error.
1721 2008-07-11 Dan Williams <dcbw@redhat.com>
1723 Modify the NMDevice::state-changed signal to include the previous state
1724 and reason. Enables the applet to provide more information why device
1727 2008-07-09 Dan Williams <dcbw@redhat.com>
1729 * callouts/Makefile.am
1730 callouts/nm-avahi-autoipd-action.c
1731 callouts/nm-avahi-autoipd.conf
1732 - avahi-autoipd callout to send options back to NM
1739 src/nm-device-private.h
1741 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
1744 2008-07-07 Dan Williams <dcbw@redhat.com>
1746 * system-settings/plugins/ifcfg-fedora/reader.c
1747 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
1748 handle PREFIX too; clean up
1750 2008-07-07 Dan Williams <dcbw@redhat.com>
1752 Convert to using IPv4 prefixes instead of netmasks.
1754 2008-07-03 Dan Williams <dcbw@redhat.com>
1756 * libnm-util/nm-setting-ip4-config.c
1757 libnm-util/nm-setting-ip4-config.h
1758 - Add properties for DHCP Client Identifier and DHCP Hostname
1760 * src/dhcp-manager/nm-dhcp-manager.c
1761 src/dhcp-manager/nm-dhcp-manager.h
1762 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
1763 setting as an argument to pass on to the dhclient config file
1765 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
1767 - (dhclient_run): punt config file handling to create_dhclient_config()
1768 - (create_dhclient_config): create an interface-specific dhclient
1769 config file since there may need to be interface-specific options
1771 - (merge_dhclient_config): merge normal distro dhclient config file and
1772 add options from the connection
1773 - (nm_dhcp_device_new): generate the interface specific dhclient
1774 config file path once
1775 - (nm_dhcp_device_destroy): handle partially initialized objects; free
1776 dhclient config file path
1779 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
1780 DHCP manager when starting DHCP
1782 2008-07-02 Dan Williams <dcbw@redhat.com>
1784 * libnm-util/nm-setting-8021x.c
1785 - (verify): allow forcing the PEAP label to 0
1787 2008-07-02 Dan Williams <dcbw@redhat.com>
1789 * introspection/nm-active-connection.xml
1790 introspection/nm-vpn-connection.xml
1791 libnm-glib/nm-active-connection.c
1792 src/nm-activation-request.c
1793 src/nm-active-connection.h
1794 src/vpn-manager/nm-vpn-connection.c
1795 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
1796 and libnm-glib API since sharing didn't get implemented that way
1798 2008-07-02 Dan Williams <dcbw@redhat.com>
1800 * src/nm-device-wifi.c
1801 - (can_scan): don't scan when a shared connection is activated since
1802 that makes drivers mad (causing disconnects); also NM doesn't need
1803 to hedge against disconnects by keeping up-to-date network topology
1804 because the connection originates from the local machine, and thus
1805 there should be no disconnects
1807 2008-07-01 Dan Williams <dcbw@redhat.com>
1809 Fix mobile broadband username/password issues. NM was never requesting
1810 mobile broadband secrets, nor was it passing back the username and password
1813 * marshallers/nm-marshal.list
1814 - Add some new types for activation request objects
1816 * src/nm-activation-request.c
1817 src/nm-activation-request.h
1818 - (get_secrets_cb): pass the caller type in the signal
1819 - (nm_act_request_request_connection_secrets): take a caller type, so
1820 that GetSecrets() reply handlers know who asked for the secrets in
1821 the first place; use secret hints too so the settings service can
1822 figure out exactly what NM wants (ie, PIN or the PPP password)
1824 * src/ppp-manager/nm-ppp-manager.c
1825 src/ppp-manager/nm-ppp-manager.h
1826 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
1827 detect needed secrets when the secret could be blank, like GSM/CDMA
1828 passwords. So always ask for secrets, and send a hint as to what
1829 secret we really want.
1830 - (nm_ppp_manager_update_secrets): make function more generic by making
1831 the device specific class figure out the username and password, and
1832 accept an error argument to return back over D-Bus
1834 * src/nm-device-wifi.c
1835 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1836 nm_act_request_request_connection_secrets()
1837 - (real_connection_secrets_updated): update for 'caller' changes
1841 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
1842 for 'caller' changes
1844 * src/nm-device-ethernet.c
1845 - (real_connection_secrets_updated): update for 'caller' changes and
1846 move logic for getting PPPoE username and password here before
1847 calling nm_ppp_manager_update_secrets()
1848 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1849 nm_act_request_request_connection_secrets()
1851 * src/nm-cdma-device.c
1852 - (real_connection_secrets_updated): pass username and password back
1853 to the PPP manager when required
1855 * src/nm-gsm-device.c
1856 - (enter_pin): send the required secret name to the settings service
1857 - (real_connection_secrets_updated): pass username and password back
1858 to the PPP manager when required
1860 2008-06-30 Dan Williams <dcbw@redhat.com>
1862 * src/nm-device-wifi.c
1863 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
1865 2008-06-30 Dan Williams <dcbw@redhat.com>
1867 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
1868 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
1869 priv->supplicant.iface. When either condition is false, the device should
1870 transition back to UNAVAILABLE because it cannot be used.
1872 * src/nm-device-wifi.c
1873 - (constructor): cleanup; connect to supplicant manager here since the
1874 supplicant manager is always around
1875 - (supplicant_interface_acquire): rename from init_supplicant_interface,
1876 ensure the supplicant manager is in the IDLE state
1877 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
1878 cancel any pending scans too
1879 - (real_bring_up): don't set up the supplicnat interface here, because
1880 we need the supplicant interface at times when the device may not
1882 - (real_take_down): just remove the periodic source
1883 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
1884 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
1885 do anything if there's no supplicant interface
1886 - (cleanup_association_attempt): cleanup
1887 - (supplicant_iface_state_cb_handler): request an immediate scan when
1888 the interface enters the READY state; transition to UNAVAILABLE
1889 state when the interface goes down because the device can't be used
1890 without a supplicant interface
1891 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
1892 up and transition to UNAVAILABLE; if the supplicant becomes ready,
1893 acquire the supplicant interface and transition to DISCONNECTED
1894 if the radio isn't killed
1895 - (nm_device_wifi_dispose): move most of device_cleanup() here
1896 - (state_changed_cb): release any existing supplicant interface; if the
1897 radio is enabled then try to acquire a new supplicant interface;
1898 if the radio is enabled and a supplicant interface has been acquired,
1899 we can transition to DISCONNECTED
1900 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
1901 don't enable the radio, because HAL probably lied to us about the
1902 killswitch being off. If bringing the hardware up worked, then
1903 try to grab a supplicant interface, and if that was successful,
1904 transition to DISCONNECTED
1906 2008-06-30 Dan Williams <dcbw@redhat.com>
1908 * src/supplicant-manager/nm-supplicant-interface.c
1909 - (request_scan_results, nm_supplicant_interface_dispose,
1910 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
1911 the id of the timeout, not a GSource
1913 2008-06-30 Tambet Ingo <tambet@gmail.com>
1915 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
1916 bunch of typoes introduced by "Patch from David Cantrell
1917 <dcantrell@redhat.com> and me".
1919 2008-06-30 Tambet Ingo <tambet@gmail.com>
1921 * src/nm-serial-device.c:
1922 * src/nm-gsm-device.c:
1923 * src/nm-cdma-device.c: Move the pending call handling to a common location
1924 in serial device. Handle setting device state to failed in one place as well.
1926 2008-06-29 Dan Williams <dcbw@redhat.com>
1928 * src/nm-hal-manager.c
1929 - Rework killswitch handling to query killswitch status immediately
1930 when the first killswitch is added, so that rfkill state is
1931 known as early as possible
1932 - Also treat failure of GetPower() as rfkill when the dbus method
1933 call times out (but not when the HAL callout returns an error)
1935 2008-06-26 Dan Williams <dcbw@redhat.com>
1937 Patch from David Cantrell <dcantrell@redhat.com> and me
1939 * include/nm-dbus-glib-types.h
1940 - Add IP6 address types
1942 * libnm-util/Makefile.am
1943 libnm-util/nm-setting-ip6-config.c
1944 libnm-util/nm-setting-ip6-config.h
1945 - Add IP6 settings object
1947 * libnm-util/nm-connection.c
1948 - (register_default_settings): register ip6 settings object
1950 * libnm-util/nm-utils.c
1951 libnm-util/nm-utils.h
1952 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
1953 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
1954 ip6 address conversion functions
1956 2008-06-26 Dan Williams <dcbw@redhat.com>
1958 Patch from David Cantrell <dcantrell@redhat.com>
1960 * Use inet_ntop() and inet_pton() everwhere and check for errors
1962 2008-06-26 Dan Williams <dcbw@redhat.com>
1964 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
1966 2008-06-26 Dan Williams <dcbw@redhat.com>
1968 Patch from Adel Gadllah <adel.gadllah@gmail.com>
1970 * src/nm-device-wifi.c
1971 - (link_timeout_cb): don't ignore disconnects due to scanning
1972 - (supplicant_iface_connection_state_cb_handler): instead, schedule
1973 a longer timeout when scanning; avoids case where supplicant can't
1974 find the AP and just keeps scanning forever but isn't connected
1976 2008-06-26 Dan Williams <dcbw@redhat.com>
1978 Patch from Michael Biebl <biebl@debian.org>
1980 * Clean up build system stuff
1982 2008-06-23 Christian Persch <chpe@gnome.org>
1984 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
1985 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
1986 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
1988 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
1990 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
1991 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
1992 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
1994 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
1995 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
1996 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
1997 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
1998 * vpn-daemons/pptp/properties/vpnui_opt.c:
1999 (vpnui_opt_connect_signals):
2000 * vpn-daemons/pptp/properties/vpnui_opt.h:
2001 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2002 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2003 deprecated gtk type macros. Bug #539325.
2005 2008-06-20 Dan Williams <dcbw@redhat.com>
2007 * libnm-glib/nm-vpn-plugin-ui-interface.c
2008 libnm-glib/nm-vpn-plugin-ui-interface.h
2009 - 'validity-changed' -> 'changed' to work better with the connection
2010 editor. Plugin UI widgets should emit 'changed' whenever their
2011 UI values change in a meaningful way.
2012 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2013 update_connection member now returns validity of the UI widget
2015 2008-06-20 Tambet Ingo <tambet@gmail.com>
2017 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2019 2008-06-17 Dan Williams <dcbw@redhat.com>
2021 * libnm-glib/nm-vpn-plugin-ui-interface.c
2022 libnm-glib/nm-vpn-plugin-ui-interface.h
2023 - Add "desc" property for longer descriptions of the VPN plugin
2025 2008-06-16 Dan Williams <dcbw@redhat.com>
2028 libnm-glib/libnm_glib_vpn.pc.in
2029 - add a .pc file for libnm_glib_vpn
2031 * libnm-glib/nm-vpn-plugin-ui-interface.c
2032 libnm-glib/nm-vpn-plugin-ui-interface.h
2033 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2034 rework it substantially
2036 2008-06-12 Dan Williams <dcbw@redhat.com>
2038 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2039 and add error enums to each NMSetting subclass. Each NMSetting subclass now
2040 returns a descriptive GError when verification fails.
2042 2008-06-11 Dan Williams <dcbw@redhat.com>
2044 Patch from Tambet Ingo <tambet@gmail.com>
2046 * libnm-util/nm-setting-gsm.c
2047 - (verify): validate APN
2049 * src/nm-gsm-device.c
2050 - (manual_registration_done): start setting APN if needed
2051 - (set_apn, set_apn_done): set the APN
2052 - (do_dial): use the APN when dialing
2054 2008-06-11 Dan Williams <dcbw@redhat.com>
2056 * src/NetworkManagerSystem.c
2057 - (nm_system_device_set_ip4_route,
2058 nm_system_device_replace_default_ip4_route): check for the right
2059 return value from rtnl_route_add() to know when to add a gateway
2062 2008-06-11 Dan Williams <dcbw@redhat.com>
2064 * src/NetworkManagerPolicy.c
2065 - do_ipt_cmd -> do_cmd
2066 - (sharing_init): use do_cmd() instead of system()
2068 2008-06-10 Dan Williams <dcbw@redhat.com>
2070 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
2071 and use "wifi" everwhere instead.
2073 2008-06-10 Dan Williams <dcbw@redhat.com>
2075 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
2077 2008-06-10 Dan Williams <dcbw@redhat.com>
2079 Patch from Tambet Ingo <tambet@gmail.com>
2081 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2084 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2085 a signal to emit these changes over dbus.
2087 * src/Makefile.am: Genereate nm-serial-device-glue.
2089 * libnm-glib/nm-serial-device.[ch]: Implement.
2091 * libnm-glib/nm-cdma-device.[ch]
2092 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2094 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2096 * introspection/nm-device-serial.xml: Implement.
2098 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2100 * introspection/Makefile.am: Add nm-device-serial.xml.
2102 * include/NetworkManager.h: Add a DBus interface for serial device.
2104 2008-06-10 Dan Williams <dcbw@redhat.com>
2107 - Add TARGET_* define to config.h to distinguish distros
2109 * src/dhcp-manager/nm-dhcp-manager.c
2110 - (dhclient_run): use distro-specific path for dhclient config file
2112 2008-06-09 Dan Williams <dcbw@redhat.com>
2114 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2115 src/dnsmasq-manager/nm-dnsmasq-manager.h
2116 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2117 calculate the addresses passed to dnsmasq instead of hard-coding
2121 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2122 IP addresses for shared connections to guard against shared
2123 connection address collisions
2124 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2126 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2129 2008-06-09 Dan Williams <dcbw@redhat.com>
2131 * src/NetworkManagerPolicy.c
2132 - (update_routing_and_dns): set the default connection _after_ unsetting
2133 default on all non-default connections so that two connections can
2134 never be default at the same time
2135 - (device_state_changed): start and stop connection sharing when
2137 - (active_connection_default_changed): restart or stop sharing when
2138 the default connection changes to keep shared connections always
2139 NAT-ed through the default connection
2140 - (check_sharing): handle activation/deactivation of shared connections
2141 - (sharing_restart): atom-bomb approach to connection sharing until we
2142 can use libnl; reinit all sharing when the default connection or
2143 shared connections change
2144 - (sharing_init, sharing_stop): evil functions that init and deinit
2147 2008-06-09 Dan Williams <dcbw@redhat.com>
2149 * src/nm-activation-request.c
2150 src/nm-activation-request.h
2151 - (nm_act_request_set_shared, nm_act_request_get_shared,
2152 nm_act_request_get_device): new functions to facilitate connection
2155 2008-06-09 Dan Williams <dcbw@redhat.com>
2158 - (clear_act_request): unset the 'default' property of the activation
2159 request when clearing it to ensure the property changed signal gets
2160 delivered and handled
2162 2008-06-09 Dan Williams <dcbw@redhat.com>
2164 * libnm-glib/nm-device-802-11-wireless.c
2165 - (access_point_removed_proxy): actually unref the AP after removing
2166 it from the device's AP list. Fixes refcounting bug for APs that
2167 caused them to get mixed up in the applet's menu.
2169 2008-06-09 Tambet Ingo <tambet@gmail.com>
2171 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2172 (nm_dhcp_device_destroy): Destroy the device options hash table.
2174 2008-06-06 Dan Williams <dcbw@redhat.com>
2176 * system-settings/src/nm-polkit-helpers.c
2177 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2178 unref the context if the initialization fails; also avoid spew when
2181 2008-06-06 Dan Williams <dcbw@redhat.com>
2183 Patch from Tambet Ingo <tambet@gmail.com>
2185 * src/NetworkManagerSystem.c
2186 src/NetworkManagerSystem.h
2187 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2188 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2189 - (nm_system_device_set_ip4_route): clean up
2190 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2193 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2195 * src/vpn-manager/nm-vpn-connection.c
2196 - (ip_address_to_string): new function
2197 - (print_vpn_config): use ip_address_to_string
2198 - (merge_vpn_routes): add user-defined routes to the ip4 config
2199 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2201 * include/NetworkManagerVPN.h
2204 2008-06-05 Dan Williams <dcbw@redhat.com>
2206 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2209 - Show which device is the default device
2211 2008-06-05 Tambet Ingo <tambet@gmail.com>
2215 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2216 Free data returned from dbus method call.
2218 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2219 dbus_g_method_get_sender() returns a duplicated string, free it
2221 (check_polkit_privileges): Looks like policykit sometimes returns
2222 error and non-null return value, don't leak errors in that case.
2224 * system-settings/src/main.c (find_plugin): Don't leak existing
2226 (load_stuff): Don't leak device list and list items.
2227 (have_connection_for_device): Don't leak connection list.
2229 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2230 Free the data received from g_keyfile_get_*.
2232 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2233 the key when the security object is updated.
2235 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2236 Free data returned from dbus method call.
2237 (iface_state_cb): Ditto.
2238 (add_network_cb): Ditto.
2239 (nm_supplicant_interface_add_cb): Don't make another copy of already
2240 duplicated object path.
2241 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2244 * src/supplicant-manager/nm-supplicant-config.c
2245 (ADD_STRING_LIST_VAL): Fix a memory leak.
2247 * src/nm-manager.c (free_get_settings_info): Free the allocated
2249 (list_connections_cb): Free data returned from dbus method call.
2250 (system_settings_get_unmanaged_devices_cb): Ditto.
2252 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2254 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
2255 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
2256 * src/backends/shvar.c (svCloseFile): Free the duplicated content
2259 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2260 arguments after the object is created.
2262 2008-06-04 Dan Williams <dcbw@redhat.com>
2264 * libnm-util/Makefile.am
2265 - Don't distribute nm-param-spec-specialized.h
2267 2008-06-02 Tambet Ingo <tambet@gmail.com>
2269 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2271 * src/nm-ip4-config.[ch]: Store the static routes as a list of
2272 NMIP4Address, update the getters and setters.
2274 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2275 Use the updated NMIP4Config routes api.
2277 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2278 static routes as well.
2280 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2281 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2284 2008-05-30 Dan Williams <dcbw@redhat.com>
2286 * src/named-manager/nm-named-manager.c
2287 src/named-manager/nm-named-manager.h
2288 - Remove stale/obsolete bits for controlling bind over DBus
2290 2008-05-29 Dan Williams <dcbw@redhat.com>
2292 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2293 src/dnsmasq-manager/nm-dnsmasq-manager.h
2294 - (nm_dnsmasq_manager_new): move iface argument here
2295 - (constructor): remove, not needed
2296 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2297 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2300 - (real_act_stage4_get_ip4_config,
2301 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2304 2008-05-29 Dan Williams <dcbw@redhat.com>
2307 - (dnsmasq_state_changed_cb): new function; fail the connection if
2308 something happens to dnsmasq
2309 - (nm_device_new_ip4_shared_config): new function; create a new
2310 ip4-config for shared connections. Shared connections always use a
2311 fixed static IP address.
2312 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2313 autoip connections by actually using the returned ip4-config and
2315 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2317 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2320 2008-05-29 Dan Williams <dcbw@redhat.com>
2322 * src/nm-device-802-11-wireless.c
2323 - (real_get_best_auto_connection): auto-activate 'shared' method
2326 2008-05-29 Dan Williams <dcbw@redhat.com>
2328 * libnm-util/nm-setting-ip4-config.c
2329 libnm-util/nm-setting-ip4-config.h
2330 - Add a 'shared' method to indicate that this connection should be
2331 brought up with a DHCP and proxy DNS server to facilitate
2333 - (verify): 'shared' method doesn't allow DNS or searches either
2335 2008-05-29 Dan Williams <dcbw@redhat.com>
2339 src/dnsmasq-manager/Makefile.am
2340 src/dnsmasq-manager/nm-dnsmasq-manager.c
2341 src/dnsmasq-manager/nm-dnsmasq-manager.h
2342 - Add a dnsmasq daemon manager to facilitate connection sharing
2344 2008-05-29 Dan Williams <dcbw@redhat.com>
2346 * src/nm-device-private.h
2347 - Remove unused prototypes and clean up
2350 - Remove anything related to system_config_data, which is no longer used
2351 - (nm_device_new_ip4_autoip_config): make static
2353 2008-05-29 Tambet Ingo <tambet@gmail.com>
2355 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2356 (file_changed): Fix a bug where suse system settings plugin didn't
2357 update the connections automatically when the files changed.
2359 2008-05-28 Dan Williams <dcbw@redhat.com>
2361 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2363 2008-05-28 Dan Williams <dcbw@redhat.com>
2365 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2367 * src/NetworkManagerSystem.c
2368 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2369 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2370 was causing -EINVAL errors since the libnl code actually does flush
2371 the routes on VPN interfaces now
2373 * src/backends/NetworkManagerArch.c
2374 src/backends/NetworkManagerDebian.c
2375 src/backends/NetworkManagerFrugalware.c
2376 src/backends/NetworkManagerGeneric.c
2377 src/backends/NetworkManagerGentoo.c
2378 src/backends/NetworkManagerMandriva.c
2379 src/backends/NetworkManagerPaldo.c
2380 src/backends/NetworkManagerRedHat.c
2381 src/backends/NetworkManagerSlackware.c
2382 src/backends/NetworkManagerSuSE.c
2383 - (nm_system_device_flush_ip4_routes,
2384 nm_system_device_flush_ip4_routes_with_iface): remove
2386 2008-05-28 Dan Williams <dcbw@redhat.com>
2388 * libnm-util/nm-setting-wireless.c
2389 libnm-util/nm-setting-wireless.h
2390 - (set_property, get_property, nm_setting_wireless_class_init): add the
2391 'adhoc-create' property, which when TRUE indicates that NM should
2392 create this connection as an adhoc wifi network if it's not found
2393 as an adhoc network during scanning. Can be used to auto-create
2394 adhoc networks when used in combination with autoconnect.
2396 2008-05-28 Tambet Ingo <tambet@gmail.com>
2398 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2400 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2401 checked, it doesn't work on some devices.
2403 2008-05-28 Tambet Ingo <tambet@gmail.com>
2405 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
2406 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2408 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2409 Use inet_aton() everywhere to improve error detection.
2410 Don't fall back to 'dhcp_server_identifier' if the gateway is not
2413 2008-05-26 Tambet Ingo <tambet@gmail.com>
2415 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2418 2008-05-26 Tambet Ingo <tambet@gmail.com>
2420 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2421 reference counting issue.
2423 2008-05-23 Dan Williams <dcbw@redhat.com>
2425 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2427 * src/backends/NetworkManagerGeneric.c
2428 - (nm_generic_enable_loopback): use libnl
2430 2008-05-23 Dan Williams <dcbw@redhat.com>
2432 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2434 * src/NetworkManagerSystem.h
2435 src/backends/NetworkManagerArch.c
2436 src/backends/NetworkManagerDebian.c
2437 src/backends/NetworkManagerFrugalware.c
2438 src/backends/NetworkManagerGentoo.c
2439 src/backends/NetworkManagerMandriva.c
2440 src/backends/NetworkManagerPaldo.c
2441 src/backends/NetworkManagerRedHat.c
2442 src/backends/NetworkManagerSlackware.c
2443 src/backends/NetworkManagerSuSE.c
2444 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2445 nm_system_flush_arp_cache): remove, unused
2447 * src/backends/NetworkManagerGeneric.c
2448 src/backends/NetworkManagerGeneric.h
2449 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2450 nm_generic_flush_arp_cache): remove, unused
2452 2008-05-23 Dan Williams <dcbw@redhat.com>
2454 * system-settings/plugins/ifcfg-fedora/reader.c
2455 - (make_ip4_setting): honor PEERDNS setting
2457 2008-05-23 Dan Williams <dcbw@redhat.com>
2459 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2461 * src/NetworkManagerSystem.c
2462 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2465 * src/backends/NetworkManagerArch.c
2466 src/backends/NetworkManagerDebian.c
2467 src/backends/NetworkManagerFrugalware.c
2468 src/backends/NetworkManagerGentoo.c
2469 src/backends/NetworkManagerMandriva.c
2470 src/backends/NetworkManagerPaldo.c
2471 src/backends/NetworkManagerRedHat.c
2472 src/backends/NetworkManagerSlackware.c
2473 src/backends/NetworkManagerSuSE.c
2474 - (nm_system_device_flush_ip4_addresses,
2475 nm_system_device_flush_ip4_addresses_with_iface): remove
2477 * src/backends/NetworkManagerGeneric.c
2478 - (nm_generic_device_flush_ip4_addresses,
2479 nm_generic_device_flush_ip4_addresses_with_iface): remove
2481 2008-05-23 Dan Williams <dcbw@redhat.com>
2483 * src/supplicant-manager/nm-supplicant-settings-verify.c
2484 - Switch 'bssid' from bytes to keyword type
2485 - (validate_type_keyword): allow NULL keyword lists
2487 * src/supplicant-manager/nm-supplicant-config.c
2488 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2489 a byte array to string form, which is what the supplicant expects
2491 2008-05-23 Tambet Ingo <tambet@gmail.com>
2493 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2494 information received from DHCP.
2496 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2497 to make it possible to ignore the DNS information (both servers and
2498 searches) returned by DHCP server.
2500 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2501 name servers and searches if "ignore_dhcp_dns" is set.
2503 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2504 (nm_ip4_config_reset_searches): Implement.
2506 2008-05-22 Dan Williams <dcbw@redhat.com>
2508 Remove anything mDNS related. This is better done from a distro-specific
2509 dispatcher script. Plus, any distro using avahi doesn't need to restart
2510 avahi, since avahi can handle interface changes just fine using netlink.
2513 - Remove --with-mdns-provider
2515 * src/NetworkManagerPolicy.c
2516 - (global_state_changed): don't restart the mdns provider
2518 * src/NetworkManagerSystem.h
2519 src/backends/NetworkManagerArch.c
2520 src/backends/NetworkManagerDebian.c
2521 src/backends/NetworkManagerFrugalware.c
2522 src/backends/NetworkManagerGentoo.c
2523 src/backends/NetworkManagerMandriva.c
2524 src/backends/NetworkManagerPaldo.c
2525 src/backends/NetworkManagerRedHat.c
2526 src/backends/NetworkManagerSlackware.c
2527 src/backends/NetworkManagerSuSE.c
2528 - (nm_system_restart_mdns_responder): remove
2530 * src/backends/NetworkManagerGeneric.c
2531 src/backends/NetworkManagerGeneric.h
2532 - (nm_generic_restart_mdns_responder): remove
2534 2008-05-22 Dan Williams <dcbw@redhat.com>
2537 - clean up crypto options; just use --with-crypto=nss or
2538 --with-crypto=gnutls
2540 2008-05-22 Tambet Ingo <tambet@gmail.com>
2542 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2543 anymore, do it right away.
2545 2008-05-22 Tambet Ingo <tambet@gmail.com>
2547 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2548 serial device open when we're not connecting or connected.
2550 * src/nm-cdma-device.c (device_state_changed): Ditto.
2552 2008-05-22 Tambet Ingo <tambet@gmail.com>
2554 Don't remove all devices on waking up, sync with HAL.
2556 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2557 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2558 (hal_manager_hal_reappeared_cb): Just call sync_devices.
2560 2008-05-21 Tambet Ingo <tambet@gmail.com>
2562 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2563 If the default gateway is unreachable, add a route to gateway and try
2566 2008-05-20 Dan Williams <dcbw@redhat.com>
2568 * system-settings/plugins/ifcfg-fedora/reader.c
2569 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2571 2008-05-19 Dan Williams <dcbw@redhat.com>
2573 * system-settings/plugins/ifcfg-fedora/reader.c
2574 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2575 if the ifcfg doesn't specify one (rh #446527)
2577 2008-05-19 Dan Williams <dcbw@redhat.com>
2579 Make the system settings service exit when the bus goes away. Since it's
2580 a bus-activated service, it's lifetime is limited to the bus that activated
2583 * system-settings/src/Makefile.am
2584 system-settings/src/nm-system-config-hal-manager-private.h
2585 - Remove nm-system-config-hal-manager-private.h
2587 * system-settings/src/nm-system-config-hal-manager.c
2588 - (nm_system_config_hal_manager_reinit_dbus,
2589 nm_system_config_hal_manager_deinit_dbus): remove
2591 * system-settings/src/main.c
2592 - (dbus_reconnect): remove
2593 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2594 - (destroy_cb): just quit when the bus goes away
2595 - (start_dbus_service, dbus_init): simplify
2596 - (main): destroy the wired devices hash table after destroying
2597 the HAL manager so we don't have to disconnect signals from the
2600 2008-05-15 Tambet Ingo <tambet@gmail.com>
2602 Move crypto functions from nm-applet to libnm-util.
2604 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2605 (nm_setting_802_1x_set_client_cert)
2606 (nm_setting_802_1x_set_phase2_ca_cert)
2607 (nm_setting_802_1x_set_phase2_client_cert)
2608 (nm_setting_802_1x_set_private_key)
2609 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2610 file (or private key and it's password), read the certificate data.
2612 * libnm-util/crypto_nss.c:
2613 * libnm-util/crypto_gnutls.c:
2614 * libnm-util/crypto.[ch]: Move here from nm-applet.
2616 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2618 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2619 Imlement WPA-EAP configuration reading from sysconfig.
2621 2008-05-16 Dan Williams <dcbw@redhat.com>
2623 * src/nm-device-802-11-wireless.c
2624 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2627 2008-05-14 Dan Williams <dcbw@redhat.com>
2629 Fix Linus' bug in rh #134886
2631 * src/nm-device-802-3-ethernet.c
2632 - (constructor): request initial carrier state
2634 * src/nm-netlink-monitor.c
2635 - (nm_netlink_monitor_request_status): schedule emission of carrier
2636 signals after refilling the link cache. Because the refill is a
2637 synchronous operation, the normal message hander won't get called
2638 since libnl has already consumed the messages.
2639 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2641 2008-05-14 Dan Williams <dcbw@redhat.com>
2643 * src/NetworkManagerSystem.c
2644 - (nm_system_device_is_up_with_iface): clean up
2646 2008-05-13 Dan Williams <dcbw@redhat.com>
2648 Fix refcounting issues over sleep/wake when a VPN connection was active that
2649 caused NM to try registering an object path for a device upon wake that was
2650 the same as an already registered object path.
2653 - (nm_device_take_down): properly handle cases where the device is
2654 no longer active but was just active, and therefore must be
2655 deactivated. When a device moves to unmanaged mode, this function
2656 previously would not deactivate the device, because the state was
2657 already unmanaged by the time this function was called.
2659 * src/vpn-manager/nm-vpn-connection.c
2660 - (device_state_changed): properly handle multiple devices states in
2661 which the device is now deactivated. Code previously didn't handle
2662 transitions to the UNAVAILABLE (like rfkill or carrier off) and
2665 2008-05-13 Dan Williams <dcbw@redhat.com>
2667 * src/nm-device-private.h
2669 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2671 * src/nm-device-802-11-wireless.c
2672 - (nm_device_802_11_wireless_set_enabled): take devices up
2673 and down as appropriate for the rfkill state
2675 2008-05-13 Dan Williams <dcbw@redhat.com>
2677 * marshallers/nm-marshal.list
2678 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2680 * system-settings/plugins/ifcfg-fedora/Makefile.am
2681 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2682 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2683 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2684 events. Solely for use watching ifcfg files to pick up changes
2685 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2687 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2688 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2689 file contents change
2690 - (finalize): clean up inotify watches
2691 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2692 and the connection ifcfg for changes on their hardlinks
2693 - (files_changed_cb): proxy the changed signal back out to listeners
2695 * system-settings/plugins/ifcfg-fedora/plugin.c
2697 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2699 - (read_one_connection): connect to change signals on the new connection
2700 - (dir_changed, connection_changed_handler,
2701 handle_connection_remove_or_new): break out connection change
2702 handling and connection new/remove handling so it can be used from
2703 both the GFileMonitor callback and the NMIfcfgConnection changed
2706 * system-settings/plugins/ifcfg-fedora/reader.c
2707 system-settings/plugins/ifcfg-fedora/reader.h
2708 - (connection_from_file): return the keyfile path the connection would use
2710 2008-05-13 Tambet Ingo <tambet@gmail.com>
2712 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
2713 single PolKitContext which is shared by all. PolKitContext::unref leaks
2714 just about everything, including all open file descriptiors and results
2715 in 99% cpu usage when data arrives to any of the fds that don't belong
2716 to any context anymore.
2718 2008-05-12 Dan Williams <dcbw@redhat.com>
2720 * gfilemonitor/glocaldirectorymonitor.c
2721 gfilemonitor/glocaldirectorymonitor.h
2722 - (g_local_directory_monitor_constructor): actually subscribe to the
2724 - (_g_local_directory_monitor_new): ensure that inotify is started up
2726 * gfilemonitor/glocalfilemonitor.c
2727 gfilemonitor/glocalfilemonitor.h
2728 - (g_local_file_monitor_constructor): actually subscribe to the watch
2729 - (_g_local_file_monitor_new): ensure that inotify is started up
2731 2008-05-11 Dan Williams <dcbw@redhat.com>
2734 - record PolicyKit version
2736 * system-settings/src/nm-polkit-helpers.c
2737 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
2738 with PolicyKit <= 0.6
2740 2008-05-11 Dan Williams <dcbw@redhat.com>
2742 Update Fedora system-settings plugin to support latest API and use
2743 GFileMonitor rather than home-rolled inotify code.
2745 * system-settings/plugins/ifcfg-fedora/Makefile.am
2746 system-settings/plugins/ifcfg-fedora/common.h
2747 system-settings/plugins/ifcfg-fedora/plugin.c
2748 - Update to latest system settings plugin API; use GIO instead of
2749 custom inotify code; use NMIfcfgConnection objects instead of
2750 ConnectionData structures tacked onto NMConnection objects
2752 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2753 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
2754 - Implement an NMExportedConnection subclass mapping ifcfg files to
2757 * system-settings/plugins/ifcfg-fedora/reader.c
2758 system-settings/plugins/ifcfg-fedora/reader.h
2759 - Move ifcfg parsing bits here from parser.c
2761 * system-settings/plugins/ifcfg-fedora/parser.c
2762 system-settings/plugins/ifcfg-fedora/parser.h
2763 - Remove; most code moved to reader.c
2765 2008-05-11 Dan Williams <dcbw@redhat.com>
2770 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
2771 implementation, so that the same change monitoring code can be used
2772 on systems without glib-2.14 (like Fedora 8)
2774 * system-settings/plugins/keyfile/Makefile.am
2775 system-settings/plugins/keyfile/plugin.c
2776 system-settings/plugins/ifcfg-suse/Makefile.am
2777 system-settings/plugins/ifcfg-suse/plugin.c
2778 - Use private gfilemonitor code if GIO is not present
2780 2008-05-09 Tambet Ingo <tambet@gmail.com>
2782 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
2783 NMExportedConnection's 'update' and 'delete' and return error with
2784 descriptive message.
2786 2008-05-08 Dan Williams <dcbw@redhat.com>
2788 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2790 * src/nm-gsm-device.c
2791 src/nm-cdma-device.c
2792 - (real_get_best_auto_connection): implement; allow autoconnection
2793 to GSM & CDMA devices
2795 2008-05-08 Tambet Ingo <tambet@gmail.com>
2797 Use PolicyKit to authorize the system settings' AddConnection method
2798 and the system settings connections' Update and Delete methods.
2800 * libnm-glib/nm-settings.c (impl_exported_connection_update)
2801 (impl_exported_connection_delete, nm_exported_connection_update)
2802 (nm_exported_connection_delete): Return boolean and fill GError
2803 to notify the callers of the reasons why it might have failed.
2805 * libnm-glib/nm-dbus-settings-system.c
2806 (nm_dbus_settings_system_add_connection): Return the error from dbus
2807 call so that the callers can see why it failed.
2809 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
2812 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
2814 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
2815 abstract base class that checks PolicyKit permissions.
2817 * system-settings/src/dbus-settings.c:
2818 (impl_settings_add_connection): Check the policy before carring out
2821 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
2822 Inherit from NMSysconfigConnection, check the policies before
2823 allowing updating or removing.
2825 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
2826 Inherit from NMSysconfigConnection.
2828 * introspection/nm-exported-connection.xml: Annotate "Update" and
2829 "Delete" methods with async flag so that the implementations can get
2830 access to DBusGMethodInvocation.
2832 * system-settings/src/dbus-settings.c
2833 (settings_add_connection_check_privileges): Implement.
2834 (impl_settings_add_connection): Check the privileges before adding a new
2835 connection. Improve error reporting.
2837 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
2838 async so that the implementation can access DBusGMethodInvocation.
2840 * configure.in: Check for PolicyKit.
2842 * policy/org.freedesktop.network-manager-settings.system.policy:
2845 * policy/Makefile.am: Install the policy file.
2847 * configure.in: Add 'policy' subdir.
2849 2008-05-08 Tambet Ingo <tambet@gmail.com>
2851 Rewrite the suse system settings plugin.
2853 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
2855 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
2857 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
2859 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
2861 * system-settings/src/dbus-settings.c: Fix connection reference counting.
2863 * system-settings/src/main.c (load_plugins): Improve error reporting.
2865 * system-settings/src/sha1.[ch] Add.
2867 * system-settings/src/Makefile.am: Add sha1[ch] to build.
2869 2008-05-07 Dan Williams <dcbw@redhat.com>
2871 * system-settings/plugins/keyfile/reader.c
2872 - (read_one_setting_value): handle IP address items separately
2873 - (read_array_of_uint): read IPv4 DNS option as a string array
2874 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
2877 * system-settings/plugins/keyfile/writer.c
2878 - (write_setting_value): handle IP address items separately
2879 - (write_array_of_uint): handle IPv4 DNS option as a string array,
2880 not an array of uint, so that it's user-editable
2881 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
2882 arrays, so they are user-editable
2884 2008-05-07 Dan Williams <dcbw@redhat.com>
2886 * system-settings/plugins/keyfile/Makefile.am
2887 - Change location of the keyfile plugin settings to
2888 /etc/NetworkManager/system-connections
2890 2008-05-05 Tambet Ingo <tambet@gmail.com>
2892 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
2894 * system-settings/plugins/keyfile/plugin.c: Work with
2895 NMKeyfileConnections.
2897 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
2898 Plugins are supposed to return NMExportedConnections now and handle the
2899 updated(), removed(), and GetSecrets().
2900 Store the internal list of connections in hash table to make it easier
2903 2008-05-07 Tambet Ingo <tambet@gmail.com>
2905 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
2906 for multiple IP addresses.
2908 2008-05-07 Tambet Ingo <tambet@gmail.com>
2910 Patch from André Lemos.
2912 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
2915 2008-05-06 Dan Williams <dcbw@redhat.com>
2917 * src/dhcp-manager/nm-dhcp-manager.c
2918 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
2919 NMIP4Config to support multiple IP addresses
2921 * src/NetworkManagerUtils.c
2922 - (nm_utils_merge_ip4_config): update for multiple IP addresses
2924 * src/nm-ip4-config.c
2926 - Store a list of IPv4 address/netmask/gateway tuples
2927 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
2928 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
2929 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
2930 nm_ip4_config_set_address): remove
2931 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
2932 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
2933 new functions; handle multiple IPv4 addresses
2936 src/ppp-manager/nm-ppp-manager.c
2937 src/vpn-manager/nm-vpn-connection.c
2938 src/NetworkManagerPolicy.c
2940 libnm-glib/libnm-glib-test.c
2941 - update for changes to NMIP4Config for multiple IPv4 addresses
2943 * src/NetworkManagerSystem.c
2944 - (nm_system_device_set_ip4_route): don't add the route if any address
2945 is on the same subnet as the destination
2946 - (check_one_address): ignore the exact match, just match family and
2948 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
2950 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
2951 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
2953 * introspection/nm-ip4-config.xml
2954 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
2955 - Add 'addresses' property which is an array of (uuu) tuples of
2956 address/netmask/gateway
2958 * libnm-util/nm-setting-ip4-config.c
2959 - (set_property): use ip-address <-> GValue converters from nm-utils.c
2961 * libnm-glib/nm-ip4-config.c
2962 libnm-glib/nm-ip4-config.h
2963 - Handle D-Bus interface changes to support multiple IP addresses
2965 2008-05-06 Dan Williams <dcbw@redhat.com>
2967 * libnm-util/nm-utils.c
2968 libnm-util/nm-utils.h
2969 - (nm_utils_ip4_addresses_from_gvalue,
2970 nm_utils_ip4_addresses_to_gvalue): new functions
2972 2008-05-06 Tambet Ingo <tambet@gmail.com>
2974 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
2975 the returned connection paths.
2977 2008-05-05 Tambet Ingo <tambet@gmail.com>
2979 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
2980 "PropertiesChanged" signal signature.
2982 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
2983 defined in nm-dbus-glib-types.h.
2984 Don't register the connection on dbus, we're a proxy class to
2985 communicate with an already registered connection over dbus.
2987 2008-04-30 Tambet Ingo <tambet@gmail.com>
2989 Implement new subclasses of NMSettings and NMExportedConnection to make
2990 it easier for the applet to access and modify system settings.
2992 * libnm-glib/nm-dbus-connection.[ch]:
2993 * libnm-glib/nm-dbus-settings.[ch]:
2994 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
2996 * libnm-glib/Makefile.am: Add the new files to build, generate some more
2999 * include/NetworkManager.h: Define the system settings DBus interface.
3001 2008-04-30 Tambet Ingo <tambet@gmail.com>
3003 Implement additional C API for exported connections to make them identical
3004 with the DBus API. Change the (list_connections) virtual function to be
3005 more usable from C - instead of requiring implementers to return a GPtrArray
3006 of dbus paths, return a list of connections.
3008 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3009 (nm_settings_list_connections):
3010 (nm_exported_connection_new):
3011 (nm_exported_connection_update):
3012 (nm_exported_connection_delete): Implement.
3014 (impl_settings_list_connections):
3015 (impl_exported_connection_update):
3016 (impl_exported_connection_delete): Use the new public functions to make
3017 sure the C and dbus interfaces stay in sync.
3019 * system-settings/src/dbus-settings.c (list_connections): Return a list of
3022 2008-05-02 Dan Williams <dcbw@redhat.com>
3024 * system-settings/plugins/ifcfg-fedora/plugin.c
3025 - (dispose): use right unref call on the DBusGConnection
3027 2008-05-02 Dan Williams <dcbw@redhat.com>
3029 * src/nm-serial-device.c
3030 - (find_terminator): don't compare the whole line, just the size of the
3031 terminator, since some modems put stuff after the terminator, like
3034 2008-05-01 Dan Williams <dcbw@redhat.com>
3036 Patch from Michael Biebl <biebl@debian.org>
3038 * callouts/Makefile.am
3039 callouts/org.freedesktop.nm_dispatcher.service.in
3040 system-settings/src/Makefile.am
3041 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3042 - use the right install location for dbus-activated stuff
3044 2008-04-30 Dan Williams <dcbw@redhat.com>
3046 * src/nm-gsm-device.c
3047 - (enter_pin): fix setting name passed to applets when asking for a GSM
3050 2008-04-30 Dan Williams <dcbw@redhat.com>
3053 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3055 2008-04-30 Dan Williams <dcbw@redhat.com>
3057 * src/nm-device-802-3-ethernet.c
3058 src/nm-device-802-11-wireless.c
3059 - (real_is_up): return true instead of chaining up to unimplemented
3062 2008-04-30 Dan Williams <dcbw@redhat.com>
3064 * src/NetworkManagerSystem.c
3065 src/NetworkManagerSystem.h
3066 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3067 functions to check device flags for IFF_UP
3069 * src/nm-serial-device.c
3070 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3073 * src/nm-device-802-3-ethernet.c
3074 src/nm-device-802-11-wireless.c
3075 - (real_hw_is_up): call nm_system_device_is_up()
3078 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3079 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3082 2008-04-29 Dan Williams <dcbw@redhat.com>
3084 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3086 * marshallers/nm-marshal.list
3089 * src/NetworkManager.c
3090 - (main): let the NMManager handle the NMHalManager
3092 * src/nm-hal-manager.c
3093 src/nm-hal-manager.h
3094 - convert to a GObject, and emit singals when stuff changes. Let the
3095 NMManager handle the signals, instead of the NMHalManager calling
3100 - (remove_one_device): consolidate device removals here
3101 - (dispose): use remove_one_device()
3102 - (nm_manager_get_device_by_udi): make static
3103 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3104 manager for devices at startup or wakeup time
3105 - (nm_manager_new): create and monitor the HAL manager
3106 - (hal_manager_udi_added_cb): new function; do what
3107 nm_manager_add_device() used to do when signalled by the hal manager
3108 - (hal_manager_udi_removed_cb): new function; do what
3109 nm_manager_remove_device() used to do when signalled by the hal
3111 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3113 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3114 in our device list that aren't known to HAL
3115 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3116 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3118 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3119 nm_manager_activation_pending, nm_manager_wireless_enabled,
3120 nm_manager_wireless_hardware_enabled,
3121 nm_manager_set_wireless_hardware_enabled): remove, unused
3123 2008-04-28 Dan Williams <dcbw@redhat.com>
3125 Fix the device up/down ambiguities. Up/down state used to be a
3126 conglomeration of hardware state (IFF_UP) and any device-specific things
3127 (supplicant, periodic timers, etc) that the device used to indicate
3128 readiness. Unfortunately, if the hardware was already IFF_UP for some
3129 reason, then the device specific stuff wouldn't get run, and the device
3134 - Create hw_is_up, hw_bring_up, and hw_take_down
3135 - Rename bring_down -> take_down
3136 - (real_hw_is_up): check interface flags for IFF_UP
3137 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3138 - (nm_device_is_up): make static; only used locally
3139 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3140 if the device is already up; if the device isn't up, bring it up
3141 - (nm_device_hw_take_down): just take down hardware
3142 - (nm_device_bring_up): bring up HW first, then device specific stuff
3143 - (nm_device_take_down): always deactivate device when called; always
3144 try to take hardware down too
3145 - (nm_device_state_changed): take device down when entering unmanaged
3146 state from a higher state
3148 * src/nm-device-802-11-wireless.c
3149 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3151 - (real_take_down, supplicant_iface_state_cb_handler,
3152 supplicant_iface_connection_state_cb_handler,
3153 supplicant_mgr_state_cb_handler): fix some messages
3155 * src/nm-device-802-3-ethernet.c
3156 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3159 2008-04-28 Dan Williams <dcbw@redhat.com>
3163 - (nm_manager_error_get_type): add new error
3164 - (nm_manager_remove_device): don't bother taking down the device here,
3165 the state change from unmanaging the device will do it
3166 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3167 uses it; when going to sleep, just unmanage the device instead of
3168 taking it down, because stuff will cleaned up correctly when the
3169 device gets unmanaged
3171 2008-04-28 Dan Williams <dcbw@redhat.com>
3173 * src/nm-hal-manager.c
3174 - (add_initial_devices): convert to a GSourceFunc prototype
3175 - (nm_manager_state_changed): when coming out of sleep, punt the
3176 device re-addition to an idle handler to let D-Bus events go out
3177 first, fixing a potential dbus-glib assert if the old device was
3178 not yet disposed (due to references held while emitting the D-Bus
3179 signals) but the new device was found, because the mainloop didn't
3180 run between signal emission and add_initial_devices()
3182 2008-04-27 Dan Williams <dcbw@redhat.com>
3184 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3186 * initscript/paldo/NetworkManager.in
3187 initscript/SUSE/networkmanager.in
3188 - Remove last bits of dhcdbd
3190 2008-04-27 Dan Williams <dcbw@redhat.com>
3192 * src/nm-device-802-11-wireless.c
3193 - (link_timeout_cb): don't ask for secrets when disconnected during
3194 association/authentication phase, drivers are still just too crappy
3196 2008-04-27 Dan Williams <dcbw@redhat.com>
3200 dispatcher-daemon/Makefile.am
3201 dispatcher-daemon/NetworkManagerDispatcher.c
3202 initscript/Arch/Makefile.am
3203 initscript/Arch/networkmanager-dispatcher.in
3204 initscript/Gentoo/Makefile.am
3205 initscript/Gentoo/NetworkManagerDispatcher.in
3206 initscript/Mandriva/Makefile.am
3207 initscript/Mandriva/networkmanagerdispatcher.in
3208 initscript/RedHat/Makefile.am
3209 initscript/RedHat/NetworkManagerDispatcher.in
3210 initscript/SUSE/Makefile.am
3211 initscript/SUSE/networkmanager-dispatcher.in
3212 initscript/Slackware/Makefile.am
3213 initscript/Slackware/rc.networkmanager-dispatcher.in
3214 initscript/paldo/Makefile.am
3215 initscript/paldo/NetworkManagerDispatcher.in
3217 man/NetworkManagerDispatcher.8.in
3218 - Remove the dispatcher daemon
3220 2008-04-27 Dan Williams <dcbw@redhat.com>
3222 * callouts/Makefile.am
3223 callouts/nm-dispatcher-action.c
3224 callouts/nm-dispatcher-action.h
3225 callouts/nm-dispatcher.conf
3226 callouts/nm-dispatcher.xml
3227 callouts/org.freedesktop.nm_dispatcher.service
3228 - Re-implement the dispatcher as a system-bus activated service that
3229 NM calls on-demand, rather than an always running daemon
3232 - Add callouts dir to includes to pick up dispatcher defines
3235 - (nm_device_state_changed): call dispatcher on device activated/
3238 * src/vpn-manager/nm-vpn-connection.c
3239 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3242 * src/NetworkManagerUtils.c
3243 src/NetworkManagerUtils.h
3244 - (nm_utils_call_dispatcher): helper to call dispatcher
3246 2008-04-27 Dan Williams <dcbw@redhat.com>
3248 * src/NetworkManagerUtils.c
3249 src/NetworkManagerUtils.h
3250 - remove unneeded includes
3251 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3252 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3253 nm_timeval_cmp, nm_timeval_add): remove, unused
3254 - clean up formatting
3255 - (nm_spawn_process): de-uglify
3257 * src/nm-device-802-11-wireless.c
3258 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3260 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
3262 * initscript/Gentoo/NetworkManager.in:
3263 Fix for starting the daemon.
3265 2008-04-25 Dan Williams <dcbw@redhat.com>
3267 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3269 * src/NetworkManagerSystem.c
3270 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3272 2008-04-25 Dan Williams <dcbw@redhat.com>
3274 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3276 * src/NetworkManagerSystem.c
3277 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3278 implementation of nm_system_device_replace_default_route()
3280 * src/NetworkManagerPolicy.c
3281 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3283 * src/backends/NetworkManagerArch.c
3284 src/backends/NetworkManagerDebian.c
3285 src/backends/NetworkManagerFrugalware.c
3286 src/backends/NetworkManagerGeneric.c
3287 src/backends/NetworkManagerGeneric.h
3288 src/backends/NetworkManagerGentoo.c
3289 src/backends/NetworkManagerMandriva.c
3290 src/backends/NetworkManagerPaldo.c
3291 src/backends/NetworkManagerRedHat.c
3292 src/backends/NetworkManagerSlackware.c
3293 src/backends/NetworkManagerSuSE.c
3294 - (nm_system_device_replace_default_route): remove
3296 2008-04-25 Dan Williams <dcbw@redhat.com>
3298 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3300 * src/NetworkManagerSystem.c
3301 - (validate_ip4_route): remove; use nl_addr_parse() instead
3302 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3303 replace nm_system_device_add_route_via_device_with_iface() in the
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 - Remove nm_system_device_add_route_via_device_with_iface()
3319 2008-04-25 Dan Williams <dcbw@redhat.com>
3321 * system-settings/plugins/ifcfg-fedora/parser.c
3322 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3324 2008-04-24 Dan Williams <dcbw@redhat.com>
3326 * dispatcher-daemon/NetworkManagerDispatcher.c
3327 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3329 2008-04-24 Dan Williams <dcbw@redhat.com>
3331 * initscript/RedHat/NetworkManager.in
3332 initscript/RedHat/NetworkManagerDispatcher.in
3333 - Be active at runlevel 2
3334 - Adjust priorities earlier
3336 2008-04-22 Dan Williams <dcbw@redhat.com>
3338 * src/NetworkManagerPolicy.c
3339 - (update_routing_and_dns): when checking for a gateway, look at the
3340 composite IP4 config, not the connection's ip4-config setting, which
3341 doesn't include DHCP-returned information
3343 2008-04-22 Tambet Ingo <tambet@gmail.com>
3345 Implement GKeyFile system settings plugin.
3346 Implement writing system settings (currently supported only by GKeyFile plugin).
3348 * system-settings/src/main.c:
3349 * system-settings/src/dbus-settings.c: Move the communication with plugins
3350 from main.c to dbus-settings.c. Makes it possible to talk to all registered
3351 plugins for adding/updating/removing connections.
3353 * system-settings/src/nm-system-config-interface.c
3354 (nm_system_config_interface_add_connection): Implement
3355 (nm_system_config_interface_update_connection): Implement.
3356 (nm_system_config_interface_remove_connection): Implement.
3358 * system-settings/plugins/keyfile/Makefile.am:
3359 * system-settings/plugins/keyfile/plugin.[ch]:
3360 * system-settings/plugins/keyfile/writer.[ch]:
3361 * system-settings/plugins/keyfile/reader.[ch]: Implement.
3363 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3365 * configure.in: Generate GKeyFile Makefile.
3367 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3368 corruption, need to duplicate the returned string.
3369 (impl_exported_connection_update): Implement.
3370 (impl_exported_connection_delete): Implement.
3372 * introspection/nm-settings-system.xml: Add "AddConnection" method.
3374 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3376 2008-04-22 Dan Williams <dcbw@redhat.com>
3378 Patch from Charles R. Anderson (cra@wpi.edu)
3380 * src/NetworkManagerPolicy.c
3381 - (update_routing_and_dns): don't select devices without a gateway
3382 as having the default route (rh #437338)
3384 2008-04-21 Dan Williams <dcbw@redhat.com>
3386 * src/nm-activation-request.c
3387 src/nm-activation-request.h
3388 - (dispose): ensure to disconnect from the device's state-changed signal
3389 when appropriate so the signal doesn't get handled by an already
3390 disposed NMActRequest
3391 - (device_state_changed): update is_default here too just to make sure
3392 default is only True when the child device is activated
3393 - (nm_act_request_set_default): new function
3395 * src/NetworkManagerPolicy.c
3396 - (update_routing_and_dns): set 'default' on the active connection which
3397 has the default route and DNS
3399 2008-04-21 Dan Williams <dcbw@redhat.com>
3401 * src/NetworkManagerPolicy.c
3402 - (device_state_changed): update routing and DNS when a device goes
3403 into unmanaged or unavailable states too (like rfkill or carrier loss)
3405 2008-04-21 Dan Williams <dcbw@redhat.com>
3407 * include/NetworkManager.h
3408 - Add NMActiveConnectionState enum
3410 * introspection/nm-active-connection.xml
3411 introspection/nm-vpn-connection.xml
3412 - Add 'State' property for overall active connection state
3413 - Add 'Default' property, when True means this active connection
3414 has the default route
3415 - Add PropertyChanged signals so changes actually go out over the bus
3417 * src/nm-active-connection.h
3418 - Add defines for State & Default properties
3420 * src/nm-activation-request.c
3421 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3422 signal to determine active connection state
3424 * src/vpn-manager/nm-vpn-connection.c
3425 src/vpn-manager/nm-vpn-connection.h
3426 src/vpn-manager/nm-vpn-manager.c
3427 src/vpn-manager/nm-vpn-service.c
3428 - Rename old 'state' to 'vpn-state'
3429 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3430 - Add 'state' and 'default' properties, hook up to the vpn connection's
3431 'vpn-state-changed' signal
3433 * libnm-glib/nm-active-connection.c
3434 libnm-glib/nm-active-connection.h
3435 - Add new 'state' and 'default' properties and accessors
3437 * libnm-glib/nm-vpn-connection.c
3438 libnm-glib/nm-vpn-connection.h
3439 - Rename old 'state' property to 'vpn-state'
3440 - Add new 'state' and 'default' properties and accessors
3442 2008-04-21 Dan Williams <dcbw@redhat.com>
3444 * src/nm-ip4-config.c
3445 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3446 not specified (rh #443474)
3448 2008-04-20 Dan Williams <dcbw@redhat.com>
3450 * src/NetworkManagerUtils.c
3451 src/NetworkManagerUtils.h
3452 - (nm_utils_merge_ip4_config): new function; merge settings from an
3453 NMSettingIP4Config to an NMIP4Config object
3456 - (merge_ip4_config): move to NetworkManagerUtils.c
3458 * src/vpn-manager/nm-vpn-connection.c
3459 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3462 2008-04-18 Dan Williams <dcbw@redhat.com>
3464 * libnm-util/nm-setting-ppp.c
3465 libnm-util/nm-setting-ppp.h
3466 - Add 'no-vj-comp' option for TCP header compression
3467 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3470 2008-04-18 Dan Williams <dcbw@redhat.com>
3472 * libnm-util/nm-setting-ppp.c
3473 libnm-util/nm-setting-ppp.h
3474 src/ppp-manager/nm-ppp-manager.c
3475 - Add 'refuse-pap' and 'refuse-mschapv2' options
3477 2008-04-18 Dan Williams <dcbw@redhat.com>
3479 * libnm-util/nm-setting-ppp.c
3480 libnm-util/nm-setting-ppp.h
3481 src/ppp-manager/nm-ppp-manager.c
3482 - Remove the 'usepeerdns' option and always request DNS servers from
3483 the PPP server; the connection chooses to use/override/ignore the
3484 DNS servers returned from the PPP server
3486 2008-04-18 Dan Williams <dcbw@redhat.com>
3488 * libnm-util/nm-setting-ppp.c
3489 libnm-util/nm-setting-ppp.h
3490 src/ppp-manager/nm-ppp-manager.c
3491 - Remove the 'require-mppc' option, because pppd doesn't support it and
3492 it seems to have been an erroneous addition to the PPTP plugin in
3493 the first place (from which the ppp-manager is derived)
3495 2008-04-17 Dan Williams <dcbw@redhat.com>
3497 * libnm-util/nm-setting-pppoe.c
3498 - (verify): require a PPP setting too
3500 * src/ppp-manager/nm-ppp-manager.c
3501 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3504 2008-04-17 Dan Williams <dcbw@redhat.com>
3507 - (nm_device_state_changed): do deactivation and and promotion to
3508 unavailable here, so that the device gets cleaned up before the
3509 manager runs and starts emitting signals; do the
3510 FAILED->DISCONNECTED transition from an idle handler rather than
3511 immediately to guard against recursion
3512 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3513 FAILED->DISCONNECTED handler if it's scheduled
3515 2008-04-17 Dan Williams <dcbw@redhat.com>
3517 * src/nm-device-802-11-wireless.c
3518 - (state_changed_cb): clear AP list when device transitions to
3519 unavailable or unmanaged
3520 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3521 since this is already done in device_cleanup()
3522 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3523 isn't available or managed
3524 - (device_cleanup): use remove_all_aps()
3525 - (remove_all_aps): consolidate code removing all APs
3527 2008-04-17 Dan Williams <dcbw@redhat.com>
3529 * src/nm-serial-device.c
3530 src/nm-serial-device.h
3531 - (wait_for_reply_got_data): break input into lines, and search each
3532 line for responses _and_ terminator strings; also make sure that
3533 the read loop doesn't continue after the timeout is supposed to fire
3534 - (nm_serial_device_wait_for_reply): take an array of terminators too
3536 * src/nm-gsm-device.c
3537 src/nm-cdma-device.c
3538 - Send terminators to nm_serial_device_wait_for_reply()
3540 2008-04-16 Dan Williams <dcbw@redhat.com>
3542 Patch from 陈鑫 <znscnchen@gmail.com>
3544 * src/ppp-manager/nm-pppd-plugin.c
3545 - (get_credentials): return correct value for success; handle case where
3546 pppd just does some checking but doesn't want a password
3547 - (plugin_init): make CHAP work too
3549 2008-04-16 Dan Williams <dcbw@redhat.com>
3551 Patch from 陈鑫 <znscnchen@gmail.com>
3553 * src/ppp-manager/nm-ppp-manager.c
3554 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3556 2008-04-16 Dan Williams <dcbw@redhat.com>
3558 Patch from 陈鑫 <znscnchen@gmail.com>
3560 * src/nm-device-802-3-ethernet.c
3561 - (real_deactivate_quickly): clear the IP interface name on
3562 deactivation, otherwise the wrong interface might get used later
3563 for routing and IP management
3565 2008-04-15 Dan Williams <dcbw@redhat.com>
3567 * libnm-glib/nm-device.c
3568 - (get_product_and_vendor): handle serial devices correctly
3569 - (nm_device_update_description): pass device to get_product_and_vendor()
3571 2008-04-15 Dan Williams <dcbw@redhat.com>
3573 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3575 * src/NetworkManagerSystem.h
3576 src/backends/NetworkManagerArch.c
3577 src/backends/NetworkManagerDebian.c
3578 src/backends/NetworkManagerFrugalware.c
3579 src/backends/NetworkManagerGeneric.c
3580 src/backends/NetworkManagerGeneric.h
3581 src/backends/NetworkManagerGentoo.c
3582 src/backends/NetworkManagerMandriva.c
3583 src/backends/NetworkManagerPaldo.c
3584 src/backends/NetworkManagerRedHat.c
3585 src/backends/NetworkManagerSlackware.c
3586 src/backends/NetworkManagerSuSE.c
3588 - (nm_generic_device_add_ip6_link_address,
3589 nm_system_device_add_ip6_link_address): remove
3591 2008-04-15 Dan Williams <dcbw@redhat.com>
3593 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3595 * src/backends/NetworkManagerArch.c
3596 src/backends/NetworkManagerDebian.c
3597 src/backends/NetworkManagerFrugalware.c
3598 src/backends/NetworkManagerGeneric.c
3599 src/backends/NetworkManagerGeneric.h
3600 src/backends/NetworkManagerGentoo.c
3601 src/backends/NetworkManagerMandriva.c
3602 src/backends/NetworkManagerPaldo.c
3603 src/backends/NetworkManagerRedHat.c
3604 src/backends/NetworkManagerSlackware.c
3605 src/backends/NetworkManagerSuSE.c
3606 src/NetworkManagerSystem.h
3607 - flush_routes -> flush_ip4_routes
3608 - flush_addresses -> flush_ip4_addresses
3610 * src/NetworkManagerSystem.c
3612 src/vpn-manager/nm-vpn-connection.c
3613 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3615 2008-04-15 Dan Williams <dcbw@redhat.com>
3617 Remove exposure of wireless-tools mode types in the API.
3619 * include/NetworkManager.h
3620 - Define NM80211Mode enum
3622 * introspection/generic-types.xml
3623 - Describe NM_802_11_MODE enum
3624 - Remove IW_MODE_* enum
3626 * introspection/nm-access-point.xml
3627 libnm-glib/nm-access-point.c
3628 libnm-glib/nm-access-point.h
3629 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3631 * introspection/nm-device-802-11-wireless.xml
3632 libnm-glib/nm-device-802-11-wireless.c
3633 libnm-glib/nm-device-802-11-wireless.h
3634 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3636 * libnm-util/nm-setting-wireless.c
3637 src/NetworkManagerAP.c
3638 src/NetworkManagerAP.h
3639 src/nm-device-802-11-wireless.c
3640 src/nm-device-802-11-wireless.h
3642 - Use NM80211Mode not IW_MODE_*
3644 2008-04-15 Dan Williams <dcbw@redhat.com>
3646 Enhance nm-online based on a patch from Bill Nottingham.
3650 - Add help messages and option summary
3651 - Add long-format options
3652 - Add a '-x' option to exit if NM isn't running or isn't connecting
3654 2008-04-15 Tambet Ingo <tambet@gmail.com>
3656 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3658 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3660 2008-04-15 Dan Williams <dcbw@redhat.com>
3662 * nm-setting-ip4-config.c
3663 - (ip4_addresses_from_gvalue): handle NULL address array
3665 * nm-setting-8021x.c
3666 - (verify_tls, verify_ttls): warn on failed verification
3668 2008-04-10 Dan Williams <dcbw@redhat.com>
3670 * src/nm-gsm-device.c
3671 - (automatic_registration): accept "+CREG: 0,0"
3672 - (automatic_registration_response): fail on "+CREG: 0,0"
3674 2008-04-10 Tambet Ingo <tambet@gmail.com>
3676 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3678 2008-04-10 Tambet Ingo <tambet@gmail.com>
3680 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
3681 Make it compile again by commenting out broken code that at first didn't work and
3682 now didn't compile either.
3684 2008-04-08 Dan Williams <dcbw@redhat.com>
3686 * libnm-glib/nm-object-cache.c
3687 libnm-glib/nm-settings.c
3688 src/dhcp-manager/nm-dhcp-manager.c
3689 system-settings/plugins/ifcfg-fedora/plugin.c
3690 system-settings/plugins/ifcfg-suse/plugin.c
3691 system-settings/src/nm-system-config-hal-manager.c
3692 libnm-util/nm-utils.c
3693 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3694 not threadsafe anyway
3696 2008-04-08 Dan Williams <dcbw@redhat.com>
3698 * system-settings/src/main.c
3699 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3700 callbacks take a device type too
3702 2008-04-08 Dan Williams <dcbw@redhat.com>
3704 The system settings service will now create a new default DHCP connection
3705 for wired devices that have no existing applicable connection.
3707 * system-settings/src/nm-system-config-hal-manager.c
3708 system-settings/src/nm-system-config-hal-manager.h
3709 - (nm_system_config_hal_manager_get_type_for_udi): new function
3711 * system-settings/src/dbus-settings.c
3712 system-settings/src/dbus-settings.h
3713 - (nm_sysconfig_settings_get_connections): new function
3714 - (nm_sysconfig_settings_is_device_managed): new function
3716 * system-settings/src/main.c
3717 - (load_stuff): check for wired devices that need a default connection
3718 - (get_details_for_udi): get interface and MAC address from HAL
3719 - (add_default_dhcp_connection): add a default connection for a wired
3721 - (device_added_cb, device_removed_cb): do the right thing with
3722 wired devices and their default connections on HAL device events
3724 2008-04-07 Dan Williams <dcbw@redhat.com>
3726 * libnm-glib/nm-device.c
3727 libnm-glib/nm-device.h
3728 - Proxy the 'managed' property
3730 2008-04-07 Dan Williams <dcbw@redhat.com>
3732 * src/nm-gsm-device.c
3733 src/nm-cdma-device.c
3734 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3735 handler to transition to DISCONNECTED
3737 2008-04-07 Dan Williams <dcbw@redhat.com>
3739 Patch from Bill Nottingham
3741 * dispatcher-daemon/NetworkManagerDispatcher.c
3742 - ignore backup/packaging crufy (rh #440143)
3744 2008-04-07 Dan Williams <dcbw@redhat.com>
3746 * include/NetworkManager.h
3747 - Remove the DOWN and CANCELLED device states
3748 - Add UNMANAGED and UNAVAILABLE device states
3749 - Document the device states
3751 * introspection/nm-device.xml
3752 src/nm-device-interface.c
3753 src/nm-device-interface.h
3754 - Add the 'managed' property
3757 - (detail_device): print out device state
3759 * src/NetworkManagerSystem.h
3760 src/backends/NetworkManagerArch.c
3761 src/backends/NetworkManagerDebian.c
3762 src/backends/NetworkManagerFrugalware.c
3763 src/backends/NetworkManagerGentoo.c
3764 src/backends/NetworkManagerMandriva.c
3765 src/backends/NetworkManagerPaldo.c
3766 src/backends/NetworkManagerRedHat.c
3767 src/backends/NetworkManagerSlackware.c
3768 src/backends/NetworkManagerSuSE.c
3769 - (nm_system_device_get_system_config, nm_system_device_get_disabled
3770 nm_system_device_free_system_config): remove; they were unused and
3771 their functionality should be re-implemented in each distro's
3772 system settings service plugin
3774 * src/nm-gsm-device.c
3776 src/nm-cdma-device.c
3777 src/nm-cdma-device.h
3778 - (*_new): take the 'managed' argument
3781 - (nm_device_set_address): remove, fold into nm_device_bring_up()
3782 - (nm_device_init): start in unmanaged state, not disconnected
3783 - (constructor): don't start device until the system settings service
3784 has had a chance to figure out if the device is managed or not
3785 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
3786 don't set device state here, let callers handle that as appropriate
3787 - (nm_device_dispose): don't touch the device if it's not managed
3788 - (set_property, get_property, nm_device_class_init): implement the
3790 - (nm_device_state_changed): bring the device up if its now managed,
3791 and deactivate it if it used to be active
3792 - (nm_device_get_managed, nm_device_set_managed): do the right thing
3793 with the managed state
3795 * src/nm-hal-manager.c
3796 - (wired_device_creator, wireless_device_creator, modem_device_creator):
3797 take initial managed state and pass it along to device constructors
3798 - (create_device_and_add_to_list): get managed state and pass to
3801 * src/nm-device-802-11-wireless.c
3802 - (real_can_activate): fold in most of
3803 nm_device_802_11_wireless_can_activate()
3804 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
3805 - (link_timeout_cb): instead of deactivating, change device state and
3806 let the device state handler to it
3807 - (real_update_hw_address): clean up
3808 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3809 handler to transition to DISCONNECTED if the device isn't rfkilled
3811 * src/nm-device-802-3-ethernet.c
3812 - (set_carrier): move above callers and get rid of prototype
3813 - (device_state_changed): when entering UNAVAILABLE state, schedule an
3814 idle handler to transition to DISCONNECTED if the device has a
3816 - (real_update_hw_address): clean up
3817 - (link_timeout_cb, ppp_state_changed): change state instead of calling
3818 deactivation directly as deactivation doesn't change state anymore
3820 * src/NetworkManagerPolicy.c
3821 - (schedule_activate_check): yay, remove wireless_enabled hack since
3822 the NMManager and wireless devices work that out themselves now
3823 - (device_state_changed): change to a switch and update for new device
3825 - (device_carrier_changed): remove; device handles this now through
3827 - (device_added): don't care about carrier any more; the initial
3828 activation check will happen when the device transitions to
3832 - (dispose): clear unmanaged devices
3833 - (handle_unmanaged_devices): update unmanaged device list and toggle
3834 the managed property on each device when needed
3835 - (system_settings_properties_changed_cb): handle signals from the
3836 system settings service
3837 - (system_settings_get_unmanaged_devices_cb): handle callback from
3838 getting the unmanaged device list method call
3839 - (query_unmanaged_devices): ask the system settings service for its
3840 list of unmanaged devices
3841 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
3843 - (manager_set_wireless_enabled): push rfkill state down to wireless
3844 devices directly and let them handle the necessary state transitions
3845 - (manager_device_state_changed): update for new device states
3846 - (nm_manager_add_device): set initial rfkill state on wireless devices
3847 - (nm_manager_remove_device): don't touch the device if it's unmanaged
3848 - (nm_manager_activate_connection): return error if the device is
3850 - (nm_manager_sleep): handle new device states correctly; don't change
3851 the state of unavailable/unmanaged devices
3853 * libnm-glib/nm-device-802-11-wireless.c
3854 - (state_changed_cb): update for new device states
3856 2008-04-07 Dan Williams <dcbw@redhat.com>
3858 * marshallers/nm-marshal.list
3859 - Add VOID:STRING,UINT marshaller for system settings HAL manager
3861 2008-04-07 Dan Williams <dcbw@redhat.com>
3863 * system-settings/src/main.c
3864 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
3865 plugins to the dbus settings object
3866 - (load_stuff): start the dbus service after grabbing unmanaged devices
3867 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
3868 - (log_handler, logging_setup, logging_shutdown): log output to syslog
3869 - (main): switch default logging to syslog with a 'debug' option to
3870 output to console; start up the HAL manager
3872 2008-04-07 Dan Williams <dcbw@redhat.com>
3874 * introspection/nm-settings-system.xml
3875 introspection/Makefile.am
3876 - Define the unmanaged devices interface for the system settings service
3878 * system-settings/src/nm-system-config-hal-manager.c
3879 system-settings/src/nm-system-config-hal-manager.h
3880 system-settings/src/nm-system-config-hal-manager-private.h
3881 system-settings/src/Makefile.am
3882 - Add a lightweight HAL manager object for tracking network devices for
3883 the purpose of determining unmanaged devices and which devices need
3884 the default DHCP connections
3886 * system-settings/src/nm-system-config-interface.c
3887 system-settings/src/nm-system-config-interface.h
3888 - (nm_system_config_interface_init): add the HAL manager as an argument
3889 - (nm_system_config_interface_get_unmanaged_devices): implement
3890 - Define 'unmanaged-devices-changed' signal
3892 * system-settings/src/dbus-settings.c
3893 system-settings/src/dbus-settings.h
3894 - Implement the unmanaged devices interface; some cleanups
3896 * system-settings/plugins/ifcfg-suse/plugin.c
3897 - Fixup for plugin interface changes
3899 * system-settings/plugins/ifcfg-fedora/plugin.c
3900 - (get_ether_device_udi): new function; find the device that has
3901 a specified MAC address and return its UDI
3902 - (get_udi_for_connection): new function; try to find the specific
3903 device a connection is locked to, if any
3904 - (device_added_cb, device_removed_cb): update unmanaged device list in
3905 response to HAL events
3906 - (get_unmanaged_devices): new function; return unmanaged device list
3907 - (build_one_connection): set the connection's locked device, if any
3908 - (write_auto_wired_connection): remove
3909 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
3910 - (handle_connection_changed): alert listeners that the unmanaged device
3912 - (init): fixup for plugin interface changes, implement unmanaged devices
3914 * system-settings/plugins/ifcfg-fedora/parser.c
3915 system-settings/plugins/ifcfg-fedora/parser.h
3916 - (connection_data_free): clean up connection UDI
3918 2008-04-07 Dan Williams <dcbw@redhat.com>
3920 * system-settings/plugins/ifcfg-fedora/parser.c
3921 - (make_ip4_setting): fix parsing of DNS servers
3923 2008-04-05 Dan Williams <dcbw@redhat.com>
3927 marshallers/Makefile.am
3928 marshallers/nm-marshal-main.c
3929 marshallers/nm-marshal.list
3930 - Consolidate marshallers
3932 * libnm-glib/nm-marshal-main.c
3933 libnm-glib/nm-marshal.list
3934 src/marshallers/Makefile.am
3935 src/marshallers/nm-marshal-main.c
3936 src/marshallers/nm-marshal.list
3939 * libnm-glib/Makefile.am
3941 src/dhcp-manager/Makefile.am
3942 src/ppp-manager/Makefile.am
3943 src/supplicant-manager/Makefile.am
3944 src/vpn-manager/Makefile.am
3945 - Use consolidated marshallers
3947 2008-04-04 Dan Williams <dcbw@redhat.com>
3949 * src/nm-hal-manager.c
3950 src/nm-hal-manager.h
3951 - (hal_init): don't look for hardware here
3952 - (nm_hal_manager_start): new function; look for hardware here instead,
3953 which can be done at a later time than hal_init()
3955 * src/NetworkManager.c
3956 - (main): start HAL manager after entering the main loop
3958 2008-04-03 Dan Williams <dcbw@redhat.com>
3960 * libnm-glib/nm-settings.c
3961 libnm-glib/nm-settings.h
3962 - (nm_exported_connection_get_id): new function
3963 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
3965 2008-04-02 Dan Williams <dcbw@redhat.com>
3967 * src/nm-device-interface.c
3968 src/nm-device-interface.h
3971 - Rename check_connection_conflicts() to check_connection_compatible()
3973 * src/nm-device-802-11-wireless.c
3974 - (real_check_connection_conflicts): remove
3975 - (real_check_connection_compatible): implement; match MAC address
3977 * src/nm-device-802-3-ethernet.c
3978 - (real_check_connection_conflicts): remove
3979 - (real_check_connection_compatible): implement; match MAC address
3980 - (real_get_best_auto_connection): correctly handle PPPoE cases
3983 - (check_connection_allowed): remove; unused until PolicyKit integration
3984 - (internal_activate_device): check whether the connection is compatible
3985 with the device before trying to activate it
3987 2008-04-02 Dan Williams <dcbw@redhat.com>
3989 * system-settings/plugins/ifcfg-fedora/parser.c
3990 - (read_mac_address): new function; read in MAC address and stuff it
3992 - (add_one_wep_key): remove debug spew
3993 - (make_wireless_security_setting): validate the default TX key; don't
3994 add the wireless-security setting if the connection doesn't need
3995 security; don't leak the keys shvarFile on error cases
3996 - (make_wireless_setting, make_wired_setting): populate device's MAC
3999 2008-04-02 Dan Williams <dcbw@redhat.com>
4001 * libnm-util/nm-setting-connection.c
4002 libnm-util/nm-setting-connection.h
4003 - (set_property, get_property, nm_setting_connection_class_init): remove
4004 the 'lockdown' property; it's functionality will be replaced by
4007 2008-04-01 Dan Williams <dcbw@redhat.com>
4009 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4012 initscript/Makefile.am
4013 initscript/Mandriva/Makefile.am
4014 initscript/Mandriva/networkmanager.in
4015 initscript/Mandriva/networkmanagerdispatcher.in
4016 src/backends/Makefile.am
4017 src/backends/NetworkManagerMandriva.c
4018 system-settings/plugins/Makefile.am
4019 - Add Mandriva support
4021 2008-03-31 Dan Williams <dcbw@redhat.com>
4023 * src/vpn-manager/nm-vpn-service.c
4024 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4025 errors can be passed back to the caller; also no longer scheduled
4026 as an idle handler, but called directly; and bump up VPN service
4027 spawn timeout, 2s is really short
4028 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4029 but call it directly so that errors are reported on return from
4030 ActivateConnection() and don't get lost. If scheduled as an idle
4031 handler, clients don't have the time to query NM for the new VPN
4032 connection's properties before the VPN connection is torn down again
4033 if the service couldn't be launched, and therefore launch errors
4036 2008-03-31 Dan Williams <dcbw@redhat.com>
4038 * src/vpn-manager/nm-vpn-connection.c
4039 - (device_state_changed): send correct state on device failure too
4040 - (plugin_state_changed): failed state means unexpected disconnection,
4041 thus if the service goes away while the VPN connection is activated
4042 that's a failure too
4044 2008-03-31 Dan Williams <dcbw@redhat.com>
4046 * src/vpn-manager/nm-vpn-manager.c
4047 src/vpn-manager/nm-vpn-manager.h
4048 - Make VPNManager errors more available; add a service-start-failed error
4050 2008-03-31 Dan Williams <dcbw@redhat.com>
4052 * libnm-glib/nm-client.c
4053 libnm-glib/nm-client.h
4054 - (activate_cb): pass the new active connection to callback; fix
4055 message when no callback is specified
4057 2008-03-30 Dan Williams <dcbw@redhat.com>
4059 * libnm-util/nm-setting-wireless-security.c
4060 - (need_secrets): only require key0 if the transmit key index is also
4062 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4064 2008-03-29 Dan Williams <dcbw@redhat.com>
4066 * libnm-util/nm-setting-8021x.c
4067 libnm-util/nm-setting-ip4-config.c
4068 libnm-util/nm-setting-vpn-properties.c
4069 libnm-util/nm-setting-vpn.c
4070 libnm-util/nm-setting-wireless-security.c
4071 libnm-util/nm-setting-wireless.c
4072 libnm-util/nm-utils.c
4073 src/dhcp-manager/nm-dhcp-manager.c
4074 src/nm-activation-request.c
4077 src/nm-properties-changed-signal.c
4078 src/ppp-manager/nm-pppd-plugin.c
4079 src/supplicant-manager/nm-supplicant-interface.c
4080 src/vpn-manager/nm-vpn-connection.c
4081 - consistently use nm-dbus-glib-types.h
4083 2008-03-29 Dan Williams <dcbw@redhat.com>
4085 * src/vpn-manager/nm-vpn-connection.c
4086 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4089 * src/nm-activation-request.c
4090 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4093 2008-03-29 Dan Williams <dcbw@redhat.com>
4095 * libnm-glib/nm-device-802-11-wireless.c
4096 - (access_point_added_proxy): create new APs if not found
4098 2008-03-29 Dan Williams <dcbw@redhat.com>
4100 * libnm-glib/nm-client.c
4101 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4104 2008-03-29 Dan Williams <dcbw@redhat.com>
4106 * system-settings/plugins/ifcfg-fedora/parser.c
4107 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4108 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4110 2008-03-29 Dan Williams <dcbw@redhat.com>
4112 * system-settings/plugins/ifcfg-fedora/parser.c
4113 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4115 2008-03-27 Dan Williams <dcbw@redhat.com>
4118 - (nm_object_queue_notify): don't notify multiple times for the same
4121 * nm-object-private.h
4122 - (handle_ptr_array_return): return NULL if the given array is NULL or
4123 if it has zero elements
4126 - (finalize): use g_ptr_array_foreach() when freeing domains
4127 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4129 * nm-active-connection.c
4130 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4132 * nm-device-802-11-wireless.c
4133 nm-device-802-11-wireless.h
4134 - (nm_device_802_11_wireless_get_access_points): return const; use
4135 handle_ptr_array_return()
4138 - (nm_object_array_demarshal): always create an array, even of length
4139 zero, to distinguish between "NM returned no items" and "haven't
4143 - (dispose): free active connections too
4144 - (proxy_name_owner_changed): free active connections too when NM goes
4146 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4147 - (nm_client_get_active_connections): use handle_ptr_array_return()
4149 2008-03-26 Dan Williams <dcbw@redhat.com>
4151 Rework VPN connection handling for a more consistent D-Bus API. The
4152 VPNManager object has been removed, and active VPN connections are now the
4153 same as any other active connection. The Manager object's ActivateConnection
4154 and DeactivateConnection methods are used to start and stop a VPN connection,
4155 and the VPNConnection objects are subclasses of the ActiveConnection objects.
4156 When activating a VPN connection, pass the path of the active connection
4157 to which the VPN connection is tied in the 'specific_object' argument.
4159 Consequently, the libnm-glib API has been reworked to match this arrangement,
4160 with the VPNManager object removed, and the NMVPNConnection objects now
4161 being subclasses of NMActiveConnection.
4163 2008-03-25 Dan Williams <dcbw@redhat.com>
4165 Patch from Björn Martensen <bjoern.martensen@gmail.com>
4167 * initscript/Arch/networkmanager.in
4168 initscript/Arch/networkmanager-dispatcher.in
4169 - Updates for Arch Linux (gnome.org #523701)
4171 2008-03-25 Dan Williams <dcbw@redhat.com>
4173 * libnm-glib/nm-ip4-config.c
4174 libnm-glib/nm-active-connection.c
4175 libnm-glib/nm-access-point.c
4176 - Use nm_object_queue_notify() instead of g_object_notify()
4178 * libnm-glib/nm-device.c
4179 - (demarshal_ip4_config): distinguish between successful but missing
4180 ip4-config request, and unsuccessful and missing ip4-config request
4181 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4183 - Use nm_object_queue_notify() instead of g_object_notify()
4185 * libnm-glib/nm-device-802-11-wireless.c
4186 - (demarshal_active_ap): distinguish between successfull but missing
4187 active-ap request, and unsuccessful and missing active-ap request
4188 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4190 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4191 for the NMClient to notify the device that wireless is disabled,
4192 and therefore to clear the AP list and active AP
4193 - Use nm_object_queue_notify() instead of g_object_notify()
4195 * libnm-glib/nm-client.c
4196 - (poke_wireless_devices_with_rf_status): new function
4197 - (update_wireless_status): notify wireless devices of the rfkill status
4198 so they can clean up if needed
4199 - Use nm_object_queue_notify() instead of g_object_notify()
4201 2008-03-25 Dan Williams <dcbw@redhat.com>
4203 * libnm-glib/nm-object.c
4204 libnm-glib/nm-object-private.h
4205 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4206 signals to an idle handler
4207 - (nm_object_get_property): add a timeout to the D-Bus method call
4209 2008-03-25 Dan Williams <dcbw@redhat.com>
4211 * introspection/nm-device-cdma.xml
4212 introspection/nm-device-gsm.xml
4213 introspection/Makefile.am
4214 introspection/all.xml
4215 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4217 * src/nm-gsm-device.h
4219 src/nm-cdma-device.h
4220 src/nm-cdma-device.c
4222 - Implement PropertiesChanged signals
4224 * libnm-glib/nm-cdma-device.c
4225 libnm-glib/nm-cdma-device.c
4226 - Attach to PropertiesChanged signals
4228 2008-03-24 Dan Williams <dcbw@redhat.com>
4230 * libnm-glib/nm-client.c
4231 - (client_device_added_proxy): add new devices to the internal device
4232 list so they appear to clients
4234 2008-03-24 Dan Williams <dcbw@redhat.com>
4236 Massive fixup of libnm-glib to:
4237 a) have all objects (with the exception of VPN) cache their properties and
4238 update them asynchronously on PropertiesChanged signals from NM
4239 b) return internal const data for most attributes/properties instead of
4240 allocated values that the caller must free
4241 c) cache wrapped objects such that a given D-Bus path will always map to the
4242 same GObject returned by libnm-glib
4243 d) remove a few signals and move them to GObject property notifications
4244 e) match recent NM D-Bus API changes for activation/deactivation
4245 f) remove some private functions from libnm-glib headers
4247 2008-03-20 Dan Williams <dcbw@redhat.com>
4250 - (nm_manager_update_state, manager_device_state_changed,
4251 nm_manager_activate_device, connection_added_default_handler,
4252 impl_manager_activate_connection, impl_manager_deactivate_connection):
4253 queue PropertyChanged singals when the active connections change
4255 2008-03-20 Dan Williams <dcbw@redhat.com>
4257 * introspection/nm-manager.xml
4258 introspection/nm-manager-client.xml
4259 - (ActivateConnection): return the object path of the active connection
4261 - (GetActiveConnections): remove
4262 - (DeactivateConnection): new function; deactivate a currently active
4264 - Add an ActiveConnections property which returns an array of
4265 active connection object paths
4267 * introspection/nm-device.xml
4268 - (Deactivate): remove
4270 * introspection/all.xml
4271 - Add ActiveConnection introspection
4273 * introspection/nm-active-connection.xml
4274 - Add the ActiveConnection object
4276 * include/NetworkManager.h
4277 - Add the Connection.Active D-Bus interface
4279 * src/nm-device-interface.c
4280 - (impl_device_deactivate): remove
4282 * src/nm-activation-request.c
4283 src/nm-activation-request.c
4285 - Implement the Connection.Active D-Bus interface
4288 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4289 - (nm_manager_activate_device): return the active connection path
4290 - (connection_added_default_handler, impl_manager_activate_connection):
4291 return the active connection to the caller
4292 - (add_one_connection_element, impl_manager_get_active_connections):
4294 - (impl_manager_deactivate_connection): new function; deactivate an
4297 * libnm-glib/nm-device.c
4298 libnm-glib/nm-device.h
4299 - Remove Deactivate() function
4301 2008-03-19 Dan Williams <dcbw@redhat.com>
4303 * introspection/nm-manager.xml
4304 introspection/nm-manager-client.xml
4305 - Rename the ActivateDevice method to ActivateConnection to better
4306 reflect it's usage; it's arguments get reordered a bit too
4307 - Convert GetActiveConnections method return from a struct to a dict
4309 * include/NetworkManager.h
4310 - Define the dict keys for return value of GetActiveConnections
4313 - impl_manager_activate_device -> impl_manager_activate_connection
4314 - (add_one_connection_element): return a populated hash table, not
4317 * libnm-glib/nm-client.c
4318 libnm-glib/nm-client.h
4319 - nm_client_activate_device -> nm_client_activate_connection
4320 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4321 - (nm_client_get_active_connections): return a GSList of GHashTables,
4322 instead of the custom structures. Each element of the returned list
4323 must be freed with nm_client_free_active_connections_element()
4325 2008-03-18 Dan Williams <dcbw@redhat.com>
4327 * system-settings/plugins/ifcfg-fedora/parser.c
4328 system-settings/plugins/ifcfg-fedora/parser.h
4329 system-settings/plugins/ifcfg-fedora/plugin.c
4330 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4331 profiles. DNS servers and searches must now be stored in the ifcfg
4334 2008-03-18 Tambet Ingo <tambet@gmail.com>
4336 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4337 print out username and password, it's supposed to be a secret.
4339 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
4340 request and set the device state accordingly.
4342 2008-03-18 Tambet Ingo <tambet@gmail.com>
4344 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4346 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4348 2008-03-18 Dan Williams <dcbw@redhat.com>
4350 * src/vpn-manager/nm-vpn-connection.c
4351 - (get_secrets_cb): handle new GetSecrets return format
4353 2008-03-18 Dan Williams <dcbw@redhat.com>
4355 Adapt system settings service for split 802.1x.
4357 * system-settings/src/nm-system-config-interface.h
4358 - clarify return value of get_secrets()
4360 * system-settings/src/dbus-settings.c
4361 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4362 - (check_for_secrets): check if there actually secrets returned by a
4364 - (exported_connection_get_secrets): just return the plugin-returned
4365 hash of settings' secrets if it looks valid
4367 * system-settings/plugins/ifcfg-fedora/plugin.c
4368 - (get_secrets): add split secrets with correct format to reply hash
4370 * system-settings/plugins/ifcfg-fedora/parser.c
4371 system-settings/plugins/ifcfg-fedora/parser.h
4372 - (copy_one_cdata_secret, connection_data_copy_secrets,
4373 connection_data_free, connection_data_add): keep secrets for
4374 different settings in different hashes
4376 2008-03-17 Tambet Ingo <tambet@gmail.com>
4378 Clean up activating device deactivation.
4380 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4381 should be done whether the device activation gets cancelled or the device
4382 is just getting deactivated.
4383 (nm_device_activation_cancel): Remove.
4384 (nm_device_deactivate_quickly): Handle the case where device is activating.
4386 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4387 It does the exact same thing as real_deactivate_quickly().
4389 2008-03-17 Dan Williams <dcbw@redhat.com>
4391 Split the 802.1x bits out of the wireless-security setting so they are
4392 generalized enough for wired 802.1x to use too.
4394 * introspection/nm-exported-connection.xml
4395 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4396 of just a hash of the secrets for one setting
4398 * libnm-util/nm-setting-wireless-security.c
4399 libnm-util/nm-setting-wireless-security.h
4400 - Remove 802.1x-specific stuff
4401 - Added leap-username and leap-password properties for old-school LEAP
4405 - (connection_secrets_updated_cb): take a list of updated settings names,
4408 * src/supplicant-manager/nm-supplicant-config.c
4409 src/supplicant-manager/nm-supplicant-config.h
4410 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4411 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4412 to nm_supplicant_config_add_setting_8021x()
4413 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4414 the supplicant config
4416 * src/nm-device-802-11-wireless.c
4417 - (build_supplicant_config): pass in the 802.1x setting too, if any
4418 - (real_connection_secrets_updated): take a list of updated settings
4421 * src/nm-device-802-3-ethernet.c
4422 src/nm-cdma-device.c
4424 - (real_connection_secrets_updated_cb): take a list of updated settings
4427 * src/nm-activation-request.c
4428 src/nm-activation-request.h
4429 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4430 now passes a list of updated settings names, not just one
4431 - (update_one_setting): new function; handle one updated setting
4432 - (get_secrets_cb): handle multiple settings returned from the
4433 settings service; have to be careful of ordering here as there are
4434 some dependencies between settings (ex. wireless-security and 802.1x
4437 * src/marshallers/nm-marshal.list
4438 - new marshaller for connection-secrets-updated signal
4440 * libnm-util/nm-setting-8021x.c
4441 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4443 - (verify): a valid 'eap' property is now required
4445 * libnm-util/nm-connection.c
4446 - (register_default_settings): add priorities to settings; there are
4447 some dependencies between settings, and during the need_secrets
4448 calls this priority needs to be respected. For example, only the
4449 wireless-security setting knows whether or not the connection is
4450 going to use 802.1x or now, so it must be asked for secrets before
4451 any existing 802.1x setting is
4452 - (nm_connection_lookup_setting_type): expose
4454 * libnm-util/nm-setting-wireless.c
4455 - (verify): should verify even if all_settings is NULL; otherwise won't
4456 catch the case where there is missing security
4458 * libnm-util/nm-setting-wireless-security.c
4459 - Remove everything to do with 802.1x
4460 - Add old-school LEAP specific properties for username and password
4461 - (need_secrets): rework LEAP secrets checking
4462 - (verify): rework for LEAP and 802.1x verification
4464 2008-03-17 Dan Williams <dcbw@redhat.com>
4466 * src/NetworkManagerPolicy.c
4467 - (auto_activate_device): always remove the current activation check
4468 from the pending activation list, otherwise when the policy gets
4469 destroyed on NM exit it will attempt to free the already freed
4472 2008-03-14 Tambet Ingo <tambet@gmail.com>
4474 * src/backends/NetworkManagerSlackware.c
4475 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4477 * src/backends/NetworkManagerSuSE.c: Add missing includes.
4479 2008-03-14 Dan Williams <dcbw@redhat.com>
4482 - (nm_device_interface_get_iface): g_object_get() will return an
4483 allocated value, so this function must not return const
4484 - (nm_device_interface_activate): free returned iface
4486 2008-03-14 Tambet Ingo <tambet@gmail.com>
4488 * libnm-util/Makefile.am: Add new files to build.
4490 * libnm-util/nm-connection.c: Register NMSetting8021x.
4492 * libnm-util/nm-setting-8021x.c
4493 * libnm-util/nm-setting-8021x.h: Implement.
4495 2008-03-14 Tambet Ingo <tambet@gmail.com>
4497 * libnm-util/Makefile.am: Add new files to build.
4499 * libnm-util/nm-connection.c: Register NMSetting8021x.
4501 * libnm-util/nm-setting-8021x.c
4502 * libnm-util/nm-setting-8021x.h: Implement.
4504 2008-03-14 Tambet Ingo <tambet@gmail.com>
4506 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4509 2008-03-14 Dan Williams <dcbw@redhat.com>
4511 * include/wireless-helper.h
4513 - One place for all the junk needed for #including wireless.h
4516 src/NetworkManagerAP.c
4519 libnm-util/nm-utils.c
4520 libnm-util/nm-setting-wireless.c
4521 libnm-glib/nm-device-802-11-wireless.c
4522 libnm-glib/nm-access-point.c
4523 libnm-glib/libnm-glib-test.c
4524 - include wireless-helper.h, not iwlib.h
4527 - Don't need libiw really, just need to check for wireless.h
4529 * src/kernel-types.h
4530 - Remove; used types moved into wpa.c
4532 * src/nm-device-802-11-wireless.c
4533 - (nm_device_802_11_wireless_update_signal_strength,
4534 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4535 nm_device_802_11_wireless_set_mode,
4536 nm_device_802_11_wireless_get_frequency,
4537 nm_device_802_11_wireless_get_ssid,
4538 nm_device_802_11_wireless_set_ssid,
4539 nm_device_802_11_wireless_get_bitrate,
4540 nm_device_802_11_wireless_get_bssid,
4541 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4542 instead of iwlib functions
4544 2008-03-14 Dan Williams <dcbw@redhat.com>
4546 * src/ppp-manager/nm-ppp-manager.c
4547 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4548 should only take the DBusGMethodInvocation argument, not user/pass
4549 too. With dbus-glib, async functions only take 2 C arguments since
4550 the real dbus method arguments get passed back with
4551 dbus_g_method_return()
4553 2008-03-13 Tambet Ingo <tambet@gmail.com>
4555 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
4556 Adapt the changes of NMSettingIP4Config.
4558 2008-03-13 Dan Williams <dcbw@redhat.com>
4560 * src/NetworkManagerUtils.c
4561 src/NetworkManagerUtils.h
4562 - (nm_ether_ntop): replacement for iw_ether_ntop()
4564 * src/NetworkManagerAP.c
4565 src/nm-device-802-11-wireless.c
4566 src/nm-device-802-3-ethernet.c
4567 - s/iw_ether_ntop/nm_ether_ntop/g
4569 2008-03-13 Dan Williams <dcbw@redhat.com>
4571 * src/NetworkManagerPolicy.c
4572 - (update_routing_and_dns): never set the default route through an
4573 IPv4LL addressed device
4575 2008-03-13 Dan Williams <dcbw@redhat.com>
4577 * NetworkManagerUtils.c
4578 NetworkManagerUtils.h
4579 - Remove NMSock stuff
4580 - Remove the completion stuff
4585 NetworkManagerSystem.c
4587 nm-device-802-11-wireless.c
4588 nm-device-802-3-ethernet.c
4589 - Remove NMSock and completion stuff
4590 - Remove nm_ioctl_info()
4592 2008-03-12 Dan Williams <dcbw@redhat.com>
4595 - (merge_ip4_config): avoid duplicates
4597 2008-03-12 Dan Williams <dcbw@redhat.com>
4599 * libnm-util/nm-setting-ip4-config.c
4600 libnm-util/nm-setting-ip4-config.h
4601 - Remove 'manual' and 'autoip' properties
4602 - Add 'method' property
4603 - (verify): fix verification with 'method'
4604 - (finalize): free 'method'
4605 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4609 - (real_act_stage3_ip_config_start): check IP4Config method
4610 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4612 - (merge_ip4_config): IP settings are valid with DHCP too
4613 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4614 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4616 * src/nm-device-802-11-wireless.c
4617 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4618 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4621 * system-settings/plugins/ifcfg-fedora/parser.c
4622 system-settings/plugins/ifcfg-suse/parser.c
4623 - (make_ip4_setting): fix up for 'method'
4625 2008-03-12 Dan Williams <dcbw@redhat.com>
4627 * system-settings/plugins/ifcfg-fedora/parser.c
4628 system-settings/plugins/ifcfg-fedora/parser.h
4629 - (get_ifcfg_name): ignore more file suffixes
4630 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4632 2008-03-12 Dan Williams <dcbw@redhat.com>
4635 - Bring in the bits of gnome-common we actually use (all 15 lines)
4637 2008-03-12 Dan Williams <dcbw@redhat.com>
4639 * system-settings/plugins/ifcfg-fedora/plugin.c
4640 - (write_auto_wired_connection): new function; write out an auto
4641 wired connection file since the applet isn't doing it any more
4642 - (reload_all_connections): write out the auto wired connection file
4643 if there aren't any wired connections already
4644 - (init): don't leak a GError
4646 2008-03-12 Dan Williams <dcbw@redhat.com>
4648 * src/nm-device-interface.c
4649 - (nm_device_interface_activate): print the ID of the connection
4650 that's about to be activated
4652 2008-03-12 Dan Williams <dcbw@redhat.com>
4654 Harmonize the 802.11 bitrate API
4656 * introspection/nm-access-point.xml
4657 - 'Rate' -> 'MaxBitrate'; clarify units
4659 * introspection/nm-device-802-11-wireless.xml
4660 - Clarify units of 'Bitrate'
4662 * src/NetworkManagerAP.c
4663 src/NetworkManagerAP.h
4664 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4665 property to 'max-bitrate'
4666 - (foreach_property_cb): convert rate to Kb/s
4668 * src/nm-device-802-11-wireless.c
4669 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4671 * libnm-glib/nm-access-point.c
4672 libnm-glib/nm-access-point.h
4673 - 'rate' -> 'max-bitrate'
4676 libnm-glib/libnm-glib-test.c
4677 - Fix up for these changes
4679 2008-03-12 Dan Williams <dcbw@redhat.com>
4682 - (nm_device_set_ip4_config): don't send property notifications when
4683 the ip4 config is set to NULL; it causes a PropertyChanged signal
4684 which dbus-glib can't parse because the value is NULL, which isn't
4685 a legal object path. Setting the IP4 config to NULL is only
4686 valid when deactivating a device anyway, so the device state change
4687 will alert listeners that the ip4 config is invalid.
4689 2008-03-12 Dan Williams <dcbw@redhat.com>
4691 * src/nm-properties-changed-signal.c
4692 - (add_to_string): better handling of NULL objects
4694 2008-03-12 Dan Williams <dcbw@redhat.com>
4696 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4697 convert the libnm-glib NMDevice8023Ethernet to cached properties
4699 * introspection/nm-device-802-3-ethernet.xml
4700 - New 'Carrier' property
4701 - New 'PropertiesChanged' signal
4703 * introspection/nm-device.xml
4704 - Remove 'Carrier' property
4705 - Remove 'CarrierChanged' signal
4707 * src/nm-device-interface.c
4708 src/nm-device-interface.h
4709 - (nm_device_interface_init): remove 'carrier' property and
4710 'carrier-changed' signal
4714 - (nm_device_get_carrier, nm_device_set_carrier): remove
4715 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
4716 the link here; wired device will handle that
4717 - (handle_dhcp_lease_change): don't bother updating link here
4718 - (get_property, nm_device_class_init): remove carrier property
4720 * src/nm-device-802-11-wireless.c
4721 - (real_update_link, nm_device_802_11_wireless_class_init): remove
4722 real_update_link(); wireless devices don't use carrier at all
4723 - (link_timeout_cb, supplicant_iface_state_cb_handler,
4724 supplicant_iface_connection_state_cb_handler,
4725 supplicant_mgr_state_cb_handler): remove anything to do with carrier
4727 * src/nm-device-802-3-ethernet.c
4728 src/nm-device-802-3-ethernet.h
4729 - (nm_device_802_3_ethernet_carrier_on,
4730 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
4731 instead of nm_device_set_carrier()
4732 - (device_state_changed): update link from sysfs on activation;
4733 replaces real_update_link()
4734 - (real_update_link): remove, replaced by device_state_changed()
4735 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
4736 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
4737 - (real_get_generic_capabilities, real_can_interrupt_activation): use
4738 new get_carrier function
4739 - (get_property): add 'carrier' property
4740 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
4741 hook into property-changed signal helper
4743 * src/NetworkManagerPolicy.c
4744 - (device_carrier_changed): will only ever be called with a wired device
4745 - (device_added): only hook up to carrier-changed for wired devices
4747 * libnm-glib/nm-device.c
4748 libnm-glib/nm-device.h
4749 - (constructor, nm_device_class_init): remove carrier-changed signal
4750 - (device_carrier_changed_proxy): remove; unused
4751 - (nm_device_get_carrier): remove; carrier a property of wired devices
4753 * libnm-glib/nm-device-802-3-ethernet.c
4754 libnm-glib/nm-device-802-3-ethernet.h
4755 - Convert to cached properties like AP and Wireless objects
4756 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
4757 instead of a 'char *', return value should not be freed
4758 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
4759 - (constructor): hook into properties-changed helper
4760 - (set_property, get_property): new functions
4761 - (nm_device_802_3_ethernet_class_init): export GObject properties
4764 - (detail_device): strdup the wired hardware address too since it's
4767 * libnm-glib/libnm-glib-test.c
4768 - (dump_wired): strdup the wired hardware address too since it's
4771 2008-03-12 Dan Williams <dcbw@redhat.com>
4773 * libnm-util/nm-setting-ip4-config.c
4774 libnm-util/nm-setting-ip4-config.h
4775 - (set_property, get_property, nm_setting_ip4_config_class_init): add
4776 the 'autoip' property from the spec
4778 2008-03-11 Dan Williams <dcbw@redhat.com>
4780 * src/backends/NetworkManagerGeneric.c
4781 src/backends/NetworkManagerGeneric.h
4782 - (nm_generic_device_get_use_dhcp): remove
4784 2008-03-11 Dan Williams <dcbw@redhat.com>
4787 - (nm_device_deactivate): don't need to munge DNS here; that gets done
4788 already in nm_device_set_ip4_config()
4789 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
4790 due to a DHCP rebind fails
4791 - (nm_device_set_ip4_config): send property notifications when the
4793 - (get_property): only report IP4Config property during valid states
4795 * src/NetworkManagerPolicy.c
4796 - (update_routing_and_dns): ignore devices that don't have an ip4
4797 config; add parameter 'force_update' to allow callers to specify
4798 that changes should be made even if the default device doesn't change
4799 - (device_ip4_config_changed): update DNS and routing when the device's
4800 IP4Config changes, like for DHCP updates
4801 - (device_added): listen for ip4-config property changes
4803 2008-03-11 Dan Williams <dcbw@redhat.com>
4805 Fix address handling as a result of DHCP rebind/renew/reboot.
4807 * src/NetworkManagerSystem.c
4808 - (check_one_address): delete an address if it doesn't match a given
4809 one for the same interface
4810 - (nm_system_device_set_from_ip4_config): don't flush the default route,
4811 be smarter about flushing addresses (only flush ones that don't
4812 match the one we're about to apply)
4814 * src/backends/NetworkManagerDebian.c
4815 src/backends/NetworkManagerSuSE.c
4816 src/backends/NetworkManagerArch.c
4817 src/backends/NetworkManagerSlackware.c
4818 src/backends/NetworkManagerRedHat.c
4819 src/backends/NetworkManagerPaldo.c
4820 src/backends/NetworkManagerFrugalware.c
4821 src/backends/NetworkManagerGentoo.c
4822 - (nm_system_delete_default_route): remove
4824 * src/backends/NetworkManagerGeneric.c
4825 src/backends/NetworkManagerGeneric.h
4826 - (nm_generic_enable_loopback): fix the loopback device label
4827 - (nm_generic_delete_default_route): remove; no longer used
4829 2008-03-11 Dan Williams <dcbw@redhat.com>
4831 * src/nm-device-interface.h
4832 - Delimit property name words with '-', otherwise g_object_notify()
4833 doesn't work the way we expect
4835 2008-03-11 Tambet Ingo <tambet@gmail.com>
4837 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
4839 2008-03-11 Dan Williams <dcbw@redhat.com>
4841 * src/NetworkManagerPolicy.c
4842 - (update_routing_and_dns): don't change anything if the default device
4843 hasn't changed; print something out when switching the default route
4846 2008-03-10 Tambet Ingo <tambet@gmail.com>
4850 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
4851 setting. Use "nic-$eth".
4853 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
4854 the device is activating here to fix a race condition.
4856 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
4858 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
4859 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
4860 (nm_ppp_manager_start): Take activation request instead of connection, we might
4861 need it for asking secrets.
4862 (nm_ppp_manager_update_secrets): Implement.
4864 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
4865 ppp manager start. It might be needed for asking secrets.
4867 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
4868 (ppp_state_changed): Handle pppd daemon disappearing.
4869 (pppoe_stage2_config): Send activation request to ppp manager start.
4871 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
4873 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
4874 username and password.
4876 2008-03-10 Dan Williams <dcbw@redhat.com>
4879 - (handle_dhcp_lease_change): apply an IP4 config to a device in
4880 response to a DHCP lease change
4881 - (dhcp_state_changed): handle DHCP lease changes while activated
4882 - (nm_device_set_ip4_config): remove a previously set named config
4883 when setting an ip4 config
4885 2008-03-10 Dan Williams <dcbw@redhat.com>
4887 * src/nm-serial-device.c
4888 - (nm_serial_device_send_command): report errno on error
4889 - (get_reply_got_data): limit the size of the overall buffer
4890 - (wait_for_reply_info_destroy): destroy result string
4891 - (wait_for_reply_got_data): append received data to an overall buffer
4892 until timeout, filled buffer, or error instead of keeping a per-call
4893 buffer. Some devices send data slowly enough that this function
4894 gets called multiple times for the same command stream.
4895 - (nm_serial_device_wait_for_reply): initialize overall buffer for
4896 wait_for_reply_got_data() here
4898 2008-03-10 Dan Williams <dcbw@redhat.com>
4900 * src/nm-cdma-device.c
4901 - (do_dial, init_modem): handle errors from
4902 nm_serial_device_send_command_string()
4904 * src/nm-gsm-device.c
4905 - (do_dial, manual_registration, automatic_registration_get_network,
4906 automatic_registration, enter_pin, check_pin, init_modem): handle
4907 errors from nm_serial_device_send_command_string()
4909 2008-03-10 Dan Williams <dcbw@redhat.com>
4911 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
4913 * src/named-manager/nm-named-manager.c
4914 - (compute_searches): prefer searches before domains
4915 - (compute_domain): new function
4916 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
4917 - (merge_one_ip4_config): if there are no searches in the source config,
4918 merge domains of the source config into the target config
4919 - (compute_nameservers): make formatting of resolv.conf a bit nicer
4921 2008-03-10 Dan Williams <dcbw@redhat.com>
4923 * src/nm-serial-device.c
4924 - (get_reply_got_data): clean up indentation, shrink serial buffer
4925 - (wait_for_reply_got_data): try to handle slower serial devices where
4926 the reply is broken up into multiple reads by concatenating replies
4927 together until either an error is received or the search string is
4930 2008-03-10 Dan Williams <dcbw@redhat.com>
4933 - (nm_device_bring_down): deactivate the device if it's activating too,
4934 not just if it's already activated. This makes sure that everything
4935 from an association attempt is cleaned up (like DHCP for example)
4937 2008-03-10 Dan Williams <dcbw@redhat.com>
4939 * src/nm-serial-device.c
4940 - (config_fd): report error from TCSETA
4941 - (nm_serial_device_open): fail when config_fd() fails
4943 2008-03-10 Dan Williams <dcbw@redhat.com>
4945 * src/nm-ip4-config.c
4946 - (nm_ip4_config_init): allocate searches list
4947 - (finalize): free searches list
4949 2008-03-09 Dan Williams <dcbw@redhat.com>
4951 Patch from Bas Zoetekouw <bas@debian.org>
4953 * src/dhcp-manager/nm-dhcp-manager.c
4954 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
4956 2008-03-09 Dan Williams <dcbw@redhat.com>
4958 Patch from Bas Zoetekouw <bas@debian.org>
4960 * src/nm-ip4-config.c
4962 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
4963 nm_ip4_config_get_num_searches): add 'searches' as distinct from
4964 domains. 'searches' is the correct way to store multiple search
4965 domains, whereas 'domains' is really just supposed to store one
4966 domain. Some sites abuse the DHCP 'domain-name' option to push
4967 search domains to the client.
4968 - (nm_ip4_config_add_domain): group with related functions (my patch)
4970 2008-03-09 Dan Williams <dcbw@redhat.com>
4972 * src/dhcp-manager/nm-dhcp-manager.c
4973 - (dhclient_run): send interface-specific config files to dhclient
4975 2008-03-07 Dan Williams <dcbw@redhat.com>
4977 * system-settings/plugins/ifcfg-fedora/parser.c
4978 - (is_wireless_device): new function; test a device for wireless
4980 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
4981 test the device for wireless extensions to determine the type
4983 2008-03-07 Dan Williams <dcbw@redhat.com>
4985 Change manager's StateChange signal to StateChanged for consistency.
4987 * introspection/nm-manager.xml
4988 - Add 'StateChanged' signal
4989 - Move 'StateChange' down to the deprecated section
4991 * src/nm-hal-manager.c
4992 - (nm_hal_manager_new): connect to 'state-changed' instead
4994 * src/NetworkManagerPolicy.c
4995 - (nm_policy_new): connect to 'state-changed' instead
4999 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5000 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5003 * libnm-glib/nm-client.c
5004 libnm-glib/nm-client.h
5005 - (constructor, nm_client_class_init, client_state_changed_proxy):
5006 track and proxy 'state-changed' instead of 'state-change'
5008 2008-03-07 Dan Williams <dcbw@redhat.com>
5010 First pass of multiple active device support. Expect bugs.
5012 * src/nm-ip4-config.c
5014 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5015 there are better ways to do this in the named manager
5019 - (nm_device_can_activate): return whether the device can activate a
5020 connection right now; taking into account things like carrier state
5022 - (nm_device_get_best_auto_connection): renamed from
5023 nm_device_get_best_connection
5024 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5025 device subclasses themselves, so that each device can override the
5026 MTU from it's NMSetting subclass if needed
5027 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5028 in NetworkManagerSystem.c, not here
5030 * src/named-manager/nm-named-manager.c
5031 src/named-manager/nm-named-manager.h
5032 - (nm_named_manager_name_owner_changed,
5033 nm_named_manager_dbus_connection_changed): fix for changes to
5034 rewrite_resolv_conf()
5035 - (compute_nameservers): don't need the NMNamedManager at all, remove
5037 - (merge_one_ip4_config): new function; merge ip4 configs together
5038 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5039 ip4 configs; the VPN config takes precedence, then the best
5040 device config, then the rest of the configs
5041 - (get_domain_for_config): take the NMNamedManager as an argument
5042 to check whether the config is the VPN config
5043 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5044 attribute from ip4 configs
5045 - (add_all_ip4_configs_to_named): add all the configs in priority order
5046 - (remove_ip4_config_from_named): fix for changes to
5047 get_domain_for_config()
5048 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5049 based on its type; callers must pass in the type now
5050 - (get_last_default_domain): remove, unused
5051 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5053 * src/nm-device-802-11-wireless.c
5054 - (real_can_activate): new function
5055 - (real_get_best_auto_connection): renamed from real_get_best_connection
5056 - (real_act_stage4_get_ip4_config): handle MTU override
5058 * src/nm-device-802-3-ethernet.c
5059 - (real_can_activate): new function
5060 - (real_get_best_auto_connection): renamed from real_get_best_connection
5061 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5063 * src/vpn-manager/nm-vpn-connection.c
5064 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5065 attribute on the ip4 config
5067 * src/NetworkManagerPolicy.c
5068 - (nm_policy_auto_get_best_device): remove
5069 - (nm_policy_device_change_check): remove
5070 - (update_default_route): new function; set the default route via
5071 the specified device
5072 - (get_device_priority): new function; return the priority number of
5073 a device type WRT which one should have the default route. Order is
5074 (highest to lowest) wired, wireless, GSM, CDMA.
5075 - (update_routing_and_dns): new function; determine which device should
5076 have the default route, then update the routing table and DNS
5077 - (maybe_auto_activate_device): new function; if a device is now
5078 available for activation, find out what connection it would like to
5080 - (schedule_activate_check): new function; if a device can be activated
5081 now, schedule the activation. Each device may have only one
5082 pending activation at a given time.
5083 - (device_state_changed): if activation was canceled, try again,
5084 possibly with another connection; if the device was activated,
5085 update routing and DNS; if the device was deactivated, try again
5086 with another connection
5087 - (device_carrier_changed): if there is no carrier, deactivate the
5088 device; otherwise schedule an activation check for the device
5089 - (wireless_networks_changed): schedule an activation check for the
5091 - (device_added): keep track of the signal handler IDs so they can
5092 be removed when the device goes away
5093 - (device_removed): remove any signal handlers that might be attached
5094 to the device; update routing and DNS
5095 - (schedule_activate_all): new function
5096 - (connections_added, connection_added, connection_updated): when
5097 connections change, schedule all devices for an activation check
5098 - (connection_removed): when a device is deactivated because its
5099 connection was removed, schedule another activation check for it
5100 - (nm_policy_destroy): destroy pending activations and disconnect
5101 all device signal handlers
5104 - (nm_manager_activate_device): if the device was already actived,
5106 - (deactivate_old_device): remove
5107 - (connection_added_default_handler, impl_manager_activate_device):
5108 don't deactivate other devices when activating this one
5110 * src/backends/NetworkManagerGentoo.c
5111 src/backends/NetworkManagerFrugalware.c
5112 src/backends/NetworkManagerPaldo.c
5113 src/backends/NetworkManagerRedHat.c
5114 src/backends/NetworkManagerSlackware.c
5115 src/backends/NetworkManagerArch.c
5116 src/backends/NetworkManagerSuSE.c
5117 src/backends/NetworkManagerDebian.c
5118 - (nm_system_get_mtu): remove; MTU should be provided through the
5119 distro's system settings service plugin instead
5120 - (nm_system_device_add_default_route_via_device): remove
5121 - (nm_system_device_add_default_route_via_device_with_iface): remove
5122 - (nm_system_device_replace_default_route): new function; call
5123 generic implementation
5125 * src/backends/NetworkManagerGeneric.c
5126 src/backends/NetworkManagerGeneric.h
5127 - (nm_generic_device_add_default_route_via_device,
5128 nm_generic_device_add_default_route_via_device_with_iface): remove
5129 - (nm_generic_device_replace_default_route): replace the default route
5130 with the given route via some gateway
5132 * src/NetworkManagerSystem.c
5133 src/NetworkManagerSystem.h
5134 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5135 to routing and DNS; but set the MTU here
5136 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5137 ip_iface of the active device; use the standard MTU setting function
5138 - (nm_system_set_mtu): remove
5139 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5141 2008-03-07 Tambet Ingo <tambet@gmail.com>
5143 Rework the interaction between ppp manager and pppd plugin. Register a well
5144 known DBUS service in manager and let the plugin call it's methods instead
5145 of listening plugin's signals.
5147 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5148 of emitting signals.
5150 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5152 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5154 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5155 nm_ppp_manager_start().
5157 * introspection/nm-ppp-manager.xml: New file.
5159 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5160 the case correctly where driver is trying to send -1 for the speed, which gets
5161 casted to u16 and thus is always > 0.
5163 2008-03-07 Dan Williams <dcbw@redhat.com>
5165 * src/nm-hal-manager.c
5166 - (nm_get_device_driver_name): use net.originating_device first, fall
5167 back to physical device. HAL has deprecated physical_device.
5169 * libnm-glib/nm-device.c
5170 - (get_product_and_vendor): use net.originating_device first, fall
5171 back to physical device. HAL has deprecated physical_device.
5172 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5174 2008-03-07 Dan Williams <dcbw@redhat.com>
5177 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5178 last commit; fix that
5179 - (get_link_cache): print error string
5181 2008-03-07 Dan Williams <dcbw@redhat.com>
5184 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5185 don't need this hack any more (Benoit Boissinot)
5187 2008-03-06 Dan Williams <dcbw@redhat.com>
5190 - Die gnome-common, die
5192 2008-03-04 Dan Williams <dcbw@redhat.com>
5194 Patch from Michael Biebl <biebl@debian.org>
5196 * NetworkManager.pc.in
5197 - doesn't actually depend on dbus-1
5199 * libnm-util/nm-utils.h
5200 - remove unused #include <dbus/dbus.h>
5202 * libnm-glib/libnm_glib.pc.in
5203 - depends on glib and dbus-glib
5205 2008-03-02 Dan Williams <dcbw@redhat.com>
5207 * src/NetworkManagerPolicy.c
5208 - s/device_state_changed_idle_id/update_state_id/
5210 2008-03-02 Dan Williams <dcbw@redhat.com>
5214 src/nm-device-802-11-wireless.c
5215 src/nm-device-802-3-ethernet.c
5216 src/NetworkManagerPolicy.c
5217 - s/link_active/carrier
5218 - nm_device_set_active_link() -> nm_device_set_carrier()
5219 - nm_device_has_active_link() -> nm_device_get_carrier()
5221 2008-03-02 Dan Williams <dcbw@redhat.com>
5223 * system-settings/plugins/ifcfg-fedora/parser.c
5224 - (make_wireless_setting): fail connection creation on missing SSID
5226 2008-02-29 Dan Williams <dcbw@redhat.com>
5228 * src/NetworkManagerPolicy.c
5229 - (nm_policy_device_change_check): ensure that a previously active
5230 device with a system connection has a link before denying a switch
5231 to a user connection
5233 2008-02-29 Dan Williams <dcbw@redhat.com>
5235 * src/nm-device-802-11-wireless.c
5236 - (link_timeout_cb): try again if scanning; deactivate the device when
5237 activated if the link dies
5238 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5241 2008-02-29 Dan Williams <dcbw@redhat.com>
5243 * src/nm-device-802-11-wireless.c
5244 src/nm-device-802-11-wireless.h
5245 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5246 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5247 - (device_cleanup): reset the scan interval lower when the device
5249 - (can_scan): base decision mostly off device state, not supplicant
5250 interface state since the supplicant interface state isn't a
5251 great indicator of whether the device is active or not
5252 - (request_wireless_scan): clean up; schedule the next scan here
5253 - (schedule_scan): only back the scan interval off if a new scan
5254 actually gets scheduled; and make scan intervals tighter when the
5255 device is disconnected
5256 - (supplicant_iface_state_cb_handler): fold in the bits of
5257 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5259 - (activation_success_handler): reset scan interval to something
5262 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
5264 reviewed by: Steev <steev@steev.net>
5267 * src/backends/NetworkManagerGentoo.c:
5268 (nm_system_restart_mdns_responder):
5269 Howl is no longer a supported mDNS provider
5271 2008-02-28 Tambet Ingo <tambet@gmail.com>
5273 Get rid of a bunch of unused distro specific functions.
5275 2008-02-28 Tambet Ingo <tambet@gmail.com>
5277 Implement suse plugin for system settings daemon.
5279 * system-settings/plugins/ifcfg-suse/*: Implement.
5281 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5284 * configure.in: Check (without failing) for gio.
5285 Create ifcfg-suse plugin's Makefile.
5287 2008-02-20 Dan Williams <dcbw@redhat.com>
5289 * libnm-util/nm-connection.c
5290 libnm-util/nm-connection.h
5291 - (nm_connection_compare): accept compare flags and pass them to the
5292 setting compare function
5294 * libnm-util/nm-setting.c
5295 libnm-util/nm-setting.h
5296 - (nm_setting_compare): accept compare flags; ignore properties that are
5299 * libnm-util/nm-setting-connection.c
5300 libnm-util/nm-setting-wireless.c
5301 libnm-util/nm-setting-ppp.c
5302 libnm-util/nm-setting-wired.c
5303 - Mark some setting properties as ignorable when doing a fuzzy compare
5306 - (device_activation_precheck): use exact compare
5308 2008-02-20 Dan Williams <dcbw@redhat.com>
5310 * src/NetworkManagerPolicy.c
5311 - (nm_policy_device_change_check): get scope off the connection, not
5312 using the manager helper
5316 - (get_scope_for_proxy): rename from get_type_for_proxy()
5317 - (connection_get_settings_cb): set scope and path on connection, not
5318 using GObject data items
5319 - (get_connection_for_proxy): don't need to return path, since that
5320 can be gotten from the connection
5321 - (get_connection_for_proxy): get path off the connection, not from
5323 - (connection_removed_cb, connection_updated_cb): don't need to get
5324 path from get_connection_for_proxy(); get scope off the connection
5325 instead of using GObject data items
5326 - (connection_added_default_handler, add_one_connection_element): use
5327 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5328 - (nm_manager_get_connection_dbus_path): remove
5329 - (nm_manager_get_connection_scope): remove
5331 2008-02-20 Dan Williams <dcbw@redhat.com>
5333 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5336 * Add 'path' and 'scope' properties to NMConnection since both NM and the
5337 applet were having to hack this in anyway. Remove the 'path' stuff from
5338 NMExportedConnection
5340 * Internally rename NMConnectionType -> NMConnectionScope
5342 * Provide default implementations of the 'get_id' and 'get_settings' methods
5343 of NMExportedConnection
5345 2008-02-15 Dan Williams <dcbw@redhat.com>
5347 * src/nm-device-802-11-wireless.c
5348 - (device_cleanup): release the AP list here too so that the AP list
5349 doesn't survive across suspend/resume and up/down. There is some
5350 room for optimization, for example blow the list away when the card
5351 brought back up, but only if the device has only been down for a
5354 2008-02-15 Dan Williams <dcbw@redhat.com>
5356 * src/nm-hal-manager.c
5357 - (modem_device_creator): recognize new HAL modem capabilities
5359 2008-02-12 Dan Williams <dcbw@redhat.com>
5361 * system-settings/plugins/ifcfg-fedora/plugin.c
5362 - (watch_path): handle IN_DELETE_SELF too
5363 - (handle_connection_changed): notify when removing a connection
5364 - (stuff_changed): don't warn on unknown inotify watches; handle the
5365 case of a file moving out of the profile directory
5367 2008-02-12 Dan Williams <dcbw@redhat.com>
5369 * system-settings/plugins/ifcfg-fedora/parser.c
5370 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5372 2008-02-12 Dan Williams <dcbw@redhat.com>
5374 * libnm-util/nm-utils.c
5375 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5376 just any empty array
5378 2008-02-12 Dan Williams <dcbw@redhat.com>
5380 * system-settings/src/nm-system-config-interface.c
5381 system-settings/src/nm-system-config-interface.h
5382 - (load_connections): get_connections() should now return an allocated
5383 GSList that the system settings service will free
5385 * system-settings/plugins/ifcfg-fedora/plugin.c
5386 system-settings/plugins/ifcfg-fedora/parser.h
5387 system-settings/plugins/ifcfg-fedora/parser.c
5388 - Fix up inotify issues; handle keys-* files, handle new files appearing
5389 in the profile directory, handle resolv.conf file changes
5391 2008-02-10 Dan Williams <dcbw@redhat.com>
5393 * src/nm-device-802-3-ethernet.c
5394 - (real_bring_up): save the supplicant interface state signal id
5395 - (real_bring_down): disconnect from the supplicant interface state
5398 2008-02-07 Dan Williams <dcbw@redhat.com>
5400 * initscript/RedHat/NetworkManager.in
5401 initscript/RedHat/NetworkManagerDispatcher.in
5402 - Add new-style LSB init headers
5404 2008-02-07 Dan Williams <dcbw@redhat.com>
5406 * system-settings/src/dbus-settings.c
5407 system-settings/src/dbus-settings.h
5408 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5410 - (connection_settings_get_secrets): consolidate error returns into
5411 one place; use the new get_secrets() plugin interface function to
5412 get secrets from the plugin itself rather than using GObject data
5415 * system-settings/src/main.c
5416 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5417 load_connections): keep a private list of the plugin-returned
5418 connections, don't use the plugin's GSList
5420 * system-settings/plugins/ifcfg-fedora/plugin.c
5421 - (watch_path): watch the path, not the filename (duh)
5422 - (reload_all_connections): use the direct hash/equal functions; the
5423 ones for int aren't appropriate here
5424 - (get_secrets, system_config_interface_init): implement the
5425 get_secrets() function
5426 - (build_one_connection, find_connection_by_path): ifcfg file path is
5427 now in the connection's ConnectionData instead of being a GObject
5429 - (handle_profile_item_changed): ifcfg file path is now in the
5430 connection's ConnectionData instead of being a GObject data property;
5431 be sure to copy secrets over from the new connection to the existing
5432 connection when updating the connection's settings
5433 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5436 * system-settings/plugins/ifcfg-fedora/parser.c
5437 system-settings/plugins/ifcfg-fedora/parser.h
5438 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5439 connection_data_copy_secrets, connection_data_free,
5440 connection_data_add): new functions; connection data manipulation
5441 - (make_wireless_security_setting): stuff secrets into the
5442 connection data, not as GObject data items; make sure to close
5444 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5445 connection data to the connection
5447 2008-02-07 Dan Williams <dcbw@redhat.com>
5449 * system-settings/src/nm-system-config-interface.c
5450 system-settings/src/nm-system-config-interface.h
5451 - Add a get_secrets() interface function to retrieve secrets for a
5452 specific setting of a specific connection. Document the interface
5455 2008-02-07 Dan Williams <dcbw@redhat.com>
5457 * src/nm-device-802-11-wireless.c
5458 - (handle_auth_or_fail): new function; consolidate device activation
5459 failure check after a certain number of failures getting secrets
5460 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5461 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5462 the connection if secrets were requested more than a few times
5463 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5464 tries here; otherwise they are cleared before the IP configure
5465 timeout, which happens with open system WEP when key is wrong
5466 - (activation_success_handler): clear wireless secrets tries here too
5468 2008-02-07 Dan Williams <dcbw@redhat.com>
5470 * src/NetworkManagerPolicy.c
5471 - (connection_updated): clear invalid tag when connection gets updated
5472 to allow that connection to be tried again
5473 - (nm_policy_new): save signal ids so they can be disconnected when
5474 the policy is destroyed
5475 - (nm_policy_destroy): stop any in-progress state change idle handler,
5476 and disconnect all signals from the manager object so that none
5477 of the policy functions gets called after the policy is destroyed
5479 2008-02-06 Dan Williams <dcbw@redhat.com>
5482 - (finalize): remove devices a bit earlier; clean up system settings
5484 - (nm_manager_name_owner_changed): clean up system settings poke when
5485 the service appears, and try to restart it if it fails
5486 - (poke_system_settings_daemon_cb): try to get the system settings
5487 service started through D-Bus service activation
5488 - (initial_get_connections): start the system settings daemon if it's
5491 2008-02-05 Dan Williams <dcbw@redhat.com>
5493 * src/supplicant-manager/nm-supplicant-config.c
5494 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5495 broadcast networks too
5497 2008-02-04 Dan Williams <dcbw@redhat.com>
5499 * system-settings/plugins/ifcfg-fedora/parser.c
5500 - (make_wireless_security_setting): fix spelling; unencrypted networks
5501 need key_mgmt set too
5502 - (parser_parse_file): validate ifcfg file name and don't try to parse
5503 .bak files; ensure that an error is set whenever NULL gets returned
5505 2008-02-04 Dan Williams <dcbw@redhat.com>
5507 * system-settings/src/Makefile.am
5508 - Install D-Bus service activation file for the system settings
5511 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5512 - D-Bus service activation file for system settings service
5514 2008-02-04 Dan Williams <dcbw@redhat.com>
5516 * system-settings/src/main.c
5517 - (parse_config_file): parse a config file
5518 - (main): accept --config option and read plugins from config file
5520 2008-02-04 Dan Williams <dcbw@redhat.com>
5522 * system-settings/plugins/ifcfg-fedora/plugin.c
5523 - Change reported name to 'ifcfg-fedora'
5524 - Use IFCFG_PLUGIN_NAME
5526 * system-settings/plugins/ifcfg-fedora/plugin.c
5527 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5529 2008-02-04 Dan Williams <dcbw@redhat.com>
5531 * system-settings/plugins/ifcfg-fedora/parser.c
5532 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5533 - (make_connection_setting): use get_ifcfg_name()
5534 - (make_wireless_security_setting): handle shadow key files
5535 - (get_one_wep_key): treat empty string as NULL
5537 2008-02-04 Dan Williams <dcbw@redhat.com>
5539 * src/supplicant-manager/nm-supplicant-manager.c
5540 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5541 glib automatically reschedule
5542 - (nm_supplicant_manager_init): immediately try to start the supplicant
5543 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5546 2008-02-01 Dan Williams <dcbw@redhat.com>
5548 * src/NetworkManagerPolicy.c
5549 - (device_state_changed): schedule a change check when a device gets
5550 deactivated so something happens if you disconnect GSM/CDMA
5552 2008-01-31 Dan Williams <dcbw@redhat.com>
5554 * src/nm-device-802-11-wireless.h
5555 src/nm-device-802-11-wireless.c
5556 - (ap_list_get_ap_by_ssid, is_associated,
5557 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5558 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5559 - (nm_device_802_11_wireless_get_activation_ap): collapse
5560 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5563 2008-01-30 Dan Williams <dcbw@redhat.com>
5565 * system-settings/plugins/ifcfg
5566 * system-settings/plugins/ifcfg-fedora
5567 - Move the ifcfg plugin to ifcfg-fedora
5569 2008-01-24 Dan Williams <dcbw@redhat.com>
5571 * libnm-glib/nm-device-802-11-wireless.c
5572 - (get_access_point): move the "/" check here; check for invalid path
5574 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5575 to get_access_point()
5576 - (access_point_added_proxy, access_point_removed_proxy): don't try
5577 to send signals for non-existent access points
5579 2008-01-24 Dan Williams <dcbw@redhat.com>
5581 * libnm-glib/nm-device-802-11-wireless.c
5582 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5584 2008-01-23 Dan Williams <dcbw@redhat.com>
5586 * libnm-glib/libnm_glib.c
5587 - (libnm_glib_init): make thread joinable
5588 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5590 2008-01-23 Dan Williams <dcbw@redhat.com>
5592 * test/libnm_glib_test.c
5593 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5594 - (main): set up signal handlers; call libnm_glib_shutdown
5596 2008-01-21 Dan Williams <dcbw@redhat.com>
5598 * include/NetworkManager.h
5599 - Add CDMA mobile broadband card device type
5601 * src/nm-hal-manager.c
5602 - (modem_device_creator): handle both CDMA and GSM modems; the device
5603 must now be tagged with 'cdma' or 'gsm' capability
5605 * src/nm-cdma-device.c
5606 src/nm-cdma-device.h
5608 - Add the CDMA mobile broadband card device class
5610 * libnm-util/nm-connection.c
5611 - (register_default_settings): add NMSettingCdma
5613 * libnm-util/nm-setting-cdma.c
5614 libnm-util/nm-setting-cdma.h
5615 libnm-util/Makefile.am
5616 - Add the CDMA mobile broadband card setting class
5618 * libnm-glib/nm-cdma-device.c
5619 libnm-glib/nm-cdma-device.h
5620 libnm-glib/Makefile.am
5621 - Add the CDMA mobile broadband card GLib proxy class
5623 * libnm-glib/nm-client.c
5624 - (get_device): handle CDMA devices too
5626 2008-01-21 Dan Williams <dcbw@redhat.com>
5628 * src/ppp-manager/nm-ppp-manager.c
5629 - (ip4_config_get): set peer address too
5631 * src/ppp-manager/nm-pppd-plugin.c
5632 - (nm_ip_up): try harder to get the peer's address
5634 * src/NetworkManagerSystem.c
5635 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5636 address, use that too. Otherwise, some PPP connections won't work.
5638 2008-01-19 Dan Williams <dcbw@redhat.com>
5640 * src/NetworkManagerPolicy.c
5641 - (nm_policy_device_change_check): system connections override user
5642 connections; don't activate a user connection if there's a currently
5643 active system connection, and new, better system connections always
5644 interrupt user connections
5646 2008-01-19 Dan Williams <dcbw@redhat.com>
5649 - (nm_manager_get_connection_type): new function
5651 2008-01-19 Dan Williams <dcbw@redhat.com>
5653 * src/nm-device-802-11-wireless.c
5654 - (real_get_best_connection): collapse find_best_connection() into this
5657 2008-01-19 Dan Williams <dcbw@redhat.com>
5659 * src/nm-device-802-3-ethernet.c
5660 - (real_get_best_connection): collapse find_best_connection() into this
5663 2008-01-18 Dan Williams <dcbw@redhat.com>
5665 * src/nm-device-802-3-ethernet.c
5666 - (find_best_connection): check MAC address too
5667 - (real_get_best_connection): let autoconnect=True connections activate
5668 for devices that don't have carrier detection
5670 * src/nm-device-802-11-wireless.c
5671 - (find_best_connection): check MAC address too
5673 2008-01-18 Dan Williams <dcbw@redhat.com>
5675 * system-settings/plugins/ifcfg/parser.c
5676 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5678 2008-01-17 Dan Williams <dcbw@redhat.com>
5680 * src/nm-device-802-3-ethernet.c
5681 - (nm_device_802_3_ethernet_carrier_on,
5682 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5683 carrier events that might come in for devices that don't support
5686 2008-01-17 Dan Williams <dcbw@redhat.com>
5688 * src/nm-device-interface.c
5689 - (nm_device_interface_check_connection_conflicts): need to actually
5690 get the interface, not cast to the object
5693 - (nm_device_check_connection_conflicts): need to get the device class,
5694 not cast the device to the device class
5696 2008-01-17 Dan Williams <dcbw@redhat.com>
5698 * src/nm-device-802-11-wireless.c
5699 - (real_check_connection_conflicts): ignore connections that aren't
5700 wireless connections
5702 2008-01-17 Dan Williams <dcbw@redhat.com>
5704 * src/NetworkManagerPolicy.c
5705 - (nm_policy_device_change_check): clear change check idle here
5706 - (device_change_check_done): remove
5707 - (schedule_change_check): simplify
5709 2008-01-17 Dan Williams <dcbw@redhat.com>
5712 - (check_connection_allowed): take an NMDeviceInterface instead of
5713 an NMDevice object as an argument
5714 - (nm_manager_activate_device): pass an NMDeviceInterface to
5715 check_connection_allowed()
5717 2008-01-13 Dan Williams <dcbw@redhat.com>
5719 * libnm-glib/nm-device-802-11-wireless.c
5720 - (nm_device_802_11_wireless_get_access_points): fix memory leak
5722 2008-01-12 Dan Williams <dcbw@redhat.com>
5724 * src/nm-device-802-11-wireless.c
5725 - (activation_success_handler): if a match was found in the scan list
5726 and that match is a hidden AP, update that AP's SSID
5728 2008-01-11 Dan Williams <dcbw@redhat.com>
5730 * src/NetworkManagerAP.c
5731 - (nm_ap_new_fake_from_connection): mark fake APs as fake
5733 * src/nm-device-802-11-wireless.c
5734 - (get_active_ap): do two passes over the scan list if the caller
5735 requests that hidden APs get matched too; during the second pass
5736 when matching hidden APs, ignore the SSID since hidden APs in the
5737 scan list don't have an SSID yet
5738 - (periodic_update): move some checks to
5739 nm_device_802_11_periodic_update() because not all callers need them
5740 - (nm_device_802_11_periodic_update): move some checks here from
5742 - (merge_scanned_ap): if the current AP is fake, then don't do strict
5743 matching on incoming scan results, because the fake AP's flags
5744 might be slightly different (yet still compatible) with the incoming
5745 scan result's flags and they might actually be the same AP; update
5746 the rate on merged APs too
5747 - (activation_success_handler): update the frequency of the fake AP
5748 on successful connection; match hidden APs too since if the
5749 current AP is fake, there might already be a scan result in the
5750 scan list for the desired AP, just without it's SSID filled in yet
5752 2008-01-10 Dan Williams <dcbw@redhat.com>
5754 * src/NetworkManagerAP.c
5755 - (foreach_property_cb): catch more hidden SSID formats
5757 2008-01-10 Dan Williams <dcbw@redhat.com>
5759 Fix gnome.org #464215. Requires the kernel patch titled
5760 "Introduce WEXT scan capabilities" but will handle the patch not being
5761 present, you'll just continue to have problems with hidden SSIDs when
5762 using mac80211-based drivers.
5764 * src/supplicant-manager/nm-supplicant-config.h
5765 src/supplicant-manager/nm-supplicant-config.c
5766 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
5767 whether the driver supports SSID scans or not. If it does, and if
5768 the AP is hidden, use ap_scan=1 instead of ap_scan=2
5770 * src/nm-device-802-11-wireless.c
5771 - (constructor): check whether or not the driver supports SSID scans
5772 - (build_supplicant_config): pass driver SSID scan capability when
5773 building the wireless bits of the supplicant config
5775 2008-01-09 Dan Williams <dcbw@redhat.com>
5779 - (device_activation_precheck, check_connection_complete): remove this
5780 virtual function; incomplete connections should be invalid by
5781 definition, complete-ness should be checked in the setting's
5784 * src/nm-serial-device.c
5786 - (real_check_connection_complete): remove
5788 * libnm-util/nm-setting-serial.c
5789 - (verify): new function; ensure there is a PPP setting too
5791 * libnm-util/nm-setting-gsm.c
5792 - (verify): ensure there is a serial setting too
5794 2008-01-06 Dan Williams <dcbw@redhat.com>
5796 * src/dhcp-manager/nm-dhcp-manager.c
5797 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
5800 2008-01-04 Dan Williams <dcbw@redhat.com>
5802 * src/named-manager/nm-named-manager.c
5803 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
5804 nameservers if the secondary config doesn't have any
5807 2008-01-02 Tambet Ingo <tambet@gmail.com>
5809 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
5810 with G_PARAM_CONSTRUCT so that they get the default values.
5812 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
5813 the monitoring device and prints out the output for now. Or more precicely, doesn't
5814 do absolutely anything right now since the montoring device argument is never set.
5816 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
5817 requires it's own knob to turn it on.
5818 (config_fd): Add NMSettingSerial to the arguments list.
5819 (nm_serial_device_open): Ditto.
5820 (get_reply_got_data): Ignore the terminators at the beginning of the output.
5821 (nm_serial_device_get_io_channel): Implement.
5823 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
5824 a new reference every time (and forgetting to release it sometimes) is a pain and
5825 it's not like NMManager could work without dbus.
5826 (nm_manager_add_device): Register the added device on dbus here.
5828 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
5831 * src/nm-device.c (constructor): Don't export the device here, instead export
5832 it when it's added to the NMManager's device list.
5834 2007-12-31 Dan Williams <dcbw@redhat.com>
5836 * src/nm-device-interface.c
5837 src/nm-device-interface.h
5838 - (nm_device_interface_check_connection_conflicts): new function
5842 - (nm_device_check_connection_conflicts): new function
5843 - (device_activation_precheck): don't require subclasses to implement
5844 check_connection_complete()
5845 - check_connection() -> check_connection_complete()
5847 * src/nm-device-802-11-wireless.c
5848 - (real_check_connection): remove; unused
5849 - (real_check_connection_conflicts): implement, handle lockdown for
5852 * src/nm-device-802-3-ethernet.c
5853 - (real_check_connection): remove; unused
5856 - (check_connection_allowed): new function
5857 - (nm_manager_activate_device): ensure the connection being requested
5858 is allowed to be activated
5860 * src/nm-serial-device.c
5862 - real_check_connection() -> real_check_connection_complete()
5864 2007-12-27 Dan Williams <dcbw@redhat.com>
5866 * src/nm-device-interface.c
5867 src/nm-device-interface.h
5868 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
5869 normalize and expand errors
5870 - (nm_device_interface_init): register errors so they can be marshalled
5872 - (nm_device_interface_activate): ensure that failure of activation
5877 - (device_activation_precheck): implementations of check_connection()
5878 now take a GError and must fill it in if the check fails. Return
5879 more descriptive error if the requested connection is already
5881 - (nm_device_activate): actually try to return descriptive errors on
5884 * src/nm-device-802-11-wireless.c
5885 src/nm-device-802-3-ethernet.c
5886 src/nm-serial-device.c
5888 - (real_check_connection): return more descriptive errors on failure
5890 * src/NetworkManagerPolicy.c
5891 - (nm_policy_device_change_check): print activation errors in the logs
5894 - (nm_manager_error_quark, nm_manager_error_get_type,
5895 nm_manager_class_init): new errors
5896 - (nm_manager_activate_device): handle errors
5897 - (nm_manager_error_new): removed
5898 - (wait_for_connection_expired, connection_added_default_handler,
5899 impl_manager_activate_device): better error handling
5901 2007-12-27 Dan Williams <dcbw@redhat.com>
5903 Fixes gnome.org #466954
5905 * src/supplicant-manager/nm-supplicant-settings-verify.c
5906 - Allow 'frequency' network property
5908 * src/supplicant-manager/nm-supplicant-config.c
5909 src/supplicant-manager/nm-supplicant-config.h
5910 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
5911 for callers to specify the frequency an Ad-Hoc network should operate
5912 on. Some drivers require this to successfully create an Ad-Hoc
5915 * src/nm-device-802-11-wireless.c
5916 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
5917 guint32 value in MHz
5918 - (constructor, nm_device_802_11_wireless_get_frequency): use
5920 - (find_supported_frequency): new function; find a free supported
5921 frequency for a user-created Ad-Hoc network
5922 - (build_supplicant_config): if no frequency was specified for a user-
5923 created Ad-Hoc network, find a free one to use
5924 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
5925 a specific object as user-created
5927 2007-12-27 Dan Williams <dcbw@redhat.com>
5929 * libnm-util/nm-utils.c
5930 libnm-util/nm-utils.h
5931 - (nm_utils_security_valid): add 'adhoc' argument and handle security
5934 2007-12-24 Dan Williams <dcbw@redhat.com>
5936 * libnm-util/nm-setting-wireless.c
5937 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
5938 185, 187, 188, 192, and 196
5940 2007-12-24 Dan Williams <dcbw@redhat.com>
5942 * src/nm-device-802-11-wireless.c
5943 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
5944 a channel # instead of a frequency
5946 2007-12-24 Dan Williams <dcbw@redhat.com>
5948 * src/NetworkManagerAP.c
5949 src/NetworkManagerAP.h
5950 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
5951 - (freq_to_channel): handle split band tables
5952 - (channel_to_freq): handle split band tables, take a band argument
5954 2007-12-24 Dan Williams <dcbw@redhat.com>
5956 * libnm-util/nm-setting-connection.h
5957 libnm-util/nm-setting-connection.c
5958 - Add 'lockdown' member
5960 2007-12-22 Dan Williams <dcbw@redhat.com>
5962 * libnm-util/nm-setting-wireless.c
5963 - (nm_setting_wireless_class_init): add missing 'rate' property
5966 2007-12-18 Dan Williams <dcbw@redhat.com>
5968 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
5970 * src/nm-netlink-monitor.c
5971 src/nm-netlink-monitor.h
5972 - Remove handrolled netlink, use libnl instead
5974 * src/nm-device-802-3-ethernet.c
5975 - (constructor, nm_device_802_3_ethernet_carrier_off,
5976 nm_device_802_3_ethernet_carrier_on): use new names
5978 2007-12-17 Dan Williams <dcbw@redhat.com>
5981 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
5982 and fixes memory leaks)
5985 - (nm_netlink_get_default_handle): handle new versions of libnl that
5986 automatically handle the netlink PID
5988 2007-12-17 Dan Williams <dcbw@redhat.com>
5990 Patch from Michael Biebl <biebl@debian.org>
5993 src/ppp-manager/Makefile.am
5994 - fix up install dir of pppd plugin
5995 - clean up configure.in a bit
5997 2007-12-12 Dan Williams <dcbw@redhat.com>
5999 * system-settings/src/nm-system-settings.conf
6000 - Allow non-root clients (like the applet) to read settings
6002 2007-12-10 Tambet Ingo <tambet@gmail.com>
6004 * Replace all occurences of 'UMTS' with 'GSM'.
6006 2007-12-07 Dan Williams <dcbw@redhat.com>
6008 * src/nm-serial-device.c
6009 - (real_is_up): serial devices are always "up"
6011 2007-12-07 Dan Williams <dcbw@redhat.com>
6014 src/NetworkManagerSystem.c
6015 - (new_nl_handle): ensure that the same netlink pid is never chosen
6016 twice (gnome.org #491047)
6017 - Make more robust against allocation-related failures should they occur
6019 2007-12-07 Dan Williams <dcbw@redhat.com>
6021 Noticed by Christian Persch <chpe@gnome.org>
6023 Always chain up to parent object in dispose and finalize handlers.
6026 2007-12-07 Dan Williams <dcbw@redhat.com>
6028 * src/nm-device-802-11-wireless.c
6029 - Wrap #include of linux/mii.h to fix redefined structures due to
6030 incorrect kernel headers (gnome.org #350061)
6032 2007-12-06 Tambet Ingo <tambet@gmail.com>
6034 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6035 before doing anything else.
6036 (init_modem): Move modem initialization here.
6038 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6039 (nm_serial_device_flash): Implement.
6041 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6042 changes signal is "StateChanged" and not "Status".
6043 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6045 2007-12-06 Dan Williams <dcbw@redhat.com>
6047 * src/supplicant-manager/nm-supplicant-config.c
6048 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6049 to only send some options when they make sense; also send phase2
6050 option to the supplicant (possible fix for rh #399631)
6052 2007-12-06 Tambet Ingo <tambet@gmail.com>
6054 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6055 arguments: This whole file shouldn't really know anything about NMDevices, it
6056 should deal only with device interfaces. Devices might have different ifaces for
6057 different stuff and this place shouldn't know anything about it.
6059 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6060 (global_state_changed): Implement. In the current NM it's not really important,
6061 but will be required in the case of multiple active devices. (Or even better,
6062 if stuff like that gets moved out from NM).
6064 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6065 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
6068 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6069 devices like serial devices (ttyS0 and ppp0 for example).
6070 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6072 (nm_device_set_ip_iface): Implement.
6073 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6074 after setting ip4_config from here ...
6075 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6076 than this function should call nm_system_device_set_from_ip4_config() because no
6077 other code has enough information on which arguments to use. So instead, other code
6078 could just set the new ip4 config using this function and everyone is happy.
6080 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6081 if we happen to get deactivated while something is pending.
6082 (automatic_registration): Handle the response that indicates pending network
6083 registration and wait until the pending registration is done.
6084 (real_deactivate_quickly): If there's a pending operation, cancel it.
6086 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6087 (real_deactivate_quickly): ... and remove it when it's down.
6088 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6090 (nm_serial_device_wait_for_reply): Ditto.
6092 2007-12-05 Tambet Ingo <tambet@gmail.com>
6094 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6095 (get_network_done): Remove newline, nm_info() does it already.
6096 (real_act_stage1_prepare): Turn the modem echo off.
6098 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6099 device, set the route to the device interface. This is a hack.
6101 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
6102 return, no need for a new-line.
6103 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6104 Change the device iface here (ugh).
6105 (real_act_stage4_get_ip4_config): Implement.
6106 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6107 Restore the device iface.
6109 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6110 device is not wired or wireless (eg, automatically upped) device.
6112 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6114 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6116 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6117 before calling it's is_device_fn().
6119 2007-12-05 Dan Williams <dcbw@redhat.com>
6121 * libnm-util/nm-utils.c
6122 - (nm_utils_register_value_transformations,
6123 nm_utils_convert_gvalue_hash_to_string): better debug output of
6124 GHashTables of GValues too
6126 2007-12-04 Dan Williams <dcbw@redhat.com>
6128 * initscript/RedHat/NetworkManager.in
6129 - No longer start named; it's D-Bus interface is going away
6131 2007-12-04 Dan Williams <dcbw@redhat.com>
6133 Patch from Michael Biebl <biebl@debian.org>
6135 * system-settings/plugins/ifcfg/Makefile.am
6136 system-settings/src/main.c
6137 system-settings/src/Makefile.am
6138 - Put system settings plugins in NM plugins dir
6140 * src/ppp-manager/Makefile.am
6141 src/ppp-manager/nm-ppp-manager.c
6142 - Move pppd plugin to NM plugins dir
6144 2007-12-04 Dan Williams <dcbw@redhat.com>
6146 * libnm-util/nm-setting-vpn-properties.h
6147 - Clarify usage of the 'data' member of the setting
6149 * libnm-util/nm-setting-vpn-properties.c
6150 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6151 - (set_property): just remove all the settings; don't recreate the has
6152 - (update_one_secret): don't need to create the hash table here since
6153 it should always be present
6155 2007-12-03 Tambet Ingo <tambet@gmail.com>
6157 Implement PIN and PUK requesting.
6159 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6160 (enter_pin): Handle PIN and PUK requests.
6161 (real_act_stage1_prepare): Clear the secret type.
6162 (real_connection_secrets_updated): Implement this class method to get
6163 notified when new secrets arrive.
6164 (nm_umts_device_class_init): Add private data back to the umts device class
6165 to store the required secret type.
6167 2007-12-01 Dan Williams <dcbw@redhat.com>
6169 * system-settings/plugins/ifcfg/parser.c
6170 - (parser_parse_file): don't try to verify NULL connections
6172 2007-12-01 Dan Williams <dcbw@redhat.com>
6174 * system-settings/src/main.c
6175 - (load_connections, add_connection_to_settings): actually export
6176 plugin-provided connections over D-Bus so NM can get them
6178 2007-12-01 Dan Williams <dcbw@redhat.com>
6180 * system-settings/plugins/ifcfg/parser.c
6181 system-settings/plugins/ifcfg/parser.h
6182 system-settings/plugins/ifcfg/plugin.c
6183 - Hook up more inotify bits (untested)
6185 2007-11-29 Dan Williams <dcbw@redhat.com>
6187 * system-settings/src/nm-system-config-interface.h
6188 system-settings/src/nm-system-config-interface.c
6189 - (nm_system_config_interface_init,
6190 nm_system_config_interface_get_connections): add
6192 * system-settings/src/main.c
6193 - (load_plugins, load_connections, main): use a GSList for plugins
6194 to ensure priority ordering
6196 * system-settings/plugins/ifcfg/parser.c
6197 - (ifcfg_error_quark): move to plugin.c, and rename
6199 * system-settings/plugins/ifcfg/plugin.h
6200 system-settings/plugins/ifcfg/plugin.c
6201 - (ifcfg_plugin_error_quark): move here from parser.c
6202 - rework connection loading and initialization
6203 - Add preliminary inotify support for network profile config file
6205 2007-11-28 Tambet Ingo <tambet@gmail.com>
6207 Merge the beginnings of the new GSM card support.
6209 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6210 ppp watch source before killing pppd - If this happens from g_object_unref()
6211 then the ppp manager is already destroyed by the time the watch callback runs.
6213 * src/nm-hal-manager.c: Add a device_type_name string to the device
6214 creators, so that we can print a nice human readable string when a
6217 * src/nm-umts-device.c (automatic_registration_get_network): Query
6218 for the activated network, not much is done with the result thought.
6220 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6221 (ppp_ip4_config): Change the device state to activated here for now.
6222 (real_check_connection): Make sure the connection includes ppp setting.
6224 * libnm-glib/nm-client.c (get_device): Handle umts devices.
6226 * libnm-glib/Makefile.am: Add the new files to build.
6228 * libnm-glib/nm-umts-device.c:
6229 * libnm-glib/nm-umts-device.h: Implement.
6231 2007-11-26 Tambet Ingo <tambet@gmail.com>
6233 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6234 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6236 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6237 the timeout source - this function is only called when the timeout source has
6239 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6240 to be big enough to contain the terminating zero element as well.
6241 The timeout argument is meant to be in seconds now.
6242 (real_deactivate_quickly): Implement.
6244 * src/NetworkManager.conf: Allow root to own
6245 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6247 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6248 (not unsigned ints).
6250 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
6251 small issue with parity bounds - capital letters have lower ascii codes
6252 than lower case letters.
6254 * libnm-util/nm-connection.c (register_default_settings): Register serial
6257 2007-11-22 Tambet Ingo <tambet@gmail.com>
6259 Remove the "index" property from devices as not all device types have this.
6261 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6263 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6264 (wired_device_creator): Get the device interface from hal to create the device.
6265 (wireless_device_creator): Ditto.
6267 * src/nm-device.c (nm_device_init): Remove the index member.
6268 (constructor): Remove the checks for index property, make interface property
6269 a require constructor property.
6270 Use the HAL udi for DBus path for devices.
6271 (nm_device_get_index): Remove.
6272 (set_property): Remove index handling.
6273 (get_property): Ditto.
6274 (nm_device_get_dbus_path): Remove.
6276 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6279 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6280 Access the device index through it's interface.
6281 (nm_device_802_3_ethernet_link_deactivated): Ditto.
6282 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6283 index argument. Add interface argument.
6285 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6286 the useless test_dev argument. Remove index argument. Add interface arugment.
6288 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6289 device index through interface.
6290 (nm_system_set_mtu): Ditto.
6292 * introspection/nm-device.xml: Remove the "Index" property.
6294 2007-11-21 Tambet Ingo <tambet@gmail.com>
6296 * src/nm-serial-device.c:
6297 * src/nm-serial-device.c:
6298 * src/nm-umts-device.c:
6299 * src/nm-umts-device.h: Implement.
6301 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
6302 allocated by libhal.
6303 (modem_device_creator): Implement.
6304 (register_built_in_creators): Register the modem creator.
6306 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
6307 Remove the unused test_dev argument.
6309 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6311 * src/Makefile.am: Add new files to build.
6312 Link in ppp-manager.
6314 * libnm-util/nm-setting-umts.c:
6315 * libnm-util/nm-setting-umts.h:
6316 * libnm-util/nm-setting-serial.c:
6317 * libnm-util/nm-setting-serial.h: Implement.
6319 * libnm-util/Makefile.am: Add new files to build.
6321 2007-11-28 Dan Williams <dcbw@redhat.com>
6323 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6325 Support DHCP-provided static routes.
6327 * src/nm-ip4-config.h
6329 - Add get/set functions for static routes
6331 * src/dhcp-manager/nm-dhcp-manager.c
6332 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6335 * src/NetworkManagerSystem.c
6336 - (nm_system_device_set_from_ip4_config): set any static routes on the
6337 interface when applying the IP4Config
6339 2007-11-28 Dan Williams <dcbw@redhat.com>
6341 * src/nm-device-802-11-wireless.c
6342 - (real_act_stage1_prepare): mark APs created for hidden networks
6345 2007-11-27 Dan Williams <dcbw@redhat.com>
6347 * system-settings/src/nm-system-config-interface.h
6348 - Note how to store secrets on NMSetting objects
6350 * system-settings/src/dbus-settings.c
6351 - (connection_settings_get_secrets): implement
6353 2007-11-27 Dan Williams <dcbw@redhat.com>
6355 * system-settings/plugins/ifcfg/Makefile.am
6356 system-settings/plugins/ifcfg/parser.c
6357 system-settings/plugins/ifcfg/parser.h
6358 system-settings/plugins/ifcfg/plugin.c
6359 - Parse wireless connections too
6361 * system-settings/src/dbus-settings.c
6362 system-settings/src/dbus-settings.h
6363 system-settings/src/main.c
6364 - Handle connection update/removal if the plugin supports it
6366 2007-11-27 Dan Williams <dcbw@redhat.com>
6368 * src/nm-dbus-manager.h
6369 src/nm-hal-manager.c
6370 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6374 src/NetworkManagerDbusUtils.c
6375 src/NetworkManagerDbusUtils.h
6376 - Remove these two source files; they are unused
6378 2007-11-27 Dan Williams <dcbw@redhat.com>
6380 * src/vpn-manager/nm-vpn-manager.c
6381 - (impl_vpn_manager_connect): fix system settings check (found by
6384 2007-11-26 Dan Williams <dcbw@redhat.com>
6386 * Fix warnings so everything compiles with --enable-more-warnings
6388 2007-11-25 Dan Williams <dcbw@redhat.com>
6391 - Rework structure and code to use GModule-loaded plugins and a plugin
6392 interface that plugins export to the system settings service
6394 2007-11-21 Dan Williams <dcbw@redhat.com>
6397 - Add Soren's system settings service. Needs work for distros other
6398 than Fedora; the backends from NM should mostly migrate to here
6399 and be converted to GObjects
6401 2007-11-21 Dan Williams <dcbw@redhat.com>
6403 * libnm-util/nm-setting-vpn-properties.c
6404 - (set_property): must deep-copy the given settings hash, otherwise
6405 double-free errors occur when the setting is disposed of
6407 2007-11-21 Dan Williams <dcbw@redhat.com>
6409 * src/vpn-manager/nm-vpn-act-request.h
6410 src/vpn-manager/nm-vpn-act-request.c
6413 2007-11-20 Dan Williams <dcbw@redhat.com>
6415 * libnm-util/nm-utils.c
6416 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6417 nm_utils_convert_ip4_addr_struct_array_to_string,
6418 nm_utils_register_value_transformations): print out the readable
6419 values of more types of properties of NMSettings subclasses
6421 2007-11-20 Dan Williams <dcbw@redhat.com>
6423 * libnm-util/nm-setting-ip4-config.c
6424 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6425 nm_setting_ip4_config_class_init): apparently dbus-glib can't
6426 marshal GValueArrays inside collections, so switch to types that it
6427 can actually marshal/demarshal
6429 2007-11-16 Dan Williams <dcbw@redhat.com>
6431 * libnm-util/nm-setting-wireless-security.c
6432 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6433 minimal verification of EAP methods too
6434 - (verify): verify phase1 eap methods too
6436 2007-11-15 Dan Williams <dcbw@redhat.com>
6438 * libnm-glib/nm-device.h
6439 libnm-glib/nm-device.c
6440 - (nm_device_get_product, nm_device_get_vendor): should be returning
6443 2007-11-15 Dan Williams <dcbw@redhat.com>
6445 * libnm-glib/nm-device.c
6446 - (get_product_and_vendor): don't try to free things that should be
6449 2007-11-15 Dan Williams <dcbw@redhat.com>
6451 * src/NetworkManagerUtils.c
6452 - (nm_ethernet_address_is_valid): unbreak previous fix
6454 2007-11-15 Dan Williams <dcbw@redhat.com>
6456 * src/supplicant-manager/nm-supplicant-config.c
6457 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6460 2007-11-15 Dan Williams <dcbw@redhat.com>
6462 * src/NetworkManagerUtils.c
6463 - (nm_ethernet_address_is_valid): fix style, clarify
6464 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6466 * src/nm-device-802-11-wireless.c
6467 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6468 - (nm_device_802_11_wireless_get_ssid,
6469 nm_device_802_11_wireless_get_bssid,
6470 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6471 before calling the ioctl; fixes valgrind-reported jump depends on
6472 uninitialized value errors
6474 2007-11-15 Dan Williams <dcbw@redhat.com>
6476 * libnm-util/nm-setting.c
6477 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6478 unecessary to serialize 'name'
6480 * src/nm-activation-request.c
6481 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6484 2007-11-15 Dan Williams <dcbw@redhat.com>
6486 * libnm-util/nm-setting-connection.h
6487 libnm-util/nm-setting-connection.c
6488 - Rename the 'name' property to 'id', because it conflicted with the
6489 NMSetting superclass' 'name' property.
6491 * libnm-util/nm-setting.c
6492 - (nm_setting_to_hash): serialize the 'name' property
6493 - (one_property_cb): ignore 'name' on deserialization of a connection
6495 * src/nm-device-802-11-wireless.c
6496 src/vpn-manager/nm-vpn-connection.c
6497 src/NetworkManagerPolicy.c
6498 - Fix up for NMSettingConnection 'name'->'id' changes
6500 2007-11-13 Dan Williams <dcbw@redhat.com>
6502 * libnm-glib/nm-device-802-11-wireless.h
6503 libnm-glib/nm-device-802-11-wireless.c
6504 - (nm_device_802_11_wireless_get_hw_address): return should be const
6507 libnm-glib/libnm-glib-test.c
6508 - Fixes for above change
6510 2007-11-12 Dan Williams <dcbw@redhat.com>
6512 * src/supplicant-manager/nm-supplicant-settings-verify.c
6513 - Allow fragment_size option
6515 * src/supplicant-manager/nm-supplicant-settings-verify.c
6516 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6517 EAP fragment size than the default to help some TLS connections
6519 2007-11-12 Dan Williams <dcbw@redhat.com>
6521 Make certs actually work. The private key is now a secret, and should be
6522 decrypted when requested by NM. The private key and phase2 private key
6523 passwords are no longer interesting to NM because they should be used by
6524 the settings service to decrypt the private key itself before passing it
6525 to NM, and hence have been removed as fields.
6527 * libnm-util/nm-setting-wireless-security.h
6528 libnm-util/nm-setting-wireless-security.c
6529 - Remove private-key-passwd and phase2-private-key-passwd from
6531 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6532 need_secrets): use property #defines instead strings to keep things
6534 - (need_secrets_tls): if a client certificate is present but no
6535 private key, request the private key
6536 - (set_property, get_property, nm_setting_wireless_security_class_init):
6537 remove private key password stuff, mark private keys as secret
6539 * src/supplicant-manager/nm-supplicant-settings-verify.c
6540 - Remove private_key_passwd and private_key2_passwd from opt_table
6542 2007-11-09 Dan Williams <dcbw@redhat.com>
6544 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6545 Since the vpn-properties are managed and known by the VPN daemons themselves,
6546 libnm-util doesn't know what's secret and what's in the setting's 'data'
6549 * libnm-util/nm-setting.h
6550 libnm-util/nm-setting.c
6551 - Add the ability for subclasses to override update_one_secret
6553 * libnm-util/nm-setting-vpn-properties.c
6554 - Override update_one_secret and just copy the values into the
6557 2007-11-09 Dan Williams <dcbw@redhat.com>
6559 * libnm-glib/nm-settings.h
6560 libnm-glib/nm-settings.c
6561 - (nm_settings_new_error): remove
6562 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6563 clients should use g_set_error() with NM_SETTINGS_ERROR
6565 2007-11-09 Dan Williams <dcbw@redhat.com>
6567 * src/supplicant-manager/nm-supplicant-config.c
6568 - (nm_supplicant_config_add_setting_wireless_security): private key
6569 passwords are never sent to wpa_supplicant, because the supplicant
6570 should never be reading random files from the disk. Clients like
6571 the applet are required to decrypt the private keys and send NM
6572 the decrypted blobs.
6574 2007-11-08 Dan Williams <dcbw@redhat.com>
6576 * libnm-util/nm-setting-wireless-security.h
6577 libnm-util/nm-setting-wireless-security.c
6578 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6579 members to 802-11-wireless-security structure. This should be used
6580 to indicate that the values in private-key and phase2-private-key
6581 are already decrypted by the user agent, and that no
6582 private-key-passwd or phase2-private-key-passwd should be expected.
6583 It is not meant to be a stored configuration value, but meant to
6584 be set when the conneciton is sent to NM over dbus.
6586 2007-11-08 Dan Williams <dcbw@redhat.com>
6588 * libnm-util/nm-connection.h
6589 libnm-util/nm-connection.c
6590 - (nm_connection_need_secrets): add argument to return hints
6592 * src/nm-device-802-11-wireless.c
6593 - (link_timeout_cb, supplicant_connection_timeout_cb,
6594 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6595 nm_connection_need_secrets() change
6597 2007-11-07 Tambet Ingo <tambet@gmail.com>
6599 Rework NMSetting structures: Move each setting to it's own file.
6600 Convert to GObject. Remove home grown setting types and use GTypes.
6601 Use GObject property introspection for hash conversion, enumerating
6604 * libnm-util/nm-setting-connection.[ch]
6605 * libnm-util/nm-setting-ip4-config.[ch]
6606 * libnm-util/nm-setting-ppp.[ch]
6607 * libnm-util/nm-setting-vpn.[ch]
6608 * libnm-util/nm-setting-vpn-properties.[ch]
6609 * libnm-util/nm-setting-wired.[ch]
6610 * libnm-util/nm-setting-wireless.[ch]
6611 * libnm-util/nm-setting-wireless-security.[ch]
6613 New files, each containing a setting.
6615 * libnm-util/nm-setting-template.[ch]: A template for creating new
6616 settings. To use it, just replace 'template' with the new setting
6617 name, and you're half-way done.
6619 * libnm-util/nm-setting.c: Convert to GObject and use GObject
6620 introspection instead of internal types and tables.
6622 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6624 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6625 GValue types defined by dbus-glib for composed types like collections,
6626 structures and maps.
6628 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6629 a setting from connection takes the setting type now. Also, since
6630 the settings are in multiple files, include relevant settings.
6632 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
6635 * src/backends/NetworkManagerGentoo.c:
6636 (nm_system_restart_mdns_responder): Implement restarts for other mdns
6637 providers in Gentoo.
6639 2007-10-31 Dan Williams <dcbw@redhat.com>
6641 * libnm-util/nm-connection.c
6642 - (gvalue_to_string): handle UINT32 arrays
6644 2007-10-31 Dan Williams <dcbw@redhat.com>
6646 * libnm-glib/nm-device.h
6647 libnm-glib/nm-device.c
6648 - (nm_device_get_description): remove
6649 - (nm_device_get_product, nm_device_get_vendor): add
6650 - (nm_device_update_description): new function (private); walk HAL
6651 devices to get product and vendor IDs for a specific device
6653 2007-10-31 Dan Williams <dcbw@redhat.com>
6655 * src/nm-device-802-11-wireless.c
6656 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6658 2007-10-29 Dan Williams <dcbw@redhat.com>
6660 * src/nm-hal-manager.c
6661 - (device_added, device_new_capability): ignore device additions while
6662 asleep. Fixes crash caused when NM goes to sleep, a network device
6663 kernel module is unloaded and reloaded and recognized by NM again.
6665 2007-10-26 Dan Williams <dcbw@redhat.com>
6667 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6669 * src/NetworkManagerAP.c
6670 src/NetworkManagerAP.h
6671 libnm-glib/nm-access-point.c
6672 libnm-glib/nm-access-point.h
6673 - Make 'rate' property a guint32 to better match with WEXT and
6674 wpa_supplicant and to allow representation of higher bitrates
6676 * src/nm-device-802-11-wireless.c
6677 introspection/nm-device-802-11-wireless.xml
6678 libnm-glib/nm-device-802-11-wireless.c
6679 libnm-glib/nm-device-802-11-wireless.h
6680 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6682 * src/nm-device-802-3-ethernet.c
6683 src/nm-device-802-3-ethernet.h
6684 introspection/nm-device-802-3-ethernet.xml
6685 libnm-glib/nm-device-802-3-ethernet.c
6686 libnm-glib/nm-device-802-3-ethernet.h
6687 - Make 'speed' property a guint32 to match other speed/rate types
6688 - Make nm_device_802_3_ethernet_get_speed() static
6691 - Update for the changes above
6693 2007-10-26 Dan Williams <dcbw@redhat.com>
6695 * src/named-manager/nm-named-manager.c
6696 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6697 not calling fclose() twice on some error conditions
6699 2007-10-26 Dan Williams <dcbw@redhat.com>
6701 * src/nm-activation-request.c
6702 - (dispose): clean up indentation; get the right DBusGProxy object to
6703 cancel the GetSecrets pending call on. Need to use the Secrets
6704 proxy, not the regular connection proxy. Otherwise the GetSecrets
6705 pending call doesn't get canceled, and pressing Cancel in the
6706 applet's password dialog could cause get_secrets_cb() to be called
6707 after the activation request has already been destroyed
6709 2007-10-24 Dan Williams <dcbw@redhat.com>
6711 * src/supplicant-manager/nm-supplicant-config.c
6712 - (nm_supplicant_config_add_blob): pass blob data and length for
6714 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
6716 2007-10-24 Dan Williams <dcbw@redhat.com>
6718 * src/supplicant-manager/nm-supplicant-settings-verify.c
6719 - (opt_table): max length for certificates should be 65536
6721 2007-10-24 Dan Williams <dcbw@redhat.com>
6723 * src/supplicant-manager/nm-supplicant-interface.c
6724 - (blob_free): correctly free blob data after use
6725 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
6727 2007-10-24 Dan Williams <dcbw@redhat.com>
6729 * libnm-util/nm-setting.c
6730 - (setting_wireless_security_need_secrets): Fix lookup table logic for
6731 EAP method need secrets
6733 2007-10-24 Dan Williams <dcbw@redhat.com>
6735 * src/backends/NetworkManagerRedHat.c
6736 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
6738 2007-10-23 Dan Williams <dcbw@redhat.com>
6740 * libnm-util/nm-setting.c
6741 libnm-util/nm-setting.c
6742 - (nm_setting_compare): implement
6743 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
6744 compare_one_hash_gvalue): compare the contents of a setting
6746 * libnm-util/nm-connection.c
6747 - (nm_connection_compare): implement
6749 2007-10-23 Dan Williams <dcbw@redhat.com>
6751 * src/nm-activation-request.c
6752 - (get_secrets_cb): handle getting a setting back that is more than
6753 just secrets (ie, user changed auth or EAP method or something)
6755 2007-10-23 Dan Williams <dcbw@redhat.com>
6757 * libnm-util/nm-setting.c
6758 libnm-util/nm-setting.h
6759 - (nm_setting_verify): new function; verify one setting
6760 - (nm_settings_verify_all): rename from nm_settings_verify()
6761 - (setting_connection_verify, setting_wireless_verify): allow NULL
6764 * libnm-util/nm-connection.c
6765 - (nm_connection_replace_settings, nm_connection_verify,
6766 nm_connection_new_from_hash): handle nm_settings_verify() rename
6768 2007-10-23 Dan Williams <dcbw@redhat.com>
6770 * src/nm-device-802-11-wireless.c
6771 - (real_act_stage2_config): use pre-increment on 'tries' to get the
6774 2007-10-23 Dan Williams <dcbw@redhat.com>
6776 * src/supplicant-manager/nm-supplicant-settings-verify.c
6777 - eap_allowed, phase2_allowed: harmonize with allowed values from
6780 2007-10-23 Dan Williams <dcbw@redhat.com>
6782 * src/nm-device-802-11-wireless.c
6783 - (real_act_stage2_config): after the first association failure,
6784 if the connection still needs secrets ask the user for them
6785 explicitly. After the fourth association failure due to bad
6786 secrets, fail the connection entirely. Handles the GetSecrets
6787 loop that NM gets into when the provided secrets don't match up
6788 with the connection details.
6790 2007-10-23 Dan Williams <dcbw@redhat.com>
6792 * src/supplicant-manager/nm-supplicant-config.c
6793 - (nm_supplicant_config_add_setting_wireless_security): only add
6794 WPA-specific options when WPA is in use
6796 2007-10-23 Dan Williams <dcbw@redhat.com>
6798 * src/supplicant-manager/nm-supplicant-config.c
6799 - (nm_supplicant_config_add_setting_wireless_security): 'password'
6800 secret doesn't need to be unhexified
6802 2007-10-23 Dan Williams <dcbw@redhat.com>
6804 * libnm-util/nm-setting.c
6805 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
6806 before trying to do something with it
6808 2007-10-23 Dan Williams <dcbw@redhat.com>
6810 * src/nm-device-802-11-wireless.c
6811 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
6813 2007-10-23 Dan Williams <dcbw@redhat.com>
6815 * src/nm-device-802-11-wireless.c
6816 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
6817 non-SSID-broadcasting APs
6819 2007-10-23 Dan Williams <dcbw@redhat.com>
6821 * src/NetworkManagerAP.c
6822 - (match_cipher, security_compatible): remove
6823 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
6826 2007-10-23 Dan Williams <dcbw@redhat.com>
6828 * libnm-util/nm-utils.c
6829 libnm-util/nm-utils.h
6830 - (nm_utils_ap_security_compatible): common function for checking
6831 whether a specific AP is compatible with an NMConnection
6833 2007-10-23 Dan Williams <dcbw@redhat.com>
6835 * libnm-util/nm-setting.c
6836 - (setting_wireless_security_need_secrets, need_secrets_phase2,
6837 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
6838 need_secrets_password, setting_wireless_security_verify): fix
6839 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
6840 secrets logic for each supported EAP method
6842 2007-10-23 Dan Williams <dcbw@redhat.com>
6844 * src/supplicant-manager/nm-supplicant-config.c
6845 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
6846 config option name, should be "private_key2_passwd"
6848 2007-10-22 Tambet Ingo <tambet@gmail.com>
6850 Implement support for static IP addresses, additional/overridden DNS and
6851 DNS domain search lists.
6853 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
6854 (ip4_addresses_to_gvalue): Implement.
6855 (convert_array_to_byte_array): Implement.
6856 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
6857 NM_S_TYPE_IP4_ADDRESSES.
6858 (nm_setting_hash): Ditto.
6859 (default_setting_clear_secrets): Add a default case for the switch: IP address
6860 shouldn't be secret, ever.
6861 (setting_ip4_config_verify): Update, requires addresses in case of manual
6863 (setting_ip4_config_destroy): Free stuff.
6865 * src/nm-device.c (merge_ip4_config): Implement.
6866 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
6868 2007-10-22 Dan Williams <dcbw@redhat.com>
6870 * libnm-util/nm-setting.c
6871 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
6872 pairwise cipher options for Dynamic WEP
6874 2007-10-21 Dan Williams <dcbw@redhat.com>
6876 * src/NetworkManagerAP.c
6877 src/NetworkManagerAP.h
6878 - Rename 'articifical' -> 'fake' since that's what they are until
6880 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
6881 from the attributes in an NMConnection object
6882 - (security_compatible): better handle Dynamic WEP and LEAP; handle
6884 - (nm_ap_match_in_list): find a matching AP in a scan list
6886 * src/nm-device-802-11-wireless.c
6887 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
6888 AP when searching the scan list; match on frequency and mode too
6889 - (nm_device_802_11_wireless_get_frequency): implement
6890 - (merge_scanned_ap): replace duplicate matching logic with
6891 nm_ap_match_in_list()
6892 - (real_act_stage1_prepare): handle a NULL specific object; ie where
6893 the user is trying to connect to a hidden network that is not yet
6894 known from the scan list
6895 - (activation_success_handler): now that the card knows the AP's BSSID,
6896 there may already be a scanned AP in the scan list that is what
6897 we really wanted to connect to, but didn't know at the time. Use
6898 that instead of the 'fake' AP created at activation start and get
6899 rid of the 'fake' AP
6900 - (cull_scan_list): don't remove fake APs
6902 2007-10-21 Dan Williams <dcbw@redhat.com>
6904 * src/nm-activation-request.h
6905 src/nm-activation-request.c
6906 - (nm_act_request_set_specific_object): new function; allow setting the
6907 specific object if one isn't set yet
6909 2007-10-20 Dan Williams <dcbw@redhat.com>
6911 * src/supplicant-manager/nm-supplicant-config.h
6912 src/supplicant-manager/nm-supplicant-config.c
6913 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
6914 table to store blobs
6915 - (nm_supplicant_config_add_blob): new function; add blob to internal
6917 - (nm_supplicant_config_get_blobs): new function; get stored blobs
6918 - (nm_supplicant_config_add_setting_wireless_security): handle
6919 options that use certificates (ie, blobs)
6921 * src/nm-device-802-11-wireless.c
6922 - (build_supplicant_config): pass a UID (just use the connection path)
6923 to the supplicant config as now required
6925 * src/supplicant-manager/nm-supplicant-interface.c
6926 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
6927 there are any blobs to send to wpa_supplicant, send those first
6928 before sending the network configuration
6930 2007-10-19 Dan Williams <dcbw@redhat.com>
6932 Split the GetSecrets() call off to a separate D-Bus interface so that it
6933 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
6934 should be able to call GetSecrets().
6936 * include/NetworkManager.h
6937 - Define the connection secrets D-Bus interface
6939 * src/vpn-manager/nm-vpn-connection.c
6940 - (clear_need_auth): get the right proxy object for the connection
6942 - (get_connection_secrets): use the connection secrets proxy; send
6943 empty hints in get secrets request
6945 * src/nm-activation-request.c
6946 - (nm_act_request_request_connection_secrets): use the connection
6947 secrets proxy; send empty hints in get secrets request
6951 - (connection_get_settings_cb): set the connection secrets proxy on
6952 the connection object too
6953 - (internal_new_connection_cb): create the connection secrets proxy
6955 * introspection/nm-settings-connection.xml
6956 - Define Connection.Secrets interface and move GetSecrets there
6957 - Add a 'hints' argument to GetSecrets
6959 * libnm-glib/nm-settings.c
6960 libnm-glib/nm-settings.h
6961 - (impl_connection_settings_get_secrets): add 'hints' argument
6963 2007-10-19 Dan Williams <dcbw@redhat.com>
6966 - (constructor): add message about what path a device is exported as
6967 to help in debugging rh #339011
6969 2007-10-17 Dan Williams <dcbw@redhat.com>
6971 * libnm-util/nm-utils.h
6972 libnm-util/nm-utils.c
6973 - (nm_utils_security_valid): common function to help find the intersection
6974 of capabilities of devices and (optionally) access points
6976 2007-10-17 Dan Williams <dcbw@redhat.com>
6978 * src/nm-device-802-11-wireless.c
6979 - (get_wireless_capabilities): add missing braces so that WPA capabilities
6980 don't get erroneously cleared
6982 2007-10-17 Dan Williams <dcbw@redhat.com>
6986 src/nm-hal-manager.c
6987 - (device_removed, finalize, nm_manager_remove_device,
6988 nm_manager_sleep): add a 'deactivate' argument to
6989 nm_manager_remove_device() to fully deactivate devices when necessary
6990 (ie, always except when waking up)
6992 2007-10-16 Dan Williams <dcbw@redhat.com>
6994 * libnm-util/nm-setting.c
6995 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
6996 also isn't valid phase2 autheap method
6998 2007-10-16 Dan Williams <dcbw@redhat.com>
7000 * libnm-glib/nm-client.c
7001 - (update_wireless_status): consolidate updates of wireless status
7002 - (constructor): use update_wireless_status()
7003 - (manager_running): set wireless status off when NM goes away; requery
7004 the wireless status when NM comes back
7006 2007-10-16 Dan Williams <dcbw@redhat.com>
7008 * libnm-glib/nm-client.c
7009 - (nm_client_activate_device): actually use the fixed-up specific
7012 2007-10-16 Dan Williams <dcbw@redhat.com>
7014 * src/nm-hal-manager.c
7015 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7016 killswitch error messages once
7018 2007-10-16 Dan Williams <dcbw@redhat.com>
7021 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7022 if it's disabled in hardware; don't touch network devices while
7025 2007-10-16 Dan Williams <dcbw@redhat.com>
7027 * libnm-util/nm-client.c
7028 - (nm_client_activate_device): convert NULL specific_object to "/",
7029 which is used in place of NULL
7032 - (impl_manager_activate_device): convert "/" specific_object back into
7035 2007-10-16 Tambet Ingo <tambet@gmail.com>
7037 Implement a generic NMSetting creator from setting name.
7038 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7039 add a virtual function 'populate_fn'.
7041 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7042 (register_default_creators): Register setting creators instead of functions
7043 that create and then populate.
7044 (parse_one_setting): Use the common setting creator and then setting specific
7045 poplulation function.
7047 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7048 they all looked exactly the same.
7049 Add a 'populate_fn' virtual function to NMSetting.
7050 Use default virtual functions in case they are not overriden.
7051 (nm_setting_populate_from_hash): Implement.
7053 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7054 name, use a defined string.
7055 (real_act_stage4_get_ip4_config): Ditto.
7057 2007-10-16 Tambet Ingo <tambet@gmail.com>
7059 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7060 HAL is int, not uint.
7062 2007-10-15 Tambet Ingo <tambet@gmail.com>
7064 Implement killswitch polling through HAL.
7066 * src/nm-manager.c: Add wireless hardware status property. Add
7067 'properties-changed' signal for changes in wireless and wireless hardware
7070 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7071 and update NMManager's wireless hardware state when it has changed.
7072 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7075 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7076 values of wireless state and wireless hardware state. Listen for the
7077 'properties-changed' signals, update the cached values and emit notify.
7079 * include/NetworkManager.h: Fix a typo in a comment.
7081 2007-10-14 Dan Williams <dcbw@redhat.com>
7083 * libnm-util/nm-setting.c
7084 - (setting_wireless_security_need_secrets): handle LEAP secrets
7086 2007-10-13 Dan Williams <dcbw@redhat.com>
7088 * libnm-util/nm-setting.h
7089 libnm-util/nm-setting.c
7090 src/supplicant-manager/nm-supplicant-config.c
7091 - Make the 'proto' field of the 802-11-wireless-security field a
7094 2007-10-12 Tambet Ingo <tambet@gmail.com>
7096 Rework the "properties-changed" signal listening implementation.
7097 Add a generic implementation to NMObject class that listens for
7098 the signal and calls property setters of the target NMObject.
7100 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7102 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7103 code to the end of file so that all the static functions are available
7104 without extra declarations.
7105 Remove the "properties-changed" signal handling and use the framework from
7107 Implement property setters for properties that change with
7108 "properties-changed" signal.
7110 * libnm-glib/nm-access-point.c: Ditto.
7112 2007-10-12 Tambet Ingo <tambet@gmail.com>
7114 Rework the "properties-changed" signal implementation.
7115 In classes that need to use it, just emit "GObject::notify" and the new
7116 framework takes care of the rest to make the signal available on dbus.
7117 The framework queues the notifications and tries to send as many together
7118 in one signal as possible.
7120 * src/nm-properties-changed-signal.c:
7121 * src/nm-properties-changed-signal.h: Implement.
7123 * src/Makefile.am: Add new files to build.
7125 * src/NetworkManagerAP.c: Use the general framework for properties-changed
7128 * src/nm-device-802-11-wireless.c: Ditto.
7130 2007-10-10 Dan Williams <dcbw@redhat.com>
7133 - (wait_for_connection_expired): ensure info is valid
7134 - (connection_added_default_handler): Should only remove pending
7135 connection info when the manager has the connection that it's
7136 waiting for. Fixes segfault in wait_for_connection_info().
7138 2007-10-10 Dan Williams <dcbw@redhat.com>
7140 * libnm-util/nm-setting.c
7141 libnm-util/nm-setting.h
7142 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7143 can use if they choose. Should be filled in by the settings service
7144 on-the-fly with the currently logged in user's username
7146 2007-10-10 Dan Williams <dcbw@redhat.com>
7148 * src/nm-device-802-11-wireless.c
7149 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7150 as such, because even if the manager fills in the SSID, NM still
7151 has to indicate to wpa_supplicant that the AP isn't broadcasting
7154 2007-10-10 Tambet Ingo <tambet@gmail.com>
7156 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7157 code that used NM's own version of dbus signal handling and custom dictionary
7158 marshalling/unmarshalling. With this change, all that obsolete code can disappear
7159 and we get to maintain over 2000 lines less code.
7161 * libnm-util/dbus-dict-helpers.c:
7162 * libnm-util/dbus-dict-helpers.h: Remove.
7164 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7166 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7168 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7171 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7173 * configure.in: Remove test/libnm-util/Makefile creation.
7175 * test/Makefile.am: Remove libnm-util from SUBDIRS.
7177 * test/libnm-util/: Remove the whole directory.
7179 2007-10-10 Tambet Ingo <tambet@gmail.com>
7181 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
7182 device_state_changed_idle_id variable or it would contain some random value and the
7183 schedule_change_check calls would not do anything.
7185 2007-10-09 Dan Williams <dcbw@redhat.com>
7187 * src/nm-device-802-11-wireless.c
7188 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7189 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7190 isn't broadcasting its SSID; set the non-broadcast flag here; fix
7191 merging of non-SSID-broadcasting APs
7193 2007-10-09 Tambet Ingo <tambet@gmail.com>
7195 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7196 "guint8 *" since it's usually used with GByteArray->data.
7197 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7199 2007-10-09 Tambet Ingo <tambet@gmail.com>
7201 * src/NetworkManagerUtils.c
7202 (nm_utils_is_empty_ssid):
7203 (nm_utils_escape_ssid):
7204 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
7205 lot of places, so they belong to libnm-utils instead.
7207 Now with 100% less compiler warnings:
7209 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7210 (nm_dbus_unescape_object_path): Ditto.
7211 (nm_utils_ssid_to_utf8): Ditto.
7212 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7213 (nm_utils_escape_ssid): Ditto.
7214 (nm_utils_same_ssid): Ditto.
7216 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7217 (add_one_connection_element): Remove an unused variable.
7218 (impl_manager_get_active_connections): Ditto.
7220 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7223 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7224 from the previous commit.
7226 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7227 (real_act_stage1_prepare): Ditto.
7228 (activation_success_handler): Ditto.
7229 (get_property): Ditto.
7231 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7234 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7237 * src/supplicant-manager/nm-supplicant-config.c
7238 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7239 to expected "char *".
7240 (nm_supplicant_config_add_setting_wireless): Ditto.
7241 (nm_supplicant_config_remove_option): Remove, not used.
7243 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7245 (test_wireless_enabled): Ifdef out unused function.
7246 (device_deactivate): Ditto.
7247 (device_state_changed): Ditto.
7248 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7249 (nm_utils_escape_ssid): Ditto.
7251 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7252 (nm_utils_is_empty_ssid): Ditto.
7254 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7257 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7258 (setting_vpn_properties_update_secrets): Ditto.
7259 (int_to_gvalue): Ifdef out for now, not used.
7260 (byte_to_gvalue): Ditto.
7262 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
7265 2007-10-08 Tambet Ingo <tambet@gmail.com>
7267 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7268 about dbus manager, not named manager.
7269 Make sure hal_manager and dbus_mgr are created before trying to unreference.
7271 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7272 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7273 However, the same signal is emitted when we destroy it and there's
7274 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7276 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7277 releasing the DBusGConnection, since proxy needs a conneciton.
7278 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7280 2007-10-08 Dan Williams <dcbw@redhat.com>
7282 * src/NetworkManager.c
7283 - (main): error on unknown command-line options
7285 2007-10-08 Dan Williams <dcbw@redhat.com>
7287 Reimplement the invalid connection list. Don't try to re-activate a
7288 connection that just failed or was canceled.
7291 - (connection_secrets_failed_cb): fail device activation, don't just
7292 deactivate the device. Listeners have to know about the failure.
7294 * src/NetworkManagerPolicy.c
7295 - (nm_policy_auto_get_best_device): exclude invalid connections from
7296 the connection list given to a device's get_best_connection()
7298 - (device_state_changed): tag failed connections as invalid; clear the
7299 tag from successful connections
7301 2007-10-08 Dan Williams <dcbw@redhat.com>
7303 Fix problems with interrupted activation. Previously, choosing an AP
7304 from the menu, then choosing another one before the first connection was
7305 successful wouldn't deactivate the device before starting the new connection
7306 on that same device.
7308 * src/NetworkManagerPolicy.c
7309 - (deactivate_old_device, device_state_changed, state_changed,
7310 nm_policy_new): wrong place to deactivate old devices
7313 - (pending_connection_info_destroy, finalize,
7314 wait_for_connection_expired): decouple destruction of the pending
7315 connection info from the manager device
7316 - (connection_added_default_handler): deactivate any active or
7317 activating device before starting a new activation
7318 - (impl_manager_activate_device): deactivate any active or activating
7319 device before starting a new activation; be sure not to leak
7320 pending connection info if a new activation request arrives but
7321 there's already a pending one in-process
7323 2007-10-08 Dan Williams <dcbw@redhat.com>
7325 * src/NetworkManagerAP.h
7326 src/NetworkManagerAP.c
7327 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
7328 should handle default SSIDs and whether or not to autoconnect
7331 2007-10-08 Dan Williams <dcbw@redhat.com>
7333 * src/NetworkManagerPolicy.c
7334 - (nm_policy_device_change_check): print out connection name where
7337 2007-10-08 Dan Williams <dcbw@redhat.com>
7339 * src/nm-device-802-11-wireless.c
7340 src/nm-device-802-11-wireless.h
7341 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7342 'hidden-ap-found' signal (for internal use only) that allows the
7343 NMManager to fill in the AP's SSID if a connection has that AP's
7344 BSSID in its seen-bssids list
7347 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7348 wireless device's hidden-ap-found signal and fill in the APs SSID
7351 2007-10-07 Dan Williams <dcbw@redhat.com>
7355 - Add a 'connections-added' signal to batch together updates of large
7356 numbers of connections, like when reading from a settings service
7357 the first time. Otherwise, the policy would just activate the first
7358 suitable connection it saw rather than waiting for the full list
7360 - (nm_manager_class_init): register new signal
7361 - (get_type_for_proxy, connection_get_settings_cb,
7362 get_connection_for_proxy): centralize places where a proxy's setting
7363 service is determined
7364 - (free_get_settings_info): if the call being freed is the last call
7365 in a pending call group, fire off the connections-added signal
7366 - (internal_new_connection_cb): add call to a pending call group if
7368 - (list_connections_cb): always create a call group here, because this
7369 call results in a batch of new connections
7370 - (initial_get_connections): start getting system connections first
7371 - (nm_manager_connections_destroy, emit_removed): actually emit the
7372 removed signal when destroying connections
7374 * src/NetworkManagerPolicy.c
7375 - (nm_policy_new, connections_added): handle connections-added signal
7378 2007-10-06 Dan Williams <dcbw@redhat.com>
7380 * src/nm-device-802-11-wireless.c
7381 - (constructor): fix leaked socket
7383 2007-10-06 Dan Williams <dcbw@redhat.com>
7385 * src/NetworkManagerPolicy.c
7386 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
7387 connection in the list returned by nm_manager_get_connections() is
7388 reffed, but they weren't getting unreffed before returning
7390 2007-10-06 Dan Williams <dcbw@redhat.com>
7393 - (connections_to_slist): sort connections first on autoconnect, then
7396 2007-10-06 Dan Williams <dcbw@redhat.com>
7398 * libnm-util/nm-connection.c
7399 - (gvalue_to_string): handle UINT64
7401 2007-10-06 Dan Williams <dcbw@redhat.com>
7403 * src/NetworkManagerPolicy.c
7404 - (connection_updated, nm_policy_new): recheck state when a connection
7407 2007-10-06 Dan Williams <dcbw@redhat.com>
7411 - (nm_manager_get_connection_dbus_path): make static
7412 - (nm_manager_update_connections): remove; unused
7413 - Add a connection-updated signal
7414 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7415 handle connection object updates
7417 2007-10-06 Dan Williams <dcbw@redhat.com>
7419 * src/NetworkManagerPolicy.c
7420 - (connection_removed): deactivate removed connections
7422 2007-10-06 Dan Williams <dcbw@redhat.com>
7424 * libnm-util/nm-connection.c
7425 libnm-util/nm-connection.h
7426 - (nm_connection_replace_settings): new function
7428 2007-10-06 Dan Williams <dcbw@redhat.com>
7430 * libnm-glib/nm-device-802-11-wireless.c
7431 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7432 on error when getting the active access point over D-Bus from NM
7434 2007-10-05 Dan Williams <dcbw@redhat.com>
7436 * libnm-util/nm-setting.c
7437 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7438 to the NMSettingWireless table; it's now a string array not an array
7441 2007-10-05 Dan Williams <dcbw@redhat.com>
7443 * libnm-glib/nm-device-802-11-wireless.c
7444 - Cache properties and update cached properties on D-Bus signals from NM
7446 2007-10-05 Dan Williams <dcbw@redhat.com>
7448 * src/nm-device-802-11-wireless.c
7449 - (set_current_ap): consolidate current_ap handling code into one place
7450 to ensure that PropertiesChanged signals are emitted in all cases
7451 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7452 nm_device_802_11_wireless_dispose): use set_current_ap()
7454 2007-10-05 Dan Williams <dcbw@redhat.com>
7456 * libnm-glib/nm-access-point.c
7457 libnm-glib/nm-access-point.h
7458 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7459 because the value is cached internally now. Callers should not
7460 free the internal value.
7461 - Make signal name defines private
7464 libnm-glib/libnm-glib-test.c
7465 - Don't free value returned from nm_access_point_get_hw_address()
7467 2007-10-04 Dan Williams <dcbw@redhat.com>
7469 * introspection/nm-device-802-11-wireless.xml
7470 src/nm-device-802-11-wireless.h
7471 src/nm-device-802-11-wireless.c
7472 - Add a PropertiesChanged signal for wireless device
7473 - Store currently associated access point
7474 - (periodic_update): generalize; update rate here too and emit the
7475 correct PropertiesChanged signal when stuff changes
7476 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7477 real_activation_cancel_handler): clear current_ap when device is
7479 - (link_to_specific_ap, get_ap_blacklisted,
7480 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7482 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7484 - (real_set_hw_address): emit property changed signal if the card's
7486 - (real_act_stage1_prepare): set the initial current_ap to the AP
7487 the card is supposed to be connecting to
7488 - (activation_success_handler): send out property updates on successful
7490 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7491 for ACTIVE_ACCESS_POINT property because sometimes there won't be
7492 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7493 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7494 is now boxed; add PropertiesChanged signal
7496 2007-10-04 Dan Williams <dcbw@redhat.com>
7498 * libnm-util/nm-connection.c
7499 libnm-util/nm-connection.h
7500 - (nm_connection_verify): new function
7502 2007-10-04 Dan Williams <dcbw@redhat.com>
7504 * libnm-util/nm-setting.c
7505 - (nm_settings_verify): use #defines when possible rather than strings
7506 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7507 - (setting_vpn_verify): tighter validity check on 'service_type'
7509 2007-10-04 Dan Williams <dcbw@redhat.com>
7511 * libnm-glib/nm-settings.c
7512 - (nm_connection_settings_class_init): provide correct type for argument
7513 to the Updated signal so that dbus-glib knows how to marshal it
7515 2007-10-03 Dan Williams <dcbw@redhat.com>
7517 * src/nm-device-802-3-ethernet.c
7518 - (real_get_best_connection): don't create automatic connections
7519 internally; clients should provide a setting that applies to
7520 the device with 'autoconnect: True'. Problem was that these
7521 internally auto-created connections don't have a proxy or service
7522 name becuase they weren't created by a settings daemon, and therefore
7523 clients have no idea what to do with them.
7525 2007-10-03 Dan Williams <dcbw@redhat.com>
7527 * src/nm-device-802-11-wireless.c
7528 src/nm-device-802-11-wireless.h
7529 introspection/nm-device-802-11-wireless.xml
7530 - GetActiveNetworks -> GetAccessPoints
7531 - ActiveNetwork -> ActiveAccessPoint
7532 - NetworkAdded -> AccessPointAdded
7533 - NetowrkRemoved -> AccessPointRemoved
7535 * libnm-glib/nm-device-802-11-wireless.c
7536 libnm-glib/nm-device-802-11-wireless.h
7537 - network-added signal -> access-point-added
7538 - network-removed signal -> access-point-removed
7539 - nm_device_802_11_wireless_get_active_network() ->
7540 nm_device_802_11_wireless_get_active_access_point()
7541 - nm_device_802_11_wireless_get_network_by_path() ->
7542 nm_device_802_11_wireless_get_access_point_by_path()
7543 - nm_device_802_11_wireless_get_networks() ->
7544 nm_device_802_11_wireless_get_access_points()
7546 * libnm-glib/libnm-glib-test.c
7548 src/NetworkManagerPolicy.c
7549 - Fixups for Network -> AccessPoint
7551 2007-10-03 Dan Williams <dcbw@redhat.com>
7553 Add a GetActiveConnections() method on the Manager object.
7557 introspection/nm-manager.xml
7558 - (connection_get_settings_cb): keep connection type around too
7559 - (impl_manager_get_active_connections, add_one_connection_element):
7560 implement; returns all active connections and what devices they
7563 * libnm-glib/nm-client.c
7564 libnm-glib/nm-client.h
7565 introspection/nm-manager-client.xml
7566 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7567 by the caller; free here to avoid memory leak
7568 - (nm_client_get_active_connections): implement; return the list of
7570 - (nm_client_free_active_connection_element): implement; free an element
7571 of the GSList returned by nm_client_get_active_connections()
7573 2007-10-03 Dan Williams <dcbw@redhat.com>
7575 * src/nm-device-802-11-wireless.c
7576 - (nm_device_802_11_wireless_update_bssid): remove
7577 - (get_active_ap): new function; find the AP in the scan list which
7578 matches the current BSSID and SSID of the wireless device
7579 - (nm_device_802_11_periodic_update): get current AP using
7580 get_active_ap() and print AP roam messages
7582 2007-10-01 Dan Williams <dcbw@redhat.com>
7584 * libnm-util/nm-setting.h
7585 - Add a 'timestamp' option to NMSettingConnection
7588 * libnm-util/nm-setting.c
7589 - (uint64_to_gvalue): new function
7590 - (nm_setting_populate_from_hash, nm_setting_hash,
7591 default_setting_clear_secrets): handle UINT64 type
7592 - con_table: add 'timestamp' member
7594 2007-10-01 Dan Williams <dcbw@redhat.com>
7597 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7598 value when the connection can be activated immediately
7600 2007-10-01 Dan Williams <dcbw@redhat.com>
7602 * libnm-glib/nm-device.c
7603 - (nm_device_class_init): actually tell glib about the carrier-changed
7606 2007-10-01 Dan Williams <dcbw@redhat.com>
7609 src/marshallers/Makefile.am
7610 src/marshallers/nm-marshal.list
7611 src/marshallers/nm-marshal-main.c
7612 - Consolidate glib marshallers into one place
7614 * src/dhcp-manager/Makefile.am
7615 src/dhcp-manager/nm-dhcp-manager.c
7616 src/supplicant-manager/Makefile.am
7617 src/supplicant-manager/nm-supplicant-manager.c
7618 src/supplicant-manager/nm-supplicant-interface.c
7619 src/ppp-manager/Makefile.am
7620 src/ppp-manager/nm-ppp-manager.c
7621 src/vpn-manager/Makefile.am
7622 src/vpn-manager/nm-vpn-connection.c
7624 - Use consolidated marshallers
7626 * src/dhcp-manager/nm-dhcp-marshal.list
7627 src/dhcp-manager/nm-dhcp-marshal-main.c
7628 src/supplicant-manager/nm-supplicant-marshal-main.c
7629 src/supplicant-manager/nm-supplicant-marshal.list
7630 src/nm-marshal-main.c
7632 src/ppp-manager/nm-ppp-marshal-main.c
7633 src/ppp-manager/nm-ppp-marshal.list
7634 src/vpn-manager/nm-vpn-marshal-main.c
7635 src/vpn-manager/nm-vpn-marshal.list
7638 2007-10-01 Dan Williams <dcbw@redhat.com>
7640 * include/NetworkManagerVPN.h
7641 - define VPN connection state change reason codes
7643 * src/vpn-manager/Makefile.am
7644 src/vpn-manager/nm-vpn-marshal.list
7645 src/vpn-manager/nm-vpn-marshal-main.c
7646 - Add marshallers for StateChanged signal
7648 * introspection/nm-vpn-connection.xml
7649 - New Banner property
7650 - StateChanged signal now includes a 'reason' argument
7652 * src/vpn-manager/nm-vpn-connection.c
7653 src/vpn-manager/nm-vpn-connection.h
7654 - Add a "Banner" property that contains the returned VPN server login
7655 banner (if any); valid only in the ACTIVATED state
7656 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7657 a 'reason' argument and emits that reason along with the
7658 state-changed signal
7659 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7660 - (nm_vpn_connection_ip4_config_get): save banner for later
7661 - (nm_vpn_connection_get_banner, get_property,
7662 nm_vpn_connection_class_init): implement Banner property
7664 * src/vpn-manager/nm-vpn-service.c
7665 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7666 connection list because elements may get added/removed from it
7667 while iterating over the list
7668 - (connection_state_changed): signal now includes the 'reason' argument
7670 * libnm-glib/nm-vpn-connection.c
7671 libnm-glib/nm-vpn-connection.h
7672 - (nm_vpn_connection_get_banner): new function
7673 - (state_changed_proxy): handle reason argument
7675 2007-09-28 Tambet Ingo <tambet@gmail.com>
7679 Implement device activation through NMManager.
7680 Implement "pending device activation" here - If the connection isn't found,
7681 we try to wait for up to 5 seconds for the connection to be provided.
7682 Add NMConnectionType argument to "connection-added" and "connection-removed"
7684 (nm_manager_get): Remove. Finally.
7686 * src/nm-activation-request.c:
7687 * src/nm-activation-request.h:
7688 Remove all the deferred activation code.
7690 * src/nm-device.c: Remove all the deferred activation code. Once the device
7691 activation is started, it's started. Update the activation virtual function
7694 * src/nm-device-interface.c:
7695 * src/nm-device-interface.h:
7696 Device activation now takes only NMActRequest argument.
7697 Don't expose device activation directly on dbus, it's supposed to go through
7700 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
7702 Use the new device activation methods through NMManager.
7704 * introspection/nm-manager-client.xml:
7705 * introspection/nm-manager.xml:
7706 * libnm-glib/nm-client.c:
7707 * libnm-glib/nm-client.h:
7708 Add device activation method.
7710 * libnm-glib/nm-device.c:
7711 * libnm-glib/nm-device.h:
7712 * introspection/nm-device.xml:
7713 Remove device activation method. It's done through NMManager now.
7715 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
7716 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
7718 2007-09-28 Dan Williams <dcbw@redhat.com>
7720 * libnm-glib/nm-vpn-connection.c
7721 - (nm_vpn_connection_get_state): try to update state if the current
7724 2007-09-27 Dan Williams <dcbw@redhat.com>
7726 Patch from Bill Nottingham
7728 * src/supplicant-manager/nm-supplicant-config.c
7729 - (ADD_STRING_VAL): use correct length for binary blobs when sending
7730 data to the supplicant
7732 2007-09-27 Dan Williams <dcbw@redhat.com>
7734 * src/NetworkManagerSystem.c
7735 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
7736 and all address manipulation here should be happening on the
7737 _VPN_ device, not the active device
7739 2007-09-26 Dan Williams <dcbw@redhat.com>
7743 src/nm-activation-request.c
7744 src/nm-activation-request.h
7745 - Move the GetSecrets stuff out of the NMManager instance because it
7746 doesn't really need to be there and complicates things
7749 - (connection_secrets_failed_cb, device_activation_go): connect to the
7750 connection-secrets-failed signal and deactivate the device if
7751 the GetSecrets call fails
7753 * src/nm-device-802-11-wireless.c
7754 - (link_timeout_cb, supplicant_connection_timeout_cb,
7755 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
7756 secrets and give correct hints about whether new secrets should be
7757 asked for by the client or not
7759 2007-09-26 Dan Williams <dcbw@redhat.com>
7761 * src/vpn-manager/nm-vpn-connection.c
7762 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
7763 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
7764 to the secrets-updated signal of the NMConnection since updating
7765 the secrets is done within the scope of the NMVPNConnection object
7767 - (get_connection_secrets): fix an uninialized variable usage error
7769 2007-09-26 Dan Williams <dcbw@redhat.com>
7771 * libnm-util/nm-setting.c
7772 - (setting_vpn_properties_update_secrets): implement so VPN secrets
7773 actually get updated when the user enters them
7775 2007-09-26 Dan Williams <dcbw@redhat.com>
7777 * libnm-glib/nm-vpn-plugin.c
7778 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
7780 2007-09-26 Dan Williams <dcbw@redhat.com>
7782 * include/NetworkManagerVPN.h
7783 - Add a NEED_AUTH state
7785 * src/vpn-manager/nm-vpn-connection.c
7786 - Implement the NEED_AUTH state. First ask the VPN service plugin if
7787 the connection needs secrets, and if so, then ask the settings
7788 service to fill in the secrets. Then start the connection.
7790 2007-09-26 Dan Williams <dcbw@redhat.com>
7792 * src/vpn-manager/nm-vpn-manager.c
7793 - (new_vpn_error, impl_vpn_manager_connect): set errors
7795 2007-09-26 Dan Williams <dcbw@redhat.com>
7797 * introspection/nm-vpn-plugin.xml
7798 libnm-glib/nm-vpn-plugin.c
7799 libnm-glib/nm-vpn-plugin.h
7800 - (impl_vpn_plugin_need_secrets): implement a call that should return
7801 the name of the NMSetting in an NMConnection that may require
7802 secrets specific to that VPN plugin
7804 2007-09-26 Dan Williams <dcbw@redhat.com>
7808 - (nm_manager_get_connection_secrets): make static, unused outside
7810 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
7812 2007-09-26 Tambet Ingo <tambet@gmail.com>
7814 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
7816 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
7817 unreference the connection.
7819 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
7820 passing properties hash and routes string list, pass NMConnection (in hashed form).
7822 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
7823 as GSList, no need to copy stuff around anymore.
7824 (nm_vpn_connection_activate): Update the plugin activation method.
7826 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
7827 routes argument to GSList.
7829 2007-09-26 Tambet Ingo <tambet@gmail.com>
7831 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
7832 state and try to get the secrets.
7834 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
7835 connections from NMManager and let the device to choose the best from the list.
7836 Since the connection list is sorted by system ones first and user ones later,
7837 the devices still prefer system connections like they did before.
7838 (deactivate_old_device): Implement. When a device starts activation, we have a
7839 policy (for now at least) to deactivate any other device that might be either
7840 active or still activating.
7842 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
7843 It's set on construction, there will be no other way to access it.
7845 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
7846 device events and drive the device, not the other way around.
7848 * src/nm-device-802-3-ethernet.c: Ditto.
7850 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
7851 sent along, pass it on to virtual functions.
7853 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
7854 for now, but should really be public instead of nm_device_get_iface() since iface
7855 is a property of the DeviceInterface, not Device.
7856 (impl_device_activate): Don't touch NMManager!
7858 2007-09-26 Jürg Billeter <j@bitron.ch>
7860 * initscript/paldo/NetworkManager.in:
7861 * initscript/paldo/NetworkManagerDispatcher.in:
7862 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
7863 (nm_system_flush_loopback_routes): update paldo backend
7865 2007-09-26 Tambet Ingo <tambet@gmail.com>
7867 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
7868 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
7869 which means none of the devices get brought down properly, which in turn leaves
7870 DHCP client running.
7872 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
7873 (supplicant_connection_timeout_cb): Ditto.
7875 2007-09-25 Dan Williams <dcbw@redhat.com>
7878 - (device_activation_go): small hack to work around race when
7879 activating deferred connections; should solve this in a better way
7881 2007-09-25 Dan Williams <dcbw@redhat.com>
7883 * introspection/nm-device.xml
7884 libnm-glib/nm-device.c
7885 libnm-glib/nm-device.h
7886 - Add 'Carrier' property to exported NMDevice objects
7888 * src/nm-device-interface.h
7889 src/nm-device-interface.c
7891 - Add a 'carrier' property to internal NMDevice objects
7893 2007-09-25 Dan Williams <dcbw@redhat.com>
7895 * src/nm-device-802-11-wireless.c
7896 - (ap_auth_enforced): also return the encryption status of the AP so
7897 that callers can differentiate easily between unencrypted APs
7898 and encrypted ones, in addition to whether the AP has an
7900 - (link_timeout_cb, supplicant_connection_timeout_cb,
7901 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
7902 previously would request secrets from unencrypted APs at times
7904 2007-09-25 Dan Williams <dcbw@redhat.com>
7907 - (nm_manager_update_state): new function; updates state and emits
7908 appropriate signals ensuring a state-change signal for the same state
7909 never gets emitted twice in a row.
7910 - (manager_device_state_changed): handle more device state to get a
7911 better picture of the overall NM state
7913 2007-09-25 Dan Williams <dcbw@redhat.com>
7915 * libnm-glib/nm-settings.c
7916 libnm-glib/nm-settings.h
7917 - (new_error -> nm_settings_new_error): make public so that subclasses
7918 can use the same error domain. Also pass a valid error code to
7919 g_error_new_literal() so that libdbus doesn't assert when converting
7920 the GError into a DBusError
7921 - (impl_settings_list_connections, impl_connection_settings_get_id,
7922 impl_connection_settings_get_settings,
7923 impl_connection_settings_get_secrets): use new error creator
7926 2007-09-25 Dan Williams <dcbw@redhat.com>
7928 * src/NetworkManager.c
7929 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
7931 2007-09-25 Dan Williams <dcbw@redhat.com>
7933 * src/supplicant-manager/nm-supplicant-manager.c
7934 - (poke_supplicant_cb, nm_supplicant_manager_init,
7935 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
7936 nm_supplicant_manager_startup): when the supplicant isn't running,
7937 try to start it periodically via system bus activation. Fixes
7938 a problem where if wpa_supplicant goes away, NM gets stuck waiting
7939 for the supplicant to come back
7941 2007-09-25 Dan Williams <dcbw@redhat.com>
7943 Ensure that old activation requests are forgotten about; previously
7944 hitting Cancel in the password dialog would deactivate whatever device
7945 that password was requested for, even if that wasn't the currently
7946 activating connection.
7950 - (nm_manager_get_connection_secrets): track the pending call
7951 object so it can be canceled later if needed
7952 - (nm_manager_cancel_get_connection_secrets): cancel a pending
7953 GetSecrets call for a particular connection
7955 * src/nm-activation-request.c
7956 - (dispose): cancel any outstanding GetSecrets calls on the
7959 2007-09-25 Dan Williams <dcbw@redhat.com>
7961 * src/NetworkManagerPolicy.c
7962 - (nm_policy_device_change_check): handle devices that have a
7963 deferred activation. These devices are not really active _yet_,
7964 but need to be treated as such here. Don't interrupt them
7967 * src/nm-device-interface.c
7968 - (impl_device_activate): handle devices that have a deferred activation
7969 like activating or active devices. When multiple active devices
7970 get committed, the device shouldn't be deactivated until the
7971 connection details are available to avoid DoS and such. Currently,
7972 any active, activating, or deferred activation device is deactivated
7973 here before starting the new activation request.
7975 2007-09-25 Dan Williams <dcbw@redhat.com>
7977 Properly re-query secrets from the settings daemon when stuff fails.
7979 * src/nm-device-802-11-wireless.c
7980 - (ap_auth_enforced): handle static WEP correctly here by differentiating
7981 between Shared Key and Open System auth modes
7982 - (link_timeout_cb, supplicant_connection_timeout_cb,
7983 real_act_stage4_ip_config_timeout): clear existing secrets and
7984 request new ones when something fails due to a suspected wrong key
7985 - (real_act_stage2_config): fix for new request_new argument to
7986 nm_manager_get_connection_secrets()
7990 - (nm_manager_get_connection_secrets): return error status; pass
7991 new request_new argument on to the settings daemon
7993 * introspection/nm-settings-connection.xml
7994 - New 'request_new' argument to the GetSecrets call that hints to the
7995 settings daemon to ask the user for completely new secrets
7997 * libnm-glib/nm-settings.c
7998 libnm-glib/nm-settings.h
7999 - (impl_connection_settings_get_secrets): handle new 'request_new'
8002 2007-09-25 Dan Williams <dcbw@redhat.com>
8004 * libnm-util/nm-connection.c
8005 libnm-util/nm-connection.h
8006 - (nm_connection_clear_secrets): new function; clear secrets out of
8007 each NMSetting in an NMConnection
8009 * libnm-util/nm-setting.h
8010 libnm-util/nm-setting.c
8011 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
8012 secrets out of an NMSetting
8013 - (nm_setting_connection_new, nm_setting_ip4_config_new,
8014 nm_setting_wired_new, nm_setting_wireless_new,
8015 nm_setting_wireless_security_new, nm_setting_ppp_new,
8016 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8017 to default handler default_setting_clear_secrets()
8019 2007-09-25 Dan Williams <dcbw@redhat.com>
8021 * src/nm-activation-request.c
8022 src/nm-activation-request.h
8023 - (nm_act_request_is_deferred): new function
8025 2007-09-24 Dan Williams <dcbw@redhat.com>
8027 * src/nm-device-802-11-wireless.c
8028 - (activation_success_handler): update signal strength immediately
8031 2007-09-24 Dan Williams <dcbw@redhat.com>
8033 * libnm-util/nm-setting.c
8034 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8036 2007-09-24 Dan Williams <dcbw@redhat.com>
8038 * src/NetworkManagerPolicy.c
8039 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8040 device by deactivating it because it doesn't have a "best connection".
8041 Since autoconnect=False connections aren't automatically chosen,
8042 NM would interrupt activation of such a connection because it
8043 would never be "best" due to autoconnect=False.
8045 2007-09-24 Dan Williams <dcbw@redhat.com>
8048 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8049 actually has some time to enter a key before the GetSecrets call
8052 2007-09-24 Dan Williams <dcbw@redhat.com>
8054 * introspection/nm-manager.xml
8056 - (impl_manager_legacy_state): fix 'state' method call return value
8058 2007-09-24 Matthias Clasen <mclasen@redhat.com>
8060 * test/Makefile.am: Install nm-tool
8062 2007-09-24 Dan Williams <dcbw@redhat.com>
8064 Patch from Ross Burton <ross@burtonini.com>
8067 callouts/nm-dhcp-client-action.c
8069 src/vpn-manager/nm-vpn-connection.c
8070 libnm-glib/libnm-glib-test.c
8073 2007-09-24 Dan Williams <dcbw@redhat.com>
8075 * libnm-util/nm-utils.h
8076 libnm-util/nm-utils.c
8077 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8080 2007-09-23 Dan Williams <dcbw@redhat.com>
8082 * vpn-daemons/vpnc/properties/nm-vpnc.c
8083 - Update for new VPN properties API bits; instead of passing around
8084 a lot of random things, everything goes into the NMConnection
8087 2007-09-23 Dan Williams <dcbw@redhat.com>
8089 * libnm-util/nm-setting.c
8090 - Correctly dispose of settings objects if creating them from a hash
8093 2007-09-23 Dan Williams <dcbw@redhat.com>
8095 * libnm-util/nm-setting.c
8096 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8097 the hash table in a standard manner. Clients of libnm-util should
8098 only call g_hash_table_remove_all(), never destroy the hash table
8101 2007-09-22 Dan Williams <dcbw@redhat.com>
8103 * src/nm-device-802-11-wireless.c
8104 - (real_bring_up): update signal strength every 6 seconds, not 2. No
8105 real reason to do it so often, and reduces wakeups for clients.
8107 2007-09-21 Dan Williams <dcbw@redhat.com>
8109 * src/nm-device-802-11-wireless.c
8110 - (build_supplicant_config): wpa_supplicant requires the option
8111 key_mgmt=NONE for unencrypted networks
8112 - (real_act_stage2_config): clarify log message on activation
8114 2007-09-21 Dan Williams <dcbw@redhat.com>
8116 * test/nm-supplicant-test.c
8118 - Remove supplicant test binary; no longer applicable
8120 2007-09-21 Dan Williams <dcbw@redhat.com>
8122 * src/supplicant-manager/nm-supplicant-manager.c
8123 - (nm_supplicant_manager_init): poke the supplicant at startup to
8124 activate it on the system bus
8126 2007-09-20 Dan Williams <dcbw@redhat.com>
8128 * initscript/RedHat/NetworkManager.in
8129 - dhcdbd is no longer used, so don't try to start it from the initscripts
8131 2007-09-20 Dan Williams <dcbw@redhat.com>
8134 - (nm_device_is_activating): work around a race between auto-activation
8135 and the user activating the same device that is being auto-activated
8137 2007-09-20 Dan Williams <dcbw@redhat.com>
8139 * src/nm-device-interface.c
8140 - (impl_device_activate): until multiple active device support lands,
8141 ensure only one device can be active at a time
8143 2007-09-20 Dan Williams <dcbw@redhat.com>
8145 * src/supplicant-manager/nm-supplicant-config.c
8146 src/supplicant-manager/nm-supplicant-config.h
8147 - (nm_supplicant_config_add_option): hide secrets from system logs
8149 2007-09-20 Dan Williams <dcbw@redhat.com>
8151 * src/NetworkManagerPolicy.c
8152 - (nm_policy_device_change_check): re-enable the wireless device change
8153 checking code; insted of checking for SSIDs, check for the same
8156 2007-09-20 Dan Williams <dcbw@redhat.com>
8158 * src/nm-device-802-11-wireless.c
8159 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8160 composite link state when determining when to start the disconnection
8161 timer; that link state is already based on the supplicant interface's
8162 status which is exactly what's already being examined, plus the link
8163 state is a conglomeration of various things that we don't want here
8165 2007-09-20 Dan Williams <dcbw@redhat.com>
8167 * libnm-glib/nm-access-point.c
8168 - (handle_property_changed): strength is a UCHAR
8170 2007-09-20 Dan Williams <dcbw@redhat.com>
8172 * src/supplicant-manager/nm-supplicant-config.c
8173 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8174 string list keywords too since that's what wpa_supplicant wants
8176 2007-09-20 Dan Williams <dcbw@redhat.com>
8178 * libnm-util/nm-setting.c
8179 - (convert_strv_to_slist): dupe the values in the list because since
8180 the list is a boxed value, it'll get destroyed when it's container
8181 (like a hash table or whatever) gets destroyed
8183 2007-09-20 Tambet Ingo <tambet@gmail.com>
8185 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8188 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8190 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8191 just use (g_object_set_data_full).
8193 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8194 that NMSettingVPN->routes is a GSList, convert it to char **.
8195 (nm_vpn_connection_ip4_config_get): Free routes when done.
8196 (nm_vpn_connection_activate): Ditto.
8198 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8199 (real_act_stage2_config): Use defined setting names.
8201 2007-09-20 Dan Williams <dcbw@redhat.com>
8203 * src/nm-device-802-11-wireless.c
8206 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8207 so that the device can be deactivated if secrets are wrong
8209 2007-09-20 Dan Williams <dcbw@redhat.com>
8211 * introspection/nm-settings-connection.xml
8212 libnm-glib/nm-settings.c
8213 libnm-glib/nm-settings.h
8214 - Make GetSecrets asynchronous on the server side
8216 2007-09-20 Dan Williams <dcbw@redhat.com>
8220 - (nm_device_activate): actually check if a given connection
8221 exists before assuming it doesn't
8223 2007-09-20 Tambet Ingo <tambet@gmail.com>
8225 * libnm-util/nm-connection.c (register_default_creators): Use defined
8226 setting names. Register NMSettingVPN and NMSettingVPNProperties.
8228 * libnm-util/nm-setting.c: Define property name strings, use them.
8229 Implement NMSettingVPN and NMSettingVPNProperties settings.
8230 Implement NM_S_TYPE_GVALUE_HASH.
8231 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8232 (setting_connection_verify): Rename 'devtype' property to 'type'.
8234 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8237 * src/vpn-manager/nm-vpn-service.c: Ditto.
8239 * src/vpn-manager/nm-vpn-connection.c: Ditto.
8241 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8242 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8244 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8245 names. NMSettingConnection->devtype got renamed to 'type'.
8247 * src/nm-device-802-3-ethernet.c (find_best_connection):
8248 (real_get_best_connection): Ditto.
8250 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8252 * libnm-glib/nm-vpn-manager.[ch]: Update.
8254 2007-09-19 Dan Williams <dcbw@redhat.com>
8256 * src/NetworkManagerAP.c
8257 src/NetworkManagerAP.h
8258 introspection/nm-access-point.xml
8259 - Change strength-changed signal into a properties-changed signal
8260 for all properties, not just strength. Export that signal over dbus
8261 so listeners don't have to poll NM for changes.
8262 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8263 get exported over D-Bus, so break up the logic and let other bits
8264 decided when to export the AP
8265 - (nm_ap_new_from_ap): remove, unused
8267 * src/nm-device-802-11-wireless.c
8268 - (merge_scanned_ap): only export APs that are actually on the device
8269 list, not every AP created internally
8271 * libnm-glib/nm-access-point.c
8272 libnm-glib/nm-access-point.h
8273 - Cache properties internally and only hit DBus when needed. Get
8274 property updates from NM signals
8276 2007-09-16 Dan Williams <dcbw@redhat.com>
8278 * libnm-util/nm-connection.c
8279 libnm-util/nm-connection.h
8280 - (nm_connection_for_each_setting_value): new function; iterate over
8281 each setting's value and call a user-provided function with details
8284 * libnm-util/nm-setting.c
8285 libnm-util/nm-setting.h
8286 - (nm_setting_enumerate_values): new function; enumerate the values
8287 of a specific NMSetting subclass for a user-provided function with
8288 details about that value
8289 - Change wep_tx_keyidx to a uint32
8290 - Create settings value tables for each setting defining their type,
8291 key name, offset into the NMSetting subclass' structure, and whether
8292 they are required and/or a secret
8293 - (nm_setting_populate_from_hash): generic function to populate an
8294 NMSetting from a GHash table, make all settings use it
8295 - (nm_setting_hash): generic function to derive a GHashTable from
8296 an NMSetting object, make all settings use it
8298 2007-09-14 Dan Williams <dcbw@redhat.com>
8300 Remove unused stuff in libnm-util
8303 libnm-util/Makefile.am
8304 libnm-util/cipher-private.h
8305 libnm-util/cipher-wep-ascii.c
8306 libnm-util/cipher-wep-ascii.h
8307 libnm-util/cipher-wep-hex.c
8308 libnm-util/cipher-wep-hex.h
8309 libnm-util/cipher-wep-passphrase.c
8310 libnm-util/cipher-wep-passphrase.h
8311 libnm-util/cipher-wpa-psk-hex.c
8312 libnm-util/cipher-wpa-psk-hex.h
8313 libnm-util/cipher-wpa-psk-passphrase.c
8314 libnm-util/cipher-wpa-psk-passphrase.h
8317 libnm-util/dbus-helpers.c
8318 libnm-util/dbus-helpers.h
8319 libnm-util/gnome-keyring-md5.c
8320 libnm-util/gnome-keyring-md5.h
8323 src/nm-device-802-11-wireless.c
8324 test/libnm-util/Makefile.am
8325 test/libnm-util/test-ciphers.c
8326 test/libnm-util/test-dbus-helpers.c
8327 test/libnm-util/test-inputs.h
8330 2007-09-14 Dan Williams <dcbw@redhat.com>
8332 * libnm-util/dbus-method-dispatcher.c
8333 libnm-util/dbus-method-dispatcher.h
8336 2007-09-14 Dan Williams <dcbw@redhat.com>
8338 Implement deferred activation support in the device class.
8340 * src/nm-device-interface.c
8341 src/nm-device-interface.h
8342 - (nm_device_interface_activate): take more arguments to support
8343 deferred activation; callers must pass one of (connection) OR
8344 (service_name, connection_path)
8345 - (impl_device_activate): connection validation is punted to the device
8346 to be able to handle deferred activation. Yes, this means errors
8347 don't get returned from the Activate() dbus call, and yes, that
8348 should be fixed somehow later.
8352 - (clear_act_request): clear additional deferred activation stuff too
8353 - (deferred_activation_timeout_cb): new function; clean up when
8354 deferred activation times out.
8355 - (deferred_activation_start_cb): new function; when the connection
8356 finally becomes available, start device activation
8357 - (nm_device_activate): attach to the right signals of the activation
8358 request if we need to defer activation until the connection is valid
8360 * src/NetworkManagerPolicy.c
8361 - (nm_policy_device_change_check): update for additional arguments
8362 required for nm_device_interface_activate(). Pass NULL for these
8363 though because this function already knows exactly which
8366 2007-09-14 Dan Williams <dcbw@redhat.com>
8368 Implement deferred activation handling in the NMActRequest class. When a
8369 client wants to activate a device but must create the NMConnection details
8370 on the fly, there likely hasn't been enough time yet for NM to receive the
8371 new connection signal and grab all the connection details. So the
8372 activation is deferred (and bounded by a timer) for a while, and if the
8373 connection appears within the window, it is activated.
8375 * src/nm-activation-request.c
8376 src/nm-activation-request.h
8377 - (nm_act_request_class_init): two new signals to support deferred
8378 activation, to allow the listener to handle both timeout and success
8379 - (nm_act_request_new_deferred): new function, starts the deferred
8380 activation timeout handler and listens to the NMManager for
8381 new-connection signals to notice when the connection comes in
8383 2007-09-14 Dan Williams <dcbw@redhat.com>
8387 - (nm_manager_get_connection_service_name,
8388 nm_manager_get_connection_dbus_path): get details about a connection
8389 known internally by the NMManager
8390 - (nm_manager_class_init): fix connection add/remove signal marshalers
8391 because NMConnection is now a GObject subclass
8392 - Use constant for the gobject data tag used on NMConnection objects for
8393 storing the associated DBusGProxy
8395 2007-09-14 Dan Williams <dcbw@redhat.com>
8400 src/supplicant-manager/Makefile.am
8401 src/dhcp-manager/Makefile.am
8402 src/backends/Makefile.am
8403 src/named-manager/Makefile.am
8404 src/ppp-manager/Makefile.am
8405 src/vpn-manager/Makefile.am
8406 test/libnm-util/Makefile.am
8407 test/test-common/Makefile.am
8408 - Remove utils/; it was unused
8410 2007-09-13 Dan Williams <dcbw@redhat.com>
8412 * libnm-glib/nm-vpn-manager.h
8413 libnm-glib/nm-vpn-manager.c
8414 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8416 2007-09-13 Dan Williams <dcbw@redhat.com>
8418 * src/nm-device-802-3-ethernet.c
8419 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8420 netlink monitor carrier signals on dispose, not bring down. The
8421 carrier signals should be handled over the entire lifetime of the
8422 device anyway, not created/destroyed on up or down.
8424 2007-09-13 Dan Williams <dcbw@redhat.com>
8426 * libnm-glib/nm-device.c
8427 libnm-glib/nm-device.h
8428 - (nm_device_activate): take a connection object path rather than an
8429 NMConnection because NMConnection isn't exported over D-Bus and
8430 therefore it dbus-glib can't automatically get an object path from it
8432 2007-09-13 Dan Williams <dcbw@redhat.com>
8434 * libnm-util/nm-setting.c
8435 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8437 2007-09-13 Tambet Ingo <tambet@gmail.com>
8439 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8441 2007-09-12 Tambet Ingo <tambet@gmail.com>
8443 * src/vpn-manager/nm-vpn-connection.[ch]:
8444 * src/vpn-manager/nm-vpn-manager.[ch]:
8445 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
8446 dbus-glib, GObjects, signals etc.
8448 * libnm-glib/nm-vpn-manager.[ch]:
8449 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8450 so much, rewrite these too.
8452 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8453 the new introspection files.
8455 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8457 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8458 the header with the same name from libnm-utils.
8460 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8462 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8464 * introspection/nm-vpn-plugin.xml: Implement.
8466 * introspection/nm-vpn-connection.xml: Implement.
8468 * introspection/nm-vpn-manager.xml: Implement.
8470 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8471 the named manager argument, it can just as easily get it as the caller.
8472 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8474 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8476 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8478 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8481 * libnm-util/nm-connection.c: Ditto.
8483 * src/NetworkManagerMain.h: Remove, it's finally empty.
8485 * configure.in: Remove utils/ from build.
8487 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8488 of hard-coded strings.
8490 * utils/: Move it over to libnm-util.
8492 * test/Makefile.am: Link against libnm-util now that util/ is gone.
8494 * dispatcher-daemon/Makefile.am: Ditto.
8496 * src/Makefile.am: Ditto.
8498 2007-09-12 Dan Williams <dcbw@redhat.com>
8500 Wireless connections can be made with config data from the applet now.
8504 * src/supplicant-manager/nm-supplicant-config.h
8505 src/supplicant-manager/nm-supplicant-config.c
8506 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8507 - (nm_supplicant_config_add_setting_wireless,
8508 nm_supplicant_config_add_setting_wireless_security): new functions;
8509 add key/value pairs from the settings objects to the supplicant
8512 * src/nm-device-802-11-wireless.c
8513 - (cull_scan_list): fix check to not prune currently associated AP
8514 - (build_supplicant_config, real_act_stage2_config): call the functions
8515 of the NMSupplicantConfig that parse settings objects rather than
8516 doing it manually here
8518 2007-09-12 Dan Williams <dcbw@redhat.com>
8520 * src/supplicant-manager/nm-supplicant-interface.c
8521 src/supplicant-manager/nm-supplicant-marshal.list
8522 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8523 "connection-error" signal arguments should be STRING not CHAR
8525 2007-09-12 Dan Williams <dcbw@redhat.com>
8527 * src/NetworkManagerUtils.c
8528 src/NetworkManagerUtils.h
8529 - (nm_utils_hexstr2bin): new function
8531 2007-09-11 Dan Williams <dcbw@redhat.com>
8534 - (connection_get_settings_cb): emit connection-added signal
8535 - (connection_removed_cb): uncomment bits for system settings service,
8536 send connection-removed when appropriate
8537 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8538 the stack by trying to g_object_set_data() on something that's
8539 not a GObject; handle case where settings service returns
8540 empty settings hash table
8542 2007-09-11 Dan Williams <dcbw@redhat.com>
8544 * src/NetworkManagerPolicy.c
8545 - (connection_added, connection_removed): trigger device change checks
8546 on connection changes
8548 2007-09-11 Dan Williams <dcbw@redhat.com>
8550 * src/nm-activation-request.c
8551 - (connection_secrets_updated_cb): fix c&p error in signal emission
8553 2007-09-11 Dan Williams <dcbw@redhat.com>
8555 * src/nm-device-802-11-wireless.c
8556 - (real_connection_secrets_updated): fix erroneous check
8558 2007-09-11 Dan Williams <dcbw@redhat.com>
8560 * introspection/nm-device.xml
8561 libnm-glib/nm-device.c
8562 libnm-glib/nm-device.c
8563 - Fix Activate call argument borkage; Activate takes 3 arguments
8565 2007-09-11 Dan Williams <dcbw@redhat.com>
8567 * libnm-glib/nm-access-point.c
8568 libnm-glib/nm-access-point.c
8569 - (nm_access_point_get_frequency): now returns guint32 to match
8570 property change on 2007-09-10
8572 2007-09-11 Dan Williams <dcbw@redhat.com>
8574 * src/nm-device-802-11-wireless.c
8575 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8576 somewhere defines 'index' and I missed this one when I fixed the
8577 shadow declaration errors earlier
8579 2007-09-11 Dan Williams <dcbw@redhat.com>
8581 * libnm-util/nm-connection.c
8582 - (nm_connection_update_secrets, need_secrets_check): move
8583 802-11-wireless-security need_secrets checks to the setting object
8584 itself, where it belongs
8586 * libnm-util/nm-setting.c
8587 libnm-util/nm-setting.h
8588 - (nm_setting_need_secrets): new function
8589 - (setting_wireless_security_verify,
8590 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8591 - (setting_wireless_security_need_secrets): mostly copy code over
8592 from nm-connection.c
8594 2007-09-11 Dan Williams <dcbw@redhat.com>
8596 * libnm-util/nm-setting.c
8597 libnm-util/nm-setting.h
8598 - (nm_setting_update_secrets): new function; add a virtual function that
8599 subclasses can implement to update their secrets
8600 - (setting_wireless_security_update_secrets): implement that function
8601 for the 802-11-wireless-security subclass
8603 * libnm-util/nm-connection.c
8604 libnm-util/nm-connection.h
8605 - (nm_connection_update_secrets): update secrets for a Setting and
8606 emit a signal on success
8611 - (connection_get_settings_cb): enable system settings bits
8612 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8613 to request secrets from the settings dbus service and to
8614 push those secrets to the NMConnection itself
8616 * src/nm-activation-request.c
8617 src/nm-activation-request.h
8618 - Attach to the 'secrets-updated' signal of the NMConnection that's
8619 currently being activated, and proxy that signal to other listeners.
8620 Goes through the activation request because the activation request
8621 is the thing that manages the lifetime of the NMConnection that's
8624 * src/nm-device-802-11-wireless.c
8625 - (real_connection_secrets_updated): implement the connection secrets
8626 updated notification and restart activation when secrets are
8628 - (real_act_stage2_config): request secrets from the settings dbus
8629 service if secrets are needed
8633 - (clear_act_request, nm_device_activation_cancel,
8634 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8635 where the activation request is cleared
8636 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8637 updated secrets signal of activation request and add a function
8638 that subclasses can override to handle it easily
8640 2007-09-11 Tambet Ingo <tambet@gmail.com>
8642 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8643 removal of NetworkManagerAPList.
8645 2007-09-10 Dan Williams <dcbw@redhat.com>
8647 * src/NetworkManagerAP.c
8648 src/NetworkManagerAP.h
8649 introspection/nm-access-point.xml
8650 - Change 'freq' property to a guint32 instead of a double since we
8651 weren't using the floating point bits anyway
8653 2007-09-10 Dan Williams <dcbw@redhat.com>
8655 * NetworkManagerAP.c
8657 NetworkManagerPolicy.c
8658 NetworkManagerSystem.c
8659 NetworkManagerUtils.c
8660 NetworkManagerUtils.h
8661 nm-device-802-11-wireless.c
8662 nm-device-802-3-ethernet.c
8665 vpn-manager/nm-dbus-vpn.c
8666 - Warning fixes; casts and removal of unused variables
8668 2007-09-10 Dan Williams <dcbw@redhat.com>
8670 * include/NetworkManager.h
8671 - Kill NMNetworkType; AP types don't matter any more
8673 * src/NetworkManagerAPList.c
8674 src/NetworkManagerAPList.h
8676 - Kill; NMAccessPointList has outlived it's usefulness
8678 * src/NetworkManagerAP.c
8679 src/NetworkManagerAP.h
8680 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8681 functions; check if an NMConnection object is compatible with the
8683 - (freq_to_channel, channel_to_freq): utility functions for
8684 channel <-> frequency conversion
8688 - (nm_device_get_best_connection): pass the specific object around
8689 (which might be the object path of a specific AP to connect to).
8690 The get_best_connection() call should populate this on return
8691 if needed (wireless does).
8693 * src/nm-device-802-3-ethernet.c
8694 - (real_get_best_connection): handle specific_object argument
8696 * src/NetworkManager.c
8697 src/NetworkManagerMain.h
8698 - Remove unused includes
8700 * src/nm-device-802-11-wireless.c
8701 src/nm-device-802-11-wireless.h
8702 - Convert the ap_list into a GSList from an NMAccessPointList
8703 - No need for caching the 'activation_ap' since this is now determined
8704 from the specific_object of the activation request, which is
8705 populated from the get_best_connection() call or from a user request
8706 - (nm_device_802_11_wireless_update_bssid): fix warning
8707 - (get_wireless_capabilities): fix error message format arguments
8708 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
8709 - (find_best_connection, real_get_best_connection): implement
8710 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
8711 move here from NetworkManagerAPList
8712 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
8713 - (real_act_stage1_prepare): just ensure an AP exists, connection is
8714 already verified earlier
8715 - (real_act_stage2_config): use nm_connection_need_secrets()
8717 * src/NetworkManagerPolicy.c
8718 - (nm_policy_auto_get_best_device): handle specific objects
8719 - (create_connection): remove; automatic connection creation functionality
8720 is handled by the Connection objects
8721 - (nm_policy_device_change_check): handle specific_object
8723 * libnm-util/nm-connection.c
8724 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
8726 2007-09-10 Dan Williams <dcbw@redhat.com>
8729 - (query_connections): fix uninitialized variable problem that caused
8731 - (nm_manager_add_device): take devices down on startup so that we can
8732 be assured that nm_device_is_up() won't short-circuit the init
8733 process. Hack until the is_up check gets split into two pieces
8734 that aren't behaviorally confusing.
8736 2007-09-09 Dan Williams <dcbw@redhat.com>
8738 * introspection/nm-device.xml
8739 - The 'Activate' method now takes 3 arguments, a service name for the
8740 settings service (user or system), the object path of the connection
8741 to activate, and the specific object to activate, if any
8743 * src/nm-device-interface.c
8744 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
8746 - (impl_device_activate): adapt to new Activate arguments; validate
8747 the service name and get the Connection object from the NMManager
8748 before starting to activate the device with the specified connection
8750 * src/nm-device-802-3-ethernet.c
8751 - (real_get_best_connection): find the best connection, or create a
8752 default one if no existing connections can be used
8754 * src/NetworkManagerPolicy.c
8755 - (nm_policy_auto_get_best_device): Get the device's best connection
8756 and only pick the device if it has one
8757 - (nm_policy_device_change_check): disable wireless bits for now until
8758 wireless get_best_connection() can be implemented (replacing "best_ap");
8759 don't create a default connection here as the device subclass will do
8764 - (nm_manager_get): make NMManager a singleton and expose the getter
8766 - Rework internal NMManager connection handling to use the same
8767 routines for both the system and user settings services. Most calls
8768 take a new NMConnectionType argument specifying either system or user
8770 - (nm_manager_get_connection_by_object_path): new function; get a
8771 connection keyed on its object path
8773 * src/NetworkManager.c
8774 - (main): use nm_manager_get()
8776 2007-09-09 Dan Williams <dcbw@redhat.com>
8780 - (nm_device_get_best_connection): new function; get best connection
8781 for the device at that time
8783 2007-09-09 Dan Williams <dcbw@redhat.com>
8785 * src/nm-device-interface.h
8786 - Add NMDeviceInterfaceError with an UnknownConnection error
8788 2007-09-09 Dan Williams <dcbw@redhat.com>
8790 Stupid mistake on my part; object path and interface for settings service
8791 and connection objects can be the same, only the service name must be
8792 different for the system and user settings services.
8794 * include/NetworkManager.h
8796 introspection/nm-settings-connection.xml
8797 introspection/nm-settings.xml
8798 libnm-glib/nm-settings.c
8799 - (nm_connection_settings_init, query_user_connections,
8800 new_connection_cb): Unify NetworkManagerSettings and Connection
8801 interface name and object path
8803 2007-09-06 Dan Williams <dcbw@redhat.com>
8805 * libnm-glib/nm-object.c
8806 - (nm_object_get_string_property, nm_object_get_object_path_property,
8807 nm_object_get_int_property, nm_object_get_uint_property,
8808 nm_object_get_boolean_property, nm_object_get_byte_property,
8809 nm_object_get_double_property, nm_object_get_byte_array_property):
8810 clear GValues after copying their contents, fixes memory leaks
8811 after every property access because dbus-glib copies the values
8812 from the DBusMessage into the GValue already.
8814 2007-09-06 Dan Williams <dcbw@redhat.com>
8816 * introspection/nm-access-point.xml
8817 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
8818 them to be. There's some magic property name parsing going on in
8819 dbus-glib that breaks up property names based on studly-caps and
8820 puts - between words.
8822 * libnm-glib/nm-access-point.c
8823 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
8826 2007-09-06 Dan Williams <dcbw@redhat.com>
8829 - (nm_manager_user_connections_destroy): clear the user connections hash
8830 table, don't destroy it
8831 - (finalize): only destroy the hash table on NMManager finalization
8833 2007-09-02 Dan Williams <dcbw@redhat.com>
8835 * include/NetworkManager.h
8836 libnm-glib/nm-settings.c
8837 - defines for the user settings daemon D-Bus bits
8839 * src/NetworkManager.c
8840 - Remove stuff that referred to the old NetworkManagerInfo service
8842 * src/vpn-manager/nm-dbus-vpn.h
8843 - Move old NMI defines to the only place they are used still
8845 * libnm-util/nm-connection.c
8846 libnm-util/nm-connection.h
8847 src/nm-activation-request.c
8848 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
8852 - Get connections and their settings from the user settings daemon
8853 at the appropriate times
8855 2007-09-02 Dan Williams <dcbw@redhat.com>
8857 * libnm-util/nm-setting.c
8858 - (nm_settings_verify): correct setting name is 'connection', not 'info'
8859 - (setting_wireless_hash): set the right value on the item
8861 2007-09-02 Dan Williams <dcbw@redhat.com>
8865 - Remove, no longer useful
8867 2007-08-30 Dan Williams <dcbw@redhat.com>
8870 src/NetworkManagerDbus.c
8871 src/NetworkManagerDbus.h
8872 src/vpn-manager/nm-dbus-vpn.c
8873 - Remove, no longer necessary. Move last bits to the only place its
8874 used, in nm-dbus-vpn.c
8876 * src/NetworkManagerAPList.c
8878 src/NetworkManager.c
8879 src/nm-device-802-11-wireless.c
8880 src/vpn-manager/nm-vpn-manager.c
8881 src/vpn-manager/nm-vpn-service.c
8882 src/NetworkManagerPolicy.c
8884 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
8885 that was message_is_error()
8887 2007-08-30 Dan Williams <dcbw@redhat.com>
8890 - Include config.h to get defines for endiannes (gnome.org #420216)
8892 2007-08-30 Dan Williams <dcbw@redhat.com>
8894 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
8896 * src/ppp-manager/Makefile.am
8897 - use -fPIC (gnome.org #471825)
8899 2007-08-29 Dan Williams <dcbw@redhat.com>
8901 * include/NetworkManager.h
8902 - Keep NMConnection object path in sync
8904 * libnm-glib/nm-settings.c
8905 libnm-glib/nm-settings.h
8906 - Break D-Bus object registration out of the init function, because
8907 every object that's exported over D-Bus needs to use the _same_
8908 DBusConnection. Otherwise, each object would get a different object
8909 path tree and wouldn't be callable.
8911 2007-08-29 Dan Williams <dcbw@redhat.com>
8913 * libnm-util/nm-setting.h
8914 libnm-util/nm-setting.c
8915 libnm-util/nm-connection.c
8916 src/NetworkManagerPolicy.c
8917 - 'info' settings object should be 'connection' says the spec
8918 at NetworkManagerConfigurationSpecification
8920 2007-08-29 Dan Williams <dcbw@redhat.com>
8922 * libnm-glib/nm-settings.c
8923 libnm-glib/nm-settings.h
8924 - make the dbus path a property of the object, and autogenerate it.
8925 It can't be composed of the 'id' field becuase that's not available
8926 yet during the GObject creation in nm_connection_settings_init()
8928 2007-08-29 Dan Williams <dcbw@redhat.com>
8930 * introspection/nm-settings-connection.xml
8931 introspection/nm-settings.xml
8932 - Service name -> NetworkManagerUserSettings because two services
8933 can't share part of the same path. I'm not really sure how we'll use
8934 the same code with the system-settings daemon...
8936 2007-08-28 Dan Williams <dcbw@redhat.com>
8938 * src/nm-device-interface.c
8939 src/nm-device-interface.h
8940 - Kill one more bit of NMData
8942 2007-08-28 Dan Williams <dcbw@redhat.com>
8944 * src/NetworkManagerSystem.h
8947 src/nm-hal-manager.c
8948 src/NetworkManager.c
8949 src/nm-device-802-11-wireless.c
8950 src/nm-hal-manager.h
8951 src/nm-device-802-3-ethernet.c
8952 src/vpn-manager/nm-vpn-service.h
8953 src/vpn-manager/nm-vpn-manager.c
8954 src/vpn-manager/nm-vpn-manager.h
8955 src/vpn-manager/nm-vpn-service.c
8956 src/nm-device-802-11-wireless.h
8957 src/NetworkManagerMain.h
8958 src/nm-device-802-3-ethernet.h
8959 src/backends/NetworkManagerGentoo.c
8960 src/backends/NetworkManagerPaldo.c
8961 src/backends/NetworkManagerFrugalware.c
8962 src/backends/NetworkManagerRedHat.c
8963 src/backends/NetworkManagerSlackware.c
8964 src/backends/NetworkManagerGeneric.c
8965 src/backends/NetworkManagerArch.c
8966 src/backends/NetworkManagerSuSE.c
8967 src/backends/NetworkManagerGeneric.h
8968 src/backends/NetworkManagerDebian.c
8971 2007-08-28 Dan Williams <dcbw@redhat.com>
8973 * src/NetworkManagerMain.h
8974 src/nm-device-802-11-wireless.c
8975 src/NetworkManager.c
8976 - Remove invalid AP list from NMData; need to rework this somewhat, but
8977 for now we should set the 'invalid' property on individual APs, and when
8978 we need to invalidate a whole ESS, set the 'invalid' on every member of
8981 2007-08-28 Dan Williams <dcbw@redhat.com>
8983 * src/NetworkManagerAP.c
8984 src/NetworkManagerAP.h
8985 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
8986 'autoconnect' property instead
8988 * src/NetworkManager.c
8989 src/NetworkManagerMain.h
8990 src/NetworkManagerPolicy.c
8991 src/NetworkManagerPolicy.h
8992 - Remove the 'allowed_ap_list', which should be replaced by
8993 NMConnection/NMSettings instead, since _those_ are the allowed
8994 things that NM can connect to
8996 * src/nm-device-802-11-wireless.c
8997 - Remove both allowed_ap_list usage and 'fallback' checking
8999 2007-08-28 Dan Williams <dcbw@redhat.com>
9002 src/named-manager/nm-named-manager.c
9003 src/named-manager/nm-named-manager.h
9004 src/NetworkManager.c
9005 src/vpn-manager/nm-vpn-manager.c
9006 src/NetworkManagerMain.h
9007 src/NetworkManagerSystem.c
9008 - Remove the named-manager object from NMData structure in preparation
9009 for NMData's timely death. Make the NMNamedManager the singleton that
9012 2007-08-28 Dan Williams <dcbw@redhat.com>
9014 Remove NMAPSecurity objects, they are replaced with flags on the APs for
9015 each AP's capabilities, and by NMConnection/NMSettings objects for user
9016 defined connections.
9018 * include/NetworkManager.h
9019 - Redefine 802.11 security properties. There are now device capabilities
9020 and AP flags and AP security flags. It was way to unclear before.
9023 src/nm-ap-security-leap.h
9024 src/nm-ap-security-leap.c
9025 src/nm-ap-security-wpa-eap.c
9026 src/nm-ap-security-wpa-eap.h
9027 src/nm-ap-security-private.h
9028 src/nm-ap-security-wpa-psk.c
9029 src/nm-ap-security-wpa-psk.h
9030 src/nm-ap-security-wep.c
9031 src/nm-ap-security-wep.h
9032 src/nm-ap-security.c
9033 src/nm-ap-security.h
9034 - Removed, to be replaced with NMConnection/NMSettings objects
9038 - Removed, to be replaced by code that talks to the new info daemon
9039 interface and gets NMConnection/NMSettings objects
9041 * src/backends/NetworkManagerSuSE.c
9042 - Remove usage of NMAPSecurity; should be replaced by a system-level
9043 info-daemon that does the same thing but talks the new info-daemon
9046 * src/NetworkManagerAP.h
9047 src/NetworkManagerAP.c
9048 src/NetworkManagerAPList.c
9049 libnm-glib/libnm-glib-test.c
9050 - Remove usage of NMAPSecurity objects and adjust to new flags for
9053 * libnm-glib/nm-access-point.c
9054 libnm-glib/nm-access-point.h
9055 introspection/nm-access-point.xml
9057 - Adjust to new flags for AP security
9061 src/vpn-manager/nm-dbus-vpn.c
9062 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9063 stuff which is the only place it's used
9065 * src/nm-device-interface.c
9066 src/nm-device-interface.h
9067 introspection/nm-device.xml
9068 src/nm-activation-request.c
9069 src/nm-activation-request.h
9071 - Add a new 'specific_object' argument that hints to NM what actual
9072 AP or other device-specific thing the connection should apply to.
9073 NMConnection objects can apply to more than one actual device/AP.
9075 * libnm-util/nm-connection.c
9076 * libnm-util/nm-connection.h
9077 - Add 'have_secrets" call stubs
9079 * libnm-util/cipher.h
9080 - Move NM_AUTH_TYPE_* defines here for now
9082 * src/nm-device-802-11-wireless.c
9083 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9086 * src/NetworkManagerDbus.c
9087 * src/NetworkManagerPolicy.c
9088 - Remove usage of update_allowed_networks, should be pushing data in
9091 2007-08-27 Tambet Ingo <tambet@gmail.com>
9093 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
9094 dbus-glib frees it when the call is done.
9096 2007-08-26 Dan Williams <dcbw@redhat.com>
9098 * introspection/nm-device.xml
9099 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9101 2007-08-26 Dan Williams <dcbw@redhat.com>
9103 * src/nm-device-802-3-ethernet.c
9104 - (constructor): move connection of interface-connected/disconnected
9105 signals here from real_bring_up(). Should be listening to netlink
9106 for carrier events no matter what the initial state of the device
9109 2007-08-26 Dan Williams <dcbw@redhat.com>
9111 * src/nm-netlink-monitor.c
9112 - (nm_netlink_monitor_class_init): fix marshalling types for
9113 interface-connected/interface-disconnected
9114 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9117 2007-08-26 Dan Williams <dcbw@redhat.com>
9119 Convert to using interface indexes as the primary method of identifying
9120 devices inside NetworkManager. Indexes are (?) stable, but devices can
9121 be renamed at any time. Device object paths now refer to the device
9122 index rather than the name, and you can map those two manually if you like
9123 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
9124 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9125 to use interface indexes rather than names.
9127 2007-08-26 Dan Williams <dcbw@redhat.com>
9129 * src/nm-netlink-monitor.h
9130 - Remove one last bit of wireless-event signal
9132 2007-08-26 Dan Williams <dcbw@redhat.com>
9134 * src/nm-netlink-monitor.c
9135 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9136 don't need the 'wireless-event' signal anymore since that's all
9137 handled by wpa_supplicant
9139 2007-08-25 Dan Williams <dcbw@redhat.com>
9141 It's 2007. Remove support for drivers that don't support wireless scanning.
9144 include/NetworkManager.h
9145 src/NetworkManagerUtils.c
9146 src/NetworkManagerPolicy.c
9147 src/nm-device-802-11-wireless.c
9148 - Remove special handling for non-scanning devices and mark them
9149 as unsupported/unhandled
9151 2007-08-20 Dan Williams <dcbw@redhat.com>
9153 * src/nm-device-802-11-wireless.c
9154 src/nm-device-802-3-ethernet.c
9155 - (real_is_up): move device-specific tests before generic IFF_UP test,
9156 because when the card is pulled or the module removed, the device
9157 is already !IFF_UP and then device-specific cleanup (removing
9158 the supplicant interface, periodic checks, etc) never gets done
9160 2007-08-20 Dan Williams <dcbw@redhat.com>
9163 - (nm_manager_remove_device): bring device down before disconnecting
9164 signal handlers, so that the 'state' signal will get broadcast when
9165 the device enters the DOWN state
9166 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9167 of states that cause the NMManager to recheck its state
9169 2007-08-20 Dan Williams <dcbw@redhat.com>
9171 * src/supplicant-manager/nm-supplicant-interface.c
9172 - (interface_disconnect_done): don't try to dispose of the net proxy
9173 when it may already have been disposed of
9175 2007-08-20 Dan Williams <dcbw@redhat.com>
9177 * src/nm-device-802-11-wireless.c
9178 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9179 the SSID isn't available; this can happen when the card is pulled
9180 or the module unloaded, during the post-removal deactivation
9181 paths, when the ioctl returns ENODEV
9183 2007-08-20 Dan Williams <dcbw@redhat.com>
9185 * src/nm-device-802-11-wireless.c
9186 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9187 frequency, and mode match. Applets are now responsible for grouping
9190 2007-08-20 Dan Williams <dcbw@redhat.com>
9192 * src/NetworkManagerAP.c
9193 * src/NetworkManagerAP.h
9194 - (nm_ap_print_self): new function
9196 * src/NetworkManagerAPList.c
9197 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9200 2007-08-17 Dan Williams <dcbw@redhat.com>
9202 * src/nm-device-802-3-ethernet.c
9203 - (real_bring_down): don't try to dispose of stuff that might not
9206 2007-08-17 Dan Williams <dcbw@redhat.com>
9208 * src/NetworkManagerAP.c
9209 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9210 applet. This ensures that the case between the seen-bssids and
9211 the bssids reported by the driver match.
9213 2007-08-17 Dan Williams <dcbw@redhat.com>
9215 * src/nm-device-802-11-wireless.c
9216 - (device_cleanup): disconnect the interface in wpa_supplicant before
9217 we dispose of the interface proxy in NM
9219 2007-08-16 Dan Williams <dcbw@redhat.com>
9221 * libnm-glib/nm-client.c
9222 - (nm_client_init): create VPN connections hash table with key free
9224 - (proxy_vpn_connection_added): VPN connections hash table key should
9225 be a duplicated value, not the same memory address as the VPN
9226 connection name. This is because the VPN connection name could
9227 potentially be freed and set to something else during the lifetime
9228 of the NMVPNConnection object.
9230 2007-08-16 Tambet Ingo <tambet@gmail.com>
9232 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9233 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9234 with the file descriptors. Send a child setup function to change the pppd
9237 2007-08-15 Dan Williams <dcbw@redhat.com>
9239 * src/supplicant-manager/nm-supplicant-interface.c
9240 - (try_remove_iface): new function, ask wpa_supplicant to remove
9242 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9243 disposing of the NMSupplicantInterface. Otherwise weird stuff
9244 happens on hotplug if wpa_supplicant doesn't tear down and readd
9245 the interface internally
9247 2007-08-15 Dan Williams <dcbw@redhat.com>
9249 * src/nm-device-802-11-wireless.c
9250 - (real_bring_down): move most of this function into device_cleanup()
9251 so that it can be called from elsewhere
9252 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9253 and stuff on dispose. These would normally get cleaned up when
9254 the device is marked down and deactivated, but when the device is
9255 hot-unplugged, it's already down and real_down() never gets run
9257 2007-08-15 Dan Williams <dcbw@redhat.com>
9260 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9261 caused a reference leak on device for which NM requested a key
9263 2007-08-15 Dan Williams <dcbw@redhat.com>
9265 * libnm-glib/nm-client.c
9266 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9268 2007-08-15 Tambet Ingo <tambet@gmail.com>
9270 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9271 nothing is using it at the moment, but it'll be all useful and stuff later on.
9273 * libnm-util/nm-setting.h: Define NMSettingPPP.
9275 * libnm-util/nm-setting.c: Implement NMSettingPPP.
9277 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9279 * src/Makefile.am: Add ppp-manager to SUBDIRS.
9281 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9283 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9285 2007-08-14 Tambet Ingo <tambet@gmail.com>
9287 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9289 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9290 an issue with dbus-glib bindings generator. The issue is, the generated C caller
9291 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9292 name and different arguments and it won't compile anymore. To fix this, we now have
9293 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9294 that is new API + compatibility API and used by the daemon. The other,
9295 nm-manager-client.xml is only the new API without compatibility bits and is used
9296 by libnm-glib to make it compile.
9298 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9300 * src/nm-manager.c (impl_manager_legacy_sleep)
9301 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9302 interface functions for 0.6 branch.
9304 2007-08-14 Dan Williams <dcbw@redhat.com>
9306 * src/NetworkManagerAP.c
9307 - (nm_ap_new_from_properties): fix mistaken check of return value
9308 from memcmp (should expect 0)
9310 2007-08-14 Dan Williams <dcbw@redhat.com>
9312 (force-commit to fix wrong comment and partial commit of r2685; this
9313 commit actually applies to r2685)
9315 * src/NetworkManagerUtils.c
9316 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9317 ignores trailing nulls in the SSID to work around mismatches in
9318 expectations between WEXT and what the info-daemon passes back. The
9319 info-daemon would pass back the correct length, but due to the
9320 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9321 the device would always have an SSID + 1 depending on what versions
9322 of wpa_supplicant, the kernel, and NM you have. This was most often
9323 visible by just quitting the applet and relaunching, which caused
9324 NM to reassociated to the same network over again when reloading
9327 * src/NetworkManagerPolicy.c
9328 src/NetworkManagerUtils.h
9329 src/nm-device-802-11-wireless.c
9330 - Update for new parameter to nm_utils_same_ssid()
9332 2007-08-14 Dan Williams <dcbw@redhat.com>
9334 * src/NetworkManagerAP.c
9335 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
9336 I encountered a BSS that wasn't just hiding it's ESSID, it was
9337 setting the BSSID to all 0s. That confused the heck out of NM,
9338 plus it's useless and probably out-of-spec.
9340 2007-08-14 Dan Williams <dcbw@redhat.com>
9342 * callouts/Makefile.am
9343 src/dhcp-manager/nm-dhcp-manager.c
9344 src/dhcp-manager/nm-dhcp-manager.h
9345 src/dhcp-manager/Makefile.am
9346 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9348 2007-08-14 Dan Williams <dcbw@redhat.com>
9350 * src/dhcp-manager/nm-dhcp-manager.c
9351 - (dhclient_run): don't pass -x to dhclient until we figure out if
9352 it's really needed, get rid of unused xtra_args parameter
9354 2007-08-14 Dan Williams <dcbw@redhat.com>
9356 * include/NetworkManagerVPN.h
9357 src/vpn-manager/nm-dbus-vpn.c
9358 src/vpn-manager/nm-dbus-vpn.h
9359 src/vpn-manager/nm-vpn-act-request.c
9360 src/vpn-manager/nm-vpn-act-request.h
9361 src/vpn-manager/nm-vpn-service.c
9362 src/vpn-manager/nm-vpn-service.h
9363 libnm-glib/nm-vpn-connection.c
9364 libnm-glib/nm-vpn-connection.h
9365 libnm-glib/nm-client.h
9366 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
9367 NMVPNServiceState to clarify what they apply to
9368 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9369 NMVPNActStage -> NMVPNConnectionState for the same reason
9371 * libnm-glib/nm-client.c
9372 - Constant + type renames from above
9373 - Properly handle NameOwnerChanged/manager_running signals
9374 for NM service; only emit when state really changes
9375 - Use hash tables correctly so that the key (which was previously owned
9376 by the D-Bus message) now has the same lifetime as the value, since
9377 the key is now taken from the the NMVPNConnection itself. This
9378 really fixes the double-VPN names in the applet
9380 2007-08-13 Dan Williams <dcbw@redhat.com>
9382 Patch from Michael Biebl <biebl@debian.org>
9386 - Update for vpn-properties move
9388 2007-08-13 Dan Williams <dcbw@redhat.com>
9390 * libnm-glib/nm-client.c
9391 - Convert internal VPN connection tracking from a list to a hash table
9392 to easily avoid duplicates
9393 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9394 must be freed by the caller, like nm_client_get_devices()
9395 - (nm_client_remove_vpn_connection): don't let the removal signal
9396 leak through for NMVPNConnection objects that aren't actually
9398 - (manager_running): throw away VPN connection list when NM goes away,
9399 like with the device list
9401 2007-08-13 Dan Williams <dcbw@redhat.com>
9403 * src/dhcp-manager/nm-dhcp-manager.c
9404 - Stop any dhclient instance that might be already running for a
9405 particular interface before starting an NM spawned dhclient. Fixes
9406 dhclient processes left over if NM crashes, stuff like that.
9408 2007-08-13 Dan Williams <dcbw@redhat.com>
9410 * src/NetworkManagerAP.c
9411 - (finalize): don't try to g_array_free (NULL, ...), which happened
9412 when the AP wasn't broadcasting it's SSID
9414 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
9416 * include/NetworkManager.h: added DBus path for connection settings.
9418 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9419 nm_connection_settings_signal_updated,
9420 nm_connection_settings_signal_removed): new functions to wrap the
9422 (nm_connection_settings_init): register GObject with DBus.
9423 (nm_connection_settings_get_dbus_object_path): new function.
9425 * libnm-glib/Makefile.am: added libnmutil to link flags.
9427 2007-08-13 Tambet Ingo <tambet@gmail.com>
9429 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9431 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9432 libnm_glib directory got merged with libnm-glib/.
9434 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9436 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9437 Rename the library from libnm-glib to libnm_glib to maintain the library API
9438 compatibility with 0.6 branch.
9440 * Makefile.am: Remove gnome/ SUBDIR.
9442 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9444 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9446 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9448 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9450 Remove checks for wpa_supplicant binary, it's used over dbus.
9451 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9453 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9454 Link the binaries with libnm_glib.la.
9456 2007-08-12 Dan Williams <dcbw@redhat.com>
9458 * src/NetworkManagerPolicy.c
9459 - (nm_policy_device_change_check): fix policy to deactivate old device
9460 before activating new one, at least until the multiple active
9461 device support lands
9463 2007-08-12 Dan Williams <dcbw@redhat.com>
9465 * src/NetworkManagerPolicy.c
9466 - (nm_policy_new): hook up to connection-added / connection-removed
9467 signals instead of connections-changed
9469 2007-08-12 Dan Williams <dcbw@redhat.com>
9471 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
9472 Robert Frank <rfrank@redhat.com>
9474 * src/dhcp-manager/nm-dhcp-manager.c
9475 src/dhcp-manager/nm-dhcp-manager.c
9477 - Spawn and communicate with dhclient directly, through means of a
9478 custom dhclient callout script. Process callout D-Bus signals
9479 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
9480 sent via gobject signals rather than being driven by the dhcp manager
9483 2007-08-12 Dan Williams <dcbw@redhat.com>
9485 * callouts/nm-dhcp-client-action.c
9486 - (build_message): ignore non-DHCP-related environment variables
9488 2007-08-12 Dan Williams <dcbw@redhat.com>
9492 callouts/Makefile.am
9493 callouts/nm-dhcp-client-action.c
9494 callouts/nm-dhcp-client.conf
9495 - Add dhclient-executed callout that takes the place of dhclient-script
9496 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9499 2007-08-09 Tambet Ingo <tambet@gmail.com>
9501 [Based on patch by Helmut Schaa <hschaa@suse.de>]
9503 * libnm-glib/nm-client.h:
9504 * libnm-glib/nm-object.h:
9505 * libnm-glib/nm-vpn-connection.h:
9506 * libnm-glib/nm-settings.h:
9507 * libnm-glib/nm-device.h:
9508 * libnm-glib/nm-ip4-config.h:
9509 * libnm-glib/nm-access-point.h:
9510 * libnm-glib/nm-device-802-3-ethernet.h:
9511 * libnm-util/nm-setting.h:
9512 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9514 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9516 * libnm-glib/nm-access-point.c: Strength has type char.
9518 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9519 to fix build. GnomeDruid is deprecated in recent libgnomeui.
9521 * introspection/nm-access-point.xml: Strength property is char, not int.
9523 * src/NetworkManagerAP.c (set_property): Set strength from char.
9524 (get_property): Handle hidden APs (with empty SSID).
9525 Get strength value from char.
9526 (nm_ap_class_init): Strength property has char type.
9528 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
9530 * introspection/Makefile.am:
9531 * introspection/nm-settings.xml:
9532 * introspection/nm-settings-connection.xml: added Settings interfaces.
9534 * libnm-glib/nm-settings.[ch]:
9535 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9536 containing the DBus implementation.
9538 2007-07-26 Dan Williams <dcbw@redhat.com>
9540 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9542 * src/NetworkManagerSystem.c
9543 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9544 same subnet (#437396)
9546 2007-07-26 Dan Williams <dcbw@redhat.com>
9548 Patch from Kelemen Gábor <kelemeng@gnome.hu>
9550 * gnome/vpn-properties/nm-vpn-properties.c
9551 - Fix translatable strings (#445865)
9553 2007-07-26 Dan Williams <dcbw@redhat.com>
9555 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9558 - Remove useless junk (#412530)
9560 2007-07-10 Christopher Aillon <caillon@redhat.com>
9562 Patch from Robert Buchholz <rbu@gentoo.org>:
9566 * introspection/Makefile.am:
9567 Make make distcheck work again.
9569 2007-06-27 Dan Williams <dcbw@redhat.com>
9571 * Make SSIDs GByteArrays everywhere
9572 * Rename "essid" -> "ssid" everywhere that's appropriate
9573 * Refcount activation_ap member of the 802.11 wireless device class
9575 2007-06-27 Tambet Ingo <tambet@ximian.com>
9577 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9579 2007-06-22 Tambet Ingo <tambet@ximian.com>
9581 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9582 that we got a new AP when we just update existing AP properties.
9584 2007-06-21 Tambet Ingo <tambet@ximian.com>
9586 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9588 * nm-utils.[ch]: Remove.
9590 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9591 objects for easy property access and dbus connection handling.
9593 * libnm-glib/nm-client.c: Derive from NMObject.
9595 * libnm-glib/nm-device.c: Ditto.
9597 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9599 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9601 * libnm-glib/nm-ip4-config.c: Ditto.
9603 * libnm-glib/nm-access-point.c: Ditto.
9605 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9606 comparision. Currently used by the device activation code to determine if the new
9607 activation is the same as the old one.
9609 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9610 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9611 able to ask password for the AP.
9613 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9614 up if the device is already connected, tear down it's connection (if it isn't the
9615 same as new one) and start the activation.
9617 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9619 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9620 the issue where all APs are always listed as encrypted.
9622 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9623 their own registered paths.
9625 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9626 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9628 2007-06-13 Tambet Ingo <tambet@ximian.com>
9630 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9633 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9634 because the handling code will cause the next state change and signal listeners
9635 get the signals in wrong order.
9637 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9638 correctly in case of pending activation.
9640 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9641 Convert the essid byte array to string correctly, including the terminating NULL.
9643 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9644 mode with correct types.
9646 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9647 constructed info to dbus call instead of the activation request.
9649 2007-06-11 Christopher Aillon <caillon@redhat.com>
9651 Patch from Christian Persch <chpe@gnome.org>
9653 * libnm-glib/Makefile.am:
9654 * dispatcher-daemon/Makefile.am:
9655 Use the correct variables, the correct paths, and correct ordering. (446315)
9657 2007-06-11 Tambet Ingo <tambet@ximian.com>
9659 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9660 argument. The activation request is easy to retrieve.
9662 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9663 just to be a convenient location for devices to store random stuff.
9665 2007-06-11 Christopher Aillon <caillon@redhat.com>
9667 Patch from Alex Smith <alex@alex-smith.me.uk>
9669 * src/backends/NetworkManagerFrugalware.c:
9670 Update the FrugalWare backend to fix a few segfaults. (#392642)
9672 2007-06-08 Tambet Ingo <tambet@ximian.com>
9674 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9676 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9678 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9680 2007-06-06 Tambet Ingo <tambet@ximian.com>
9682 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9684 Implement NMSettingIP4Config.
9685 Finish NMSettingWired by adding all known members.
9686 (setting_wired_verify): Implement.
9687 Finish NMSettingWireless by adding all known members.
9688 (setting_wireless_verify): Implement.
9690 * libnm-util/nm-connection.c: Register "ipv4" setting.
9691 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9692 dump function, we can introspect the GHashTable which is used for sending connections
9695 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9696 Take GByteArray for essid, it's really not a string.
9698 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9699 Start DHCP request if setting is not passed or if it states that DHCP should be used.
9700 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9701 means overriding the values we got from DHCP.
9702 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
9703 (nm_device_deactivate_quickly): Ditto.
9705 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
9708 2007-05-07 Tambet Ingo <tambet@ximian.com>
9710 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
9713 * libnm-glib/nm-device-802-11-wireless.c:
9714 (nm_device_802_3_ethernet_activate): Remove.
9716 * libnm-glib/nm-device-802-3-ethernet.c
9717 (nm_device_802_3_ethernet_activate): Remove.
9719 * libnm-glib/nm-device.c (nm_device_activate): Implement.
9721 * src/nm-device-802-3-ethernet.c: Implement the new activation using
9724 * src/nm-device-802-11-wireless.c: Store an activation AP once the
9725 activation has started.
9726 Implement the new activation using NMConnection.
9728 * src/nm-activation-request.c: Store a generic connection object instead
9729 of a wireless-specific AP.
9731 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
9732 on device type, create a device specific connection object suitable for
9735 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
9736 specific check to validate the connection and on success start the
9739 * src/nm-device-interface.h: Add a activate virtual function to the
9740 interface definition.
9742 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
9743 (impl_device_activate): Implement.
9745 * introspection/nm-device.xml: Add a generic device activation interface
9746 that accepts an abstract NMConnection structure that has device-specific
9749 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
9750 activation interface.
9752 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
9753 activation interface.
9755 * libnm-util/nm-connection.c:
9756 * libnm-util/nm-connection.h:
9757 * libnm-util/nm-setting.c:
9758 * libnm-util/nm-setting.h: Add.
9760 * libnm-util/Makefile.am: Build the added files.
9762 * src/nm-dbus-manager.c
9763 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
9764 DbusConnection argument from 'name-owner-changed' signal. The manager
9765 is already passed as a first argument to the signal and the connection
9766 is easy enough to get from it.
9768 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
9769 Update the signature of the function.
9771 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
9774 * src/NetworkManager.c: Ditto.
9776 * src/named-manager/nm-named-manager.c
9777 (nm_named_manager_name_owner_changed): Ditto.
9779 * src/supplicant-manager/nm-supplicant-manager.c
9780 (nm_supplicant_manager_name_owner_changed): Ditto.
9782 * src/nm-hal-manager.c (name_owner_changed): Ditto.
9784 * src/dhcp-manager/nm-dhcp-manager.c
9785 (nm_dhcp_manager_name_owner_changed): Ditto.
9787 * src/nm-hal-manager.c: Add a list of device detectors and creators
9788 to make it easier to add new devices. Each device type has it's own
9789 entry in the table so adding new device types is only a matter of
9790 implementing a couple of functions, one for device detection and the
9791 other for device creation.
9793 2007-04-25 Dan Williams <dcbw@redhat.com>
9795 * initscript/RedHat/NetworkManager.in: remove trailing backslash
9798 2007-03-30 Dan Williams <dcbw@redhat.com>
9800 * src/NetworkManagerSystem.c
9801 - (nm_system_device_set_ip4_route): clean up and fix argument
9802 to nm_dev_sock_open()
9804 2007-03-28 Tambet Ingo <tambet@ximian.com>
9806 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
9807 data to correct types instead of always using string.
9809 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
9810 _not_ have NM_802_11_CAP_PROTO_NONE.
9811 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
9814 2007-03-27 Tambet Ingo <tambet@ximian.com>
9816 * libnm-glib/Makefile.am: Fix the build issue.
9818 2007-03-26 Tambet Ingo <tambet@ximian.com>
9820 * libnm-glib/nm-vpn-connection.h:
9821 * libnm-glib/nm-vpn-connection.c: Implement.
9823 * libnm-glib/nm-client.c: Add VPN support.
9825 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
9828 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
9831 2007-03-26 Dan Williams <dcbw@redhat.com>
9833 * src/NetworkManagerAPList.c
9834 * src/nm-device-802-11-wireless.c
9835 * src/NetworkManagerAP.c:
9836 - Store last seen as glong instead of GTimeVal.
9837 - Fix the upper bound of capabilities, it's a bitfield.
9839 2007-03-16 Tambet Ingo <tambet@ximian.com>
9841 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
9843 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
9844 "manager-running" signal that notifies the appearance/disappearance of NM.
9845 (nm_client_sleep): Implement.
9847 * libnm-glib/nm-device.c:
9848 * libnm-glib/nm-device-802-11-wireless.c:
9849 * libnm-glib/nm-device-802-3-ethernet.c:
9851 Don't inherit from DBusGProxy, add a proxy to private
9852 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
9853 for anything but their own dbus interface. DBusGProxy objects support only one
9854 interfaces and to work around this, NMDevice has spearate proxy for each dbus
9855 interface. The nice side effect of this change is that we do not create a new
9856 DBusGProxy object for each property access.
9858 2007-03-15 Tambet Ingo <tambet@ximian.com>
9860 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
9861 with zeroes before passing them to functions - the functions never do that and
9862 reading the values back may produce wrong values.
9863 (real_bring_up): Store the signal handler id ...
9864 (real_bring_down): ... So that it can be removed here.
9865 Disconnect the supplicant interface here as well.
9866 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
9867 from the access point instead of old $device/Networks/$essid.
9869 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
9870 device state is connected (instead of just having link/carrier).
9872 * src/nm-activation-request.c: Don't store NMData in activation request, it's
9873 already easily accessible through the device.
9875 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
9876 store it within the object.
9877 (nm_ap_get_dbus_path): Export it to public as well.
9879 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
9882 2007-03-12 Dan Williams <dcbw@redhat.com>
9884 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
9885 for non-carrier-detect capable devices, and useless for carrier-detect
9886 devices since we get notifications from netlink about carrier status anyway.
9888 * src/nm-device-802-3-ethernet.c
9889 - remove 'link_source_id' member from private data
9890 - (probe_link): remove and collapse into real_update_link()
9891 - (nm_device_802_3_periodic_update): remove
9892 - (real_is_up): check for sup_iface rather than link_source_id
9893 - (real_bring_up): return gboolean for success/fail; require that
9894 sup_iface be valid for device bringup to succeed
9895 - (real_bring_down): zero out link signal ids
9898 - (nm_device_activate_stage2_device_config): fail activation if device
9900 - (real_act_stage4_get_ip4_config): fail activation if device bringup
9902 - (nm_device_bring_up): return success/fail
9905 - bring_up now returns success/fail
9907 * src/nm-device-802-11-wireless.c
9908 - (real_bring_up): return success from bringup
9910 2007-03-07 Dan Williams <dcbw@redhat.com>
9912 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
9913 * src/nm-ap-security-wpa-psk.c
9914 - (real_write_supplicant_config): work with PSKs that may contain
9915 zeros in the binary format rather than treating it as a string
9917 2007-03-02 Tambet Ingo <tambet@ximian.com>
9919 * libnm-glib/nm-device-802-11-wireless.c
9920 (nm_device_802_11_wireless_get_capabilities): Implement.
9922 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
9924 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
9926 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
9927 reply only if it's not NULL. Not sure why this started happening right now.
9929 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
9930 code paths for when devices get removed on shutdown or when a device is just
9932 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
9933 gets freed so any signal from a device (disconnected for instance) would invoke
9934 NMState update which would crash.
9935 (nm_manager_remove_device): Bring the device down when it gets removed.
9937 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
9938 the unused dev_type.
9940 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
9941 reference to the added device, NMManager will own it (if it wants).
9943 * test/nm-tool.c: Rewrite using libnm-glib.
9945 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
9946 We get signalled when it changes.
9948 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
9951 * libnm-glib/nm-device.c: Cache the device state property.
9953 * libnm-glib/nm-access-point.c: Cache the strength property.
9955 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
9956 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
9957 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
9958 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
9959 the device is down, activating, or activated (in case of A/B/G cards).
9960 Remove some old dead ifdef'ed out code that used to configure wireless devices,
9961 it's all done through supplicant now.
9963 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
9964 counting issues with pending calls which caused leaks and crashes when
9965 interface was removed (now that the interface actually gets removed).
9967 * src/nm-call-store.c: Make a copy of data before running a foreach
9968 with user callback on it - The most common usage pattern is to cancel
9969 (and thus remove) all pending calls with foreach which would modify
9970 the hash table we're iterating over.
9972 * src/nm-manager.c: When a device is added, make sure it is "up". When
9973 it's removed or disabled due to disabling wireless or networking, bring
9976 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
9978 * src/nm-device-802-11-wireless.c:
9979 * src/nm-device-802-3-ethernet.c:
9981 - Remove "init" virtual function, all gobjects have a place for that
9982 already (constructor).
9983 - Replace "start" virtual function with "bring_up", devices can be
9984 brought up and down more than just on startup now.
9985 - Add "is_up" virtual function.
9986 - Implement one way to bring a device down instead of previous 4 different
9987 ways, each of witch did something different.
9989 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
9990 all it needs is the device interface.
9992 Get rid of NMData.dev_list (3 members to go).
9993 Get rif of NMData in a lot of places.
9995 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
9997 2007-02-23 Dan Williams <dcbw@redhat.com>
9999 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10001 * src/NetworkManagerAP.c
10002 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10003 OR-ing rather than AND-ing
10005 2007-02-20 Tambet Ingo <tambet@ximian.com>
10007 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10008 "network-removed" signals.
10010 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10012 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10013 when receiving the signal from dbus.
10015 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10018 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10019 deactivation of the previously activated device working again.
10021 * src/nm-activation-request.c: Remove NMActStage property and it's getter
10024 * src/nm-device.c (nm_device_is_activated): Remove.
10025 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10027 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10028 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10029 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10030 NM_DBUS_SIGNAL_STATE_CHANGE signal.
10031 Remove NMNetworkStatus and NMActStage enums.
10033 2007-02-19 Tambet Ingo <tambet@ximian.com>
10035 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10036 Handle device state changes and disconnect VPN if it's device deactivates.
10038 * src/nm-dbus-nm.c:
10039 * src/nm-dbus-nm.h:
10040 * src/nm-dbus-device.c:
10041 * src/nm-dbus-device.c:
10042 * src/nm-dbus-net.c:
10043 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10045 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10047 * src/nm-device.c (nm_device_get_by_udi):
10048 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10049 implemented in the correct location (NMManager).
10050 Rip out all the test_device stuff.
10052 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10053 failure handlers, it's all done by NMDevice already.
10055 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10056 Remove the iochannel hack to route the unix signals to the main thread since
10057 we're not threaded anymore.
10059 * src/NetworkManagerAP.c: Implement HWAddress property.
10061 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10062 automatically with dbus-glib.
10064 * src/nm-netlink-monitor.c:
10065 * src/nm-netlink-monitor.h:
10066 - Move it low in the class hierarchy, don't reference any NM types.
10067 - Remove private data from the header.
10068 - Use type safe checks in public API methods.
10069 - Make it a singleton so we don't have to pass the single reference around.
10071 2007-02-16 Tambet Ingo <tambet@ximian.com>
10073 * introspection/nm-ip4-config.xml: Implement.
10075 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10077 * libnm-glib/nm-ip4-config.c:
10078 * libnm-glib/nm-ip4-config.c: Implement.
10080 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10081 securities. APs reference security.
10083 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10084 be exported over DBUS.
10086 * src/nm-device-802-3-ethernet.c: Ditto.
10088 * src/NetworkManagerAP.c:
10089 * src/NetworkManagerAP.h:
10090 - Convert to GObject, export over DBUS.
10092 * src/nm-ip4-config.h:
10093 * src/nm-ip4-config.h:
10094 - Convert to GObject, export over DBUS.
10096 2007-02-12 Dan Williams <dcbw@redhat.com>
10098 Patch from Helmut Schaa <hschaa@suse.de>
10100 * vpn-daemons/pptp/configure.in
10101 vpn-daemons/pptp/Makefile.am
10102 vpn-daemons/openvpn/configure.in
10103 vpn-daemons/openvpn/Makefile.am
10104 vpn-daemons/vpnc/configure.in
10105 vpn-daemons/vpnc/Makefile.am
10106 - Add --without-gnome switch which disables building gnome bits
10108 2007-02-12 Tambet Ingo <tambet@ximian.com>
10110 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10112 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10114 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10117 * introspection/nm-device.xml: Remove 'UseDhcp' property.
10119 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10121 Totally break NetworkManager. Please use 0.6 branch until futher notice.
10124 - Remove old low-level dbus interface implementations and replace them
10125 with dbus-glib one.
10128 - Require dbus-glib >= 0.72.
10129 - Plug in new sources to build.
10132 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10133 to make it more convenient to use from GObject based programs.
10136 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10138 2007-02-09 Tambet Ingo <tambet@ximian.com>
10140 * src/nm-device-802-11-wireless.c:
10141 - Add "network-added" and "network-removed" signals.
10142 - Use gobject boilerplate macros to define the GObject.
10143 - Implement wireless device activation.
10144 - Remove activation_failure_handler and activation_success_handler
10145 and instead listen on state-changed signals and run the same code
10149 - Implment NMDeviceInterface::deactivate.
10150 - Remove activation_failure_handler and activation_success_handler
10151 virtual methods. Each device which is interested in these events
10152 can just listen on it's state changed signals.
10154 * src/NetworkManagerPolicy.c:
10155 - Move a bit more NMData usage to NMManager.
10156 - Remove activation scheduling bits.
10157 - Add listeners for wireless device's "network-added" and
10158 "network-removed" signals.
10159 - Listen device changed signals and deactivate currently activated
10160 device when another device start activating (for now).
10161 - Remove (nm_policy_schedule_device_change_check): There's never a need
10162 for calling this, the policy code knows exactly when this should happen,
10163 by listening on events from NMManager and NMDevices.
10165 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10168 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10169 method on the specific device instead of going to through policy code
10170 and determining the device type by passed in AP's existance.
10172 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10173 abstract NMDevice deactivation.
10175 2007-02-08 Tambet Ingo <tambet@ximian.com>
10177 * src/NetworkManager.c:
10178 - Set up all the shiny new managers.
10180 * src/NetworkManagerPolicy.c:
10181 - Add the beginnings of new NMPolicy code. Instead of requireing all
10182 classes to call into policy code, make the policy code kind of like
10183 a supervisor that monitors what's going on and drives the whole NM.
10185 * src/nm-hal-manager.c:
10186 * src/nm-hal-manager.h:
10187 - Collect all libhal code scattered around NM to this one class.
10188 - Listen libhal and NMManager events and add/remove devices to
10191 * src/nm-manager.c:
10192 * src/nm-manager.h:
10193 - Implment a replacement for NMData. NMData is now officially
10196 2007-02-05 Tambet Ingo <tambet@ximian.com>
10198 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
10199 * src/supplicant-manager/nm-supplicant-interface.h
10200 * src/supplicant-manager/nm-supplicant-interface.c
10201 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10202 argument to boolean from enum.
10204 Make NMDevice abstract class, remove almost all references to it's
10205 subclasses (the last place gets removed with new policy manager). Add
10206 NMDeviceInterface (which NMDevice implements) so that when we have
10207 NMDevice exported over DBUS, there's a common NMDevice interface which
10208 all instances have, plus there's a device specific interface for each
10210 Remove functions (nm_device_is_802_3_ethernet) and
10211 (nm_device_is_802_11_wireless). There are already standard GObject macros
10212 for type safe checks.
10213 Use the updated supplican manager API.
10215 * src/nm-device-interface.h:
10216 * src/nm-device-interface.c:
10217 * src/nm-call-store.h:
10218 * src/nm-call-store.c: Implement.
10220 * src/supplicant-manager/nm-supplicant-interface.c:
10221 * src/supplicant-manager/nm-supplicant-interface.h:
10222 * src/supplicant-manager/nm-supplicant-manager.c:
10223 * src/supplicant-manager/nm-supplicant-manager.h:
10224 - Remove all private data type references from public header files.
10225 - Remove all references to other NM classes, this class is just a
10226 proxy between wpa_supplicant and NM so it doesn't have to know
10228 - Convert to dbus-glib bindings.
10229 - Type safe checks for public methods' arguments.
10230 - Store pending DBUS call ids to NMCallStore.
10232 * src/supplicant-manager/nm-supplicant-config.c:
10233 - Store config values in a GHashTable instead of GSList.
10235 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10237 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10240 * src/nm-device.c: Use the new DHCP manager API.
10242 * src/nm-activation-request.c:
10243 * src/nm-activation-request.h:
10244 - Remove all dhcp related properties and methods.
10246 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10248 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10250 * src/dhcp-manager/nm-dhcp-manager.c:
10251 * src/dhcp-manager/nm-dhcp-manager.h:
10252 - Convert it to GObject since we need to signal state changes.
10253 - Remove all references to other NM classes, this class is one
10254 of the lowest classes in our hierarchy.
10255 - One less class to use NMActRequest.
10256 - Make it singleton, one less user of NMData.
10257 - Remove a couple of sleep() calls.
10258 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10259 One less class to use the NM's custom tailored signal handlig.
10261 * Makefile.am: Generate marshallers, add them to build.
10263 2007-02-02 Dan Williams <dcbw@redhat.com>
10269 - Remove last bits referencing gnome applet
10271 2007-02-02 Dan Williams <dcbw@redhat.com>
10273 * src/vpn-manager/nm-vpn-service.c
10274 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10275 and NBNS server addresses
10277 2007-02-02 Tambet Ingo <tambet@ximian.com>
10279 * src/nm-dbus-manager.c:
10280 * src/nm-dbus-manager.h:
10281 - Convert all internal DBUS code to use dbus-glib bindings.
10282 - Remove GObject properties, we don't need them here.
10283 - Don't explicitly set things to NULL after freeing, glib is
10284 happy to do it if asked nicely (G_DEBUG=gc-friendly).
10285 - Make public API argument checks type safe.
10286 - Remove unnecessary (and wrong) cast to GObject for the first
10287 argument to g_signal_* calls - The first argument is a gpointer.
10288 - Export DBusGConnection to other cool classes that (are going to)
10291 2007-01-26 Dan Williams <dcbw@redhat.com>
10293 * libnm-util/dbus-dict-helpers.c
10294 libnm-util/dbus-dict-helpers.h
10295 - Coordinate style with wpa_supplicant version to minimize diff
10296 - Add uint32 array support
10297 - (nmu_dbus_dict_append_uint32_array): new function
10298 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10299 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10300 version; allow adding string array elements individually
10302 * test/libnm-util/test-dbus-dict-helpers.c
10303 - Test uint32 arrays
10305 2007-01-27 Jürg Billeter <j@bitron.ch>
10307 * src/backends/NetworkManagerPaldo.c
10308 - (nm_system_update_dns): clear nscd hosts cache
10310 2007-01-04 Dan Williams <dcbw@redhat.com>
10312 Threading removal related cleanups:
10314 - Use the glib default main context. Remove the device main context
10315 member from NMDevice, and the main_context member from NMData. Change
10316 all the idle and timeout scheduler functions to use plain
10317 g_idle_add() and g_timeout_add().
10319 - As a side-effect of the first change, nm_dbus_manager_get() no longer
10320 takes an argument; fix that up too.
10322 - Remove all locking, which is useless since we no longer use threads. For
10323 example, nm_get_device_by_iface_locked() has been removed. The global
10324 device list lock, the AP List lock, and all static locks in
10325 NetworkManagerPolicy.c have been removed. The locking utility functions
10326 in NetworkManagerUtils.c have also been removed.
10328 - Other cleanups in spacing and code style
10330 2007-01-01 Dan Williams <dcbw@redhat.com>
10332 Found by Bill Moss:
10334 * src/supplicant-manager/nm-supplicant-interface.c
10335 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10336 the supplicant interface wasn't already disconnected. Always
10337 call removeNetwork and disconnect unless the supplicant interface
10338 is in the DISCONNECTED or INACTIVE state.
10340 2006-12-28 Dan Williams <dcbw@redhat.com>
10342 Use a single thread for everything. With the move to wpa_supplicant
10343 and communication over D-Bus, there's no reason for multiple threads.
10344 Almost all of the blocking code has been removed, with one exception in
10345 the DHCP manager and a few in the VPN manager. This commit removes the
10346 per-device worker thread and fixes activation cancellation in the absence
10347 of threads. Further removal of thread-related code would be removing
10348 any locking code (like the device list lock) and simplification of logic
10349 around areas of code or data structures that are currently locked.
10352 dhcp-manager/nm-dhcp-manager.c
10353 nm-device-802-11-wireless.c
10354 nm-device-802-3-ethernet.c
10357 - Remove usage of multiple threads
10359 2006-12-19 Dan Williams <dcbw@redhat.com>
10361 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10362 plus a few other patches from wpa_supplicant bugzilla.
10365 src/NetworkManagerPolicy.c
10366 src/NetworkManagerUtils.c
10367 src/NetworkManagerUtils.h
10368 src/nm-ap-security-leap.c
10369 src/nm-ap-security-wep.c
10370 src/nm-ap-security-wpa-eap.c
10371 src/nm-ap-security-wpa-psk.c
10372 src/nm-ap-security.c
10373 src/nm-ap-security.h
10374 src/nm-device-802-11-wireless.c
10375 src/nm-device-802-11-wireless.h
10376 src/supplicant-manager/nm-supplicant-config.c
10377 src/supplicant-manager/nm-supplicant-config.h
10378 src/supplicant-manager/nm-supplicant-interface.c
10379 src/supplicant-manager/nm-supplicant-interface.h
10380 src/supplicant-manager/nm-supplicant-marshal.list
10381 src/supplicant-manager/nm-supplicant-settings-verify.c
10382 src/supplicant-manager/nm-supplicant-settings-verify.h
10383 - Move all connection management and association handling to
10384 wpa_supplicant over dbus, rather than spawning a private copy
10386 2006-12-19 Dan Williams <dcbw@redhat.com>
10388 * src/NetworkManagerPolicy.c
10389 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10390 better locking of the device change check handler ID. Incorrect
10391 locking was causing lost device change requests
10393 2006-12-18 Dan Williams <dcbw@redhat.com>
10395 * libnm-util/dbus-dict-helpers.c
10396 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10397 _nmu_dbus_dict_entry_get_byte_array): replace usage of
10398 dbus_message_iter_get_array_len() (Gnome.org #382898)
10400 2006-12-18 Dan Williams <dcbw@redhat.com>
10402 * gnome/libnm_glib/libnm_glib.c
10403 - Change dbus_connection_close() -> dbus_connection_unref()
10405 2006-12-11 Dan Williams <dcbw@redhat.com>
10407 * src/supplicant-manager/nm-supplicant-interface.c
10408 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10409 wpa_supplicant interface state
10410 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10411 state before transitioning to READY state
10413 2006-12-04 Dan Williams <dcbw@redhat.com>
10415 * src/nm-device-802-11-wireless.c
10416 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10417 odd length of ESSID returned from ieee80211 stack-based drivers
10419 2006-12-04 Dan Williams <dcbw@redhat.com>
10421 * src/nm-device-802-11-wireless.c
10422 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10423 IE handling blocks that cause mis-parsing of the IE
10425 2006-12-04 Dan Williams <dcbw@redhat.com>
10427 * src/nm-device-802-11-wireless.c
10428 - (init_supplicant_interface): new function; pull supplicant interface
10429 setup code out into standalone function since it must be called from
10430 two different places
10431 - (real_init): sup_mgr is now in private object data; get and track
10432 the supplicant manager object over the NMDevice subclass' lifetime
10433 and register a signal handler for its state signals; only try to
10434 initialize the supplicant interface if the supplicant manager is in
10435 the IDLE state (and therefore is ready for requests)
10436 - (request_wireless_scan): reschedule the scan request if (a) there is
10437 no supplicant interface yet (meaning wpa_supplicant isn't running
10438 or isn't ready yet), or (b) if the supplicant interface isn't ready
10440 - (supplicant_iface_connection_state_cb): new function; stub for
10441 handling supplicant interface connection state signals
10442 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10444 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10445 supplicant manager object that's being tracked starting with this
10448 2006-12-04 Dan Williams <dcbw@redhat.com>
10450 * src/supplicant-manager/nm-supplicant-interface.c
10451 - (nm_supplicant_interface_set_property): track signal handler ID
10452 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10454 2006-12-04 Dan Williams <dcbw@redhat.com>
10456 * src/supplicant-manager/nm-supplicant-interface.[ch]
10457 - (nm_supplicant_interface_get_state): new function
10459 2006-12-04 Dan Williams <dcbw@redhat.com>
10461 * src/supplicant-manager/nm-supplicant-interface.c
10462 - (bssid_properties_cb): don't treat DBus errors as valid
10463 scanned AP messages
10465 2006-12-04 Dan Williams <dcbw@redhat.com>
10467 * src/supplicant-manager/nm-supplicant-interface.[ch]
10468 - (nm_supplicant_interface_get_connection_state): new function
10469 - define new supplicant connection states
10470 - send a signal when the supplicant connection state changes
10472 2006-12-03 Dan Williams <dcbw@redhat.com>
10474 * src/supplicant-manager/Makefile.am
10475 src/supplicant-manager/nm-supplicant-connection.h
10476 src/supplicant-manager/nm-supplicant-connection.c
10477 src/supplicant-manager/nm-supplicant-config.h
10478 src/supplicant-manager/nm-supplicant-config.c
10479 src/supplicant-manager/nm-supplicant-types.h
10480 src/supplicant-manager/nm-supplicant-interface.h
10481 src/supplicant-manager/nm-supplicant-interface.c
10482 - Rename NMSupplicantConnection -> NMSupplicantConfig
10484 2006-12-03 Dan Williams <dcbw@redhat.com>
10486 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
10490 - Move VPN-related translatables to .skip
10492 * vpn-daemons/pptp/po/POTFILES.in
10493 - Update with new translatables
10495 2006-12-02 Dan Williams <dcbw@redhat.com>
10497 Patch from Christian Persch <chpe@gnome.org>
10499 * gnome/applet/Makefile.am
10500 gnome/applet/applet-dbus-devices.c
10501 gnome/applet/applet-notifications.c
10502 gnome/applet/applet.c
10503 gnome/applet/applet.h
10504 gnome/applet/main.c
10505 - Be a GtkStatusIcon on GTK+ >= 2.10
10507 2006-12-02 Dan Williams <dcbw@redhat.com>
10509 * gnome/applet/applet.c
10510 - (nma_update_info): fix two unecessary allocations
10512 2006-12-02 Dan Williams <dcbw@redhat.com>
10514 Patch from Michael Biebl <biebl@teco.edu>
10516 man/NetworkManager.1.in
10517 man/NetworkManagerDispatcher.1.in
10518 man/NetworkManager.8.in
10519 man/NetworkManagerDispatcher.8.in
10520 - Add .SH NAME stanzas
10521 - Move NM & NM Dispatcher manpages to section 8 (admin)
10523 2006-12-02 Dan Williams <dcbw@redhat.com>
10525 Patch from Christian Persch <chpe@gnome.org>
10528 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10530 2006-11-29 Tambet Ingo <tambet@ximian.com>
10532 Patch by Timo Hoenig <thoenig@suse.de>:
10533 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10536 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10537 we can't use the one from the main source directory.
10539 2006-11-27 Dan Williams <dcbw@redhat.com>
10541 Patch from Christian Persch <chpe@gnome.org>
10543 * gnome/applet/applet-dbus-devices.c
10544 - (hal_info_product_cb): fix memleak; free duped string.
10547 2006-11-27 Dan Williams <dcbw@redhat.com>
10549 Patch from Christian Persch <chpe@gnome.org>
10551 * gnome/applet/menu-items.c
10552 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10553 as gtk_progress_set_percentage is deprecated. Should
10554 work as far back as GTK+ 2.4. Gnome.org #379780
10556 2006-11-26 Dan Williams <dcbw@redhat.com>
10558 Scan using wpa_supplicant over DBus.
10560 * src/nm-device-802-11-wireless.c
10561 - remove wireless extensions netlink event handler bits
10562 (wireless_event_helper, nm_device_802_11_wireless_event)
10563 - remove wireless extensions scan event handler bits
10564 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10565 hex2byte, hex2num, request_and_convert_scan_results,
10566 free_process_scan_cb_data, scan_results_timeout,
10567 schedule_scan_results_timeout, cancel_scan_results_timeout)
10568 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10569 and request scans from the supplicant interface rather than directly
10570 - Move functionality of convert_scan_results() to cull_scan_list() and
10571 supplicant_iface_scanned_ap_cb()
10572 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10573 at the scan interval when the current scan has finished
10574 - (supplicant_iface_state_cb): start scanning when the supplicant
10575 interface enters the READY state, and stop scanning when it
10576 enters the DOWN state
10577 - (cull_scan_list): weed out old access points from the scan list
10578 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10579 point into an NMAccessPoint and merge it into the device's scan list
10581 * src/supplicant-manager/nm-supplicant-interface.c
10582 src/supplicant-manager/nm-supplicant-interface.h
10583 - Add a new signal "scan-result" which is issued when the supplicant
10584 notifies NM that a scan has completed
10585 - Add a new signal "scanned-ap" that notifies listeners of a new access
10586 point found in the scan. Called once for each access point that
10587 the supplicant interface object receives from the supplicant as a
10588 result of the "scanResults" method call
10589 - (wpas_iface_query_scan_results): don't wait 4s before querying
10590 for the initial scan results
10591 - (scan_request_cb): new function; send listeners the result
10592 (success, error) of a wireless scan request
10593 - (nm_supplicant_interface_request_scan): new function; ask the
10594 supplicant to perform an immediate wireless scan
10596 2006-11-25 Dan Williams <dcbw@redhat.com>
10598 * src/supplicant-manager/Makefile.am
10599 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10600 add HAL cflags/includes and named-manager includes directory
10602 * src/supplicant-manager/nm-supplicant-interface.h
10603 - New state STARTING to handle transition from INIT to READY where
10604 the addInterface pending call is still outstanding
10606 * src/supplicant-manager/nm-supplicant-interface.c
10607 - track pending calls differently since we may have more than one
10608 going on at any given time
10609 - request scan results from wpa_supplicant; but don't do it more often
10610 than every 4 seconds. Drivers that do background scanning
10611 (like the 'ipw' drivers) send a continuous stream of scan completion
10612 notifications, so we don't want to hammer the supplicant or dbus
10613 with requests for all scan results every time we get a completion
10616 2006-11-25 Dan Williams <dcbw@redhat.com>
10618 * src/supplicant-manager/nm-supplicant-types.h
10619 - new file; move all supplicant manager object typedefs here for
10622 * src/supplicant-manager/nm-supplicant-interface.c
10623 src/supplicant-manager/nm-supplicant-interface.h
10624 - new file; an object that interfaces an NMDevice object to the
10625 supplicant and handles signals from the supplicant. This object
10626 does all necessary DBus communication with wpa_supplicant.
10628 * src/supplicant-manager/nm-supplicant-manager.c
10629 src/supplicant-manager/nm-supplicant-manager.h
10630 - Actually do something. Track the state of the wpa_supplicant service
10631 and deal with its comings & goings. Handle life events of
10632 supplicant interfaces too.
10633 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10635 * src/supplicant-manager/nm-supplicant-connection.h
10636 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10638 * src/supplicant-manager/Makefile.am
10639 - Add new files to build, and add libnm-util to includes
10641 * src/nm-marshal.list
10642 - New marshaler type: VOID:UINT,UINT
10644 * src/nm-device-802-3-ethernet.c
10645 - (real_init): grab a supplicant interface
10646 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10647 - (supplicant_iface_state_cb): new function, stub for handling
10648 supplicant interface state changes
10650 * src/nm-device-802-11-wireless.c
10651 - (real_init): grab a supplicant interface
10652 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10653 - (supplicant_iface_state_cb): new function, stub for handling
10654 supplicant interface state changes
10656 * src/NetworkManager.c
10657 - (main): create and keep the supplicant manager around for the lifetime
10661 - Link to the supplicant manager sub-library and use the supplicant
10664 2006-11-25 Dan Williams <dcbw@redhat.com>
10666 Rework DBus manager signal handling to be more flexible. Previously,
10667 only one signal handler could be registered for a particular interface.
10668 The DBus manager now reference counts DBus bus matches and allows multiple
10669 clients to register signal handlers for the same interface and sender.
10671 * src/NetworkManager.c
10672 - (main): track NMI signal handler ID and remove it when we quit
10674 * src/NetworkManagerMain.h
10675 - Keep track of NMI signal handler ID
10677 * src/nm-dbus-manager.c
10678 src/nm-dbus-manager.h
10679 - rework signal handling; each signal handler references one signal
10680 match, but a signal match may be referenced by one or more
10681 signal handlers. Matches are refcounted and are destroyed when the
10682 last signal handler that references the match is removed. This is
10683 necessary because two signal handlers may end up requiring the same
10684 dbus bus match, so the match must live until the last signal handler
10685 is destroyed (for example, with the wpa_supplicant network interface
10688 * src/dhcp-manager/nm-dhcp-manager.c
10689 - (nm_dhcp_manager_new): track DHCP signal handler id
10690 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10692 * src/vpn-manager/nm-vpn-service.c
10693 - (nm_vpn_service_add_watch): track VPN service signal handler id
10694 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10696 2006-11-25 Dan Williams <dcbw@redhat.com>
10698 Suggested by Helmut Schaa <hschaa@suse.de>
10700 * src/vpn-daemons/nm-vpn-service.c
10701 - (supplicant_child_setup): new function
10702 - (supplicant_exec): make child process use a new process group id
10704 * src/nm-device-802-11-wireless.c
10705 - (nm_vpn_service_child_setup): new function
10706 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
10709 2006-11-19 Dan Williams <dcbw@redhat.com>
10711 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
10712 * gnome/vpn-properties/nm-vpn-properties.c
10713 - clean up after renamed VPN connection
10715 2006-11-19 Dan Williams <dcbw@redhat.com>
10717 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
10718 * gnome/applet/applet-dbus-vpn.c
10719 - (nma_dbus_vpn_properties_cb): sort VPN connections
10721 * gnome/vpn-properties/nm-vpn-properties.c
10722 - (init_app): sort VPN connections
10724 2006-11-09 Dan Williams <dcbw@redhat.com>
10726 * src/NetworkManagerAPList.c
10727 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
10728 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
10729 from the nm_ap_list_get_ap_by_address() call was incorrect and
10730 broke hidden SSID matching. Found by Bill Moss.
10732 2006-10-25 Dan Williams <dcbw@redhat.com>
10735 - (nm_dbus_nm_set_active_device): return an empty success message on
10736 success, rather than falling through to the error case.
10738 2006-10-25 Dan Williams <dcbw@redhat.com>
10740 * src/NetworkManagerUtils.c
10741 - (nm_utils_supplicant_request_with_check): suppress messages for the
10744 2006-10-24 Dan Williams <dcbw@redhat.com>
10746 Reduce the number of times the Gnome applet wakes up, especially when
10747 it's doing absolutely nothing and is hidden. Initial patch by
10750 * gnome/applet/applet-dbus.c
10751 - (nma_dbus_filter): when NM isn't around, or when it goes away,
10752 kill the redraw timeout. When NM starts up, start the redraw
10753 timeout. Also, if we get kicked off the bus for some reason,
10754 start the reconnection timeout if one's not already running.
10755 - (nma_dbus_init): better handling of error conditions, don't leak
10756 a half-initialized dbus connection
10757 - (nma_dbus_connection_watcher): consolidate places we reinitialize
10758 the applet's data, just call nm_dbus_init_helper()
10759 - (nma_start_dbus_connection_watch): new function, starts a periodic
10760 timeout that calls nma_dbus_connection_watcher()
10761 - (nma_dbus_init_helper): if we get a successful connection, kill the
10762 reconnection timeout, and don't start the reconnection timeout
10763 unconditionally anymore
10765 * gnome/applet/applet-dbus.h
10766 - Expose nma_start_dbus_connection_watch()
10768 * gnome/applet/applet.c
10769 - (nma_update_state): no longer static, called from applet-dbus.c for
10770 immediate UI updates on certain events
10771 - (nma_set_running): new function; take over setting applet->running,
10772 when not running (ie, NM is not active), don't activate the redraw
10773 timeout because we're not showing the applet anyway. When we are
10774 running (ie, NM is active), and only when we're running, start the
10776 - (nma_destroy): kill the redraw timeout by setting 'not running', and
10777 kill any reconnection timeout
10778 - (nma_get_instance): move one-off dbus initialization code here since
10779 nm_dbus_init_helper() gets called more than once, possibly by the
10780 reconnection timeout function too. And, when we start up, if we
10781 can't get a connection to the bus, start the reconnection timeout.
10782 But don't start the redraw timeout yet, only do that when we get
10783 NM's state and find out if it's running or not.
10785 * gnome/applet/applet.h
10786 - Add the reconnection GSource ID
10787 - Add prototypes for nma_set_running() and the no-longer-static
10790 2006-10-24 Dan Williams <dcbw@redhat.com>
10792 * src/vpn-daemons/nm-dbus-vpnc.c
10793 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
10794 pending call tracker
10795 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
10796 pending call tracker; register one-vpn-connection update pending
10797 call in pending call tracker
10798 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
10799 update pending call in pending call tracker
10800 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
10801 update pending call in pending call tracker; don't block waiting
10804 2006-10-19 Robert Love <rml@novell.com>
10806 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
10809 2006-10-14 Dan Williams <dcbw@redhat.com>
10811 * src/dhcp-manager/nm-dhcp-manager.c
10812 - (get_ip4_string, get_ip4_uint32s): have the caller pass
10813 the dbus connection and the device object path rather than
10814 constructing it inside both functions. Saves a bit of memory
10815 and clarifies a failure path.
10816 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
10817 and allocate device path here rather than each of the two
10820 2006-10-13 Dan Williams <dcbw@redhat.com>
10822 * src/NetworkManager.c
10823 - (nm_name_owner_changed_handler): handle NMI coming and going,
10824 this somehow droppout in the refactor
10826 2006-10-13 Dan Williams <dcbw@redhat.com>
10828 * Huge DBus refactor:
10829 - Create a "DBus Manager" object which manages the connection and
10830 sends signals on NameOwnerChanged and connection/disconnection events,
10831 handles reconnection to the bus if NM gets kicked off, and abstracts
10833 - Remove DBusConnection members from places where they are no
10834 longer needed due to the refactor, like the dbus-connection
10835 property of the named manager, and from NMData
10836 - Reformats a bunch of the code to gnome style
10837 (8-space tabs, braces on same line as statement, 80-col width).
10838 Consider it open season to reformat any bits to gnome style.
10839 style that aren't already.
10841 2006-10-13 Dan Williams <dcbw@redhat.com>
10843 * src/supplicant-manager/Makefile.am
10846 * src/supplicant-manager/nm-supplicant-manager.[ch]:
10847 - Make it a minimal GObject
10849 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
10850 - Verify settings destined for wpa_supplicant
10852 * src/supplicant-manager/nm-supplicant-connection.[ch]:
10853 - Minimal GObject to track wpa_supplicant controlled device
10856 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
10858 * gnome/applet/applet.c: (nma_update_info),
10859 (nma_act_stage_to_pixbuf), (nma_update_state):
10860 Mark missing strings for translation. Fixes bug #343306.
10862 2006-10-01 Dan Williams <dcbw@redhat.com>
10864 * src/vpn-manager/nm-vpn-manager.c
10865 - (nm_vpn_manager_load_services): split and clean up
10866 for readability and correctness. Restrict VPN service
10867 files to ending in ".name", as was meant from the
10868 beginning (but not coded in). Better error reporting.
10870 2006-10-01 Dan Williams <dcbw@redhat.com>
10873 - Clean up formatting of debug/info/warning log messages
10875 2006-09-27 Robert Love <rml@novell.com>
10877 Patch by Tambet Ingo <tambet@ximian.com>:
10878 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
10881 2006-09-07 Dan Williams <dcbw@redhat.com>
10884 test/libnm-util/Makefile.am
10885 test/nm-supplicant-test.c
10886 - Add test program emulating the way NM drives wpa_supplicant
10887 to help debug supplicant issues
10889 2006-08-24 Dan Williams <dcbw@redhat.com>
10893 src/supplicant-manager/Makefile.am
10894 src/supplicant-manager/nm-supplicant-manager.c
10895 src/supplicant-manager/nm-supplicant-manager.h
10896 - Add skeleton bits of the wpa_supplicant manager
10898 2006-08-24 Dan Williams <dcbw@redhat.com>
10900 Patch from Ed Catmur:
10901 * src/NetworkManagerUtils.c
10902 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
10903 if netmask is 0 (Gnome #352634)
10905 2006-08-17 Robert Love <rml@novell.com>
10907 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
10908 package is now DBUS-enabled and listens for the NM signals.
10910 2006-08-14 Dan Williams <dcbw@redhat.com>
10912 * Patch from Christian Persch <chpe gnome org>
10915 vpn-daemons/openvpn/po/LINGUAS
10916 vpn-daemons/openvpn/configure.in
10917 vpn-daemons/pptp/po/LINGUAS
10918 vpn-daemons/pptp/configure.in
10919 vpn-daemons/vpnc/po/LINGUAS
10920 vpn-daemons/vpnc/configure.in
10921 - Convert to LINGUAS method so translators don't have to modify
10922 configure.in, just stuff in po/. Gnome #343132, requires intltool
10925 2006-08-14 Dan Williams <dcbw@redhat.com>
10927 Patch from Alex Smith <alex.extreme2@gmail.com>
10929 src/backends/Makefile.am
10930 src/backends/NetworkManagerFrugalware.c
10931 - Add support for Frugalware
10933 2006-08-13 Dan Williams <dcbw@redhat.com>
10935 Patch from Valentine Sinitsyn <e_val@inbox.ru>
10936 * src/nm-device-802-11-wireless.c
10937 - (supplicant_exec): spawn wpa_supplicant without debug spew
10940 2006-08-13 Dan Williams <dcbw@redhat.com>
10942 Patch from Valentine Sinitsyn <e_val@inbox.ru>
10943 * src/nm-ap-security.c
10944 src/nm-ap-security.h
10945 - Add authentication_required bits for subclasses to specify whether
10946 or not real authentication is required for connections, i.e. whether
10947 the AP rejects us when an encryption key is wrong or not.
10949 * src/nm-ap-security-wep.c
10950 src/nm-ap-security-wpa-eap.c
10951 src/nm-ap-security-wpa-psk.c
10952 src/nm-ap-security-leap.c
10953 - Implement authentication_required appropriately for each method
10955 * src/nm-device-802-11-wireless.c
10956 - Be smarter about when to request a key; for example, using a wrong key
10957 in WEP shared key mode previously just timed out and did not request
10960 2006-08-13 Dan Williams <dcbw@redhat.com>
10962 * gnome/libnm_glib/libnm_glib.c
10963 - dbus_connection_disconnect() -> dbus_connection_close() for
10966 2006-08-07 Dan Williams <dcbw@redhat.com>
10968 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10969 * src/NetworkManagerSystem.c
10970 - Respect specified MTU. Gnome #344967
10972 2006-08-07 Dan Williams <dcbw@redhat.com>
10974 * src/vpn-manager/nm-vpn-service.c
10975 - Simplify print_vpn_config() arguments
10977 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10978 * src/vpn-manager/Makefile.am
10979 src/vpn-manager/nm-vpn-service.c
10980 - Add new API for passing VPN config options as a dict. Gnome #344967
10982 2006-08-06 Dan Williams <dcbw@redhat.com>
10984 * gnome/applet/applet-dbus-devices.c
10985 gnome/applet/applet-dbus-vpn.c
10986 gnome/applet/applet-dbus.c
10987 gnome/applet/applet-dbus.h
10991 - Make pending call tracking code generic,
10992 so we can use it in NM as well as the applet
10994 2006-08-06 Dan Williams <dcbw@redhat.com>
10996 * src/nm-activation-request.c
10997 - Refcount pending call objects
10999 2006-08-06 Dan Williams <dcbw@redhat.com>
11001 Patch from Christan Chiesa <christanc@gmail.com>
11003 - Tell sha1.c to use bigendian mode on PPC
11005 2006-08-04 Robert Love <rml@novell.com>
11007 Glib Memory Slices!
11008 * configure.in: Require glib 2.10 or later.
11009 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11010 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11011 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11012 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11013 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
11014 Memory Slices are the greatest thing since bread slices.
11015 * src/NetworkManagerAP.c: Also, fix memory leak.
11017 2006-08-01 Robert Love <rml@novell.com>
11019 * gnome/applet/main.c: Shutdown all VPN connections on logout.
11021 2006-07-31 Robert Love <rml@novell.com>
11023 * src/backends/interface_parser.c: Declarations must begin the block.
11025 2006-07-24 Dan Williams <dcbw@redhat.com>
11027 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11028 * src/backends/Makefile.am
11029 src/backends/NetworkManagerArch.c
11030 src/backends/NetworkManagerDebian.c
11031 src/backends/NetworkManagerGeneric.c
11032 src/backends/NetworkManagerGeneric.h
11033 src/backends/NetworkManagerGentoo.c
11034 src/backends/NetworkManagerPaldo.c
11035 src/backends/NetworkManagerRedHat.c
11036 src/backends/NetworkManagerSlackware.c
11037 src/backends/NetworkManagerSuSE.c
11038 - Genericize common backend functions
11040 2006-07-18 Robert Love <rml@novell.com>
11042 * configure.in: Add "--with-notify" option to allow disabling of
11045 2006-07-13 Dan Williams <dcbw@redhat.com>
11047 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11048 * gnome/applet/applet.glade
11049 gnome/applet/Makefile.am
11050 gnome/applet/nm-gconf-wso.c
11051 gnome/applet/nm-gconf-wso-leap.c
11052 gnome/applet/nm-gconf-wso-leap.h
11053 gnome/applet/wireless-security-manager.c
11054 gnome/applet/wso-leap.c
11055 gnome/applet/wso-leap.h
11056 include/NetworkManager.h
11057 libnm-util/dbus-helpers.c
11058 libnm-util/dbus-helpers.h
11060 src/NetworkManagerAP.c
11061 src/nm-ap-security.c
11062 src/nm-ap-security-leap.c
11063 src/nm-ap-security-leap.h
11064 - Add LEAP authentication support
11066 2006-07-13 Dan Williams <dcbw@redhat.com>
11068 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11070 src/backends/NetworkManagerArch.c
11071 src/backends/NetworkManagerDebian.c
11072 src/backends/NetworkManagerGentoo.c
11073 src/backends/NetworkManagerPaldo.c
11074 src/backends/NetworkManagerRedHat.c
11075 src/backends/NetworkManagerSlackware.c
11076 src/backends/NetworkManagerSuSE.c
11077 - Convert hardcoding of 'ip' path to configure-time
11080 2006-07-12 Leonid Kanter <leon@asplinux.ru>
11082 * configure.in: added ru to ALL_LINGUAS
11084 2006-07-10 Dan Williams <dcbw@redhat.com>
11086 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11088 - (real_act_stage3_ip_config_start): don't infinite loop when
11089 dhcdbd isn't running (Gnome #346845)
11091 2006-07-09 Dan Williams <dcbw@redhat.com>
11093 * gnome/applet/applet.c
11094 - (nma_destroy): don't pass NULL to notify_notification_close
11097 2006-07-09 Dan Williams <dcbw@redhat.com>
11099 * gnome/applet/applet.c
11100 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11102 2006-07-04 Tor Krill <tor@krill.nu>
11104 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11105 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11106 (nm_system_restart_mdns_responder), (ArchReadConfig),
11107 (nm_system_device_get_system_config):
11108 - Explicitly check for DHCP configuration
11109 - Check if daemons are running before starting them
11111 2006-06-25 Dan Williams <dcbw@redhat.com>
11113 * libnm-util/dbus-dict-helpers.[ch]
11114 test/libnm-util/test-dbus-dict-helpers.c
11115 - Add string array support
11117 2006-06-24 Dan Williams <dcbw@redhat.com>
11119 * src/dhcp-manager/nm-dhcp-manager.c
11120 - (nm_dhcp_manager_process_signal): clean up spacing
11122 2006-06-21 Dan Williams <dcbw@redhat.com>
11124 * src/nm-dbus-device.c
11125 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11128 2006-06-21 Raivis Dejus <orvils@gmail.com>
11130 * configure.in: Added 'lv' to ALL_LINGUAS
11132 2006-06-19 Dan Williams <dcbw@redhat.com>
11134 * src/NetworkManagerAP.c
11135 - Clarify usage of user_created
11137 * src/nm-ap-security-wep.c
11138 src/nm-ap-security-wpa-eap.c
11139 src/nm-ap-security-wpa-psk.c
11140 src/nm-ap-security.c
11141 src/nm-ap-security.h
11142 - s/user_created/adhoc, because we really do mean adhoc
11144 Patch from Bernard Blackham <bernard@blackham.com.au>
11145 * src/nm-device-802-11-wireless.c
11146 - (supplicant_send_network_config): instead of user_created,
11147 use adhoc, and do AP_SCAN 2 for adhoc networks
11149 2006-06-18 Robert Love <rml@novell.com>
11151 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11152 we have a value to set. Gconf generates a warning if `val' is NULL.
11153 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11154 unless we actually received a valid private key file passphrase or
11155 password. Otherwise, we don't know to later ask the applet to pull
11156 the key from the keyring.
11158 2006-06-17 Dan Williams <dcbw@redhat.com>
11160 * libnm-util/dbus-dict-helpers.[ch]
11161 test/libnm-util/test-dbus-dict-helpers.c
11162 - Fixes for zero-length byte arrays
11163 - Replace return values of 0 with FALSE for clarity
11164 - Test zero-length byte arrays
11166 2006-06-17 Dan Williams <dcbw@redhat.com>
11168 * libnm-util/dbus-dict-helpers.[ch]
11169 test/libnm-util/test-dbus-dict-helpers.c
11170 - Add helpers for byte arrays
11171 - Rework bits of the testcase
11173 2006-06-16 Dan Williams <dcbw@redhat.com>
11175 * libnm-util/Makefile.am
11176 * libnm-util/dbus-dict-helpers.[ch]
11177 - Add some helpers to take the pain out of using dict types in
11180 * test/libnm-util/Makefile.am
11181 * test/libnm-util/test-dbus-dict-helpers.c
11182 - Test cases for the dict helper functions
11184 2006-06-15 Robert Love <rml@novell.com>
11186 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11187 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
11188 if there is no key to pass.
11189 * libnm-util/dbus-helpers.c: Given the above, we can trust always
11190 receiving a non-NULL key.
11192 2006-06-14 Robert Love <rml@novell.com>
11194 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11198 2006-06-14 Dan Williams <dcbw@redhat.com>
11200 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
11201 * src/nm-device-802-11-wireless.c
11202 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11203 or ones where the driver is unknown
11204 - (supplicant_exec): don't wait for supplicant startup here
11205 - (supplicant_interface_init): finer grained polling for supplicant
11208 2006-06-13 Robert Love <rml@novell.com>
11210 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11211 if it is currently set to TRUE. Otherwise, we will reset the value
11212 when we connect normally.
11213 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11214 the old BSSID is valid, too. The recently added ESSID check may not be
11215 sufficient (we can remove it?). What we really want to catch is the
11216 case of going from all-zeros to the BSSID of some other network, which
11217 happens on failure.
11219 2006-06-09 Dan Williams <dcbw@redhat.com>
11221 * src/NetworkManagerSystem.[ch]
11222 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11223 it was unused and pointless
11224 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11225 fix for set_up_down_with_iface change
11227 * src/vpn-manager/nm-vpn-connection.c
11228 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11230 * src/backends/NetworkManagerPaldo.c
11231 src/backends/NetworkManagerRedHat.c
11232 src/backends/NetworkManagerSuSE.c
11233 src/backends/NetworkManagerArch.c
11234 src/backends/NetworkManagerDebian.c
11235 src/backends/NetworkManagerGentoo.c
11236 - (nm_system_enable_loopback): use set_up_down_with_iface where
11238 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11241 2006-06-09 Dan Williams <dcbw@redhat.com>
11243 Patch from Peter Jones:
11244 * src/nm-device-802-11-wireless.c
11245 - (nm_device_802_11_wireless_update_bssid): make sure that the
11246 SSID hasn't changed from what we expect before automatically
11247 updating the saved BSSID from a new AP
11249 2006-06-08 Robert Love <rml@novell.com>
11251 Add 'fallback' support. NetworkManager will attempt to brute-force
11252 connect to networks marked as fallback if there are no better wireless
11253 connections available. This is useful as a method of last resort, to
11254 work around driver problems, and for use with hidden networks.
11255 * gnome/applet/applet-dbus-devices.c,
11256 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11257 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11258 pass it on via DBUS.
11259 * gnome/applet/applet.c: No fallback by default.
11260 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11261 Update other-network-dialog to add UI checkbox toggling fallback.
11262 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11263 propery from AP object. Add "fallback" property to AP object.
11264 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11265 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11266 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11267 separate function. Add get_best_fallback_ap() for returning an AP
11268 on which to attempt fallback.
11269 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11270 * test/nm-set-fallback: New file. Sets a given network as fallback.
11272 2006-06-07 Robert Love <rml@novell.com>
11274 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11275 checked that the return type was GCONF_VALUE_STRING, not the correct
11276 GCONF_VALUE_BOOL, and thus it never worked.
11277 * src/NetworkManagerAPList.c: Before concluding that two networks are
11278 identical based on their BSSID, make sure that the BSSID in question
11279 is actually valid. Specifically, an empty or all zero BSSID does not
11281 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11282 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11283 similar invariant clean up.
11285 2006-06-02 Robert Love <rml@novell.com>
11287 * gnome/applet/applet.c: Update copyright years. Add Novell.
11289 2006-05-28 Dan Williams <dcbw@redhat.com>
11291 * gnome/applet/applet.glade
11292 gnome/vpn-properties/nm-vpn-properties.glade
11293 - Set window icons on dialogs (Gnome.org #333420)
11295 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
11297 * gnome/vpn-properties/nm-vpn-properties.glade:
11298 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11299 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11300 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11301 - Make the VPN properties pages prettier and more HIG
11302 compliant. Gnome Bug #336913.
11304 2006-05-28 Dan Williams <dcbw@redhat.com>
11306 Patch from Christian Persch <chpe@gnome.org>
11307 * gnome/vpn-properties/nm-vpn-properties.c
11308 * gnome/vpn-properties/nm-vpn-properties.glade
11309 - HIG-ification love (Gnome.org #336846)
11311 2006-05-28 Dan Williams <dcbw@redhat.com>
11313 Patch from Christian Persch <chpe@gnome.org>
11315 gnome/vpn-properties/nm-vpn-properties.c
11316 - (main): Fix option parsing. Gnome.org #336847
11318 2006-05-28 Dan Williams <dcbw@redhat.com>
11320 * gnome/vpn-properties/nm-vpn-properties.c
11321 - (find_vpn_ui_by_service_name): protect against NULL service names
11322 - (update_edit_del_sensitivity): protect against NULL service names
11325 2006-05-28 Dan Williams <dcbw@redhat.com>
11327 Patch from Chris Fuller <crf@grandecom.net>:
11328 * src/nm-device-802-11-wireless.c
11329 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11330 don't dispose of wireless-specific stuff unless it is actually
11331 initialized. Gnome.org #341263
11333 2006-05-28 Dan Williams <dcbw@redhat.com>
11335 * src/NetworkManagerPolicy.c
11336 - (nm_policy_device_change_check): don't switch devices if the "best"
11337 AP is essentially the same as the current activation request, but
11338 the current activation request isn't done activating yet. Fixes
11339 multiple requests for keyring password on startup for Gnome applet.
11342 2006-05-26 Nicolas Trangez <eikke@eikke.com>
11344 * src/NetworkManager.c: use GOptions instead of getopt
11345 * configure.in: bump glib required version to >= 2.6 for GOption
11348 2006-05-25 Robert Love <rml@novell.com>
11350 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11351 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
11352 instead of dumping ifdef's throughout the code.
11353 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11354 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11355 use nm_ioctl_info() in lieu.
11357 2006-05-25 Robert Love <rml@novell.com>
11359 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11360 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11361 not using gcrypt. Otherwise, we get a linker error.
11363 2006-05-25 Robert Love <rml@novell.com>
11365 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11366 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11367 configure flag to disable building of the GNOME-based applet.
11369 2006-05-25 Robert Love <rml@novell.com>
11371 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11372 parameter from link, because it shadows a global variable with some
11373 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
11374 should never have exported to the entire system a common four letter
11375 word. But we here at NetworkManager are team players. Fixes
11378 2006-05-25 Arangel Angov <ufo@linux.net.mk>
11380 * configure.in: Added mk.po, Macedonian translation.
11382 2006-05-24 Robert Love <rml@novell.com>
11384 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11385 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11386 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11388 2006-05-24 Robert Love <rml@novell.com>
11390 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11391 libnm-util/Makefile.am, src/Makefile.am,
11392 vpn-daemons/openvpn/auth-dialog/Makefile.am,
11393 vpn-daemons/openvpn/properties/Makefile.am,
11394 vpn-daemons/pptp/auth-dialog/Makefile.am,
11395 vpn-daemons/pptp/properties/Makefile.am,
11396 vpn-daemons/vpnc/auth-dialog/Makefile.am,
11397 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11398 user passed for --datadir, if anything, when setting the GNOME locale
11399 directory. It should be a function of the specified datadir and not
11402 2006-05-24 Robert Love <rml@novell.com>
11404 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11405 src/NetworkManager.c: Take care to call bindtextdomain with the
11406 location of msgid files.
11407 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11410 2006-05-22 Robert Love <rml@novell.com>
11412 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11413 stage4_timeout on failure unless the wireless network is Ad-Hoc.
11414 99% of the time there is a real problem with wireless, and a
11415 seemingly successful connection via Zeroconf just confuses the user.
11416 And that 1% of the time the network is probably Ad-Hoc, anyhow.
11418 2006-05-22 Robert Love <rml@novell.com>
11420 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11421 autofs on interface up if NIS is configured. On interface down, do
11424 2006-05-22 Robert Love <rml@novell.com>
11426 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11427 to avoid calling g_object_unref() on stale pointers on error in
11428 nma_icons_free(). This happens because we short-circuit loaded the
11429 icons on the first failure but then free all icons. Normally we have
11430 no issue because the icons were zero'ed out malloc, but we have stale
11431 pointer data after nma_icon_theme_changed().
11432 * gnome/applet/main.c: Return error code if nma_new() failed.
11434 2060-05-21 Dan Williams <dcbw@redhat.com>
11436 * initscript/NetworkManager.in
11437 - Ensure both dhcdbd and named are started before NM
11439 2006-05-21 Dan Williams <dcbw@redhat.com>
11442 - Bump version to 0.7 to signify we are in 0.7 development
11444 2006-05-21 Dan Williams <dcbw@redhat.com>
11446 Patch from Adam Schreiber <sadam@clemson.edu>
11447 * gnome/vpn-properties/nm-vpn-properties.c
11448 - (main): correct Gnome program name (gnome.org #342498)
11450 2006-05-21 Dan Williams <dcbw@redhat.com>
11452 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11454 * src/NetworkManagerDbus.[ch]
11455 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11456 clarify that function's argument should be an escaped dbus object
11457 path, and look for path segment end before returning a match
11458 * src/nm-dbus-nm.c:
11459 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11461 2006-05-17 Robert Love <rml@novell.com>
11463 Functionality to differentiate Ad-Hoc networks from infrastructure
11464 networks in the applet, by displaying a special icon:
11465 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11466 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11467 * gnome/applet/menu-items.c: Set a special icon in the scan list for
11468 ad-hoc networks. TODO: Add a third icon representing "encrypted and
11469 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
11470 networks, encrypted or not.
11471 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11472 accessor functions to get and set the mode of a given network,
11473 wireless_network_get_mode() and wireless_network_set_mode().
11475 2006-05-17 Robert Love <rml@novell.com>
11477 Functionality to automatically add BSSIDs to the allowed-MAC list as
11478 one roams from access point to access point on a given network:
11479 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11480 helper function to compare two ether_addr structures and return TRUE
11481 if they contain the same MAC address.
11482 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11484 * src/nm-device-802-11-wireless.c: New function to update the BSSID
11485 stored with the current AP. If the BSSID has indeed changed, we
11486 send it out to the applet, allowing the allowed-MAC list to grow
11487 automatically in response to roaming.
11489 2006-05-16 Robert Love <rml@novell.com>
11491 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11492 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11494 2006-05-13 Dan Williams <dcbw@redhat.com>
11496 * src/nm-device-802-3-ethernet.c
11497 - (real_get_generic_capabilities): Don't ignore devices that can't do
11498 carrier detect (Debian bug #366373)
11500 2006-05-11 Dan Williams <dcbw@redhat.com>
11502 Patch from Michael Biebl <biebl@teco.edu>
11503 * src/backends/NetworkManagerDebian.c
11504 - Debian backend fixups
11506 2006-05-10 Robert Love <rml@novell.com>
11508 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11510 2006-05-09 Robert Love <rml@novell.com>
11512 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11513 private certificate passphrase, if any, in the GNOME Keyring.
11514 * libnm-utils/dbus-helpers.c: Update.
11516 2006-05-05 Dan Williams <dcbw@redhat.com>
11518 * src/nm-device-802-11-wireless.c
11519 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11520 nm_device_802_11_wireless_disable_encryption() since that's all
11521 we use it for anymore; we don't ever set WEP keys ourselves.
11522 - (real_deactivate_quickly): reset SSID and encryption keys
11523 - (real_deactivate): move SSID and encryption key reset to
11524 real_deactivate_quickly(), which gets run before us anyway
11526 2006-05-05 Robert Love <rml@novell.com>
11528 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11529 root has a wacky default of its own (or, more common, a user has a
11530 bad umask and uses su/sudo to restart NetworkManager). Anything
11531 other than 0022 does not do what we want with, for example,
11532 resolv.conf. This problem is amplified by our judicious use of
11533 fopen(), which uses mode 0666 -- implying that the only way to get
11534 the permissions we want is with a umask of 0022.
11536 2006-05-05 Dan Williams <dcbw@redhat.com>
11538 * gnome/libnm_glib/libnm_glib.c
11539 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11540 to reconnect; instead wait a bit more with each reconnect attempt
11541 up to a max of one minute.
11543 2006-05-04 Ryan Lortie <desrt@desrt.ca>
11545 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11546 the WirelessNetwork structure using the proper function instead of
11547 just casting it directly to (const char *) (gnome.org #336991)
11549 2006-05-03 Robert Love <rml@novell.com>
11551 * src/backends/NetworkManagerSuSE.c: Respect the variable
11552 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11553 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11554 to dynamically update /etc/resolv.conf.
11556 2006-05-02 Peter Jones <pjones@redhat.com>
11558 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11560 2006-05-02 Robert Love <rml@novell.com>
11562 Patch by Timo Hoenig;
11563 * tests/nm-online.c: Print pretty status indicator as timeout winds
11564 down. Also fix possible race between DBUS startup and failure
11567 2006-05-01 Robert Love <rml@novell.com>
11569 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11572 2006-04-27 Jeremy Katz <katzj@redhat.com>
11574 * src/nm-device.c (discover_device_type): Actually use the hal
11575 device type instead of ioctl poking
11577 2006-04-26 Robert Love <rml@novell.com>
11579 * tests/nm-online.c: New file. Simple utility that returns exit status
11580 noting whether the connection is offline or online. If offline on
11581 start, it waits 30 seconds (or a command-line given value) for an
11582 online signal. If it times out, it again returns offline. This is
11583 useful for scripts that want to wait for network connections.
11585 2006-04-25 Robert Love <rml@novell.com>
11587 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11588 key mode (the authentication algorithm), e.g. open or shared, when we
11589 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
11590 only shared was broken. If the user specified a shared key, set it
11591 explicitly, otherwise let wpa_supplicant go with the default.
11593 2006-04-24 Dan Williams <dcbw@redhat.com>
11595 * src/nm-device-802-11-wireless.c
11596 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11598 2006-04-24 Dan Williams <dcbw@redhat.com>
11600 Commit the async scanning patch
11602 * src/nm-device-802-11-wireless.c
11603 - get rid of scan_mutex
11604 - (wireless_event_helper): act on wireless scan events
11605 - (real_start): schedule a pending scan
11606 - (link_to_specific_ap): fake the link to the AP during a scan
11607 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11608 strength during scans
11609 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11610 nm_device_set_bitrate): unused with new scanning code, disable
11611 - (nm_device_wireless_schedule_scan): removed
11612 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11613 - (request_and_convert_scan_results): new function; retrieve scan
11614 results from the driver and schedule the processing function
11615 - (scan_results_timeout): timeout triggered when card doesn't send
11616 a scan results wireless event during a certain interval
11617 - (schedule_scan_results_timeout): new function; schedule the scan
11619 - (cancel_scan_results_timeout): new function; cancel the scan
11621 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11622 to do the scanning. Otherwise, just request a scan but don't
11623 grab results here; instead schedule a timeout for scan results and
11624 let netlink notify us of scan completion events
11625 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11626 - (cancel_pending_scan): new function; cancel a pending wireless scan
11627 - (supplicant_status_cb): ignore disconnect events while scanning
11628 - (supplicant_exec): wait a bit longer for the supplicant to start up
11629 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11631 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11633 2006-04-24 Dan Williams <dcbw@redhat.com>
11635 * gnome/applet/applet-dbus.c
11636 - Disable the pending call debug stuff, seems under control now
11638 2006-04-20 Robert Love <rml@novell.com>
11640 Fix bug where hidden ESSID's would not show up in the applet, even
11641 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
11642 because nm_policy_device_list_update_from_allowed_list() would merge
11643 the data, putting a name to the hidden networks, but never notify NMI
11644 of the changes. Simple fix is to invoke the function
11645 nm_dbus_signal_wireless_network_change() if we make a mapping.
11646 * src/NetworkManagerAPList.c: Call the function
11647 nm_dbus_signal_wireless_network_change() if we made a successful
11648 BSSID to ESSID mapping, notifying the applet of the "new" network.
11649 * src/NetworkManagerAPList.h: Update the prototypes for both
11650 nm_ap_list_copy_essids_by_address() and
11651 nm_ap_list_copy_one_essid_by_address().
11653 2006-04-20 Robert Love <rml@novell.com>
11655 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11656 not set. Just return zero.
11658 2006-04-20 Robert Love <rml@novell.com>
11660 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11661 only one copy of nm-vpn-properties is running at a time via the 'ol
11662 X selection trick. This prevents the user from opening two "VPN
11663 Connections" windows from within the applet, which leads to mass
11665 * clipboard.c: New file, implementing simple X selection logic.
11666 * clipboard.h: New file.
11667 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11669 2006-04-18 Nicolas Trangez <eikke@eikke.com>
11671 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11673 initscript/Gentoo/Makefile.am
11674 initscript/Gentoo/NetworkManagerDispatcher.in
11676 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11679 2006-04-16 Dan Williams <dcbw@redhat.com>
11681 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11683 initscript/Slackware/Makefile.am
11684 initscript/Slackware/rc.networkmanager-dispatcher.in
11685 initscript/Slackware/rc.networkmanager.in
11686 - Update slackware initscripts
11688 2006-04-10 Robert Love <rml@novell.com>
11690 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11691 the "delete_event" signal on the druid's parent window and handle it
11692 our way, lest using the WM to close the druid results in a series of
11693 bloody and ultimately lethal errors.
11695 2006-04-10 Robert Love <rml@novell.com>
11697 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11698 'Back' too or else the 'Forward' option is initially disabled despite
11701 2006-04-06 Robert Love <rml@novell.com>
11703 Fix bad but simple bug where an active modem connection did not update
11704 NM's connection state, breaking any app that did online/offline:
11705 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
11706 represented whether a dial up connection is active, or not.
11707 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
11708 to modem activation and deactivation.
11709 * src/NetworkManagerDbus.c: When asked our state, do not return
11710 disconnected if the modem is active.
11712 2006-04-04 Robert Love <rml@novell.com>
11714 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
11715 applet. It just confuses the crap out of people and does not make a
11716 lot of sense, as the daemon still runs.
11718 2006-04-02 Tor Krill <tor@krill.nu>
11720 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
11721 in start of service.
11722 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
11723 get Archlinux backend up to date.
11725 2006-03-29 Robert Love <rml@novell.com>
11727 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
11728 to add support for per-route MSS and improve support for per-interface
11730 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
11731 optionally take an MSS parameter and set it for the given route.
11732 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
11733 NMIP4Config's stored MSS, if any.
11734 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
11735 the interface's MTU and the route's MSS, respectively. Add functions
11736 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
11737 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
11739 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
11740 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
11741 nm_ip4_config_set_mss.
11742 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
11744 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
11745 Change the retval of nm_system_get_mtu to guint32.
11746 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
11747 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
11748 servers can specify MTU's, we should set it here if the MTU was not
11751 2006-03-27 Jürg Billeter <j@bitron.ch>
11754 * initscript/Makefile.am:
11755 * initscript/paldo/Makefile.am:
11756 * initscript/paldo/NetworkManager.in:
11757 * initscript/paldo/NetworkManagerDispatcher.in:
11758 * src/backends/Makefile.am:
11759 * src/backends/NetworkManagerPaldo.c:
11760 - Add paldo support
11762 2006-03-27 Dan Williams <dcbw@redhat.com>
11764 Patch from Christian Persch <chpe@gnome.org>
11765 * gnome/applet/applet.glade
11766 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
11768 2006-03-27 Dan Williams <dcbw@redhat.com>
11770 Patch from Diffe <diffie@blazebox.homeip.net>
11771 * src/backends/NetworkManagerSlackware.c
11772 - Don't restart howl, since it's been replaced by Avahi
11773 in most distributions
11775 2006-03-27 Dan Williams <dcbw@redhat.com>
11777 Patch from Tor Krill <bugzilla@krill.nu>
11779 initscript/Makefile.am
11780 src/backends/Makefile.am
11781 src/backends/NetworkManagerArch.c
11782 initscript/Arch/Makefile.am
11783 initscript/Arch/networkmanager-dispatcher.in
11784 initscript/Arch/networkmanager.in
11785 - Add Arch Linux support, fixes gnome.org #335147
11787 2006-03-27 Dan Williams <dcbw@redhat.com>
11789 Patch from Diffe <diffie@blazebox.homeip.net>
11790 * initscript/Slackware/rc.networkmanager
11791 - update, fixed gnome.org #333368
11793 2006-03-27 Robert Love <rml@novell.com>
11795 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
11796 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
11798 2006-03-27 Robert Love <rml@novell.com>
11800 Patch by Jürg Billeter <j@bitron.ch>:
11801 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
11803 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
11804 as we prefer glibc over kernel headers, if possible.
11806 2006-03-27 Robert Love <rml@novell.com>
11808 Patch by Jon Escombe <list@dresco.co.uk>:
11809 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
11810 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
11811 fail, don't bail out. We don't expect all of the various WPA-EAP
11812 values to be present.
11813 * src/nm-ap-security.c: We need to match all capabilities for each
11814 encryption type, not any one of them.
11816 2006-03-27 Robert Love <rml@novell.com>
11818 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
11819 restart, not reload, ypbind. Unfortunately there is no superior
11822 2006-03-24 Christopher Aillon <caillon@redhat.com>
11824 * gnome/applet/applet-notifications.c:
11825 When displaying a notification, make sure to get rid of the
11826 previous notification so as to not have competing bubbles,
11827 and stop leaking the old one.
11829 * gnome/applet/applet.c:
11830 * gnome/applet/applet.h:
11831 Add a new 'notification' member to the applet, and zero it out
11832 and free it appropriately.
11834 2006-03-23 Robert Love <rml@novell.com>
11836 Patch by j <j@bootlab.org>:
11837 * gnome/applet/applet.glade: Don't set the invisible_char property,
11838 which simply overrides the GTK default. By and by, this behavior
11839 ought to be fixed in Glade.
11841 2006-03-22 Robert Love <rml@novell.com>
11843 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
11845 2006-03-22 Robert Love <rml@novell.com>
11847 Bug fix by Timo Hoenig <thoenig@suse.de>:
11848 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
11849 disconnect. Otherwise, we have the daemon surviving DBUS restarts
11850 and the applet going AWOL.
11852 2006-03-22 Robert Love <rml@novell.com>
11854 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
11855 preprocessor define and use it instead of open-coded the DHCP
11856 timeout, which is currently 25 seconds, everywhere.
11858 2006-03-22 Robert Love <rml@novell.com>
11860 Implement "Dynamic WEP", which is basically WPA authentication and WEP
11861 key exchange via WPA, ostensibly providing good security without
11862 requiring hardware that supports full WPA. Also, add UI elements to
11863 allow the user to select the pairwise & group cipher for WPA Enterprise
11865 * gnome/applet/applet.glade: Update glade file.
11866 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
11867 key type, too, to and from gconf.
11868 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
11869 wso_wpa_create_key_type_model(), noting whether we are handling PSK
11870 or EAP configuration, and in the latter case add in "Dynamic WEP" if
11871 the capabilities match.
11872 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
11874 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
11875 serialize from UI to DBUS.
11876 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
11878 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
11879 nmu_security_serialize_wpa_eap_with_cipher(), and
11880 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
11881 serialize/deserialize the key type via DBUS as the new third DBUS
11883 * libnm-util/dbus-helpers.h: Update prototypes.
11884 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
11885 too. If the key type is WEP104, do Dynamic WEP, which means
11886 "IEEE8021X" for "key_mgmt". Also add support for user-specified
11887 pairwise and group ciphers (fixes a FIXME).
11889 2006-03-21 Robert Love <rml@novell.com>
11891 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
11892 nm_system_get_mtu(), which returns a user-provided or system-mandated
11893 MTU value for a given device, if any, or zero if no such value
11894 exists. Add nm_system_set_mtu() to set the MTU for a given device
11895 if we have a provided value.
11896 * src/nm-device.c: Set the MTU of devices.
11897 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
11898 * src/backends/NetworkManagerDebian.c,
11899 src/backends/NetworkManagerGentoo.c,
11900 src/backends/NetworkManagerRedHat.c,
11901 src/backends/NetworkManagerSlackware.c: Implement stub functions.
11903 2006-03-21 Robert Love <rml@novell.com>
11905 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
11906 configuration file.
11908 2006-03-17 Robert Love <rml@novell.com>
11910 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
11911 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
11912 it, in case it is not running in the first place. We just want its
11913 configuration reloaded. Also, do not "rcypbind stop" on device down.
11915 2006-03-15 Robert Love <rml@novell.com>
11917 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
11918 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
11919 label "WEP 40/128-bit" is inconsistent because the physical key size
11920 is 40 or 104-bits, to which a 24-bit initialisation vector is
11921 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
11922 to read "40/104" or "64/128". I do not care much which, but most
11923 users think of "silver" and "gold" encryption as 64 and 128-bits, so
11924 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
11925 WEP passphrase support only handles 128-bit keys, and any future
11926 64-bit passphrase support will require a new option (no way to auto-
11927 detect the target key size), explicitly label our passphrase support
11928 "WEP 128-bit Passphrase".
11930 2006-03-15 Robert Love <rml@novell.com>
11932 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
11933 the system init scripts (or some other mechanism) starting it (or a
11934 compatible DBUS service) before NetworkManager runs. This means that
11935 distributions might need to update their init scripts. This fixes
11936 possible races and is quite a bit cleaner.
11937 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
11938 starting the NetworkManager daemon.
11941 2006-03-14 Robert Love <rml@novell.com>
11943 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
11944 before adding anything.
11946 2006-03-13 Robert Love <rml@novell.com>
11948 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
11949 widgets, too, if they exist, in case the user hit the back button.
11950 Fixes a bug where the details page contains the widgets of multiple
11951 VPN modules (Novell bug #157048).
11953 2006-03-13 Robert Love <rml@novell.com>
11955 Patch by Timo Hoenig <thoenig@suse.de>:
11956 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
11957 daemon survive DBUS restarts, too.
11959 2006-03-10 Robert Love <rml@novell.com>
11961 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
11963 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
11964 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
11965 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
11966 in response to "toggled" signal on new toggle.
11968 2006-03-10 Robert Love <rml@novell.com>
11970 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
11971 serialization if strings are NULL, lest DBUS get angry.
11973 2006-03-10 Robert Love <rml@novell.com>
11975 * src/nm-ap-security-wpa-eap.c: Don't log the password.
11977 2006-03-09 Robert Love <rml@novell.com>
11979 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
11982 2006-03-09 Dan Williams <dcbw@redhat.com>
11984 Track pending call requests in the applet, and report how many are
11985 outstanding, and how long each completed one takes.
11987 * gnome/applet/applet-dbus-devices.c
11988 gnome/applet/applet-dbus-vpn.c
11989 - Track pending calls
11991 * gnome/applet/applet-dbus.[ch]
11992 - Remove some unused enums
11993 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
11994 new functions to track dbus pending calls and spit out some
11995 statistics about them
11997 2006-03-09 Robert Love <rml@novell.com>
11999 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12000 nm_ap_set_timestamp() take the second and micro-second parameters as
12001 direct arguments, which avoids both a dynamic memory allocation and a
12002 structure-to-structure copy! Add a new interface, the aptly named
12003 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12004 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12005 the return from nm_ap_get_timestamp(). New users should use the new
12006 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12007 the extreme benefit to performance.
12008 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12009 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12011 2006-03-08 Robert Love <rml@novell.com>
12013 * gnome/applet/applet.glade: Hide the password entry text with
12016 2006-03-08 Robert Love <rml@novell.com>
12018 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12019 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12020 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12021 a second argument, NMData.
12022 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12023 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12024 config files as trusted.
12026 2006-03-06 Robert Love <rml@novell.com>
12028 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12029 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12030 to exit the applet. As a sweet side-effect, idea courtesy of Chris
12031 Rivera, detect if the applet was auto-started. If so, ask the user
12032 if he or she would like to stop automatically running the applet on
12033 login. If so, disable autostart.
12035 2006-03-06 Robert Love <rml@novell.com>
12037 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
12038 directory in CFLAGS so developers can actually use NetworkManager.h.
12040 2006-03-06 Robert Love <rml@novell.com>
12042 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12043 open-coded integer constants. Add state_to_string() to map a given
12044 state to a textual description, and provide that when notifying of
12046 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12047 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
12048 this header directly, but it is currently not installed on most
12051 2006-03-05 Dan Williams <dcbw@redhat.com>
12053 Process netlink messages in device subclasses rather than in
12054 NetworkManager.c. Also add support for recognizing Wireless Events.
12057 - Find GLIB_GENMARSHAL
12060 - Since we're marshalling custom types for wireless event signals,
12061 we get to create our own marshallers using GLIB_GENMARSHAL
12063 * src/NetworkManager.c
12064 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12065 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12066 cut down somewhat. We no longer process signals here.
12067 - (nm_data_new): create the netlink monitor here, and remove a
12068 useless call to nm_policy_schedule_device_change_check()
12069 - (nm_data_free): get rid of the netlink monitor here
12070 - (nm_device_link_activated, nm_device_link_deactivated): removed
12071 - (main): don't create the netlink monitor here, let nm_data_new
12072 do that. Call nm_policy_schedule_device_change_check() right
12073 before we jump to the mainloop to figure out which device
12076 * src/NetworkManagerSystem.[ch]
12077 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12078 convert back and forth from interface names to interface
12081 * src/nm-device-802-11-wireless.c
12082 - (real_init): connect to wireless-event signals from the netlink
12084 - (nm_device_802_11_wireless_event): new function, schedule handler
12085 for wireless event signals from the netlink monitor object. We
12086 want the handler to run in the device's context
12087 - (wireless_event_helper): handle wireless-event signals from netlink
12088 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12091 * src/nm-device-802-11-wireless.h
12092 - remove unused prototype for nm_device_802_11_wireless_new
12094 * src/nm-device-802-3-ethernet.c
12095 - (real_init): new function; set up signal handlers for link events
12096 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12097 handler for netlink link activated events on device's main loop
12098 - (link_activated_helper): when we get a link activated event, set
12099 the device's link to be active
12100 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12101 handler for netlink link deactivated events on device's main loop
12102 - (link_deactivated_helper): when we get a link deactivated event, set
12103 the device's link to be inactive
12104 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12107 * src/nm-device-802-3-ethernet.h
12108 - remove unused prototype for nm_device_802_3_ethernet_new
12110 * src/nm-device.[ch]
12111 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12112 but locks the device list
12113 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12115 * src/nm-netlink-monitor.[ch]
12116 - (nm_netlink_monitor_class_install_signals): New signal
12118 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12120 - (nm_netlink_monitor_event_handler): expand for wireless events too
12122 * src/nm-marshal-main.c
12123 - Include generated nm-marshal.c and nm-marshal.h
12125 * src/nm-marshal.list
12126 - List of custom marshal functions
12128 2006-03-05 Dan Williams <dcbw@redhat.com>
12130 * gnome/applet/applet-notifications.h
12131 - Protect prototype of nma_send_event_notification() because it
12132 includes libnotify-specific types
12133 - Include libnotify/libnotify.h too, since we technically need it
12135 * gnome/applet/applet.c
12136 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12137 - (nma_show_vpn_login_banner_dialog): add some error checking
12139 2006-03-04 Dan Williams <dcbw@redhat.com>
12141 Clean up activation cancellation. Should be a lot faster now. Observed
12142 an issue with wireless devices between stage 2 and 3 of activation, where
12143 activation would be cancelled, but the device thread wouldn't notice until
12144 the supplicant association timed out. Reorganize activation such that
12145 a cancellation handler gets immediately scheduled in the device's thread,
12146 and devices have a chance to perform any custom cleanup too.
12148 * src/nm-device.[ch]
12149 - (activation_cancel_handler): new device-type-specific function
12150 for cleaning up device-type-specific stuff on cancellation
12151 - (cancel_activation): removed
12152 - (nm_device_activation_cancel): subsume functionality of
12153 real_cancel_activation, but instead of doing anything, punt
12154 operation to a handler that's run in device-thread context
12155 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12157 - (activation_handle_cancel_helper): cancellation handler run in
12158 device-thread context, calls device-type-specific cancelation,
12159 then tears down the activation request
12160 - (real_activation_cancel_handler): generic cancellation handler,
12161 deals with cancelling any in-process DHCP request
12162 - (nm_device_activate_stage1_device_prepare,
12163 nm_device_activate_stage2_device_config,
12164 nm_device_activate_stage3_ip_config_start,
12165 nm_device_activate_stage4_ip_config_get,
12166 nm_device_activate_stage4_ip_config_timeout,
12167 nm_device_activate_stage5_ip_commit): don't call
12168 nm_device_schedule_activation_handle_cancel() any more, since
12169 cancellation will have been already scheduled for us by
12170 nm_device_activation_cancel(). Just exit the function and
12171 assume that the cancel handler will be called next.
12173 * src/nm-device-802-3-ethernet.c
12174 - (real_act_stage2_config): remove; didn't do anything anyway
12176 * src/nm-device-802-11-wireless.c
12177 - (supplicant_status_cb): ensure we don't do anything if the activation
12179 - (real_activation_cancel_handler): implement; cancel user key request
12180 on activation cancellation
12182 2006-03-04 Dan Williams <dcbw@redhat.com>
12184 * src/nm-device-802-11-wireless.c
12185 - (supplicant_send_network_config): assume that drivers that don't
12186 support WPA pretty much suck, and can't handle NM scanning
12187 along with wpa_supplicant.
12189 2006-03-03 Robert Love <rml@novell.com>
12191 * configure.in: Bump version to 0.6.0.
12194 2006-03-03 Robert Love <rml@novell.com>
12196 * configure.in: Require DBUS 0.60 or later.
12198 2006-03-03 Dan Williams <dcbw@redhat.com>
12200 Fix a crash if an "Other wireless network" was chosen, failed, then
12201 chosen again from the applet's menu. If the other network wasn't
12202 noticed in a scan, it wouldn't have any capabilities, but would still
12203 be listed because the user forced the network. To fix this, we set
12204 sensible capabilities on the forced network, which will get overwritten
12205 with the correct ones if the network shows up later in a scan.
12207 * src/nm-ap-security.h
12208 - Add a new "get_default_capabilities_func" member to the
12211 * src/nm-ap-security.c
12212 - (nm_ap_security_get_default_capabilities): new function
12214 * src/nm-ap-security.c
12215 src/nm-ap-security-wep.c
12216 src/nm-ap-security-wpa-psk.c
12217 src/nm-ap-security-wpa-eap.c
12218 - Implement get_default_capabilities_func() for all, which
12219 uses the information contained in a specific NMAPSecurity
12220 object to determine default AP capabilites necessary
12221 to support that object
12223 As a secondary measure, we now prune artificial access points that fail
12224 to be activated right away. The thing failed, and we have no scan data for
12225 it, so it's pretty much useless since security information is only saved
12226 in the applets when a connection is successful.
12228 * src/NetworkManagerAPList.c
12229 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12230 not artificial. If we see it, it's no longer a figment of the
12231 user's imagination :)
12233 * src/NetworkManagerPolicy.c
12234 - (nm_policy_activation_failed): send along the failed AP if we
12237 * src/nm-device-802-11-wireless.c
12238 - (real_activation_failure_handler): remove artificial APs from
12239 the device list, because activation failed
12241 2006-03-02 Robert Love <rml@novell.com>
12243 Add support for retrieving both the per-device speed and the
12244 per-network maximum supported rate. Then change the getProperties
12245 DBUS API for both networks and devices to report this informaiton.
12246 Finally, display the information via both nm-applet and nm-tool:
12247 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12249 * gnome/applet/applet.c: Display the device's speed in the 'Connection
12250 Information' dialog.
12251 * gnome/applet/applet.glade: Update the UI to show per-device speed.
12252 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12253 network_device_get_speed() and network_device_set_speed() for
12254 retrieving and setting, respectively, a network device's current
12256 * src/nm-dbus-device.c: Send the device's speed on getProperties.
12257 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12258 in the function nm_device_802_11_wireless_get_bitrate() -- it does
12259 not matter (yet) what the units are, because we only feed it its own
12260 output. Implement SIOCGIRATE and set the per-network maximum
12261 supported rate during scanning.
12262 * src/nm-device-802-11-wireless.h: Export the function
12263 nm_device_802_11_wireless_get_bitrate().
12264 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12265 function nm_device_802_3_ethernet_get_speed() for returning an
12266 802.3's current speed, in Mb/s.
12267 * test/nm-tool.c: Display the per-device current speed, if available,
12268 and the per-network maximum rate.
12270 2006-03-02 Dan Williams <dcbw@redhat.com>
12272 * src/nm-device-802-11-wireless.c
12273 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12274 card when it gets initialized. Since devices don't get added to
12275 the scan list until they are initialized, this function wasn't
12276 setting the intitial scan interval correctly, and was leaving
12277 it at 0. This caused cards to get many scan requests in a short
12278 amount of time when they were initialized
12280 2006-03-02 Robert Love <rml@novell.com>
12282 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12283 active device. But do not do what we used to do and override the
12284 state, which caused the dreaded icon race of '05.
12286 2006-03-02 Robert Love <rml@novell.com>
12288 Commit Dan's update of my previous commit:
12289 * src/nm-device-802-11-wireless.c: Always set the mode, because the
12290 set_mode() function itself does the check. But do only set the
12291 frequency if in Ad-Hoc mode.
12293 2006-03-02 Robert Love <rml@novell.com>
12295 Patch by Brian Magnuson <magnuson@rcn.com>:
12296 * src/nm-device-802-11-wireless.c: During scanning, only set the
12297 wireless mode to infrastructure if it is not currently in
12298 infrastructure mode. For some driver, setting the mode is a costly
12299 operation, apparently.
12301 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
12303 * Makefile.am: use the correct dir for autostart mechanism.
12305 2006-02-28 Dan Williams <dcbw@redhat.com>
12307 Patch from Brian Magnuson <magnuson@rcn.com>
12308 * gnome/applet/applet.c
12309 - (nma_show_vpn_failure_dialog): fix errors left over from
12310 libnotify support changes
12312 2006-02-28 Dan Williams <dcbw@redhat.com>
12314 * src/vpn-manager/nm-vpn-act-request.[ch]
12315 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12317 - (nm_vpn_act_request_is_failed): new function; return whether or
12318 not the vpn activation request has failed
12320 * src/vpn-manager/nm-vpn-manager.c
12321 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12322 daemon to kill the connection when the activation request fails.
12323 Fixes issue where NM would get confused if the VPN activation
12324 request timed out, and would not allow further VPN connections
12327 2006-02-28 Dan Williams <dcbw@redhat.com>
12329 * gnome/applet/applet.c
12330 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12331 overlapping connection requests, disable all VPN menu items
12332 but the active VPN connection
12334 2006-02-28 Dan Williams <dcbw@redhat.com>
12336 * src/vpn-manager/nm-vpn-connection.c
12337 - (nm_vpn_connection_set_parent_device): fix C&P error which
12338 called g_object_unref() on the connection's parent device
12339 when it should have been ref-ed instead. Fixes crash with
12340 repeated vpn connect requests
12342 2006-02-28 Christopher Aillon <caillon@redhat.com>
12344 * gnome/applet/applet.glade:
12345 Mark a few strings non-translatable, since they shouldn't be.
12347 2006-02-28 Dan Williams <dcbw@redhat.com>
12349 * src/vpn-manager/nm-vpn-service.c
12350 - (nm_vpn_service_start_connection): if the vpn service daemon is
12351 already running, don't blindly ask it to connect, but wait until
12352 it's in the STOPPED state first. Fixes an assertion when user
12353 starts a second vpn connection without stopping the first.
12354 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12355 dbus service exists before continuing with the connection
12356 process, and reduce latency while waiting for it to become
12358 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12359 waiting for the vpn service daemon to become available
12360 - General log message cleanups; show progress via "Stage x of 4"
12361 rather than not telling anyone how many stages there are
12363 2006-02-28 Robert Love <rml@novell.com>
12365 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12366 * src/backends/NetworkManagerSuSE.c: Implement the interface
12367 nm_system_should_modify_resolv_conf() for SUSE.
12368 * src/backends/NetworkManagerDebian.c,
12369 src/backends/NetworkManagerGentoo.c,
12370 src/backends/NetworkManagerRedHat.c,
12371 src/backends/NetworkManagerSlackware.c: Add stub.
12372 * src/named-manager/Makefile.am: Grab includes from src.
12373 * src/named-manager/nm-named-manager.c: Allow backends to disable the
12374 automatic updating of resolv.conf. This is useful for testing,
12375 broken static configurations, and administrator lock-down.
12377 2006-02-28 Dan Williams <dcbw@redhat.com>
12379 * src/nm-device-802-11-wireless.c
12380 - Move all the wpa_supplicant-related management stuff into its
12381 own struct, just for oranization's sake
12382 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12383 to a GIOChannel/GSource
12384 - (supplicant_log_stdout): new function; grab output from the
12385 wpa_supplicant stdout pipe and write it to our logs.
12387 2006-02-27 Christopher Aillon <caillon@redhat.com>
12389 * src/nm-device-802-11-wireless.c:
12390 Err, fix thinko in my previous commit.
12392 2006-02-28 Robert Love <rml@novell.com>
12394 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12396 2006-02-28 Robert Love <rml@novell.com>
12398 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12399 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12400 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12401 deserializers are responsible for freeing the returned DBUS strings.
12403 2006-02-27 Christopher Aillon <caillon@redhat.com>
12405 * src/nm-device-802-11-wireless.c:
12406 The scan list is being pruned prematurely. We should prune after
12407 the device has gone MIA for three scans, not one. Split out the
12408 interval to realtime seconds function to better serve this.
12410 2006-02-27 Robert Love <rml@novell.com>
12412 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12413 Open the pid file O_TRUNC, so if it already exists we truncate it to
12414 zero length. Also, be more verbose about warnings generated during
12415 writing out the pid file. Finally, always write out the pid file if
12416 in daemon mode. Use "--pid-file" to override the default.
12418 2006-02-27 Robert Love <rml@novell.com>
12420 Patch by R. Vinay <rvinay@novell.com>:
12421 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12422 'last_attempt_success' when removing a VPN connection, too. (Fixes
12423 Novell bug #153628).
12425 2006-02-27 Robert Love <rml@novell.com>
12427 * gnome/applet/applet.glade: Set "activates_default" on passphrase
12428 entry so user can hit <ENTER> after entering passphrase (Novell bug
12431 2006-02-27 Dan Williams <dcbw@redhat.com>
12434 - Mass search/replace of:
12436 NMWirelessApplet -> NMApplet
12437 NM_*_WIRELESS_APPLET -> NM_*_APPLET
12438 (it ain't just for wireless anymore, ma!)
12439 - Fix duplicate function name printing when using nm_warning
12440 - wireless-applet.glade -> applet.glade
12442 2006-02-27 Dan Williams <dcbw@redhat.com>
12444 * dispatcher-daemon/NetworkManagerDispatcher.c
12445 - Accept --pid-file with a path to a pidfile, write it out on
12446 startup, and delete it on shutdown
12448 * src/NetworkManager.c
12449 - Accept --pid-file with a path to a pidfile, write it out on
12450 startup, and delete it on shutdown
12451 - Move nm_print_usage() lower
12453 * initscripts/RedHat/NetworkManager.in
12454 - Use new --pid-file option
12455 - Fix service stopping to wait a bit for NM to quit
12457 * initscripts/RedHat/NetworkManagerDispatcher.in
12458 - Use new --pid-file option
12460 2006-02-26 Dan Williams <dcbw@redhat.com>
12463 - make and install nm-crash-logger
12465 * src/nm-logging.[ch]
12466 - New files; consolidate logging and crash handling
12468 * src/nm-crash-logger.c
12470 - Standalong crashlogger for NM, grab a backtrace
12473 * src/NetworkManager.[ch]
12474 - Remove signal handling and put it into nm-logging.c
12476 2006-02-26 Dan Williams <dcbw@redhat.com>
12479 gnome/applet/Makefile.am
12480 - Conditionalize all the notify stuff
12482 Merge most of Chris Aillon's notification patch:
12484 * gnome/applet/applet-notifications.[ch]
12485 - New files; show a notification
12487 * gnome/applet/applet-dbus-devices.[ch]
12488 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12489 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12490 new functions, do the right thing when a device change occurs
12492 * gnome/applet/applet-dbus.c
12493 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12494 signals, so we can handle them specially
12496 * gnome/applet/applet.[ch]
12497 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12498 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12499 - (nmwa_notify_state): remove
12500 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12501 notification work is now done when the appropriate dbus signals
12503 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12504 defer execution of the notification/dialog stuff. That was an
12505 artifact of the previous multi-threaded nature of the applet
12506 and is now pointless.
12507 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12508 no longer needed. Function folded into applet-notifications.c
12510 * src/NetworkManagerPolicy.c
12511 - (nm_policy_activation_finish): send the AP along with the device
12512 status change signal, if the connection is wireless. Should
12513 fix the race where applet would show a connection to "unknown"
12515 2006-02-25 Robert Love <rml@novell.com>
12517 Add WPA Enterprise support:
12518 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12519 nm-gconf-wso-wpa-eap.h.
12520 * gnome/applet/nm-gconf-wso-wpa-eap.c,
12521 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
12522 serialization and deserialization.
12523 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12524 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12525 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12526 * gnome/applet/wireless-applet.glade: Add UI for configurating security
12527 settings related to WPA Enterprise.
12528 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12529 instantiate WPA Enterprise wireless-security-option.
12530 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12531 Implement WPA Enterprise wireless-security-option object.
12532 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12534 * libnm-util/cipher-wpa-psk-hex.c,
12535 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12536 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12537 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12538 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12539 including the cipher to DBUS method, and
12540 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12542 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12543 nm-ap-security-wpa-eap.h
12544 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12545 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12546 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12547 files. Implement NMAPSecurityWPA_EAP object.
12548 * src/nm-ap-security-wpa-psk.c: Cleanup.
12549 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12550 an NMAPSecurityWPA_EAP object via the method
12551 nm_ap_security_wpa_eap_new_deserialize().
12552 * src/nm-dbus-nm.c: Cleanup.
12553 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12554 WPA Enterprise support.
12556 2006-02-24 Robert Love <rml@novell.com>
12558 Patch from Timo Hoenig <thoenig@suse.de>:
12559 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12561 2006-02-24 Robert Love <rml@novell.com>
12563 Patch from Dan Winship <danw@novell.com>:
12564 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
12565 area to transparent.
12567 2006-02-21 Dan Williams <dcbw@redhat.com>
12569 * gnome/applet/applet.[ch]
12570 gnome/applet/applet-dbus.c
12571 - Implement notification support for VPN messages too
12573 2006-02-21 Dan Williams <dcbw@redhat.com>
12575 * gnome/applet/applet-dbus-info.c
12576 - Clean up warning messages to not double-print the function
12578 2006-02-21 Dan Williams <dcbw@redhat.com>
12580 * gnome/applet/applet-compat.c
12581 - (convert_one_entry): accept entries without a key_type and
12582 convert them to unencrypted networks
12584 2006-02-21 Dan Williams <dcbw@redhat.com>
12586 * gnome/libnm_glib/libnm_glib.c
12587 - Use __func__ everywhere we can
12589 - Use dbus pending calls rather than blocking
12590 - Reduce busywaits for our thread to start and stop
12591 (gnome.org #330562)
12592 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12593 stomp on others using the default shared dbus connection.
12594 Fixes #rh177546# and gnome.org #326572
12596 2006-02-21 Dan Williams <dcbw@redhat.com>
12598 Patch from Rodney Dawes <dobey@novell.com>
12600 gnome/applet/Makefile.am
12601 gnome/applet/applet.c
12602 - Add libnotify support if '--enable-notify=yes' is passed
12605 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
12607 * configure.in (ALL_LINGUAS): ko added. (Korean)
12609 2006-02-15 Robert Love <rml@novell.com>
12611 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12612 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12613 and WPA_SUPPLICANT_CONTROL_SOCKET.
12615 2006-02-15 Robert Love <rml@novell.com>
12617 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12618 information about what connection stage we are at, provide the total
12619 number of stages, e.g. "Stage 2 of 5", so users know how far along
12620 they are if they experience problems.
12622 2006-02-15 Robert Love <rml@novell.com>
12624 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12625 define to $sysconfdir.
12626 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12627 editing dialog, vpn_edit_widget, which fixes a bug where editing one
12628 type of VPN and then editing another results in a mangled dialog
12629 box containing the widgets from both VPNs (fixes Novell #150854).
12630 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12632 2006-02-14 Robert Love <rml@novell.com>
12634 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12635 syslog's file descriptor.
12637 2006-02-14 Robert Love <rml@novell.com>
12639 Fix bug around since the change to "deal with APs changing settings on
12640 us," checked in on the fifth of February in the year of the dog,
12641 wherein connecting to non-broadcast encrypted networks always fails
12642 because nm_ap_get_encrypted() always returns FALSE, even when the user
12643 provided a key, because the newly-created fake AP does not have any
12644 capabilities set, which is a sypmtom of security settings not matching
12645 capabilities (Novell bug #150784):
12646 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12647 nm_ap_add_capabilities_from_security(), which sets the given AP's
12648 capabilities off the given security settings. Also improve our
12649 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12650 NM_AUTH_CIPHER_AUTO.
12651 * src/nm-device-802-11-wireless.c: Call the function
12652 nm_ap_add_capabilities_from_security() to ensure that capabilities
12653 match newly updated security settings.
12655 2006-02-14 Robert Love <rml@novell.com>
12657 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12658 error as a string, not an integer, if possible; do not print the
12659 function name twice; always give the interface, if possible; misc.
12662 2006-02-12 Dan Williams <dcbw@redhat.com>
12664 Patch from Tom Parker <palfrey@tevp.net>
12665 * src/NetworkManagerSystem.h
12666 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12669 * src/backends/NetworkManagerDebian.c
12670 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12673 2006-02-12 Dan Williams <dcbw@redhat.com>
12675 * vpn-daemons/openvpn/intltool-extract.in
12676 vpn-daemons/openvpn/intltool-merge.in
12677 vpn-daemons/openvpn/intltool-update.in
12678 vpn-daemons/pptp/intltool-extract.in
12679 vpn-daemons/pptp/intltool-merge.in
12680 vpn-daemons/pptp/intltool-update.in
12681 - Remove from CVS, they should get created by intltoolize,
12684 2006-02-12 Dan Williams <dcbw@redhat.com>
12686 * vpn-daemons/pptp/src/pppd/patchlevel.h
12687 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12688 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12689 Makefile-defined VERSION
12691 2006-02-09 Dan Williams <dcbw@redhat.com>
12693 Patch from: Vinay A R <rvinay@novell.com>
12694 * src/vpn-manager/nm-vpn-act-request.[ch]
12695 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12696 IPSec VPNs require them for std gateway.
12697 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12698 and 'user_routes_count'
12699 - (nm_vpn_act_request_get_user_routes): new function; gets user
12700 defined routes from NMVPNActRequest object, returns the string
12703 * src/vpn-manager/nm-vpn-manager.[ch]
12704 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
12705 for 'user_routes' and 'user_routes_count'
12707 * src/vpn-manager/nm-dbus-vpn.c
12708 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
12709 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
12711 * src/vpn-manager/nm-vpn-service.c
12712 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
12715 Modifications by Dan:
12716 * src/vpn-manager/nm-vpn-service.c
12717 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
12720 * vpn-daemons/vpnc/src/nm-vpnc-service.c
12721 * vpn-daemons/pptp/src/nm-pptp-service.c
12722 * vpn-daemons/openvpn/src/nm-openvpn-service.c
12723 - Grab user routes from dbus message
12724 - Free all string arrays we got from dbus
12726 2006-02-07 Robert Love <rml@novell.com>
12728 Patch by Stefan Seyfried <seife@suse.de>:
12729 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
12731 2006-02-06 Robert Love <rml@novell.com>
12733 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
12735 2006-02-06 Robert Love <rml@novell.com>
12737 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
12738 test ">=" is never false. If no newline is found, we loop forever.
12739 We can just check for ">" because the following if() will see the
12740 zero-th argument if the while() gets that far.
12742 2006-02-05 Dan Williams <dcbw@redhat.com>
12744 Refine handling of non-broadcast networks.
12746 * src/NetworkManagerAPList.c
12747 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
12748 property from scanned AP to the AP from the device list
12750 * src/nm-device-802-11-wireless.c
12751 - (supplicant_send_network_config): use ap_scan=1 for all networks
12752 except non-SSID-broadcasting and Ad-Hoc networks. Use
12753 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
12754 networks since those don't have APs.
12755 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
12756 AP as non-SSID-broadcasting
12757 - (process_scan_results): don't handle non-SSID-broadcasting here
12759 2006-02-05 Dan Williams <dcbw@redhat.com>
12761 * src/nm-device-802-11-wireless.c
12762 - (get_supplicant_timeout): new function; return
12763 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
12764 14 channels. These are likely a/b/g cards, like Atheros, and
12765 slow as hell to scan.
12766 - (supplicant_timeout_cb, supplicant_monitor_start): use
12767 get_supplicant_timeout()
12769 2006-02-05 Dan Williams <dcbw@redhat.com>
12771 * src/dhcp-manager/nm-dhcp-manager.c
12772 - Loose a commit race with Robert; make sure size check
12773 uses size of DHCP_SERVICE_LEN, not hardcoded 15
12775 2006-02-05 Robert Love <rml@novell.com>
12777 Patch by Christoph Brill <chrisbrill@gmx.net>:
12778 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
12779 with DHCP_SERVICE_NAME.
12781 2006-02-05 Dan Williams <dcbw@redhat.com>
12783 Remove anything having to do with device_setup_func from the
12784 AP security objects, since it's no longer used.
12786 * src/nm-ap-security.h
12787 - Kill device_setup_func and nm_ap_security_device_setup()
12789 * src/nm-ap-security-wep.c
12790 src/nm-ap-security-wpa-psk.c
12791 - (real_device_setup): remove
12793 * src/nm-ap-security.c
12794 - (real_device_setup): remove
12795 - (nm_ap_security_device_setup): remove
12797 * src/nm-device-802-11-wireless.[ch]
12798 - (nm_device_802_11_wireless_set_wep_enc_key): make static
12799 - (set_wireless_config, wireless_configure_adhoc): remove; unused
12800 and done by wpa_supplicant now anyway
12802 2006-02-05 Dan Williams <dcbw@redhat.com>
12804 * src/nm-device-802-11-wireless.c
12805 - (ap_need_key, real_act_stage2_config): deal with APs changing
12806 settings on us. Previously NM would loop asking for the
12807 key but getting the same one back. Now, if the NMI-supplied
12808 cipher doesn't overlap with the scanned AP capabilities,
12809 we request a completely new key from the user.
12811 2006-02-05 Dan Williams <dcbw@redhat.com>
12813 * src/NetworkManagerUtils.c
12814 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
12815 Handle newline killing better
12817 2006-02-05 Dan Williams <dcbw@redhat.com>
12819 * gnome/applet/nm-gconf-wso.c
12820 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
12821 of unencrypted access point security info.
12823 2006-02-03 Robert Love <rml@novell.com>
12825 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
12826 user's encryption key, so we print the err_msg_cmd not the command,
12827 if available. So long as SUPPLICANT_DEBUG is default, this makes
12830 2006-02-03 Christopher Aillon <caillon@redhat.com>
12832 * initscript/RedHat/NetworkManagerDispatcher.in:
12833 * initscript/RedHat/NetworkManager.in: modify the pidfile location
12834 Patch from Dan Walsh <dwalsh@redhat.com>
12836 2006-02-03 Robert Love <rml@novell.com>
12838 * dispatcher-daemon/NetworkManagerDispatcher.c,
12839 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
12840 but use the sysconfdir.
12842 2006-02-03 Robert Love <rml@novell.com>
12844 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
12845 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
12847 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
12848 nm_ip4_config_get_hostname() and
12849 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
12850 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
12851 leak g_strdup() result.
12853 2006-02-03 Robert Love <rml@novell.com>
12855 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
12856 broadcast == TRUE. Also, copy broadcast and artificial properties
12857 from source network to destination in nm_ap_copy().
12858 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
12859 since we now default new networks to non-hidden.
12861 2006-02-03 Dan Williams <dcbw@redhat.com>
12863 * gnome/applet/main.c
12864 - (main): change the NEVER->ALWAYS so we start at the
12865 beginning of the session, if being session-managed
12867 2006-02-03 Dan Williams <dcbw@redhat.com>
12869 * gnome/applet/main.c
12870 - (main): in a variation on Robert's patch, change
12871 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
12874 2006-02-02 Robert Love <rml@novell.com>
12876 * src/Makefile.am: If we aren't going to create the run directory at,
12877 uh, run-time, create it during install. Then users just doing
12878 'make install' are cool, too. While we are here, create the
12879 dispatcher.d directory, too.
12880 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
12881 the exact run directory.
12882 * Makefile.am: Install nm-applet.desktop.
12884 2006-02-02 Robert Love <rml@novell.com>
12886 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
12887 structure, which denotes whether or not the AP is hidden. This is a
12888 superset of 'artificial' -- we need 'broadcast' because a hidden AP
12889 can show up in the scan list. Add nm_ap_get_broadcast() and
12890 nm_ap_set_broadcast() accessor interfaces.
12891 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
12892 nm_ap_set_broadcast().
12893 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
12894 "getProperties" method, which denotes whether or not the given
12896 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
12897 an artificial network. Set broadcast to TRUE when scanning returns
12898 an ESSID and FALSE when not.
12899 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
12900 from "getProperties" method on a network. Possible TODO is to
12901 somehow display this.
12902 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
12904 2006-02-02 Dan Williams <dcbw@redhat.com>
12906 * src/nm-device-802-11-wireless.c
12907 - (supplicant_interface_init): don't try to create
12908 /var/run/NetworkManager, since that should be done by
12909 the distro package. Causes problems for stuff like SELinux
12911 2006-02-02 Robert Love <rml@novell.com>
12913 Patch by Sureshkumar T <tsureshkumar@novell.com>:
12914 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
12915 Check for and handle empty string for iface.
12917 2006-02-01 Robert Love <rml@novell.com>
12919 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
12922 2006-01-31 Dan Williams <dcbw@redhat.com>
12924 * nm-applet.desktop
12925 - Add --sm-disable to Exec arguments, presuming that when
12926 using autostart, we don't want session management
12928 2006-01-31 Robert Love <rml@novell.com>
12930 * src/NetworkManagerAP.c: Add two new manufacturer default network
12931 names: linksys-a and linksys-g. These are found (at least) on the
12932 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
12935 2006-01-31 Robert Love <rml@novell.com>
12937 * src/NetworkManagerAP.c: Optimize the function
12938 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
12939 machine code. This is the first in a series of code tweaks aiming to
12940 generate better machine code and make NetworkManager all the better.
12941 Just kidding. Who has time to go through the assembly generated for
12942 every function? I certainly don't. I have a wife, a kid, a job,
12943 a mortgage, a mistress. But this function was so bad, I was called
12944 to arms. Like the book.
12946 2006-01-31 Robert Love <rml@novell.com>
12948 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
12949 AP is not broadcasting, to scan with probe request frames. Required
12950 for non-broadcast networks.
12952 2006-01-31 Robert Love <rml@novell.com>
12954 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
12955 preprocessor define (still 20s). Fix message text in nm_info()
12956 s/too too/took too/.
12958 2006-01-30 Dan Williams <dcbw@redhat.com>
12960 * src/nm-device-802-11-wireless.c
12961 - (supplicant_monitor_start): increase connect/auth timeout to
12962 20 seconds from 10 seconds
12964 2006-01-30 Dan Williams <dcbw@redhat.com>
12967 - Define LOCALSTATEDIR
12969 * src/nm-device-802-11-wireless.c
12970 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
12971 socket where we want it to
12973 * src/wpa_ctrl.[ch]
12974 - (wpa_ctrl_open): accept location to put local control socket
12976 2006-01-30 Robert Love <rml@novell.com>
12978 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
12979 get_ip4_string() for "domain_name".
12981 2006-01-30 Robert Love <rml@novell.com>
12983 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12984 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
12985 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
12986 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
12987 support for "Automatic" pairwise and group cipher configuration by
12988 letting wpa_supplicant handle the details. Add UI elements, new
12989 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
12990 charm. Note this does more than add a nice feature, it fixes a bug.
12991 Apparently, some people have AP's where the pairwise cipher does not
12992 match the group cipher. Insane, but true.
12994 2006-01-30 Dan Williams <dcbw@redhat.com>
12996 * gnome/applet/applet-dbus-devices.c
12997 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
12998 functions, grab device driver name from NetworkManager
12999 - (nmwa_dbus_device_properties_cb): call functions to get driver
13001 * gnome/applet/applet.c
13002 - (nmwa_update_info): show driver name in Connection Information
13005 * gnome/applet/nm-device.[ch]
13006 - (network_device_get_driver, network_device_set_driver): add
13007 accessors for driver name
13009 * gnome/applet/wireless-applet.glade
13010 - Add line for driver name to Connection Information dialog
13012 * src/nm-dbus-device.c
13013 - (nm_dbus_device_get_driver): new function to return driver name
13014 - (nm_dbus_device_methods): hook up driver name function to dbus
13017 - (get_driver_name): new function
13018 - (detail_device): grab and show driver name
13020 2006-01-30 Robert Love <rml@novell.com>
13022 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13023 does not parse the markup if it is not part of the format.
13025 2006-01-30 Robert Love <rml@novell.com>
13027 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13028 FALSE, we have no security options for this dialog, so we throw up
13029 an error dialog instead of a broken passphrase dialog. Fixes
13031 * gnome/applet/wireless-security-manager.c,
13032 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13033 does not add any security options, not even NONE, print a warning
13034 and return FALSE. This let's functions constructing a dialog bail
13035 out if the device's capabilities and the network's requirements have
13038 2006-01-27 Robert Love <rml@novell.com>
13040 * configure.in: Require wpa_supplicant. Detect location of binary and
13041 use it. Override with "--with-wpa_supplicant=foo".
13042 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13043 path to wpa_supplicant but use the auto-detected or user-provided
13044 value from configure.
13046 2006-01-27 Robert Love <rml@novell.com>
13048 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13049 but the DHCP server did not return a hostname, try to look up our
13050 name via DNS and set the system hostname to that.
13052 2006-01-27 Dan Williams <dcbw@redhat.com>
13054 * src/backends/NetworkManagerRedHat.c
13055 - Add NM_CONTROLLED system network script support for RH/Fedora
13057 2006-01-27 Dan Williams <dcbw@redhat.com>
13059 * src/backends/NetworkManagerGentoo.c
13060 - (nm_system_device_get_disabled): add missing function.
13063 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
13065 * configure.in: Added vi in ALL_LINGUAS line.
13067 2006-01-26 Robert Love <rml@novell.com>
13069 * src/Makefile.am, src/kernel-types.h: Now that two different source
13070 files are feeling the crack-addled leakage of kernel types such as
13071 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13072 types in user-space -- define a header and include it as needed.
13073 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13074 * src/nm-device-802-3-ethernet.h: Remove defines.
13075 * src/wpa.c: Remove defines and include kernel-types.h.
13077 2006-01-26 Robert Love <rml@novell.com>
13079 * TODO: Update. WPA support is in the bag and HAL restarts (should)
13082 2006-01-26 Robert Love <rml@novell.com>
13084 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13085 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13086 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13087 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13088 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13089 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13090 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13091 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13092 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13093 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13094 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13095 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13096 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13097 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13098 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13099 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13100 Kill unused variables, labels, and static functions. Don't pass
13101 string literals as the format string for printf-like functions.
13103 2006-01-25 Dan Williams <dcbw@redhat.com>
13105 * gnome/applet/wireless-applet.glade
13106 - Remove WPA2 Checkbox
13108 * gnome/applet/wireless-security-manager.c
13109 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13110 This means the Wireless Security menu now has two WPA options,
13111 one for "WPA Personal" and one for "WPA2 Personal"
13113 * gnome/applet/wso-wpa-psk.[ch]
13114 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13115 'wpa2' argument to determine WPA version to use
13116 - (append_dbus_params_func): pass stored WPA version to cipher
13117 rather than using the (removed) checkbox
13119 2006-01-24 Robert Love <rml@novell.com>
13121 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13122 before we g_strdup(), not the ultimate string.
13124 2006-01-23 Dan Williams <dcbw@redhat.com>
13126 * src/NetworkManagerAP.[ch]
13127 - (nm_ap_new_from_ap): copy original essid too
13128 - (nm_ap_unref): free original essid
13129 - (nm_ap_get_orig_essid): new function
13130 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13131 but keep original essid around too
13133 * src/nm-device-802-11-wireless.c
13134 - (supplicant_send_network_config): send wpa_supplicant the
13135 _original_ essid, and not as a string, but in hex. Should
13136 allow us to connect to more APs that use wierd character
13137 encodings for their essids
13139 * utils/nm-utils.[ch]
13140 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13141 to UTF-8. If it's not already valid UTF-8, we check LANG and
13142 use the current locale as a hint for what encoding the essid
13143 might be in. Obviously not 100% accurate, but the idea here is
13144 that if a user's locale is ex. ja_JP, they are more likely than
13145 not to be in Japan, where access points will likely be in some
13148 2006-01-23 Dan Williams <dcbw@redhat.com>
13150 * libnm-util/cipher-private.h
13151 libnm-util/cipher.c
13152 libnm-util/cipher.h
13153 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13155 2006-01-23 Robert Love <rml@novell.com>
13157 Patch by Timo Hoenig <thoenig@suse.de>:
13158 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13159 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13160 by DHCP and pass it to the backends, allowing distribution-specific
13161 behavior with respect to the DHCP-supplied hostname (if nothing else,
13162 some distributions might not want to set the hostname).
13163 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13164 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13165 Also update our NIS behavior.
13166 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13167 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13168 Add stub functions.
13170 2006-01-23 Robert Love <rml@novell.com>
13172 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13173 gnome-session does autostart. TODO: We need to install this to
13174 $prefix/share/autostart/.
13176 2006-01-22 Dan Williams <dcbw@redhat.com>
13178 * src/NetworkManagerAP.[ch]
13180 src/nm-device-802-11-wireless.c
13181 - Make nm_ap_get_essid return "const char *"
13183 2006-01-22 Dan Williams <dcbw@redhat.com>
13185 * src/NetworkManagerAP.[ch]
13186 - (nm_ap_get_matched, nm_ap_set_matched): remove
13188 * src/NetworkManagerAPList.[ch]
13189 - (nm_ap_list_diff): removed
13190 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13191 deal with access points changing essids on us
13193 * src/nm-device-802-11-wireless.c
13194 - (add_new_ap_to_device_list): move AP dbus signal logic to
13195 src/NetworkManagerAPList.c
13196 - (real_can_interrupt_activation): new function; allow interruption
13197 of device activation if we are waiting for a network key
13199 * src/NetworkManagerPolicy.c
13200 - (nm_policy_device_change_check): allow interruption of currently
13201 activating devices if the device allows it. Previous behavior
13202 would refuse to activate a just-plugged wired device if a
13203 wireless device was waiting for a key.
13205 * src/nm-device.[ch]
13206 - (nm_device_can_interrupt_activation): new function; ask devices
13207 whether their activation can be interrupted
13209 2006-01-20 Robert Love <rml@novell.com>
13211 * Makefile.am, configure.in: Add new man subdirectory.
13212 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13213 man/Makefile.am: Add man pages for NetworkManager and its
13214 crime-solving bumbling buddy, NetworkManagerDispatcher.
13215 * man/.cvsignore: Add.
13216 * initscript/Debian/NetworkManager,
13217 initscript/Gentoo/NetworkManager.in,
13218 initscript/RedHat/NetworkManager.in,
13219 initscript/RedHat/NetworkManagerDispatcher.in,
13220 initscript/SUSE/networkmanager-dispatcher.in,
13221 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13223 2006-01-20 Robert Love <rml@novell.com>
13225 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13226 instead of queuing. This prevents the running of multiple NM
13227 daemons concurrently, which does not work whatsoever and results in
13228 neither daemon working correctly. Also, we don't handle queuing and
13229 name-owner-changes, anyhow.
13231 2006-01-20 Robert Love <rml@novell.com>
13233 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13234 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13237 2006-01-19 Robert Love <rml@novell.com>
13239 * configure.in: Require hal 0.5.0 or later.
13241 2006-01-18 Robert Love <rml@novell.com>
13243 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13244 Allow backends to flag a device (in whatever distro-dependent way
13245 they so desire) as disabled. NM will ignore any such device.
13246 * src/backends/NetworkManagerDebian.c,
13247 src/backends/NetworkManagerRedHat.c,
13248 src/backends/NetworkManagerSlackware.c: Add stub function
13249 nm_system_device_get_disabled() that always returns FALSE (enabled).
13250 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13251 SUSE-specific configuration structure. Fill it in from the
13252 NM_CONTROLLED variable in the system networking scripts. If this var
13253 exists and is "no", we ignore the device.
13255 2006-01-17 Robert Love <rml@novell.com>
13257 * configure.in: Remove 'no' language. Replaced by 'nb', which is
13258 identical for NM. For a full discussion, see the thread at
13259 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13261 2006-01-17 Dan Williams <dcbw@redhat.com>
13264 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13265 function. Fixes crash when wired DHCP fails.
13267 2006-01-16 Robert Love <rml@novell.com>
13269 * src/Makefile.am: Don't install NMLoadModules
13270 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13271 from src/ to test/ as no one uses it anymore. Note that I would be
13272 fine with removing it altogether.
13274 2006-01-16 Robert Love <rml@novell.com>
13276 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13277 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13278 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13279 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13280 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13281 src/nm-netlink-monitor.c: Don't miss any initializers on structure
13282 declarations, ever.
13283 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13284 NM_STATE_DISCONNECTED is zero).
13286 2006-01-16 Robert Love <rml@novell.com>
13288 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
13289 uninitialized parameter and buffer overflow. Novell #143496.
13291 2006-01-16 Dan Williams <dcbw@redhat.com>
13293 Apply the PtP Address bits of a patch from Tim Niemueller
13295 * src/nm-ip4-config.[ch]
13296 - Add ip4_ptp_address member to object
13297 - (nm_ip4_config_copy): copy ptp address too
13298 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13300 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13301 rather than local tunnel ip address
13303 * src/vpn-manager/nm-vpn-service.c
13304 - (print_vpn_config): update for PtP address
13305 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13306 DBusMessageIters in preparation for getting routes from the VPN
13307 service daemons too
13309 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13310 - (send_config_info): update for PtP address, clean up code
13311 - (main): update for PtP address, clean up code, fix typo
13313 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13314 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13316 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13317 - (pptp_ip_up): update for PtP address
13319 * vpn-daemons/pptp/src/nm-pptp-service.c
13320 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13322 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13323 - (print_vpn_config): update for PtP address
13324 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13326 2006-01-16 Dan Williams <dcbw@redhat.com>
13328 * gnome/applet/applet.c
13329 - (nmwa_add_networks_helper): don't indicate an active network
13330 if NM is disconnected or asleep
13332 2006-01-16 Dan Williams <dcbw@redhat.com>
13334 * src/NetworkManagerPolicy.c
13335 - (nm_policy_device_change_check): switch devices if we lose the link
13336 on an ethernet device.
13338 2006-01-16 Dan Williams <dcbw@redhat.com>
13340 * gnome/applet/wso-wpa-psk-hex.[ch]
13341 - Renamed -> wso-wpa-psk.[ch]
13343 * gnome/applet/wso-wpa-psk.[ch]
13346 * gnome/applet/wso-wpa-psk-passphrase.[ch]
13347 - Removed, rolled into wso-wpa-psk.[ch]
13349 * gnome/applet/Makefile.am
13350 - Updated for above changes
13352 * gnome/applet/wireless-applet.glade
13353 - Consolidate WPA-PSK options into one notebook
13354 widget, and make dialogs invisible by default
13355 to fix screen oddities
13357 * gnome/applet/wireless-security-manager.c
13358 - (wsm_set_capabilities): create the new wpa-psk widget rather
13359 than both the old hex & passphrase ones
13361 2006-01-16 Dan Williams <dcbw@redhat.com>
13363 * gnome/applet/other-network-dialog.c
13364 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13366 2006-01-16 Dan Williams <dcbw@redhat.com>
13368 * gnome/applet/applet.c
13369 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13370 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13371 prevention to realize window before trying to get server
13374 * gnome/applet/other-network-dialog.c
13375 - (nmwa_other_network_dialog_run): fix up focus-stealing
13376 prevention to realize window before trying to get server
13379 * gnome/applet/passphrase-dialog.c
13380 - (nmi_passphrase_dialog_new): fix up focus-stealing
13381 prevention to realize window before trying to get server
13384 2006-01-16 Robert Love <rml@novell.com>
13386 Patch from Timo Hoenig <thoenig@suse.de:
13387 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13388 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13389 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13390 libnm-util/dbus-helpers.h: add checks whether headers are used
13391 within a C++ build.
13393 2006-01-16 Dan Williams <dcbw@redhat.com>
13395 * gnome/applet/wireless-security-option.c
13396 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13398 2006-01-16 Dan Williams <dcbw@redhat.com>
13400 * libnm-util/cipher-wpa-psk-passphrase.c
13401 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13402 be 8 - 63 characters inclusive
13404 2006-01-16 Dan Williams <dcbw@redhat.com>
13407 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13409 2006-01-13 Robert Love <rml@novell.com>
13411 Patch by T Sureshkumar <tsureshkuman@novell.com>:
13412 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13413 modules that do not use an interface.
13415 2006-01-13 Dan Williams <dcbw@redhat.com>
13419 - Allow subclasses to implement deactivate_quickly()
13420 - (nm_device_deactivate_quickly): call subclass
13421 deactivate_quickly() methods
13422 - (nm_device_set_active_link): small cleanups, and don't
13423 deactivate the device right away because we risk a deadlock
13424 when called from device thread, waiting for the device
13425 thread to cancel activation
13427 * src/nm-device-802-11-wireless.c
13428 - (real_deactivate_quickly): new function
13429 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13430 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13431 so that we kill the supplicant when we sleep too
13432 - (supplicant_interface_init): work around naive naming attempts of
13433 wpa_ctrl when naming sockets
13435 2006-01-13 Dan Williams <dcbw@redhat.com>
13437 * src/nm-device-802-11-wireless.c
13438 - (supplicant_cleanup): delete old device control sockets too
13439 - (supplicant_get_device_socket_path): new function to consolidate
13440 locations that need a path to a device's control socket
13442 2006-01-12 Robert Love <rml@novell.com>
13444 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13445 description so that the description is unique for each
13446 pair (device,provider). Fixes Novell #142773.
13448 2006-01-12 Dan Williams <dcbw@redhat.com>
13450 * src/nm-device-802-11-wireless.c
13451 - (supplicant_exec): ensure GError is correctly initialized
13452 Reported by Diego González (gnome.org #326708)
13454 2006-01-11 Robert Love <rml@novell.com>
13456 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13457 define if_mii(), open code the same results, and do so without any
13460 2006-01-11 Robert Love <rml@novell.com>
13462 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13463 that wso_foo_new() returned non-NULL. Instead, only append the new
13464 wso to wsm->options if the wso is non-NULL. The crux is that we
13465 assume that the relevant key types are implied by WEP and WPA as
13466 appropriate. To be sure, they should be, but we should not expect
13467 drivers to not be oozing piles of wolf fecal matter.
13469 2006-01-11 Robert Love <rml@novell.com>
13471 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13472 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13473 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13474 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13475 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13476 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13477 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13478 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13479 comparing values within DBL_EPSILON. Also fix shadowed variable
13482 2006-01-11 Dan Williams <dcbw@redhat.com>
13484 Add options for WPA2 and WPA1+CCMP (AES).
13486 * gnome/applet/wireless-applet.glade
13487 - Add UI bits for WPA+CCMP
13489 * gnome/applet/other-network-dialog.c
13490 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13491 and don't allow creation of WPA2 Ad-Hoc networks since
13492 wpa_supplicant doesn't support them
13494 * gnome/applet/wireless-security-manager.c
13495 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13496 on to the specific wireless security option being created
13498 * gnome/applet/wireless-security-option.[ch]
13499 - (wso_wpa_create_key_type_model): new utility function to create
13500 the model required for WPA Key Type combo box
13502 * gnome/applet/wso-private.h
13503 gnome/applet/wireless-security-option.h
13504 - Move private function prototypes into wso-private.h
13506 * gnome/applet/wso-wpa-psk-hex.[ch]
13507 gnome/applet/wso-wpa-psk-passphrase.[ch]
13508 - (append_dbus_params_func): get WPA version from checkbox and pass
13509 it to the dbus serialization helper
13510 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13511 key type combo changes
13512 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13515 * libnm-util/cipher-wpa-psk-hex.c
13516 libnm-util/cipher-wpa-psk-passphrase.c
13517 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13518 new function; allow the cipher to be changed after object creation
13520 * src/nm-ap-security-wpa-psk.c
13521 - (set_description): Do WPA2 descriptions too
13523 * src/nm-ap-security.c
13524 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13526 2006-01-11 Robert Love <rml@novell.com>
13528 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13529 is defined in <linux/mii.h> to return the mii_ioctl_data structure
13530 from the ifreq structure in lieu of an open coded solution. Removes
13531 a life-threatening type-punning.
13532 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13533 types, ever, whatsoever, baby.
13535 2006-01-11 Robert Love <rml@novell.com>
13537 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13538 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13539 assignments to applet->nm_state into a new nmwa_set_state() function
13540 for both cleanliness and to help debugging.
13542 2006-01-10 Robert Love <rml@novell.com>
13544 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
13545 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13546 seconds, exclusive. That is, we want to sleep x seconds such that
13549 2006-01-10 Robert Love <rml@novell.com>
13551 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13552 the attr fields according to the example in the email available at
13553 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13554 Conversely, we do have to free 'name', so we do so, fixing a leak.
13556 2006-01-10 Robert Love <rml@novell.com>
13558 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13559 sure that we close the socket!
13561 2006-01-10 Robert Love <rml@novell.com>
13563 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13564 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13565 src/nm-device.c: Fix a FIXME! Reimplement the function
13566 nm_device_update_hw_address() in device subclass variants,
13567 nm_device_802_3_ethernet_set_address() and
13568 nm_device_802_11_wireless_set_address(), hook them up, and use them.
13569 This fixes the existing bug where MAC addresses are all zeros.
13571 2006-01-10 Robert Love <rml@novell.com>
13573 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13574 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13575 option to give users ability to globally disconnect and put NM to
13576 sleep. This is useful as a 'lockdown mode' for flying, security, and
13579 2006-01-09 Robert Love <rml@novell.com>
13581 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
13582 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13583 User-space does not supply these types, so we have to define them
13584 ourselves. The relevant kernel maintainer refused to accept a patch
13585 switching these headers to the proper C99 types.
13587 2006-01-09 Dan Williams <dcbw@redhat.com>
13589 Apply Robert's 'tray icon redo' patch with fixes
13590 * gnome/applet/applet.c
13591 gnome/applet/applet.h
13592 - Instead of using a menu bar + menu item, simulate menu
13593 behavior using a popup menu. Highlight the area around
13594 the icon more like a menu too, by playing with the
13595 applet's size requisition
13597 2006-01-09 Timo Hoenig <thoenig@suse.de>
13598 * libnm-util/dbus-helpers.c
13599 libnm-util/dbus-helpers.h
13600 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13601 to 'exception_namespace' (:namespace is a keyword in
13604 2006-01-09 Dan Williams <dcbw@redhat.com>
13606 * src/NetworkManagerPolicy.c
13607 - (nm_policy_device_change_check): don't autoswitch away from
13608 Ad-Hoc networks, since there's really no concept of
13612 - (nm_dbus_nm_create_wireless_network): mark created networks
13615 * src/nm-device-802-11-wireless.c
13616 - (real_activation_success_handler): add user-created Ad-Hoc
13617 networks to the device's scan list
13619 2006-01-08 Dan Williams <dcbw@redhat.com>
13621 We now require a patch for wpa_supplicant to support Ad-Hoc
13623 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13625 * src/nm-device-802-11-wireless.c
13626 - (supplicant_send_network_config): turn off wpa_supplicant's
13627 scanning. Fixes Ad-Hoc networks.
13629 2006-01-08 Dan Williams <dcbw@redhat.com>
13631 * src/nm-ap-security.c
13632 src/nm-ap-security.h
13633 - Add a user_created argument to the write_supplicant_config
13636 * src/nm-ap-security-wep.c
13637 src/nm-ap-security-wpa-psk.c
13638 src/nm-device-802-11-wireless.c
13639 - Make Ad-Hoc mode somewhat work, at least write the
13640 correct options to wpa_supplicant
13642 2006-01-08 Dan Williams <dcbw@redhat.com>
13644 * src/nm-device-802-11-wireless.c
13645 - Remove unused code from the old device activation path
13647 2006-01-08 Dan Williams <dcbw@redhat.com>
13649 * libnm-util/dbus-helpers.c
13650 - (nmu_security_serialize_wpa_psk): pass a blank key through
13651 dbus when key == NULL
13653 2006-01-08 Dan Williams <dcbw@redhat.com>
13655 * gnome/applet/nm-gconf-wso-wpa-psk.c
13656 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13657 correct arguments to nmu_security_deserialize_wpa_psk()
13659 * src/nm-ap-security-wpa-psk.c
13660 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13661 arguments to nmu_security_deserialize_wpa_psk()
13663 2006-01-08 Dan Williams <dcbw@redhat.com>
13665 * gnome/applet/wso-wpa-psk-hex.c
13666 gnome/applet/wso-wpa-psk-passphrase.c
13667 - Hook up the append_dbus_params_func() function
13669 2006-01-08 Dan Williams <dcbw@redhat.com>
13671 * src/nm-device-802-11-wireless.c
13672 - (get_wireless_capabilities): correctly detect driver WPA
13675 2006-01-08 Dan Williams <dcbw@redhat.com>
13677 * gnome/applet/Makefile.am
13678 gnome/applet/wso-wpa-psk-hex.c
13679 gnome/applet/wso-wpa-psk-hex.h
13680 - New files, implement WPA-PSK Hex key input
13682 * gnome/applet/wireless-applet.glade
13683 - Change existing wpa-psk stuff to wpa-psk-hex
13684 - Add new widgets for wpa-psk-passphrase
13686 * gnome/applet/wireless-security-manager.c
13687 - (wsm_set_capabilities): enable WPA options
13689 * gnome/applet/wso-wpa-psk-passphrase.c
13690 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13691 for WPA-PSK passphrase
13693 2006-01-08 Dan Williams <dcbw@redhat.com>
13695 * include/NetworkManager.h
13696 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13697 applet/info-daemons
13699 * gnome/applet/passphrase-dialog.c
13700 - Use the constant. Fixes a bug where the arguments to
13701 dbus_message_new_error() were incorrect
13703 * src/nm-dbus-nmi.c
13706 2006-01-07 Dan Williams <dcbw@redhat.com>
13708 * src/nm-device-802-11-wireless.c
13709 - Add a link timeout so we allow the supplicant time to
13710 reassociate if it can, before we deactivate the card
13711 - Fix up link status and link updating so things work better
13713 2006-01-07 Dan Williams <dcbw@redhat.com>
13715 * src/nm-device-802-11-wireless.c
13716 - Switch over to using wpa_supplicant
13717 - Add a timeout of 10s for association of the supplicant
13718 - Start the monitor callback of the supplicant
13720 2006-01-07 Dan Williams <dcbw@redhat.com>
13722 * src/NetworkManagerUtils.c
13723 - (nm_utils_supplicant_request,
13724 nm_utils_supplicant_request_with_check):
13725 pass correct buffer length to wpa_ctrl_request()
13727 2006-01-07 Dan Williams <dcbw@redhat.com>
13729 * src/nm-device-private.h
13731 - (nm_device_activate_schedule_stage3_ip_config_start): make
13732 this function available to subclasses
13734 2006-01-06 Robert Love <rml@novell.com>
13736 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
13737 user plugging in a network cable signals their preference for to
13738 switch, unless the user explicitly selected a wireless network and
13739 therefore signaled their preference for said wireless network over
13740 wired. In other words, do exactly what makes sense.
13742 2006-01-06 Robert Love <rml@novell.com>
13744 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
13745 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
13746 src/NetworkManagerWireless.h: Remove, no longer used and they keep
13747 showing up in my greps.
13749 2006-01-06 Robert Love <rml@novell.com>
13751 * gnome/applet/applet-dbus-devices.c,
13752 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
13753 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
13754 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
13755 New Network' both failed in the non-encrypted case because we were
13756 not appending the security options to the DBUS message. And
13757 'Connect to Other' was also failing in the encrypted case because
13758 we were not incrementing to the next DBUS parameter. All fixed.
13759 Thanks to dcdw for some debugging help.
13761 2006-01-06 Robert Love <rml@novell.com>
13763 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
13764 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
13765 hangup code and add per-device hangup. Tie last commit into the
13766 GNOME applet. TODO: Save, understand, and respond to the state of
13767 each dialup device.
13769 2006-01-06 Robert Love <rml@novell.com>
13771 Patch by Timo Hoenig <thoenig@suse.de>:
13772 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
13773 hangup specific dialup devices.
13774 * src/backends/NetworkManagerDebian.c,
13775 src/backends/NetworkManagerGentoo.c,
13776 src/backends/NetworkManagerRedHat.c,
13777 src/backends/NetworkManagerSlackware.c: Add stub backend.
13778 * src/backends/NetworkManagerRedHat.c,
13779 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
13780 hangup specific dialup devices.
13782 2006-01-04 Robert Love <rml@novell.com>
13784 * gnome/applet/applet-dbus-devices.c,
13785 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
13786 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
13789 2006-01-04 Dan Williams <dcbw@redhat.com>
13791 First dump of wpa_supplicant-related code. It's not hooked up to
13792 anything yet though. Thanks to Kay Sievers for
13793 wpa_supplicant_wrapper.c, which formed the basis for this work,
13794 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
13798 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
13800 * src/NetworkManagerUtils.[ch]
13801 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
13802 Add convenience functions for talking to wpa_supplicant
13804 * src/nm-ap-security.[ch]
13805 src/nm-ap-security-wep.c
13806 src/nm-ap-security-wpa-psk.[ch]
13807 - Update and implement real_write_supplicant_config functions
13808 in all security types
13809 - (nm_ap_security_wpa_psk_new_from_ap): implement in
13810 nm-ap-security-wpa-psk.c
13812 * src/nm-device-802-11-wireless.c
13813 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
13814 wpa_supplicant_start, wpa_supplicant_interface_init,
13815 wpa_supplicant_send_network_config): add functions to talk to
13816 wpa_supplicant and write network config to it
13818 2006-01-04 Robert Love <rml@novell.com>
13820 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
13821 values so that distribution-backends can differentiate between the
13822 various types (modem, ISDN, et cetera) of dialup device that they
13824 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
13827 2006-01-03 Dan Williams <dcbw@redhat.com>
13829 * src/NetworkManagerPolicy.c
13831 src/nm-device-802-11-wireless.c
13832 - Move wireless-specific activation failure and success code
13833 into wireless device class
13835 2006-01-03 Robert Love <rml@novell.com>
13837 Patch by Preggna S:
13838 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
13839 IPsec does not require that a VPN client be bound to an interface,
13840 due to the use of the in-kernel IPSec bits. So make the tunnel
13843 2006-01-03 Dan Williams <dcbw@redhat.com>
13845 * src/NetworkManagerAP.c
13846 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
13847 the WPA IE specifies that WEP is supported
13849 * src/nm-device-802-11-wireless.c
13850 - (process_scan_results): don't mark an AP as supporting WEP
13851 if there's already other encryption capability info
13853 2006-01-03 Dan Williams <dcbw@redhat.com>
13855 * src/dhcp-manager/nm-dhcp-manager.c
13856 - Recognize activation cancellation when waiting for DHCP
13857 configuration from dhcdbd
13858 - Ignore non-dhcdbd messages
13861 - (real_act_stage3_ip_config_start): return to correct behavior
13862 of letting the dhcp-manager notify us of failure or
13863 success rather than incorrectly doing that ourselves
13864 - (nm_device_activate_stage4_ip_config_get): deal with
13865 activation cancellation a bit earlier
13867 2006-01-03 Dan Williams <dcbw@redhat.com>
13869 * src/nm-device-802-11-wireless.c
13871 - Add hooks to subclasses for stage3_ip_config_start and
13872 stage4_ip_config_timeout
13874 * src/nm-device-802-3-ethernet.c
13875 - (real_get_generic_capabilities): make devices NM-supported
13878 2006-01-03 Robert Love <rml@novell.com>
13880 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
13881 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
13882 latter cannot differentiate between error and the address -1; misc.
13885 2006-01-03 Dan Williams <dcbw@redhat.com>
13887 * src/NetworkManager.c
13888 - Move link-checking/probing into the device subclasses
13891 * src/nm-device.[ch]
13892 src/nm-device-802-11-wireless.c
13893 src/nm-device-802-3-ethernet.c
13894 - Do periodic link checking in device subclasses rather
13895 than being triggered from NetworkManager.c
13896 - discover_wireless_capabilities -> get_wireless_capabilities
13897 - discover_generic_capabilities -> get_generic_capabilities
13898 - Device subclass activation routines now return a value of type
13899 NMActStageReturn to indicate what step to perform next
13900 - Devices now override stage4_get_ip4_config if they choose
13902 2006-01-01 Dan Williams <dcbw@redhat.com>
13904 * src/nm-device-802-11-wireless.c
13905 - (real_init): don't chain up to parent init because we don't
13906 need to do that anymore
13909 - (discover_device_type): fix arguments to ioctl() to correctly
13910 pass interface name
13911 - (nm_device_new): consolidate generic device initialization into
13913 - (real_init): remove, consolidated to nm_device_new()
13914 - (nm_device_deactivate, real_deactivate): consolidate
13916 2006-01-01 Dan Williams <dcbw@redhat.com>
13918 * src/nm-activation-request.c
13919 - Change dhcp_state member of the NMActRequest structure
13920 from guint8 to guint32
13922 * src/dhcp-manager/nm-dhcp-manager.[ch]
13923 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
13924 than guint8 to match the dbus argument. Turns out we were
13925 overwriting memory since we were passing in only a guint8
13927 2005-12-31 Dan Williams <dcbw@redhat.com>
13929 * refactor NMDevice into a GObject-based framework with separate
13930 objects for wired and wireless. The following files are no
13931 longer used but should stick around for a bit so we don't
13932 loose code through the cracks:
13933 NetworkManagerDevice.c
13934 NetworkManagerDevice.h
13935 NetworkManagerWireless.c
13936 NetworkManagerWireless.h
13938 The intent here is to allow each device type to manage its own
13939 connection & activation life-cycle, ie to allow wireless devices
13940 to interface with wpa_supplicant, etc. There's a fair bit of
13941 encapsulation breakage right now that should gradually get pulled
13942 back into each device, along with things like periodic property
13943 updates and link probing.
13945 2005-12-29 Dan Williams <dcbw@redhat.com>
13947 * include/NetworkManager.h
13948 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
13949 between networks that don't have any encryption at all
13951 2005-12-29 Dan Williams <dcbw@redhat.com>
13953 * test/test-common.c
13956 - Move to a test-common subdirectory
13958 * test/libnm-util/test-ciphers.c
13959 - Move test data to test-inputs.h
13960 - Test WPA ciphers too
13962 * test/libnm-util/test-dbus-helpers.c
13963 - Test serialization/deserialization of ciphers
13965 2005-12-29 Dan Williams <dcbw@redhat.com>
13967 * gnome/applet/applet-dbus-devices.c
13968 - Replace 'enc' parameter with 'capabilities' for wireless networks
13969 in dbus calls to NM
13970 - Set capabilities on WirelessNetwork objects
13971 - Receive and save type-specific device capabilities too
13973 * gnome/applet/applet-dbus-info.c
13974 gnome/applet/applet-dbus.c
13975 - Passphrase dialog no longer a singleton; new instance gets created
13976 on each request. Updates to deal with that.
13978 * gnome/applet/applet.c
13979 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
13980 than single 'encrypted' flag
13981 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
13983 - Passphrase dialog updates per above
13985 * gnome/applet/menu-items.c
13986 - (network_menu_item_update): use AP capabilities to determine
13989 * gnome/applet/nm-device.[ch]
13990 - Add accessors for type-specific device capabilities
13992 * gnome/applet/other-network-dialog.c
13993 - Rework to respect device capabilities. i.e., if the device doesn't
13994 support WPA, remove that option from the security dropdown
13996 * gnome/applet/passphrase-dialog.c
13997 - Massive rework so that a new instance is created each time
13998 it's used, to support wireless network capabilities
14000 * gnome/applet/wireless-network.[ch]
14001 - Add accessors and members for wireless network capabilities
14003 * gnome/applet/wireless-security-manager.[ch]
14004 - (wsm_set_capabilities): called after creation to set which
14005 security options get shown to the user
14007 2005-12-29 Dan Williams <dcbw@redhat.com>
14009 * libnm-util/cipher-wpa-psk-passphrase.c
14010 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14013 2005-12-23 Dan Williams <dcbw@redhat.com>
14015 * gnome/applet/applet-dbus-info.c
14016 - (nmi_dbus_get_key_for_network): if there's no entry in
14017 GConf for a network, assume we want a new key
14018 - (nmi_save_network_info): serialize wireless security info
14019 into GConf so its saved
14022 - Fix warning as we may not be passed security info when
14023 connecting to a wireless network
14025 2005-12-23 Dan Williams <dcbw@redhat.com>
14027 * gnome/applet/applet-compat.c
14028 - Fix bugs in GConf entry conversion
14030 * gnome/applet/applet-dbus-info.c
14031 - (nmi_dbus_get_network_properties): handle case of the BSSID
14032 list being zero-length
14034 * libnm-util/cipher-*
14035 libnm-util/dbus-helpers.c
14036 - All ciphers must now return hashed keys as UTF-8 valid
14037 hexadecimal strings, ie "8f3dae4023". They are pushed
14038 through dbus as strings too.
14039 - Consolidate various functions that do bin->hex and hex->bin
14040 conversion into cipher.c
14042 * src/nm-ap-security-wep.c
14043 src/nm-ap-security-wpa-psk.c
14044 - Handle NULL keys since we may not know keys right away
14046 * src/nm-dbus-nmi.c
14047 - (nm_dbus_get_network_data_cb): actually advance to the start
14048 of the wireless security info before we try to deserialize it
14050 * libnm-util/test-ciphers.c
14051 - Update cipher tests for the change to UTF-8 hexadecimal strings
14053 2005-12-22 Dan Williams <dcbw@redhat.com>
14055 * gnome/applet/applet-compat.[ch]
14056 - Convert old-format GConf and keyring entries
14057 when the applet starts up.
14059 * gnome/applet/applet.c
14060 - (nmwa_get_instance): Call the conversion function
14061 on startup before dbus is initialized
14063 2005-12-22 Dan Williams <dcbw@redhat.com>
14065 * gnome/applet/applet-dbus-info.c
14066 - Remove nmi_dbus_create_error_message() in favor of
14067 nmu_create_dbus_error_message()
14068 - (nmi_dbus_get_network_properties): Error message cleanups
14069 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14070 gconf key rather than 'addresses', since they really are BSSIDs
14071 - (nmi_dbus_get_network_properties): Dispose of the security
14072 object when we're done with it
14074 2005-12-21 Dan Williams <dcbw@redhat.com>
14076 * Consolidate the info-daemon's "updateNetworkInfo" and
14077 "addNetworkAddress" calls into just "updateNetworkInfo"
14079 2005-12-21 Dan Williams <dcbw@redhat.com>
14081 * Make connection after key retrieval work again
14083 2005-12-21 Dan Williams <dcbw@redhat.com>
14085 * gnome/applet/nm-gconf-wso*
14086 - Make the serialize functions return gboolean
14089 * gnome/applet/nm-gconf-wso.c
14090 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14091 parent class handling so we don't segfault
14093 * src/NetworkManagerAP.[ch]
14094 - (nm_ap_get_capabilities): new function, return capabilities
14095 now that something can use them
14096 - (nm_ap_set_encrypted): assume that an access point supports
14097 both WEP104 and WEP40 if its set encrypted. FIXME: can
14098 we even tell whether it just supports WEP40?
14100 * src/NetworkManagerDevice.c
14101 - (ap_need_key): resurrect and update for the New World Order
14102 - (nm_device_wireless_get_activation_ap): if we're not given
14103 security info to use, create some based on access point
14106 * src/nm-ap-security-wep.c
14107 - (nm_ap_security_wep_new_from_ap): create a new object
14108 based on a certain access point's capabilities
14110 * src/nm-ap-security.c
14111 - (nm_ap_security_new_from_ap): delegate creation of a new
14112 object based on access point capabilities to a subclass
14113 - (nm_ap_security_copy_properties): don't segfault if we
14114 don't have a key yet
14117 - (nm_dbus_nm_set_active_device): provide more informative
14118 output when errors occur. Also construct security info
14119 for a given access point if we weren't given any
14121 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
14123 * configure.in: Added Lithuanian to ALL_LINGUAS.
14125 2005-12-21 Dan Williams <dcbw@redhat.com>
14128 - Add some testcases for WEP ciphers
14130 2005-12-17 Dan Williams <dcbw@redhat.com>
14134 2005-12-17 Dan Williams <dcbw@redhat.com>
14136 * include/NetworkManager.h
14137 - Finally kill NMEncKeyType
14139 * gnome/applet/applet-dbus-info.c
14140 - (nmi_save_network_info): convert to NMGConfWSO
14142 * gnome/applet/nm-gconf-wso-*.c
14143 - Implement gconf serialization functions
14145 * src/NetworkManagerPolicy.c
14146 - (nm_policy_activation_finish): fix up meaning of
14147 automatic/user_requested
14149 2005-12-17 Dan Williams <dcbw@redhat.com>
14152 - More applet cleanups
14153 - Use the dbus-method-dispatcher
14155 * libnm-util/dbus-method-dispatcher.[ch]
14156 - Generalize the implementation from NM in
14157 NetworkManagerUtils.c
14159 2005-12-16 Dan Williams <dcbw@redhat.com>
14162 - Fix up the passphrase dialog to use all the
14163 WirelessSecurityOption stuff (untested)
14165 2005-12-16 Dan Williams <dcbw@redhat.com>
14167 * Move nm_gconf_get_*_helper() functions to separate files,
14168 gconf-helpers.c & gconf-helpers.h
14170 * New NMGConfWSO objects for managing the gconf side of things.
14171 Eventually these should be merged with the
14172 WirelessSecurityOption objects and a common base (that can
14173 serialize/deserialize from dbus & gconf) should be
14174 refactored out, but for now they are separate.
14176 2005-12-16 Robert Love <rml@novell.com>
14178 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14179 binaries unless they exist (nm_spawn_process() emits a warning if
14180 asked to spawn a non-existant process).
14182 2005-12-16 Dan Williams <dcbw@redhat.com>
14184 * gnome/applet/applet-dbus-info.c
14185 - Clean up lots of gconf-related code
14187 2005-12-16 Robert Love <rml@novell.com>
14189 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14191 2005-12-16 Dan Williams <dcbw@redhat.com>
14193 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14195 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14196 bits still to be done)
14198 2005-12-16 Dan Williams <dcbw@redhat.com>
14200 * Finally move info-daemon related stuff out of
14201 NetworkManagerDbus.c to nm-dbus-nmi.c
14203 2005-12-16 Dan Williams <dcbw@redhat.com>
14205 * Kill auth_method for access points, since that's now done
14206 by NMAPSecurity objects
14208 * Add a copy-constructor of sorts to NMAPSecurity
14209 (how do you do this properly in glib???)
14211 2005-12-15 Dan Williams <dcbw@redhat.com>
14213 * Exorcise encryption key hashing on APs
14214 * Use libnm-util's serialization/deserialization in both the
14216 * Random other stuff
14218 2005-12-15 Robert Love <rml@novell.com>
14220 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14221 is being added to the icon naming spec, so let's use that (Tango CVS
14222 has the icon). Because it is new, however, we fall back to the
14223 current "gnome-lockscreen" if the new icon is not around, thus
14224 behavior is the same.
14225 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
14228 2005-12-15 Robert Love <rml@novell.com>
14230 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14231 well, help to give. Couple other misc. bits.
14233 2005-12-15 Dan Williams <dcbw@redhat.com>
14235 * libnm-util/dbus-helpers.[ch]
14236 - Make this the one-stop-shop for serializing/deserializing
14237 AP & connection security settings over dbus. Both NM
14238 and applets should use this to ensure consistent dbus
14239 API going forwared.
14241 2005-12-15 Robert Love <rml@novell.com>
14243 Patch by Timo Hoenig <thoenig@suse.de>:
14244 * src/NetworkManagerDbus.c
14245 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14246 if HAL jumps off the system bus. Otherwise libdbus
14247 (dbus_connection_dispatch) will try to run the filter
14248 function of our libhal context which is already freed.
14250 2005-12-15 Alexander Shopov <ash@contact.bg>
14252 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14254 2005-12-14 Dan Williams <dcbw@redhat.com>
14256 * include/NetworkManager.h
14257 src/NetworkManagerWireless.c
14258 - Rearrange 802.11 wireless-specific capabilities again
14261 - Forgot to add wpa.c/wpa.h to the makefiles
14263 * src/NetworkManagerAP.[ch]
14264 - Implement access point capabilities and parse the
14265 WPA/RSN IEs into the capability bitfield
14266 - Switch the "encrypted" attribute to utilize the bitfield
14267 and capabilities rather than being independent
14269 * src/NetworkManagerDevice.c
14270 - (nm_device_wireless_get_activation_ap): break it horribly
14271 until we can push NMAPSecurity objects into access point
14272 objects and through the activation chain
14273 - Stuff WPA & RSN IEs into AP capabilities
14276 - Take a shot at actually making setActiveDevice work
14279 - Make the API a bit saner
14281 2005-12-14 Dan Williams <dcbw@redhat.com>
14283 * include/NetworkManager.h
14284 - Add 802.11-specific capability for 802.1x key
14288 - Pull in WPA IE and RSN IE parsing code from
14289 wpa_supplicant so we can determine access point
14291 - Move WPA-related constants here from NetworkManagerAP.h
14292 and NetworkManagerDevice.c
14294 * src/NetworkManagerDevice.c
14295 src/NetworkManagerAP.[ch]
14296 - Use WPA-related constants from wpa.h
14298 2005-12-14 Dan Williams <dcbw@redhat.com>
14300 * include/NetworkManager.h
14301 - Update and split 802.11 wireless-specific capabilities from
14302 generic device capabilities
14304 * src/NetworkManagerDevice.c
14305 src/NetworkManagerDevicePrivate.h
14306 - (nm_device_wireless_discover_capabilities): Move 802.11
14307 wireless-specific capability checks to
14308 NetworkManagerWireless.c
14309 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14310 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14312 * src/NetworkManagerWireless.[ch]
14313 - (nm_802_11_wireless_discover_capabilities): Check extended
14314 802.11 wireless-specific capabilities of the driver
14316 2005-12-14 Robert Love <rml@novell.com>
14318 Patch from Stefan Scheler <sscheler@suse.de>:
14319 * src/NetworkManagerDevice.c: call backend code to activate and
14321 * src/NetworkManagerSystem.h: add new NIS interfaces.
14322 * src/backends/NetworkManagerDebian.c,
14323 src/backends/NetworkManagerGentoo.c,
14324 src/backends/NetworkManagerRedHat.c,
14325 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14327 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14329 2005-12-14 Dan Williams <dcbw@redhat.com>
14331 * src/nm-ap-security*.[ch]
14332 - Add AP security abstractions to NetworkManager
14334 * src/nm-dbus-device.c
14335 - Begin to parse new format dbus messages from the applet
14336 and construct an AP security object from the message
14338 * libnm-util/dbus-helpers.c
14339 - Use message iters so we can append the key as a fixed
14340 array of bytes, which actually works rather than
14341 using dbus_message_append_args() as we were before
14343 2005-12-14 Dan Williams <dcbw@redhat.com>
14345 * src/NetworkManagerDbus.c
14346 gnome/applet/applet-dbus.c
14347 - Fix up dbus service replacement options. The applet
14348 should allow replacement, NM itself should not.
14350 2005-12-13 Robert Love <rml@novell.com>
14352 * src/named-manager/nm-named-manager.c: Revert earlier commit.
14353 Instead, fail silently if config is NULL by not asserting and not
14354 returning FALSE. Also, make sure we always fclose() the file.
14356 2005-12-13 Robert Love <rml@novell.com>
14358 Patch by Stefan Scheler <sscheler@suse.de>:
14359 * src/nm-ip4-config.h, src/nm-ip4-config.c,
14360 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14361 via DHCP. Still need the backends to commit the NIS domain name and
14362 and servers to yp.conf as needed.
14364 2005-12-13 Robert Love <rml@novell.com>
14366 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14367 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14369 2005-12-13 Robert Love <rml@novell.com>
14371 * src/named-manager/nm-named-manager.c: Don't unref the config until
14372 after we call rewrite_resolv_conf(), because get_last_default_domain()
14373 needs to access the config. Fixes "rewrite_resolv_conf: assertion
14374 `config != NULL' failed" assertion failures and "Could not commit DNS
14377 2005-12-12 Dan Williams <dcbw@redhat.com>
14379 * libnm-util/dbus-helpers.[ch]
14380 libnm-util/Makefile.am
14381 - new helper calls to consolidate locations where
14382 NM's setDevice method is called
14384 * gnome/applet/applet-dbus-devices.c
14385 gnome/applet/wireless-security-option.c
14387 - Implement dbus message param append function for
14388 all wireless security options
14390 2005-12-12 Robert Love <rml@novell.com>
14392 * libnm-util/cipher-wep-passphrase.c,
14393 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14394 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14395 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14396 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14397 When handling keys, we don't care what the sign is. The compiler
14398 guarantees us that we get our 8-bits, which is all we care about.
14399 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
14401 2005-12-12 Dan Williams <dcbw@redhat.com>
14403 * gnome/applet/applet-dbus-devices.[ch]
14404 gnome/applet/applet.c
14405 gnome/applet/other-network-dialog.c
14406 gnome/applet/wireless-security-manager.[ch]
14407 gnome/applet/wireless-security-option.[ch]
14409 - Push the wireless security options further into the applet
14411 2005-12-12 Robert Love <rml@novell.com>
14413 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14414 return any name servers. That is perfectly valid. (Novell #134369).
14416 2005-12-11 Dan Williams <dcbw@redhat.com>
14418 * gnome/applet/wso-*
14419 gnome/applet/wireless-security-option.*
14420 gnome/applet/Makefile.am
14421 - split each security option out so we can eventually
14422 have each one build up their own dbus message
14423 arguments to send to NM
14425 2005-12-11 Dan Williams <dcbw@redhat.com>
14427 * Make validation of the key work correctly
14429 2005-12-11 Dan Williams <dcbw@redhat.com>
14431 * Hook more bits of the Other Network Dialog up to the
14432 wireless security manager stuff, and restructure
14433 bits of the dialog so there's less code.
14435 2005-12-10 Dan Williams <dcbw@redhat.com>
14437 * gnome/applet/Makefile.am
14438 - Add libnm-util to includes
14439 - Add libnm-util to link list
14440 - Add wireless-security-common.* to compile list
14442 * gnome/applet/other-network-dialog.c
14443 - Convert to using the WirelessSecurityManager code and
14446 * gnome/applet/passphrase-dialog.c
14447 - Comment out references to stuff in the glade file that
14448 cause runtime errors until it can be fixed up
14449 to use the WirelessSecurityManager code
14451 * gnome/applet/wireless-applet.glade
14452 - Rename some widgets
14453 - Add widgets for the WirelessSecurityManager code
14454 - Remove passphrase-related stuff since that's now
14455 handled by the WirelessSecurityManager code
14457 2005-12-10 Dan Williams <dcbw@redhat.com>
14459 * gnome/applet/applet-dbus-devices.c
14460 - Print out error message details for dbus pending call callbacks
14461 - Move nmwa_dbus_update_devices() up
14463 * gnome/applet/applet-dbus-vpn.c
14464 - Print out error message details for dbus pending call callbacks
14466 2005-12-10 Dan Williams <dcbw@redhat.com>
14470 - Remove cipher-manager.* because we don't need it
14471 - Forgot to add gnome-keyring-md5 files to compile list
14473 2005-12-09 Dan Williams <dcbw@redhat.com>
14478 - Add a utility library for clients of NetworkManager. It's
14479 only targetted at applets for the moment, and contains
14480 a generalized 802.11 cipher framework for different
14481 types of keys (WEP & WPA Hex, ASCII, Passphrase)
14483 2005-12-09 Robert Love <rml@novell.com>
14485 * src/NetworkManagerDevice.c: handle error better in
14486 nm_device_set_mode().
14488 2005-12-08 Robert Love <rml@novell.com>
14490 * include/NetworkManager.h: add WPA capabilities constants
14491 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14492 or WPA2 and add the capabilities bits as appropriate.
14494 2005-12-08 Robert Love <rml@novell.com>
14496 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14497 NetworkManagerDispatcher.
14498 * configure.in, initscript/SUSE/.cvsignore,
14499 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14502 2005-12-08 Robert Love <rml@novell.com>
14504 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14506 2005-12-08 Robert Love <rml@novell.com>
14508 * src/NetworkManagerDevice.c: We want to fall back on and default to
14509 IW_MODE_AUTO, not -1, which is more in line with our previous
14510 behavior. Otherwise, we try to set the wireless mode to -1 in
14511 nm_device_set_mode().
14513 2005-12-07 Robert Love <rml@novell.com>
14515 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14516 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14517 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14518 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14519 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14520 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
14523 2005-12-07 Robert Love <rml@novell.com>
14525 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14526 supplied IP is invalid, fall back to DHCP.
14528 2005-12-07 Dan Williams <dcbw@redhat.com>
14530 * Convert NETWORK_MODE_* constants to IW_MODE_*
14531 * Make all the get_mode/set_mode functions take and return 'int'
14532 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14534 2005-12-07 Robert Love <rml@novell.com>
14536 * src/NetworkManagerDevice.c: strncpy() buffer check.
14537 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14539 2005-12-06 Dan Williams <dcbw@redhat.com>
14541 * gnome/applet/applet-dbus.c
14542 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14544 * gnome/applet/applet-dbus-vpn.c
14545 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14546 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14547 to TRUE here if stage was ACTIVATED
14549 2005-12-06 Dan Williams <dcbw@redhat.com>
14551 * Change nm_device_is_* functions to better names:
14552 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14553 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14555 2005-12-06 Dan Williams <dcbw@redhat.com>
14557 * Change naming of NMDeviceType to something more sensible:
14558 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14559 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14560 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14562 2005-12-06 Dan Williams <dcbw@redhat.com>
14564 * Move NetworkManager.h -> include/NetworkManager.h
14565 * Split out VPN stuff into include/NetworkManagerVPN.h
14566 * Fix up makefiles to include new location
14567 * Fix up sources to include NetworkManagerVPN.h
14569 2005-12-06 Dan Williams <dcbw@redhat.com>
14571 Various changes in the applet to move VPN connection "state" -> "stage",
14572 which it actually is. I'd like to change the signal as well when we
14573 break compat in the near future.
14575 2005-12-06 Dan Williams <dcbw@redhat.com>
14577 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14578 * initscript/Slackware/rc.networkmanager
14581 * src/backends/NetworkManagerSlackware.c
14582 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14585 2005-12-05 Robert Love <rml@novell.com>
14587 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14588 to free, particularly here as it just barfs.
14590 2005-12-05 Dan Williams <dcbw@redhat.com>
14592 * gnome/applet/applet-dbus.c
14593 - Work with dbus 0.6 too
14595 2005-12-03 Dan Williams <dcbw@redhat.com>
14597 * src/NetworkManagerUtils.[ch]
14598 src/nm-ip4-config.c
14599 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14600 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14602 2005-12-01 Robert Love <rml@novell.com>
14604 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14605 need a NULL for the '...' parameter, too, to fill the so-called
14608 2005-12-01 Robert Love <rml@novell.com>
14610 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14611 interface is already gone, so don't call rtnl_link_change() to down
14612 it (which will segfault, anyhow).
14614 2005-11-22 Robert Love <rml@novell.com>
14616 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14617 gateway is not set, just print a little note. Configurations without
14618 gateways are valid.
14620 2005-11-22 Robert Love <rml@novell.com>
14624 2005-11-20 Ilkka Tuohela <hile@iki.fi>
14626 * configure.in: Added Finnish translation to ALL_LINGUAS
14628 2005-11-14 Robert Love <rml@novell.com>
14630 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14631 Niemueller <tim@niemueller.de>.
14633 2005-11-08 Dan Williams <dcbw@redhat.com>
14635 Patch from Bill Moss <bmoss@clemson.edu>
14636 * src/NetworkManagerDevice.c
14637 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14638 of nm_policy_schedule_activation_finish() to prevent a
14639 race condition that causes the link to be dropped
14641 2005-11-08 Dan Williams <dcbw@redhat.com>
14643 Patch from Bill Moss <bmoss@clemson.edu>
14644 * src/NetworkManagerAPList.c
14645 src/NetworkManagerDevice.c
14646 src/NetworkManagerDbus.c
14647 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14648 we get more readable ether/mac addresses
14650 2005-11-02 Christopher Aillon <caillon@redhat.com>
14652 * gnome/applet/main.c: Don't set the restart command. This fixes
14653 the issue where the restart command was getting copies of all its
14654 arguments for each time the applet was restarted.
14656 2005-11-02 Robert Love <rml@novell.com>
14658 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14659 if the widget state differs from our saved state. This ensures we
14660 do not enter an endless loop of death and destruction. Also, this
14661 guarantees us that we enforce the widget state.
14663 2005-11-02 Robert Love <rml@novell.com>
14665 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14666 * gnome/applet/applet-dbus-devices.c: invoke the new function
14667 nmwa_enable_wireless_set_active() to ensure that the state of the
14668 'Enable Wireless' checkbox matches the daemon's state. This is a
14669 concern because the daemon remembers the state.
14671 2005-11-02 Robert Love <rml@novell.com>
14673 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14674 Enabled", as checkboxes should be actions/commands not positive
14675 statements, otherwise they are confusing in the unselected case. See
14676 examples in GNOME HIG, Chapter 6.
14678 2005-11-02 Robert Love <rml@novell.com>
14680 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
14681 show a list of wireless networks or the wireless devices or the
14682 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
14683 a bad bug: If wireless is disabled and the user picks a wireless
14684 network, NM will switch to the network, only to immediately switch
14685 back, as wireless is disabled. This also reassures people that NM
14686 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
14688 2005-11-02 Christopher Aillon <caillon@redhat.com>
14690 * gnome/applet/applet.c:
14691 * gnome/applet/applet.h:
14692 Partial backout of Dan's timeout animation patch.
14693 Timeout IDs cannot legally be 0, so revert the code in place to handle
14694 a timeout ID of 0 to denote the timeout isn't running.
14696 2005-11-02 Christopher Aillon <caillon@redhat.com>
14698 * src/NetworkManagerPolicy.c:
14699 (nm_policy_device_change_check) Clarify wireless switch nm_info text
14701 2005-10-28 Robert Love <rml@novell.com>
14703 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
14704 "Import Saved Configuration..." to make it clear that importing is
14705 not the next step, but an option. As an aside, a nice TODO would be
14706 to move Importing out of the vpn-specific dialog and into the main
14707 property editor, as Importing goes with Adding, but that will require
14708 some rearchitecting of the VPN stuff I suspect.
14710 2005-10-27 Dan Williams <dcbw@redhat.com>
14712 Start using libnl. You need 1.0-pre3 or higher. Eventually
14713 we should replace most of the distro-specific backend code
14716 Get it here: http://people.suug.ch/~tgr/libnl/
14720 - Add checks for libnl pkgconfig file
14721 - Use LIBNL_LIBS & LIBNL_CFLAGS
14723 * src/NetworkManagerSystem.c
14724 src/nm-ip4-config.[ch]
14725 - Use libnl rather than ioctl() for most things
14726 - Remove unused functions
14728 2005-10-27 Robert Love <rml@novell.com>
14730 * src/backends/NetworkManagerSuSE.c: fix warning message text
14732 2005-10-27 Christopher Aillon <caillon@redhat.com>
14734 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
14736 2005-10-27 Christopher Aillon <caillon@redhat.com>
14738 * gnome/applet/applet.c: The applet's about dialog can advertise our
14739 project page <http://www.gnome.org/projects/NetworkManager/>
14741 2005-10-26 Christopher Aillon <caillon@redhat.com>
14743 * gnome/applet.c: Also use translator credits if we don't have
14744 the new GtkAboutDialog (older versions of GTK+)
14746 2005-10-26 Robert Love <rml@novell.com>
14748 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
14749 failure; correct usage text for "--no-daemon"
14751 2005-10-25 Dan Williams <dcbw@redhat.com>
14753 * src/NetworkManagerDevice.c
14754 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
14756 - (free_process_scan_cb_data): unref the device when freeing results
14757 - (nm_device_wireless_process_scan_results): free scan results a bit later
14758 so we don't unref the device underneath ourselves
14760 2005-10-25 Dan Williams <dcbw@redhat.com>
14762 * Back out 2005-10-24 commit from Tor Krill. Patch
14763 causes nameservers never to be removed from named.
14765 2005-10-24 Dan Williams <dcbw@redhat.com>
14767 Clean up wireless scanning and wireless link probing.
14769 * src/NetworkManagerDevice.c
14770 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
14771 just see if there's an activation request on the device, and check the
14772 current link against the activation request access point's ESSID.
14773 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
14774 - (nm_device_wireless_process_scan_results): actually free our scan data, and
14775 don't call process_scan_results() on zero-length data
14776 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
14777 15 seconds (from 10)
14779 2005-10-24 Dan Williams <dcbw@redhat.com>
14781 Cleanup some applet stuff:
14783 - Animation timeouts. If NM died while the applet was animating,
14784 the applet would not hide itself. This is now fixed.
14786 - Remove some dead code
14788 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
14789 to nmi_passphrase_dialog_cancel() since we no longer use threads.
14791 - Track animation timeout using a gboolean rather than the timeout's
14792 ID, since timeout IDs can legally be 0.
14794 2005-10-24 Dan Williams <dcbw@redhat.com>
14796 * src/backends/interface_parser.c
14797 - Add void to function declarations that need it
14798 to match patch from Engin AYDOGAN
14800 * src/backends/interface_parser.h
14801 - Remove unused prototype for ifparser_interfaces()
14803 Patch from Engin AYDOGAN <engin@bzzzt.biz>
14804 * src/backends/interface_parser.h:
14805 - Compile fixes for gcc 4.0.2 (add void)
14807 2005-10-24 Dan Williams <dcbw@redhat.com>
14809 Patch from Tor Krill <tor@krill.nu>
14810 * src/named-manager/nm-named-manager.c
14811 - Write more than just the first nameserver to /etc/resolv.conf
14812 - Write out valid /etc/resolv.conf on exit
14814 2005-10-21 Christopher Aillon <caillon@redhat.com>
14816 * gnome/applet/applet-dbus-vpn.c:
14817 Get rid of spurious newlines in debug console output
14819 2005-10-21 Christopher Aillon <caillon@redhat.com>
14821 * src/backends/NetworkManagerGentoo.c:
14822 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
14824 2005-10-20 Robert Love <rml@novell.com>
14826 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
14827 direct comparison of floating point values, which is never correct.
14828 Also some misc. cleanup.
14830 2005-10-19 Robert Love <rml@novell.com>
14832 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
14834 2005-10-19 Robert Love <rml@novell.com>
14836 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
14837 sensitivity of the buttons. Specificaly, do the right thing if
14838 there are no entries.
14840 2005-10-19 Christopher Aillon <caillon@redhat.com>
14842 * configure.in: Update check for adequate wireless-tools
14843 with an AC_TRY_COMPILE for the new symbols we use.
14845 2005-10-19 Dan Williams <dcbw@redhat.com>
14847 * src/NetworkManagerDevice.c
14848 - (process_scan_results): don't drop the last (or only)
14849 access point we see
14851 2005-10-19 Christopher Aillon <caillon@redhat.com>
14853 * src/backends/NetworkManagerSlackware.c:
14854 Patch from Nico <lordllucifer@gmail.com>
14855 - Update the Slackware backend.
14857 2005-10-18 Christopher Aillon <caillon@redhat.com>
14859 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
14860 if we've got GLib 2.8.0
14862 2005-10-18 Robert Love <rml@novell.com>
14864 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
14865 function nm_schedule_state_change_signal_broadcast() when we
14866 deactivate a device, too.
14868 2005-10-18 Robert Love <rml@novell.com>
14870 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
14871 be used uninitialized.
14873 2005-10-18 Christopher Aillon <caillon@redhat.com>
14875 * test/libnm_glib_test.c: Test unregistering, too.
14877 2005-10-17 Christopher Aillon <caillon@redhat.com>
14879 * configure.in: Bump to 0.5.0
14881 2005-10-17 Dan Williams <dcbw@redhat.com>
14884 - Remove WPA-related constants so they aren't part of the
14887 2005-10-17 Christopher Aillon <caillon@redhat.com>
14889 * gnome/applet/applet.c:
14890 * gnome/applet/applet.h:
14891 Desensitize the 'Connection Information' menu item when there is
14892 no active connection.
14894 2005-10-17 Christopher Aillon <caillon@redhat.com>
14896 * gnome/libnm_glib/libnm_glib.c:
14897 Make libnm_glib_unregister_callback () actually unregister the callback
14899 2005-10-17 Robert Love <rml@novell.com>
14901 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
14902 two seconds -- tries is updated every 1/10 of a second, not every
14905 2005-10-17 Christopher Aillon <caillon@redhat.com>
14907 * gnome/applet/applet-dbus-info.c:
14908 Let D-BUS know that we haven't handled a message when we haven't.
14910 2005-10-17 Robert Love <rml@novell.com>
14912 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
14913 in order to remain 64-bit clean.
14915 2005-10-17 Christopher Aillon <caillon@redhat.com>
14917 * gnome/applet/applet-dbus-info.c:
14918 Find network encryption keys asynchronously
14920 2005-10-17 Robert Love <rml@novell.com>
14922 * src/backends/NetworkManagerDebian.c,
14923 src/backends/NetworkManagerRedHat,
14924 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
14927 2005-10-17 Robert Love <rml@novell.com>
14929 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
14932 2005-10-17 Christopher Aillon <caillon@redhat.com>
14934 * src/NetworkManagerDevice.c: (process_scan_results)
14935 Fix logic that checks to see whether we have an ESSID.
14937 2005-10-15 Dan Williams <dcbw@redhat.com>
14939 Move scanning code into NetworkManager rather than use iwlib's
14940 iw_scan() function, so that we can figure out AP capabilities.
14943 - Add AP capability bits
14945 * src/NetworkManagerAP.[ch]
14946 - Add capability field to NMAccessPoint structure
14947 - Add WPA & RSN Information Element fields and accessor
14948 functions to NMAccessPoint
14950 * src/NetworkManagerDevice.c
14951 - Remove usage of iw_scan
14952 - Add scanning code to NetworkManager rather than use
14953 iw_scan() from iwlib
14955 * src/NetworkManagerUtils.[ch]
14956 - (nm_dispose_scan_results): remove, unused
14958 2005-10-14 Christopher Aillon <caillon@redhat.com>
14960 * gnome/libnm_glib/libnm_glib.c:
14961 * gnome/libnm_glib/libnm_glib.h:
14962 Use guint instead of gint for callback IDs.
14964 2005-10-12 Christopher Aillon <caillon@redhat.com>
14966 * gnome/applet/applet.c:
14967 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
14968 every 1000ms. It will unconditionally call nmwa_update_state which
14969 kills the existing animation timeout and registers a new one with a
14970 callback to draw a new frame every 100ms. There are 11 connecting
14971 icon frames, so the last 2 frames kept getting dropped. Only reset
14972 the animation timeout if we aren't animating.
14974 2005-10-11 Dan Williams <dcbw@redhat.com>
14976 * gnome/applet/applet-dbus-devices.c
14977 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
14978 We want to grab the product & vendor from net.physical_dev
14979 rather than info.parent.
14981 2005-10-11 Dan Williams <dcbw@redhat.com>
14983 * src/NetworkManagerDevice.c
14984 - Use the driver's WE version for scanning rather than
14985 the WE version NM was compiled with. Fixes random
14986 crashes in iw_scan () in iwlib.
14988 2005-10-10 Dan Williams <dcbw@redhat.com>
14990 * Remove nm_system_load_device_modules() from backend files
14991 and from NetworkManager.c
14993 2005-10-10 Dan Williams <dcbw@redhat.com>
14995 * src/NetworkManagerPolicy.c
14996 - Fix some bugs introduced by the capabilities patch
14998 2005-10-10 Dan Williams <dcbw@redhat.com>
15000 * gnome/applet/applet-dbus-info.c
15001 - (nmi_dbus_get_network_key): hide the menu when putting up
15002 the keyring dialog. (not sure if the code is right...)
15004 2005-10-09 Dan Williams <dcbw@redhat.com>
15006 Patch from Bill Moss <bmoss@clemson.edu>
15007 * src/NetworkManagerDevice.c
15008 - (nm_device_set_user_key_for_network): don't try to set auth
15009 mode on the AP from the allowed list if it's NULL
15011 2005-10-09 Dan Williams <dcbw@redhat.com>
15013 * Replace the "driver support level" stuff with capabilities. The
15014 capability field is a bitfield that is more flexible than the
15015 old driver support level thing. It's mostly so we can easily
15016 figure out what supports WPA and what doesn't, but should be
15017 quite useful later.
15019 2005-10-09 Dan Williams <dcbw@redhat.com>
15026 - Added new "nm-tool" tool that gives quite a bit more
15029 2005-10-07 Robert Love <rml@novell.com>
15031 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15032 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15033 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15034 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15037 2005-10-07 Robert Love <rml@novell.com>
15039 * configure.in: Change our compile flags for the betterment of mankind.
15040 Add "-Wstrict-prototypes" because we comply anyhow and missing a
15041 prototype is very bad on 64-bit platforms as types default to int but
15042 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15043 "-Wmissing-declarations" to warn if we define an exported function
15044 but fail to put it in a header.
15046 2005-10-07 Robert Love <rml@novell.com>
15048 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15049 by the name nm_update_device_wireless_timeouts() and once tried,
15050 without success, to steal my pet turtle.
15052 2005-10-07 Robert Love <rml@novell.com>
15054 * Cleanup prototypes: put some functions in header files and mark
15055 others as 'static' -- feel free to invert
15056 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15057 nm_vpn_manager_vpn_connection_list_copy()
15058 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15059 nm_vpn_service_get_dbus_connection()
15060 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15061 nm_vpn_manager_vpn_connection_list_copy()
15062 * src/vpn-manager/nm-vpn-service.c: make
15063 nm_vpn_service_act_request_failed() and
15064 nm_vpn_service_stage2_daemon_wait() static
15065 * src/vpn-manager/nm-vpn-service.h: add prototype for
15066 nm_vpn_service_get_dbus_connection()
15068 2005-10-06 Christopher Aillon <caillon@redhat.com>
15070 * gnome/applet/applet.c:
15071 * gnome/applet/applet.h:
15072 * gnome/applet/icons/Makefile.am:
15073 Convey information about the current connection stage in the
15074 icons themselves instead of creating a separate progress bar.
15076 2005-10-04 Robert Love <rml@novell.com>
15078 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15079 convert an ether_addr structure's MAC into a string, because the
15080 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15081 versus 07:3B:04, while the former will not.
15083 2005-10-04 Robert Love <rml@novell.com>
15085 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15086 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15087 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15088 default route in the 'Connection Information' dialog, send primary
15089 and secondary name servers in in "getProperties" DBUS method, add
15090 network_device_{get,set}_{primary,secondary}_dns(), The primary and
15091 secondary domain name servers are crucial pieces of information
15092 that a user might need in debugging a network problem.
15094 2005-10-04 Robert Love <rml@novell.com>
15096 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15097 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15098 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15099 default route in the 'Connection Information' dialog, send default
15100 route in "getProperties" DBUS method, add network_device_set_route(),
15101 and network_device_get_route(). The Gateway is a crucial piece of
15102 connection-related information that a user might need in debugging a
15105 2005-10-03 Robert Love <rml@novell.com>
15107 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15110 2005-10-02 Dan Williams <dcbw@redhat.com>
15112 * Shorten time taken to sleep by fastpathing bits of device deactivation
15113 necessary for sleep.
15115 * Fix issue where deactivating a device might deactivate the active
15116 VPN connection, even if the VPN was not using the device.
15118 2005-10-02 Dan Williams <dcbw@redhat.com>
15120 * gnome/applet/applet.c
15121 - Adjust signal strength -> icon mapping values slightly
15122 (so that 51% signal doesn't show a 75% icon) by adding
15123 5% to the values. ex: > 5% now shows 25% icon, > 30%
15124 shows 50% icon, etc.
15126 2005-09-29 Robert Love <rml@novell.com>
15128 * src/NetworkManager.c: removed unused variable.
15130 2005-09-28 Dan Williams <dcbw@redhat.com>
15132 Support for named + DBus, using Red Hat DBus patches for named. You
15133 can find those patches here, with "dbus" in the patch's filename:
15135 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15137 Don't forget the named dbus service file either.
15139 Instead of writing a config file and spawing a named process, NM will
15140 use an already-running dbus-enabled named if it finds one. NM will
15141 update named's forwarder configuration on the fly using dbus.
15143 If there is no dbus-enabled named running, NM will automatically fall
15144 back to writing the most-recent DNS server information to /etc/resolv.conf
15145 and calling nm_system_update_dns() to kick the system's resolver.
15147 Accordingly, all named-related configure-time options have been removed.
15149 2005-09-26 Robert Love <rml@novell.com>
15151 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15153 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15154 bug in error path if "ASKPASSWORD" is "no".
15156 2005-09-26 Robert Love <rml@novell.com>
15158 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15159 comment in /etc/resolv.conf -- ';' is not.
15161 2005-09-19 Dan Williams <dcbw@redhat.com>
15163 * src/backends/NetworkManagerRedHat.c:
15164 * src/backends/NetworkManagerDebian.c:
15165 * src/backends/NetworkManagerSlackware.c:
15166 * src/backends/NetworkManagerGentoo.c:
15167 * src/backends/NetworkManagerSUSE.c:
15168 Fix invocations of "/sbin/ip address" to use short form instead
15170 2005-09-19 Christopher Aillon <caillon@redhat.com>
15172 * src/nm-dbus-device.c: Don't assert when getting
15173 addresses of a not yet connected interface.
15175 * gnome/applet/applet.c: Free icons if loading fails.
15176 Use translator-credits so translators can make themselves known.
15178 2005-09-15 Christopher Aillon <caillon@redhat.com>
15180 * src/NetworkManagerAP.c:
15181 * src/NetworkManagerAP.h:
15182 * src/NetworkManagerDevice.c:
15183 Set a blacklist for certain common manufacturer default ESSIDs:
15184 APs with these ESSIDs are extremely likely to be completely
15185 different networks: connecting to one should not make NM
15186 auto-connect to every other AP with the same default ESSID.
15188 2005-09-12 Christopher Aillon <caillon@redhat.com>
15190 * gnome/applet/wireless-applet.glade:
15191 The passphrase entry should also activate the default
15193 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15195 * gnome/applet/applet-dbus-devices.c:
15196 * gnome/applet/applet.c:
15197 * gnome/applet/nm-device.c:
15198 * gnome/applet/nm-device.h:
15199 * src/NetworkManagerUtils.c:
15200 * src/NetworkManagerUtils.h:
15201 * src/nm-dbus-device.c:
15202 I've got a fever, and the only cure for it is less ioctl.
15203 Make NM push IP data rather than make the applet open a socket
15206 2005-09-10 Christopher Aillon <caillon@redhat.com>
15208 * gnome/applet/applet.c:
15209 * gnome/applet/applet-dbus-devices.c:
15210 * gnome/applet/applet-dbus-info.c:
15211 * gnome/applet/passphrase-dialog.c:
15212 * gnome/libnm_glib/libnm_glib.c:
15213 * gnome/vpn-properties/nm-vpn-properties.c:
15215 * src/backends/NetworkManagerRedHat.c:
15216 * src/named-manager/nm-named-manager.c:
15217 * src/NetworkManagerAPList.c:
15218 * src/NetworkManager.c:
15219 * src/NetworkManagerDbus.c:
15220 * src/NetworkManagerDevice.c:
15221 * src/NetworkManagerPolicy.c:
15222 * src/NetworkManagerSystem.c:
15223 * src/nm-dbus-device.c:
15224 * src/nm-dbus-nm.c:
15225 * src/vpn-manager/nm-vpn-manager.c:
15226 * src/vpn-manager/nm-vpn-service.c:
15227 * test/libnm_glib_test.c:
15228 * test/nminfotest.c:
15229 * test/nmtestdevices.c:
15230 Fix a bunch of 'unused variable' compiler warnings
15232 * NetworkManager.h:
15233 * gnome/applet/applet-dbus-info.c:
15234 * gnome/applet/applet-dbus-info.h:
15235 * gnome/applet/applet.c:
15236 * gnome/applet/applet.h:
15237 * src/NetworkManager.c:
15238 * src/NetworkManagerDbus.c:
15239 * src/NetworkManagerDbus.h:
15240 * src/NetworkManagerDevice.c:
15241 * src/NetworkManagerDevice.h:
15242 * src/NetworkManagerMain.h:
15243 * src/NetworkManagerWireless.c:
15244 * src/NetworkManagerWireless.h:
15245 * src/nm-dbus-nm.c:
15246 Make NetworkManager be smart about how frequently to scan
15247 based on its current state. Remove the UI for choosing when
15248 to scan. Scanning still may disabled completely by the user
15249 via the "Wireless Enabled" menu item.
15251 2005-09-09 Christopher Aillon <caillon@redhat.com>
15253 * gnome/applet/applet.c:
15254 Also overlay the vpn connecting icons onto the wired icon,
15257 * gnome/vpn-properties/nm-vpn-properties.glade:
15258 Clean up a few strings to use better grammar and proper casing.
15260 2005-09-08 Christopher Aillon <caillon@redhat.com>
15262 * gnome/applet/vpn-connection.c:
15263 * gnome/applet/vpn-connection.h:
15264 Add nmwa_vpn_connection_is_activating ()
15266 * gnome/applet/applet.c:
15267 * gnome/applet/applet.h:
15268 * gnome/applet/icons/nm-vpn-connecting*.png:
15269 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15270 the user know something's happening between clicking the VPN item and it
15271 actually being connected.
15273 2005-09-07 Christopher Aillon <caillon@redhat.com>
15275 * gnome/applet/applet-dbus-info.c: need to free attributes in the
15276 failure case as well.
15278 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
15280 * gnome/panel/eggtrayicon.[ch]:
15281 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15283 2005-09-07 Dan Williams <dcbw@redhat.com>
15285 Patch from Bill Moss <bmoss@clemson.edu>
15286 * src/applet-dbus.c
15287 - (nmwa_dbus_filter): strip whitespace from beginning
15288 and end of VPN login banner
15290 2005-09-07 Dan Williams <dcbw@redhat.com>
15292 * The great VPN Manager rewrite of 2005
15294 2005-09-07 Christopher Aillon <caillon@redhat.com>
15296 * gnome/applet/menu-items.c:
15297 * gnome/applet/nm-device.c:
15298 * gnome/applet/wireless-network.c:
15299 * gnome/libnm_glib/libnm_glib.c:
15300 * src/NetworkManagerDbusUtils.c:
15301 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15302 g_malloc0 doesn't return NULL
15304 2005-09-06 Dan Williams <dcbw@redhat.com>
15306 Patch from Tomislav Vujec <tvujec@redhat.com>
15307 * src/NetworkManagerDevice.c
15308 - (nm_get_device_by_udi): don't return a device when we
15309 actually didn't find what we were looking for
15311 2005-09-06 Christopher Aillon <caillon@redhat.com>
15313 * gnome/applet/applet-dbus-devices.c:
15314 * gnome/applet/applet-dbus-devices.h:
15315 * gnome/applet/applet-dbus.c:
15316 * src/NetworkManagerDbus.c:
15317 * src/NetworkManagerDbus.h:
15318 * src/NetworkManagerDevice.c:
15319 * src/nm-dbus-device.c:
15320 Make NM push updates about active device strength when it changes,
15321 rather than having the applet poll every 2s.
15323 2005-09-05 Christopher Aillon <caillon@redhat.com>
15325 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15326 network_device_set_strength
15328 2005-09-04 Dan Williams <dcbw@redhat.com>
15330 Patch from Bill Nottingham <notting@redhat.com>
15331 * src/NetworkManagerDevice.c
15332 - (nm_device_activation_cancel): reset the quit_activation flag
15334 2005-09-04 Dan Williams <dcbw@redhat.com>
15336 * src/nm-activation-request.c
15337 - (nm_act_request_unref): actually free the structure,
15338 which we didn't seem to be doing before
15340 2005-09-04 Dan Williams <dcbw@redhat.com>
15342 Patch from John Palmieri <johnp@redhat.com>
15343 * gnome/applet/applet-dbus-devices.c
15344 - Fix up unreffing of DBusMessage objects
15346 2005-09-04 Dan Williams <dcbw@redhat.com>
15348 Patch from John Palmieri <johnp@redhat.com>
15349 * gnome/applet/nm-device.c
15350 - (nm_device_unref): clear network_device's memory _before_ freeing it
15352 2005-09-02 Christopher Aillon <caillon@redhat.com>
15354 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15356 2005-09-02 Bill Nottingham <notting@redhat.com>
15358 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15360 2005-09-01 Dan Williams <dcbw@redhat.com>
15362 * src/NetworkManager.c
15363 - (nm_remove_device_from_list): rename to nm_remove_device
15364 - (nm_hal_device_removed): call nm_remove_device()
15366 * src/NetworkManagerDevice.c
15367 - Change the NMWirelessScanCB member 'reschedule' which
15368 wasn't used to 'force' to indicate that we need to
15369 force a scan when adding a device
15372 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15373 from the device list
15374 - (nm_dbus_nm_wake): Re-add all devices to the device list
15376 2005-09-01 Robert Love <rml@novell.com>
15378 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15379 and the check "!iface" in the error case is probably never true.
15381 2005-09-01 Dan Williams <dcbw@redhat.com>
15383 Patch from Bill Nottingham <notting@redhat.com>
15384 * src/backends/NetworkManagerRedHat.c
15385 - Add initial dialup support to Red Hat/Fedora backend
15387 2005-09-01 Dan Williams <dcbw@redhat.com>
15389 * gnome/applet/applet-dbus-devices.c
15390 - Sort both wireless networks and devices again, which got
15391 broken when removing threading
15393 2005-09-01 Christopher Aillon <caillon@redhat.com>
15395 * gnome/applet/applet.c:
15396 Only show the "Stop/Start All Wireless Devices" menuitem
15397 if we actually have wireless devices.
15399 * gnome/applet/applet-dbus-info.c:
15400 * gnome/applet/applet.c:
15401 * gnome/applet/other-network-dialog.c:
15402 * gnome/applet/vpn-password-dialog.c:
15403 Drop the gtk_dialog_run () calls in favor of connecting to
15404 "response" signals, needed now that the applet is not threaded.
15406 2005-08-31 Dan Williams <dcbw@redhat.com>
15408 Patch from Bill Moss <bmoss@clemson.edu>
15409 * src/NetworkManagerDevice.c
15410 - (nm_device_wireless_scan): fix scan timeout values
15412 2005-08-30 Dan Williams <dcbw@redhat.com>
15414 * gnome/applet/wireless-applet.glade
15415 - HIG-ify the Other Wireless Networks dialog a bit more
15416 - Fix some potential segfaults in the info dialog
15418 2005-08-30 Dan Williams <dcbw@redhat.com>
15420 * gnome/applet/applet-dbus-devices.c
15421 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15423 2005-08-30 Dan Williams <dcbw@redhat.com>
15425 * gnome/applet/applet-dbus.[ch]
15426 - Remove all the nmwa_dbus_call_method_xxxx functions since
15427 they weren't being used anyway
15429 2005-08-30 Bastien Nocera <hadess@hadess.net>
15431 * test/nmtestdevices.c: (print_usage), (main):
15432 Check the number of arguments, and fix a typo
15434 2005-08-29 Dan Williams <dcbw@redhat.com>
15436 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15437 * gnome/applet/applet.c
15438 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15440 2005-08-29 Dan Williams <dcbw@redhat.com>
15443 - Don't use threads any more. Anything that blocks
15444 (like gtk_dialog_run()) will have to get fixed up which
15445 should happen quickly. We really only had threads to make
15446 the animation smooth, and when everything got converted over
15447 to DBus Pending Calls, the need for threads kind of went away
15449 2005-08-29 Christopher Aillon <caillon@redhat.com>
15451 * gnome/applet/applet.c: Draw VPN connections as radio items
15452 since we don't yet support multiple VPNs.
15453 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15454 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15456 2005-08-29 Dan Williams <dcbw@redhat.com>
15458 Patch from j@bootlab.org
15459 - Make --without-named work
15460 - Make --with-dhcdbd work correctly
15462 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
15464 * configure.in: Added "ca" to ALL_LINGUAS.
15466 2005-08-26 Christopher Aillon <caillon@redhat.com>
15468 * Fix up VPN state handling between the applet and NetworkManager,
15469 so that the applet doesn't show a VPN as connected when one
15471 - The applet no longer has a pointer to the active VPN's
15472 name, but tracks each VPNs state individually
15473 - NM no longer has a "getActiveVPNConnection" method
15474 - NM no longer broadcasts the "VPNConnectionChange" signal
15475 - NM now broadcasts a "VPNConnectionStateChange" signal
15476 whenever the state of a VPN changes
15478 2005-08-26 Dan Williams <dcbw@redhat.com>
15480 * gnome/applet/applet-dbus-devices.c
15481 gnome/applet/applet-dbus-vpn.c
15482 - Remove calls to dbus_pending_call_ref() because we already
15483 "own" the pending call
15484 - Remove calls to dbus_pending_call_get_completed() because
15485 when we are in the callback, the pending call is completed
15488 2005-08-22 Dan Williams <dcbw@redhat.com>
15490 Patch by Bill Moss <bmoss@clemson.edu>
15491 * src/dhcp-manager/nm-dhcp-manager.c
15492 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15493 some time to send out a RELEASE if they like
15495 2005-08-22 Dan Williams <dcbw@redhat.com>
15497 Noticed by Bill Moss <bmoss@clemson.edu>
15498 * src/NetworkManagerDbus.c
15499 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15500 instead of just cancelling its activation
15502 * src/NetworkManagerDevice.c
15503 - (nm_device_deactivate): some small cleanups
15504 - (nm_device_set_user_key_for_network): deactivate the device
15505 instead of just cancelling its activation
15507 2005-08-22 Dan Williams <dcbw@redhat.com>
15509 Noticed by Bill Moss <bmoss@clemson.edu>
15510 * src/NetworkManagerDevice.c
15511 - (nm_device_wireless_scan): fix scan timeout, we were
15512 waiting way too long for scans to complete
15514 2005-08-22 Dan Williams <dcbw@redhat.com>
15516 Patch from j@bootlab.org:
15517 * src/backends/NetworkManagerDebian.c
15518 - Make the Debian backend work for static IP again
15520 2005-08-20 Christopher Aillon <caillon@redhat.com>
15522 * gnome/applet/other-network-dialog.c:
15523 The "Create New Network" and "Connect to Other Network"
15524 dialogs share alot of code, but shouldn't share a window
15525 title. Give them different ones.
15527 * gnome/applet/wireless-applet.glade:
15528 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15529 Some more minor UI tweaks.
15531 2005-08-19 Christopher Aillon <caillon@redhat.com>
15533 * gnome/applet/other-network-dialog.c:
15534 * gnome/applet/wireless-applet.glade:
15535 Also need mnemonic widgets, and underline enabled.
15537 2005-08-19 Dan Williams <dcbw@redhat.com>
15539 * vpn-daemons/vpnc/nm-vpnc-service.c
15540 - (vpnc_watch_cb): remove no-longer-relevant comment
15541 - (write_config_option): new function, helper to write
15542 config options to vpnc's stdin
15543 - (nm_vpnc_config_write): use the new helper, make the
15546 2005-08-19 Christopher Aillon <caillon@redhat.com>
15548 * gnome/applet/passphrase-dialog.c:
15549 * gnome/applet/wireless-applet.glade:
15550 Make the passphrase dialog response based, and treat
15551 responses other than OK (such as Esc, [X]) as a cancel.
15553 2005-08-18 Christopher Aillon <caillon@redhat.com>
15555 * initscript/Gentoo/NetworkManager:
15556 * initscript/RedHat/NetworkManager:
15557 * initscript/RedHat/NetworkManagerDispatcher:
15558 * initscript/SUSE/networkmanager:
15559 CVS remove these in place of .in replacements
15562 * initscript/Gentoo/NetworkManager.in:
15563 * initscript/RedHat/NetworkManager.in:
15564 * initscript/RedHat/NetworkManagerDispatcher.in:
15565 * initscript/SUSE/networkmanager.in:
15566 These scripts now are generated so they work still when
15567 NM is built using a bindir other than /usr/bin
15569 2005-08-18 Dan Williams <dcbw@redhat.com>
15571 * gnome/applet/main.c
15572 - Revert previous change for --no-session since
15573 --sm-disable does the same thing
15575 2005-08-18 Dan Williams <dcbw@redhat.com>
15577 * gnome/applet/applet-dbus-info.c
15578 - (nmi_dbus_create_error_message): new function
15579 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15580 functions. Also don't check for both device _and_ network before
15581 asking for a user's key, because we may not have gotten all our
15582 networks back from NM quite yet (due to the dbus pending calls
15583 coming in later). Fixes a hang in NM/nm-applet.
15585 * src/NetworkManagerDbus.c
15586 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15587 slightly more sane manner, even though we are still broken for
15588 certain other error conditions.
15589 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15590 to the info-daemon too
15592 * src/NetworkManagerDevice.c
15593 - Fix some debug messages to be info messages instead
15595 2005-08-18 Dan Williams <dcbw@redhat.com>
15597 * gnome/applet/main.c
15598 - Add new "--no-session" parameter that disables applet
15599 session management, ie for testing
15601 2005-08-18 Christopher Aillon <caillon@redhat.com>
15603 * gnome/applet/other-network-dialog.c:
15604 * gnome/applet/wireless-applet.glade: More mnemonics
15606 2005-08-17 Robert Love <rml@novell.com>
15608 * initscript/SUSE/networkmanager: update
15610 2005-08-17 Dan Williams <dcbw@redhat.com>
15612 * Tag NM_0_4_1_RELEASE
15614 2005-08-17 Christopher Aillon <caillon@redhat.com>
15616 * gnome/applet/applet.c: More translatable string cleanup
15619 2005-08-17 Dan Williams <dcbw@redhat.com>
15621 * gnome/applet/applet-dbus-info.c
15622 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15623 from the dbus message, which tells us to unconditionally
15624 ask the user for a new key. Otherwise, we pull the key from
15625 the keyring and return it. If we fail to get the key from the
15626 keyring, we ask the user for a new key.
15627 - (nmi_dbus_get_network_key): new function to grab the key for
15628 an essid from the keyring.
15629 - (nmi_dbus_get_network_properties): don't access the keyring here.
15630 Also, don't return any key in the dbus message.
15632 * src/NetworkManagerDbus.[ch]
15633 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15634 indicate that we unconditionally want a new key. This function
15635 is now also used to get keys from the info-daemon which are
15636 pre-stored, not just for asking the user for a new key. The
15637 "new_key" parameter indicates whether or not we wish to ask the
15638 user for a new key.
15639 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15640 info-daemon in the return message, so use NULL instead. The
15641 key will be filled in at connect time by calling
15642 nm_dbus_get_user_key_for_network()
15644 * src/NetworkManagerDevice.c
15645 - (nm_device_wireless_configure): update for "new_key" param to
15646 nm_dbus_get_user_key_for_network(). We initially set new_key
15647 to FALSE to see if we have a stored key in the info-daemon, but
15648 if the connection is unsuccessful at this stage we request a
15651 2005-08-17 Dan Williams <dcbw@redhat.com>
15653 * gnome/applet/icons/nm-no-connection.png
15654 gnome/applet/icons/nm-device-wired.png
15655 - Use Diana's new RJ45 connector icons
15657 2005-08-17 Dan Williams <dcbw@redhat.com>
15659 * src/NetworkManagerPolicy.c
15660 - (nm_policy_device_change_check): clarify switching rules if
15661 both new and old devices are valid; mainly, don't switch
15662 away from user-requested wireless connection back to a wired
15665 2005-08-17 Dan Williams <dcbw@redhat.com>
15667 * gnome/applet/Makefile.am
15668 - Relocate the applet to /usr/bin since it is no longer
15669 executed by anything, but directly by the user
15671 2005-08-17 Dan Williams <dcbw@redhat.com>
15673 Patch from Bill Moss <bmoss@clemson.edu>
15675 * gnome/applet/applet-dbus-info.[ch]
15676 - (nmi_save_network_info): save timestamp for network if it
15677 was a change requested by the user
15678 - (nmi_dbus_update_network_info): get user_requested from dbus
15679 message and pass to nmi_save_network_info()
15681 * gnome/applet/applet.c
15682 - (nmwa_update_network_timestamp): remove
15683 - (nmwa_menu_item_activate): don't set timestamp on networks
15684 here, only after a successful connect in nmi_save_network_info()
15686 * src/NetworkManagerDbus.[ch]
15687 - (nm_dbus_update_network_info): pass user_requested into the
15690 * src/NetworkManagerPolicy.c
15691 - (nm_policy_activation_finish): pass user_requested to
15692 nm_dbus_update_network_info()
15694 2005-08-16 Robert Love <rml@novell.com>
15696 * gnome/applet/applet.c: Better "Dial Up" menu item.
15698 2005-08-16 Robert Love <rml@novell.com>
15700 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15701 "Connection Information" menu item.
15703 2005-08-16 Dan Williams <dcbw@redhat.com>
15705 Patch from j@bootlab.org
15706 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
15708 * configure.in: allow specifying the path to dhcdbd
15710 2005-08-16 Robert Love <rml@novell.com>
15712 Patch from j@bootlab.org
15713 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
15714 src/backends/interface_parser.h: Debian dialup support.
15716 2005-08-16 Christopher Aillon <caillon@redhat.com>
15718 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
15719 * gnome/applet/applet.c: Add some mnemonics for VPNC
15721 * vpn-daemons/.cvsignore: fix this up a little bit
15723 2005-08-16 Robert Love <rml@novell.com>
15725 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
15728 2005-08-16 Christopher Aillon <caillon@redhat.com>
15730 * gnome/applet/applet.c: Split markup out of translatable strings
15731 and clean up logic a little bit. (fixes #309012)
15733 2005-08-15 Christopher Aillon <caillon@redhat.com>
15735 * gnome/vpn-properties/nm-vpn-properties.c:
15736 * gnome/vpn-properties/nm-vpn-ui-interface.h:
15737 * vpn-daemons/vpnc/properties/nm-vpnc.c:
15738 Makeshift fix to remove newlines from translatable strings.
15739 Note that we now return an allocated string, so callers of
15740 get_confirmation_details () must now call g_free () on the
15741 result. (fixes #309033).
15743 2005-08-12 Robert Love <rml@novell.com>
15745 * gnome/applet/applet-dbus.c: remove newlines from translatable
15746 strings--not needed here anyway. (fix b.g.o #309011)
15747 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
15749 2005-08-11 Robert Love <rml@novell.com>
15751 * gnome/applet/applet.c: mark string as translatable.
15753 2005-08-11 Robert Love <rml@novell.com>
15755 * initscript/SUSE/networkmanager: update.
15757 2005-08-11 Dan Williams <dcbw@redhat.com>
15759 * src/nm-dhcp-manager.c
15760 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
15761 an gateway returned from DHCP, try to use the address of the DHCP
15762 server as the gateway instead. Found by Ralf Ertzinger.
15764 2005-08-10 Robert Love <rml@novell.com>
15766 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
15767 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
15769 2005-08-10 Dan Williams <dcbw@redhat.com>
15771 Patch from Bill Moss <bmoss@clemson.edu>
15772 * Consolidate writes of access point information updates to the info daemon
15773 so that we only do it when the connection to the access point was
15774 successful. Also consolidates updates to GConf in the Gnome applet.
15776 * src/nm-netlink-monitor.c
15777 - Silence compile warning when calling g_object_new()
15779 2005-08-08 Dan Williams <dcbw@redhat.com>
15781 Patch from Steev <steev@steev.net>:
15782 * src/backends/NetworkManagerGentoo.c
15783 - Stub new dialup backend functions
15785 2005-08-08 Dan Williams <dcbw@redhat.com>
15787 Patch from Colin Slater:
15788 * src/backends/NetworkManagerGentoo.c
15789 - (nm_system_update_dns): Fix exit status check for restarting
15792 2005-08-05 Robert Love <rml@novell.com>
15794 * NetworkManager.h,
15795 gnome/applet/applet-dbus-devices.c,
15796 gnome/applet/applet-dbus-devices.h,
15797 gnome/applet/applet-dbus.c,
15798 gnome/applet/applet.c,
15799 gnome/applet/applet.h,
15800 src/NetworkManager.c,
15801 src/NetworkManagerMain.h,
15802 src/NetworkManagerSystem.h,
15803 src/backends/NetworkManagerRedHat.c,
15804 src/backends/NetworkManagerSuSE.c,
15805 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
15807 2005-08-05 Robert Love <rml@novell.com>
15809 * gnome/applet/other-network-dialog.c: default the adhoc network to the
15810 machine's hostname to make adhoc creation idiot-proof.
15812 2005-08-04 Robert Love <rml@novell.com>
15814 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
15817 2005-08-04 Dan Williams <dcbw@redhat.com>
15819 * gnome/applet/applet-dbus-info.c
15820 gnome/applet/applet-dbus-info.h
15821 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
15822 to store key, key type, and auth method rather than just auth method
15823 - (nmi_dbus_update_network_info): new function
15824 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
15826 * gnome/applet/passphrase-dialog.c
15827 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
15828 of saving the info ourselves
15830 * gnome/libnm_glib/libnm_glib.c
15831 - Remove the stupid version check for dbus
15833 * src/NetworkManagerAP.c
15834 src/NetworkManagerAP.h
15835 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
15837 * src/NetworkManagerDbus.c
15838 src/NetworkManagerDbus.h
15839 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
15840 more than just the auth method
15842 * src/NetworkManagerDevice.c
15843 - Update network info at the appropriate times
15845 2005-07-29 Ray Strode <rstrode@redhat.com>
15847 * src/NetworkManager.c (nm_info_handler): don't use input as format
15848 string (Spotted by Ian Jackson).
15850 2005-07-27 Dan Williams <dcbw@redhat.com>
15854 - Random cleanups of spacing
15856 * gnome/applet/applet.h
15857 gnome/applet/other-network-dialog.c
15858 gnome/applet/passphrase-dialog.c
15859 - Conslidate usage of NMWAEncryptionKeyTypes enum
15861 Patch from Bill Moss:
15862 - Make Other Wireless Networks work again with encryption keys
15864 2005-07-26 Dan Williams <dcbw@redhat.com>
15866 Patch from Steev <steev@steev.net>:
15867 * src/backends/NetworkManagerGentoo.c
15868 src/backends/Makefile.am
15869 - Fix up Gentoo backend
15871 2005-07-26 Robert Love <rml@novell.com>
15873 * src/backends/NetworkManagerSuSE.c: misc. cleanup
15875 2005-07-25 Robert Love <rml@novell.com>
15877 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
15878 in the same group as the wireless networks, since they are all
15879 mutually exclusive.
15881 2005-07-24 Ray Strode <rstrode@redhat.com>
15883 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
15884 remove unneeded NULL arg from g_object_new(). Any
15885 warnings caused by not having the extra NULL are just a
15886 result of a bug in glib 2.7.0 - 2.7.2.
15888 2005-07-22 Robert Love <rml@novell.com>
15890 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
15892 2005-07-22 Robert Love <rml@novell.com>
15894 * src/nm-netlink-monitor.c: g_object_new() needs at least three
15895 parameters (gcc 4.0.2 warning fix).
15897 2005-07-18 Robert Love <rml@novell.com>
15899 Suggested by Aaron Bockover (abockover@novell.com)
15900 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
15902 * gnome/applet/passphrase-dialog.c: ditto
15903 * gnome/applet/wireless-applet.glade: ditto
15905 2005-07-13 Dan Williams <dcbw@redhat.com>
15907 Patch from Ray Strode <halfline@gmail.com>
15908 * vpn-daemons/vpnc/nm-vpnc-service.c
15909 - Don't let vpnc daemonize, fixes some races with PID file reading
15911 2005-07-13 Dan Williams <dcbw@redhat.com>
15913 Patch from Ray Strode <halfline@gmail.com>
15914 * Random cleanups for strict CFLAGS
15916 2005-07-07 Dan Williams <dcbw@redhat.com>
15918 Patch from Derek Atkins <warlord@MIT.EDU>
15919 * src/nm-dbus-net.c:
15920 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
15922 2005-07-07 Dan Williams <dcbw@redhat.com>
15924 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
15925 * src/backends/NetworkManagerGentoo.c
15926 - Gentoo backend Static IP nameserver fixes
15927 - General Gentoo backend goodness
15929 2005-07-07 Dan Williams <dcbw@redhat.com>
15931 Patch from Bastien Nocera:
15932 * gnome/applet/applet.c
15933 - Fix up error reporting when icons or glade files are missing
15935 2005-07-07 Robert Love <rml@novell.com>
15937 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
15938 are not any VPN connections above it.
15940 2005-07-07 Robert Love <rml@novell.com>
15942 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
15944 2005-07-05 Robert Love <rml@novell.com>
15946 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
15949 2005-07-05 Robert Love <rml@novell.com>
15951 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
15952 on wired or unencrypted wireless.
15954 2005-07-01 Robert Love <rml@novell.com>
15956 * src/NetworkManagerSystem.c: Print the error via strerror().
15958 2005-06-30 Robert Love <rml@novell.com>
15960 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
15961 then exit if the glade file is not found. currently the application
15964 2005-06-30 Robert Love <rml@novell.com>
15966 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
15967 explicitly up all interfaces on wake from sleep.
15969 2005-06-30 Robert Love <rml@novell.com>
15971 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
15972 with information about the currently active connection.
15973 * gnome/applet/applet.h: (ditto)
15974 * gnome/applet/wireless-applet.glade: (ditto), new file
15976 2005-06-30 Robert Love <rml@novell.com>
15978 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
15979 * src/nm-dbus-nm.c: print when we sleep and wake up.
15980 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
15981 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
15982 in /sbin unless D-BUS is, folks).
15983 * README: update to reflect nm-applet replacing NetworkManagerInfo.
15985 2005-06-27 Robert Love <rml@novell.com>
15987 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
15990 2005-06-27 Robert Love <rml@novell.com>
15992 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
15995 2005-06-26 Robert Love <rml@novell.com>
15997 * src/NetworkManagerDevice.c: be specific about which device in
16000 2005-06-23 Adam Weinberger <adamw@gnome.org>
16002 * src/nm-netlink-monitor.c: correct spelling error.
16004 2005-06-23 Robert Love <rml@novell.com>
16006 * gnome/applet/applet-dbus-info.c: gnome keyring support!
16007 * gnome/applet/passphrase-dialog.c: more of that keyring!
16009 2005-06-23 Robert Love <rml@novell.com>
16011 * configure.in: remove extraneous GNOMEKEYRING directives.
16012 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16013 * gnome/applet/applet.c: nmwa_icons_init: make style local.
16014 * gnome/applet/passphrase-dialog.c: whitespace.
16016 2005-06-23 Robert Love <rml@novell.com>
16018 * src/NetworkManagerDevice.c: division in assignment was flipped.
16020 2005-06-23 David Zeuthen <david@fubar.dk>
16022 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16023 signal to the child to indicate that we got what we wanted when we
16024 see two new-lines right after each other.
16025 (nmwa_vpn_request_password): Pass a structure with several members
16026 instead of just the passwords
16028 2005-06-23 Dan Williams <dcbw@redhat.com>
16030 * src/NetworkManager.c
16031 src/NetworkManagerMain.h
16032 - (nm_get_hal_ctx): new function, move Hal initialization code here
16033 - (nm_hal_init): new function, init libhal context then add devices
16034 - (nm_hal_deinit): new function, clean up libhal context
16035 - (nm_data_free): Move Hal cleanup here
16036 - (main): check whether Hal is running, and if so, get a list of
16037 network devices from it
16039 * src/NetworkManagerDbus.c
16040 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16041 and when it appears, get a list of network devices from it. If
16042 Hal goes away, clean up the libhal context
16044 2005-06-22 Robert Love <rml@novell.com>
16046 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16047 permissions of scripts before executing.
16049 2005-06-21 Robert Love <rml@novell.com>
16051 * initscript/SUSE/networkmanager: update.
16052 * src/backends/NetworkManagerSuSE.c: cleanup.
16054 2005-06-21 Robert Love <rml@novell.com>
16056 * gnome/applet/applet.c: use menu mnemonics.
16057 * gnome/applet/menu-items.c: (ditto)
16059 2005-06-21 Robert Love <rml@novell.com>
16061 * applet/applet-dbus-devices.c: mark non-static functions static.
16062 * applet/applet-dbus-vpn.c: (ditto)
16063 * applet/applet.c: (ditto)
16064 * applet/nm-device.h: (ditto)
16065 * applet/other-network-dialog.c: (ditto)
16066 * applet/passphrase-dialog.c: (ditto)
16067 * NetworkManager.c: (ditto)
16068 * NetworkManagerDbus.c: (ditto)
16069 * NetworkManagerDevice.c: (ditto)
16070 * NetworkManagerPolicy.c: (ditto)
16071 * NetworkManagerUtils.c: (ditto)
16072 * NetworkManagerWireless.c: (ditto)
16073 * NetworkManagerWireless.h: (ditto)
16074 * nm-netlink-monitor.c: (ditto)
16075 * applet/applet-dbus-info.c: (ditto), add FIXME's.
16076 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16077 * autoip.c: include autoip.h.
16078 * autoip.h: new file. define get_autoip().
16079 * nm-netlink-monitor.h: define nm_netlink_close_connection().
16080 * NetworkManagerDbus.h: remove duplicate definitions.
16082 2005-06-20 Robert Love <rml@novell.com>
16084 * Makefile.am: Add missing intltool-foo.in generated files to
16085 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
16086 with the start of stuff to cleanup on 'distclea'.
16087 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16088 stuff right and 'distcheck' works.
16089 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
16090 we keep it, we need to add all of examples/* to EXTRA_DIST and do
16091 Makefile.am for each. And systray/Makefile needs to be redone.
16093 2005-06-19 Dan Williams <dcbw@redhat.com>
16095 * src/NetworkManagerDevice.c
16096 - (nm_device_wireless_process_scan_results): scan every 20s when
16097 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16099 2005-06-19 Dan Williams <dcbw@redhat.com>
16101 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16103 2005-06-18 Ray Strode <rstrode@redhat.com>
16105 * src/nm-netlink-monitor.c
16106 (nm_netlink_monitor_event_handler): check for the presence
16107 of either error condition not both.
16109 (nm_netlink_monitor_error_handler): emit error signal if
16112 (nm_netlink_monitor_event_handler),
16113 (nm_netlink_monitor_error_handler),
16114 (nm_netlink_monitor_disconnect_handler): if an
16115 assertion fails disconnect the event handler to prevent
16118 * src/nm-netlink-monitor.h: add new error condition
16119 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16121 2005-06-18 Ray Strode <rstrode@redhat.com>
16123 * src/nm-netlink-monitor.c
16124 (nm_netlink_monitor_event_handler): remove bogus < 0
16125 check on unsigned value and return early if the kernel
16126 didn't send any bytes.
16128 2005-06-17 Robert Love <rml@novell.com>
16130 * initscript/SUSE/networkmanager: Change the Provides and default
16133 2005-06-16 Dan Williams <dcbw@redhat.com>
16135 Patch from Robert Love:
16136 * gnome/applet/applet.c
16137 - Beautify some applet menu item names
16139 2005-06-17 David Zeuthen <davidz@redhat.com>
16141 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16142 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16143 Also add new methods can_export, import_file and export.
16145 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16148 * gnome/vpn-properties/nm-vpn-properties.c:
16149 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16150 nm-vpn-ui-interface.h.
16151 (update_edit_del_sensitivity): Also update "Export" sensitivity
16152 (add_vpn_connection): Also add new SVC_NAME column
16153 (import_settings): New function
16154 (retrieve_data_from_selected_connection): New function
16155 (edit_cb): Use retrieve_data_from_selected_connection to simplify
16157 (export_cb): New function
16158 (init_app): Also setup the "export" widget
16159 (main): Support the --import-service and --import-file commandline
16162 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16165 2005-06-16 Dan Williams <dcbw@redhat.com>
16167 Patch from Robert Love:
16168 * gnome/applet/menu-items.c
16169 - (network_menu_item_new): pass -1 as wireless network
16170 menu items height size request rather than ascent / 2
16172 2005-06-16 Dan Williams <dcbw@redhat.com>
16174 * Clean up wording in Wireless Scan Methods menu items and constants
16176 2005-06-16 Robert Love <rml@novell.com>
16179 - remove gtkcell* files
16181 2005-06-15 Dan Williams <dcbw@redhat.com>
16183 Patch from Robert Love: make the applet stetic
16185 * gnome/applet/Makefile.am
16186 - Don't compile the gtkcellview and gtkcellrendererprogress files
16188 * gnome/applet/gtkcellview.h
16189 gnome/applet/gtkcellview.c
16190 gnome/applet/gtkcellrendererprogress.h
16191 gnome/applet/gtkcellrendererprogress.c
16194 * gnome/applet/menu-items.c
16195 - Progress bars are 5:1 size ratio
16196 - Use GTK progress bars rather than internal ones
16198 2005-06-15 Dan Williams <dcbw@redhat.com>
16200 Patch from Robert Love:
16201 * initscript/SUSE/networkmanager
16204 2005-06-15 Dan Williams <dcbw@redhat.com>
16206 * src/backends/NetworkManagerSuSE.c
16207 src/backends/NetworkManagerRedHat.c
16208 src/backends/NetworkManagerDebian.c
16209 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16211 2005-06-15 Dan Williams <dcbw@redhat.com>
16213 * src/backends/NetworkManagerDebian.c
16214 - Add nm_system_device_get_use_dhcp() to debian backend
16216 Patch from Kay Sievers:
16217 * src/backends/NetworkManagerSuSE.c
16218 - Update debian backend for static IP nameservers
16220 * src/NetworkManagerDevice.c
16221 - Actually set the device to use static IP or DHCP rather
16224 2005-06-15 Dan Williams <dcbw@redhat.com>
16226 Patch from Thom May:
16227 * src/backends/NetworkManagerDebian.c
16228 - Update debian backend for static IP nameservers
16230 2005-06-15 Dan Williams <dcbw@redhat.com>
16232 Patches from Robert Love:
16233 * gnome/applet/wireless-applet.glade
16234 - Tighten up wording
16236 * src/NetworkManagerDevice.c
16237 - Remove misplaced ';'
16240 initscript/Makefile.am
16241 initscript/SUSE/Makefile.am
16242 initscript/SUSE/networkmanager
16243 - Add SUSE initscript
16245 2005-06-12 David Zeuthen <davidz@redhat.com>
16247 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16249 * gnome/vpn-properties/nm-vpn-properties.glade: New file
16251 * gnome/vpn-properties/nm-vpn-properties.c: New file
16253 * gnome/vpn-properties/Makefile.am: New file
16255 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16258 * src/vpn-manager/nm-vpn-manager.c
16259 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16260 instead of just a single one
16262 * src/vpn-manager/nm-dbus-vpn.c:
16263 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16265 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16267 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
16268 Change the interface here to give a list of passwords. Also, don't
16269 require username, but do require service
16271 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16272 the binary for the auth-dialog and use that instead of putting up a
16273 dialog asking for a single password
16275 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16276 however do remember the service
16278 * gnome/applet/main.c (main): Setup i18n
16280 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16281 connection to '%s'" to the tooltip if we are connected using VPN
16282 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16283 key to determine whether we the auth-dialog needs to
16284 reprompt. Also cope with the fact that the auth-dialog now returns
16285 an array of passwords.
16286 (nmwa_menu_configure_vpn_item_activate): New handler for
16287 "Configure VPN..." menu item
16288 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16289 (is_vpn_available): New function to determine if we got any
16290 NM-compatible VPN software installed
16291 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16292 items only if we have NM-compatible VPN software installed
16293 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16294 logic for detecting when VPN connections are removed
16296 * gnome/applet/applet-dbus.h: Removed the prototypes for
16297 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16298 since these are defined elsewhere
16300 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16301 function used to keep track of whether the last attempt succeded
16302 (nmwa_dbus_filter): Update last_attempt according to whether the
16303 VPN connection could be established or not
16305 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
16306 Change prototype to take an array of passwords, not just a single
16309 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16310 update service, not user
16311 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16312 dbus_active_vpn_name is not NULL before using it
16313 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16314 string array instead of assuming a single password
16316 * gnome/applet/applet-dbus-info.c:
16317 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16318 user name; don't read from gconf
16320 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
16323 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16325 * configure.in: Add checks for gmodule-2.0.
16326 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16327 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16328 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
16331 * vpn-daemons/Makefile.am: Removed
16333 * vpn-daemons/README: New file to describe extensions points for VPN
16336 2005-06-10 Dan Williams <dcbw@redhat.com>
16338 * src/backends/NetworkManagerRedHat.c
16339 - (get_current_profile_name): new function, grab current network profile name from
16340 /etc/sysconfig/network
16341 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16342 update an IP4 Config structure's settings from it
16343 - (nm_system_device_get_system_config): if we're using static IP on this device,
16344 get DNS info from current network profile
16346 2005-06-09 Dan Williams <dcbw@redhat.com>
16348 Patch from Robert Love:
16349 * src/NetworkManagerDevice.c
16350 src/NetworkManagerUtils.c
16351 - 64-bit build fixes
16353 2005-06-09 Dan Williams <dcbw@redhat.com>
16355 Patch from Kay Sievers and Robert Love:
16357 src/backends/Makefile.am
16358 src/backends/NetworkManagerSuSE.c
16361 2005-06-09 Dan Williams <dcbw@redhat.com>
16364 - Add NMWirelessScanMethod enum for scan methods
16366 * gnome/applet/applet-dbus-devices.c
16367 - (nmwa_dbus_update_scanning_enabled_cb): remove
16368 - (nmwa_dbus_update_scanning_enabled): remove
16369 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16370 since it got removed
16371 - (nmwa_dbus_enable_scanning): remove
16373 * gnome/applet/applet-dbus-info.c
16374 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16375 update the wireless scanning method from NMI
16376 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16377 method value to NetworkManager
16378 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16380 * gnome/applet/applet-dbus-info.h
16381 - Add prototype for nmi_dbus_signal_update_scan_method
16383 * gnome/applet/applet.c
16384 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16385 Wireless Scanning menu based on current wireless scan method
16386 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16387 signal for Wireless Scanning menu items, tell NetworkManager the new method
16388 and update our menu items to make sure the right one is checked
16389 - (nmwa_set_scanning_enabled_cb): remove
16390 - (nmwa_context_menu_update): remove references to pause_scanning_item
16391 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16393 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16395 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16396 so we get notified of preference values too
16397 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16399 * gnome/applet/applet.h
16400 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16401 - Add wireless scan method member to applet data
16402 - Remove pause_scanning_item, add Wireless Scanning submenu
16404 * src/NetworkManager.c
16405 - (nm_data_new): default to NM_SCAN_METHOD_ON
16406 - (main): grab scanning method from NMI if we can
16408 * src/NetworkManagerDbus.c
16409 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16410 nm_dbus_update_wireless_scan_method()
16411 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16413 - (nm_dbus_nmi_is_running): redundant function, removed
16414 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16415 when NMI comes back
16417 * src/NetworkManagerDevice.c
16418 - (nm_device_is_activated): return TRUE if the device is activated
16419 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16420 and we are activated
16423 - (nm_dbus_nm_set_scanning_enabled): removed
16424 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16425 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16427 2005-06-09 Dan Williams <dcbw@redhat.com>
16430 src/vpn-manager/nm-vpn-service.c
16431 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16433 2005-05-27 Dan Williams <dcbw@redhat.com>
16435 * vpn-daemons/vpnc/nm-vpnc-service.c
16436 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16437 Should fix the bug where the VPN connection terminates the first time.
16439 2005-05-20 Dan Williams <dcbw@redhat.com>
16442 - Differentiate VPN config signals between bad VPN config options
16445 * gnome/applet/applet-dbus-info.h
16446 - Add prototypes for wireless network and vpn connection update functions
16448 * gnome/applet/applet-dbus.c
16449 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16451 * gnome/applet/applet.c
16452 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16454 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16455 propogation to NetworkManager
16456 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16457 notify propogation to NetworkManager
16459 * src/NetworkManagerDbus.c
16460 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16461 are updating so a network can be removed from it if necessary
16463 * src/vpn-manager/nm-vpn-manager.c
16464 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16466 * vpn-daemons/vpnc/nm-vpnc-service.c
16467 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16468 - (nm_vpnc_dbus_signal_launch_failed): remove
16469 - (nm_vpnc_dbus_signal_connect_failed): remove
16470 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16471 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16472 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16473 for new generalized error signal function, remove config file stuff
16474 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16475 we can write configuration options to it
16476 - (nm_vpnc_config_file_generate): removed
16477 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16478 - (nm_vpnc_config_options_validate): validate the config options we receive
16479 from NetworkManager to block potential exploits
16480 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16482 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16485 2005-05-16 Dan Williams <dcbw@redhat.com>
16487 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16488 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16491 2005-05-16 Dan Williams <dcbw@redhat.com>
16493 Patch from Tomislav Vujec <tvujec@redhat.com>
16494 * gnome/applet/applet-dbus-info.c
16495 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16496 GConf and pass them to NetworkManager. New key is 'routes' under
16497 the VPN connection, and should be a string list
16499 * src/NetworkManagerSystem.c
16500 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16501 set them on the device when we set the rest of the VPN config. Ensure
16502 they are in the correct format since they are passed directly to the
16505 * src/backends/NetworkManagerRedHat.c
16506 src/backends/NetworkManagerDebian.c
16507 - (nm_system_device_add_route_via_device_with_iface): new function
16509 * src/vpn-manager/nm-dbus-vpn.c
16510 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16512 * src/vpn-manager/nm-vpn-manager.c
16513 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16514 them into the IP4 config functions
16516 2005-05-15 Dan Williams <dcbw@redhat.com>
16518 From Filip Miletic:
16522 - Serbian translation added
16524 2005-05-15 Dan Williams <dcbw@redhat.com>
16526 * dispatcher-daemon/NetworkManagerDispatcher.c
16527 - (main): sync arguments with NetworkManager and the applet, now use
16528 "--no-daemon" rather than "daemon=no"
16529 - (nmd_print_usage): Fix script path in usage message
16531 2005-05-15 Dan Williams <dcbw@redhat.com>
16533 * src/NetworkManagerDevice.[ch]
16534 src/NetworkManagerPolicy.c
16535 src/NetworkManager.c
16537 - Remove the "just_added" parameter from nm_device_deactivate(). We no
16538 longer send the DeviceNoLongerActive signal unconditionally, but only
16539 when the device is actually active.
16541 * dispatcher-daemon/NetworkManagerDispatcher.c
16542 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16543 and simplify the logic
16544 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16545 we free it later on
16547 * initscript/RedHat/Makefile.am
16548 initscript/RedHat/NetworkManagerDispatcher
16549 - Add initscript for NetworkManagerDispatcher
16552 Patch from Bill Moss:
16553 * dispatcher-daemon/NetworkManagerDispatcher.c
16554 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16556 * src/NetworkManagerDbus.c
16557 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
16558 and DeviceNowActive gets signaled, then the device has a new IP address
16559 anyway. There's no need for a separate signal.
16561 * src/NetworkManagerDevice.c
16562 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16564 * src/NetworkManagerPolicy.c
16565 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16566 activates successfully. This kind of went missing when I reworked the
16569 2005-05-15 Dan Williams <dcbw@redhat.com>
16572 - Check for dhcdbd and error if its not found
16574 * src/dhcp-manager/Makefile.am
16575 src/dhcp-manager/nm-dhcp-manager.c
16576 - Use path to dhcdbd that configure found
16578 2005-05-14 Dan Williams <dcbw@redhat.com>
16580 * gnome/applet/nm-device.c
16581 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16582 sort wireless networks alphabetically
16584 * gnome/applet/applet-dbus-devices.c
16585 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16586 before copying them over to the GUI
16588 2005-05-14 Dan Williams <dcbw@redhat.com>
16590 * src/NetworkManager.c
16591 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16592 fixes a deadlock on shutdown with a VPN connection active. This function locks
16593 the device list, as does nm_get_active_device() which is called from
16594 nm_vpn_manager_deactivate_vpn_connection().
16596 2005-05-14 Dan Williams <dcbw@redhat.com>
16599 - Add signals for VPN Launch and Connect failures
16601 * gnome/applet/applet-dbus.c
16602 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16604 * gnome/applet/applet.c
16605 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16606 function to handle all VPN failure messages
16607 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
16608 function to hanlde all VPN failure messages
16609 - (show_warning_dialog): work around focus-stealing prevention
16611 * gnome/applet/other-network-dialog.c
16612 gnome/applet/passphrase-dialog.c
16613 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16614 problem where it never enabled for ASCII Key and Hex Key types
16616 * gnome/applet/wireless-applet.glade
16617 - Add window title to Other Wireless Network Dialog
16619 * src/vpn-manager/nm-dbus-vpn.c
16620 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16621 function to handle all VPN failure messages
16623 * src/vpn-manager/nm-vpn-manager.c
16624 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16626 * vpn-daemons/vpnc/nm-vpnc-service.c
16627 - (nm_vpnc_dbus_signal_launch_failed): new function
16628 - (nm_vpnc_dbus_signal_connect_failed): new function
16629 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16630 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16631 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16632 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16634 2005-05-11 Dan Williams <dcbw@redhat.com>
16636 * vpn-daemons/vpnc/nm-vpnc-service.c
16637 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16638 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16639 file exists before trying to write it out.
16641 2005-05-10 Dan Williams <dcbw@redhat.com>
16643 * gnome/applet/applet-dbus-device.c
16644 - (nmwa_dbus_set_device): remove check for valid key and key type, which
16645 prevented just entering ESSID and leaving key and key type up to
16646 NetworkManager (which should have them already cached)
16648 2005-05-08 Dan Williams <dcbw@redhat.com>
16650 * src/NetworkManagerPolicy.c
16651 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16652 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16653 fix a situation where NM is told to terminate and the device stops activation,
16654 but the main thread isn't aware of that because it would never have run
16655 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16658 * src/NetworkManagerDevice.c
16659 - (nm_device_probe_wired_link_state): cosmetic fixes
16660 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16661 we've failed to activate or been canceled.
16662 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16664 2005-05-08 Dan Williams <dcbw@redhat.com>
16666 * src/NetworkManagerWireless.c
16667 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16668 value of WEXT quality structures, and add a debug message when we cannot
16669 determine any quality % at all
16671 2005-05-08 Dan Williams <dcbw@redhat.com>
16673 * src/dhcp-manager/nm-dhcp-manager.c
16674 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16677 2005-05-06 Dan Williams <dcbw@redhat.com>
16679 * gnome/applet/applet-dbus-device.c
16680 gnome/applet/applet-dbus-info.c
16681 gnome/applet/applet-dbus.c
16682 gnome/applet/applet.c
16683 gnome/applet/applet.h
16684 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16686 * gnome/applet/applet-dbus.c
16687 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16688 so we notice when wired device's carriers come back on. Should
16689 fix issue with wired devices being grayed out even if the cable
16690 is in, for devices that support carrier detection.
16692 * gnome/applet/applet.c
16693 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16694 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16696 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16697 Fix situation where applet wouldn't respond to menu selections
16699 * src/NetworkManager.c
16700 src/NetworkManagerDevice.c
16701 src/NetworkManagerDbus.c
16702 src/NetworkManagerDbus.h
16703 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
16705 * src/NetworkManagerDbus.c
16706 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
16707 Remove, no longer used or relevant
16708 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
16709 - (nm_dbus_schedule_device_status_change_signal): add
16711 * src/NetworkManagerDevice.c
16712 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
16713 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
16714 ie don't deactivate them unless explicitly told to by the user. Also send
16715 CARRIER_OFF / CARRIER_ON signals when link changes
16716 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
16717 Don't print error message when device is no longer around
16718 - (nm_device_deactivate): kill any current DHCP process attached to this device,
16719 not just during activation
16721 * src/NetworkManagerPolicy.c
16722 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
16723 auto-device-selection.
16724 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
16726 * src/NetworkManagerSystem.c
16727 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
16728 is no longer present (Bill Moss)
16730 * src/backends/shvar.c
16731 - (svOpenFile): Open read-only to make SELinux happy
16733 * src/backends/NetworkManagerRedHat.c
16734 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
16735 the path to the ifcfg-* files
16737 2005-05-05 Dan Williams <dcbw@redhat.com>
16739 * Expose activation stages to NetworkManager clients, like the applet
16740 * Add Diana's progress icons to the applet, cued off NM activation stage
16741 * Use more descriptive tooltips, cued off NM activation stage
16743 2005-05-05 Ray Strode <rstrode@redhat.com>
16745 * src/nm-netlink-monitor.c:
16746 - Use clear_event_source instead of g_nullify_pointer() again.
16748 2005-05-05 Dan Williams <dcbw@redhat.com>
16750 * gnome/applet/main.c
16751 - Fix session management so the applet is actually managed now
16753 * gnome/applet/passphrase-dialog.c
16754 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
16756 2005-05-05 Dan Williams <dcbw@redhat.com>
16758 Patch from Bill Moss:
16759 * gnome/libnm_glib/libnm_glib.c
16760 - Fix for dbus-0.33
16762 2005-05-05 Dan Williams <dcbw@redhat.com>
16764 Suggestion from Bill Moss:
16765 * src/NetworkManagerSystem.c
16766 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
16769 * src/NetworkManager.c
16770 - (nm_data_free): move destruction of the various managers after
16771 release of device list, because deactivating and freeing a device
16772 requires at least the named manager
16773 - (nm_poll_and_update_wireless_link_state):
16774 (nm_device_link_activated):
16775 (nm_device_link_deactivated):
16776 don't grab the device list lock when actually updating device
16777 link status or strength, since nm_device_set_link_active()
16778 needs to call nm_get_active_device(), which also locks the device list.
16780 * src/NetworkManagerDevice.c
16781 - (nm_device_set_link_active): if a device's link switches from off->on,
16782 and it's wired, and the active device is wireless (or there is no
16783 active device), activate the new device whose link just came on
16784 - (link_to_specific_ap): try to smooth over intermittency in wireless links
16785 my only calling the link to the current ap "failed" when more than 2
16786 consecutive link checks have failed
16788 2005-05-04 Dan Williams <dcbw@redhat.com>
16790 * src/NetworkManagerDevice.c
16791 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
16792 but let link_to_specific_ap() do the locking where it needs
16794 Patch from Bill Moss:
16795 * src/NetworkManagerSystem.c
16796 - Set MTU of VPN devices to 1412
16798 2005-05-04 Dan Williams <dcbw@redhat.com>
16800 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
16802 * Fix some holes in device activation and retaining the currently connected
16805 2005-05-03 Dan Williams <dcbw@redhat.com>
16807 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
16808 This means that NetworkManager shouldn't have DHCP issues anymore. It also
16809 means you need dhcdbd, which you can get here (get the latest one):
16811 http://people.redhat.com/jvdias/dhcdbd/
16813 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
16814 interface as dhcdbd.
16816 * Rewrite device activation to facilitate the new DHCP infrastructure and
16817 future improvements. Its now "activation request" based, ie there is a single
16818 activation request composed of the device, access point, and other info which
16819 follows the entire activation process. There are 5 stages of the activation
16820 process which correspond to:
16822 1) Device preparation
16823 2) Device configuration (bring it up, set ESSID/Key/etc)
16824 3) IP Config Start (fire off DHCP if we're using it)
16825 4) IP Config Get (grab config from DHCP or static config files)
16826 5) IP Config Commit (set device's IP address, DNS, etc)
16828 Note that there is no longer a "scanning" step, since the access point must
16829 be known _before_ activation starts. If the access point drops out or does
16830 not exist for some reason, the entire activation process fails and must be
16831 restarted for a different access point or device.
16833 Patch from Bill Moss:
16834 * gnome/applet/applet.c
16835 - Fix type of vpn_failure dialog -> vpn_banner dialog
16837 2005-04-27 Dan Williams <dcbw@redhat.com>
16839 * gnome/applet/applet-dbus-vpn.c
16840 gnome/applet/applet.c
16841 gnome/applet/applet.h
16842 - Fix up active VPN handling so that we reliably know when a VPN
16843 connection has been deactivated
16845 * src/vpn-manager/nm-vpn-manager.c
16846 - Remove duplicate VPNConnectionChange signal
16848 2005-04-27 Dan Williams <dcbw@redhat.com>
16850 Patch from Peter Jones:
16851 * Remove usage of varargs to fix crashes on PPC (RH #154336)
16853 Patch from Bill Moss:
16854 * src/NetworkManagerSystem.c
16855 - Fix checking of return value from ioctl()
16857 2005-04-27 Dan Williams <dcbw@redhat.com>
16859 * Fix choosing of wireless networks and "Other wireless network..." from the applet
16860 * Warn and exit if icons cannot be found
16862 2005-04-27 Dan Williams <dcbw@redhat.com>
16864 Patch from Tom Parker:
16865 * Update debian backend
16867 2005-04-27 Dan Williams <dcbw@redhat.com>
16869 * Merge the applet and the info-daemon, and move the converged
16870 applet under gnome/applet
16871 * Move libnm_glib to gnome/libnm_glib
16872 * Convert most dbus calls between the applet, info-daemon, and NM
16874 * Fix a few things valgrind noticed
16875 * Make NM broadcast state more reliably
16877 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
16879 * configure.in: Added ne in ALL_LINGUAS
16881 2005-04-15 Dan Williams <dcbw@redhat.com>
16883 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
16884 code for dbus 0.2x versions
16886 2005-04-15 Dan Williams <dcbw@redhat.com>
16888 Patches from Tom Parker:
16890 - Join with worker thread rather than polling for its exit
16892 Patch from Bill Moss:
16893 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
16895 2005-04-15 Dan Williams <dcbw@redhat.com>
16897 - Fixes to pass 'make distcheck'
16899 2005-04-15 Dan Williams <dcbw@redhat.com>
16901 Initial VPN Support
16903 - reworks device IP configuration, backend files have changed and will need
16904 to be updated for all distributions. I will try to do what I can for
16905 them, but I cannot test them.
16907 - Move named directory to src/named-manager
16908 - Make backends directory self-contained
16910 2005-04-06 Dan Williams <dcbw@redhat.com>
16912 Add debug code for socket/file descriptor leaks. We register every socket
16913 that we open (except for stuff in dhcpcd/) for tracking, and print out the
16914 list of sockets that we forgot to close on shutdown. This also consolidates
16915 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
16917 2005-04-06 Dan Williams <dcbw@redhat.com>
16920 - (dhcp_interface_free): fix a file descriptor leak that may have
16921 caused network drivers to not unload due to refcounts > 0
16923 2005-04-04 Dan Williams <dcbw@redhat.com>
16925 * panel-applet/NMWirelessAppletDbus.c
16926 - (nmwa_dbus_call_nm_method): remove some commented code
16928 * src/NetworkManagerAPList.[ch]
16929 - (nm_ap_list_remove_ap_by_essid): new function
16931 * src/NetworkManagerDevice.c
16932 - (nm_device_wireless_force_use): remove access points from the ignore list
16933 when the user forces them
16935 * src/nm-dbus-device.c
16936 - (nm_dbus_device_get_active_network): fix up escaping of object paths
16938 2005-04-04 Dan Williams <dcbw@redhat.com>
16940 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
16942 2005-04-04 Dan Williams <dcbw@redhat.com>
16944 * src/NetworkManagerDevice.c:
16945 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
16946 of only erroring after the second consecutive scan times out. Also
16947 don't exit when the card requires more time than we can give it, just
16948 log the event and continue.
16950 2005-04-01 Steve Murphy <murf@e-tools.com>
16952 * configure.in: Added "rw" to ALL_LINGUAS.
16954 2005-04-01 Dan Williams <dcbw@redhat.com>
16956 Perform scans during device activation, if needed. Both activation
16957 and scans run in the same GMainContext. Therefore, if an access point
16958 is not found by the time the device starts activation, it will not
16959 be available until after activation. We now try to scan during
16960 activation (in nm_wa_test) every 15s so that all available access
16961 points are more likely to be found and available for the activation
16964 Also change nm_wireless_link_state_handle() to only update the "best"
16965 AP if we are not forcing a device and if we are not about to change
16966 state. This attempts to work around a race when forcing a device,
16967 where the forced AP would get cleared out too soon by the link state
16968 checking timeout in the main thread, and the activation attempt with
16969 that AP would fail.
16971 2005-04-01 Dan Williams <dcbw@redhat.com>
16974 - Update with new translatables
16976 2005-03-31 Dan Williams <dcbw@redhat.com>
16978 * panel-applet/NMWirelessAppletDbus.c
16979 - Fix device names now that hal has changed device parenting for
16982 2005-03-31 Dan Williams <dcbw@redhat.com>
16984 Tighten up handling of wireless devices that don't support wireless
16985 scanning (ie, Orinoco). Due to restructuring of code, these devices
16986 hadn't been doing pseudo-scanning for a while either and would just
16987 spin waiting for an access point. They are now manual devices where
16988 the user must choose the access point from the menu every time. All
16989 "allowed" access points are listed in the applet's menu regardless
16990 of whether or not they can be seen by the card, since it can't scan
16993 * src/NetworkManager.c
16994 - (nm_wireless_link_state_handle): new function, but only update
16995 the "best" ap for non-scanning devices when its not activating,
16996 and when no device is being forced on the card
16997 - (nm_link_state_monitor): split wireless link state handling out
16998 into separate function
17000 * src/NetworkManagerDevice.c
17001 - (nm_device_copy_allowed_to_dev_list): new function
17002 - (nm_device_new): populate non-scanning cards' AP lists with
17003 access points from the "allowed" list
17004 - (nm_device_new): don't start a scanning timeout for devices that
17006 - (nm_device_activation_schedule_finish): new parameter, should be
17007 the AP that failed to be connected to, pass it on to the
17008 activation finish function in NetworkManagerPolicy.c
17009 - (nm_device_activate_wireless): don't ever try to get a new AP
17010 for non-scanning devices, just fail. The user must choose
17011 a new access point manually.
17012 - (nm_device_activate): grab the AP that failed connection and
17014 - (nm_device_update_best_ap): Clear the best AP if we don't have
17015 a link to it, user must manually choose a new one
17016 - (nm_device_do_pseudo_scan): remove function
17017 - (nm_device_wireless_process_scan_results): remove bits for non-
17018 scanning cards since they never get here
17019 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17020 and fake the scan list for test devices a bit earlier
17022 * src/NetworkManagerPolicy.c
17023 - (nm_policy_activation_finish): use the failed_ap that we get
17024 passed rather than getting the best_ap from the card, which
17025 may have changed since we were scheduled
17026 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17027 update their scan list directly from the allowed list when
17028 we get updates to the allowed list from NetworkManagerInfo
17030 * src/NetworkManagerPolicy.h
17031 - New member for failed access point in NMActivationResult
17033 -------------------------------------
17035 Driver Notification patch: notifies the user when their driver
17036 sucks. Gives them the option to ignore further insertions
17037 of the card that has the sucky driver.
17040 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17041 enum and replace it with NO_CARRIER_DETECT and
17044 * panel-applet/NMWirelessApplet.[ch]
17045 - Merge essid.glade -> wireless-applet.glade
17046 - Implement the "Your driver sucks" notification dialog
17048 * panel-applet/NMWirelessAppletDbus.c
17049 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17050 - Grab hardware address for each device from NM too
17051 - Check whether the driver for each device sucks or not whenever
17052 a new device is noticed
17054 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17055 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17057 * src/NetworkManager.c
17058 - Fix a double-unref on device removal
17060 * src/NetworkManagerUtils.c
17061 - Set appropriate driver support level on a device that doesn't
17062 support scanning or carrier detection
17064 * src/nm-dbus-device.c
17065 - New "getHWAddress" dbus method on devices
17066 - getSupportsCarrierDetect -> getDriverSupportLevel
17068 2005-03-31 Dan Williams <dcbw@redhat.com>
17070 * src/NetworkManagerDevice.c
17071 - (nm_device_wireless_scan): Fix leak of scan results in some
17074 2005-03-29 Dan Williams <dcbw@redhat.com>
17076 * src/NetworkManager.c
17077 - (nm_poll_and_update_wireless_link_state): make code less indented
17079 Patch from Bill Moss:
17080 * src/NetworkManager.c
17081 - (nm_device_update_link_state): Update signal strength on wireless
17082 devices every time we update link state too.
17084 2005-03-29 Dan Williams <dcbw@redhat.com>
17086 * src/NetworkManagerDevice.c
17087 - (nm_device_set_essid): Work around Orinoco cards which need
17088 extra time after setting the ESSID
17090 2005-03-29 Dan Williams <dcbw@redhat.com>
17092 * src/NetworkManagerDevice.c
17093 - Merge one more bit of Peter Jones' completion patch
17095 2005-03-29 Dan Williams <dcbw@redhat.com>
17097 * src/NetworkManagerDevice.c
17098 - (nm_device_force_use): Fix possible segfault
17100 2005-03-29 Dan Williams <dcbw@redhat.com>
17102 * src/NetworkManagerDevice.c
17103 - Use iw_get_ext() where we should rather than iw_set_ext()
17105 2005-03-29 Dan Williams <dcbw@redhat.com>
17107 * src/NetworkManagerDevice.c
17108 - (nm_device_set_up_down): remove check for unsupported devices
17109 that caused NM to not bring devices up when they were
17110 added to the device list.
17112 2005-03-28 Dan Williams <dcbw@redhat.com>
17114 * src/NetworkManagerDevice.c
17115 - (mdio_read): Fix two bugs that caused all devices to fail
17116 the MII carrier detection support checks
17118 2005-03-26 Dan Williams <dcbw@redhat.com>
17120 * src/NetworkManagerDevice.c
17121 - (nm_device_wireless_scan): Remove duplicated scanning code
17123 2005-03-25 Dan Williams <dcbw@redhat.com>
17125 * panel-applet/NMWirelessApplet.c
17126 - (nmwa_about_cb): Add some more contributors
17127 - (nmwa_update_state): show the applet when there's no connection
17128 - Enable the "Stop/Resume all wireless devices" option in the
17130 - New "no connection" icon
17132 * src/NetworkManager.c
17133 - (nm_poll_and_update_wireless_link_state): don't do anything if
17134 wireless is disabled or we're asleep
17136 * src/NetworkManagerDHCP.c
17137 - Remove trailing "\n" on debug messages
17139 * src/NetworkManagerDbus.c
17140 - (nm_dbus_network_status_from_data): new state "asleep"
17142 * src/NetworkManagerDevice.c
17143 - Merge most of Peter Jones' "completion" patch that greatly reduces
17144 latency and wait times for most operations
17145 - (nm_device_wireless_scan): Don't scan when asleep
17147 * src/NetworkManagerPolicy.c
17148 - (nm_policy_get_best_device): return no device when asleep
17149 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17150 for all wireless devices on update, not just active device
17152 * src/NetworkManagerUtils.c
17153 - Merge Peter Jones' "completion" patch
17156 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17157 we're told to disable them
17158 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17161 - New variants of the warn/info/error/debug print functions that can take
17162 variables rather than static strings
17164 2005-03-24 Dan Williams <dcbw@redhat.com>
17166 * src/NetworkManagerUtils.c
17167 - (nm_get_device_driver_name): driver names are now on the parents of
17168 "Network Interface" objects, so look for them there
17170 2005-03-24 Dan Williams <dcbw@redhat.com>
17173 - Escape some forgotten object paths before we shove them through dbus
17175 2005-03-24 Dan Williams <dcbw@redhat.com>
17177 * dhcpcd/dhcpcd.[ch]
17178 src/NetworkManagerDHCP.c
17179 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17180 (ie, dhcp_option_record_len -> dhcp_option_element_len)
17182 * src/NetworkManagerDbus.c
17185 * src/nm-dbus-dhcp.c
17186 - Make the API suck less. There is now only 1 type of each function,
17187 ie only "getInteger" and no longer also "getIntegerv". All types
17188 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17189 that will never have more than 1 element. This should simplify
17192 * test/nm-dhcp-opt-test.c
17193 - Make the tool not segfault
17194 - adapt to new DHCP Options API
17196 2005-03-22 Dan Williams <dcbw@redhat.com>
17198 * src/NetworkManager.c
17199 - (nm_wired_link_deactivated): actually ignore netlink events from
17202 2005-03-22 Dan Williams <dcbw@redhat.com>
17204 * src/NetworkManager.c
17205 - (nm_wired_link_activated): actually ignore netlink events from
17208 2005-03-17 Dan Williams <dcbw@redhat.com>
17210 Patch from Tom Parker:
17211 * src/nm-netlink-monitor.c
17213 * info-daemon/NetworkManagerInfoDbus.c
17214 - (nmi_dbus_update_network_auth_method): free GConf values
17216 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17217 * src/NetworkManagerDevice.c
17218 - (nm_device_set_wireless_config): wait for successful
17219 association longer for some cards (Atheros a/b/g)
17221 2005-03-15 Ray Strode <rstrode@redhat.com>
17223 * src/NetworkManager.c:
17224 (sigterm_pipe_handler):
17227 2005-03-15 Ray Strode <rstrode@redhat.com>
17229 * src/NetworkManagerDbus.c:
17230 Fix some sign weirdness that gcc4 doesn't like,
17231 and add a header file so PPC can hopefully find
17234 2005-03-14 Ray Strode <rstrode@redhat.com>
17236 Fourth (probably working) cut at porting to
17237 dbus 0.30 api and new hal. This cut adds
17238 some new logging macros to make debugging
17241 * dispatcher-daemon/NetworkManagerDispatcher.c:
17242 * info-daemon/NetworkmanagerInfo.c:
17243 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17244 * info-daemon/NetworkManagerInfoVPN.c:
17245 * src/NetworkManager.c:
17246 * src/NetworkManagerAP.c:
17247 * src/NetworkManagerAPList.c:
17248 * src/NetworkManagerDHCP.c:
17249 * src/NetworkManagerDbus.c:
17250 * src/NetworkManagerDevice.c:
17251 * src/NetworkManagerPolicy.c:
17252 * src/NetworkManagerSystem.c:
17253 * src/NetworkManagerUtils.c:
17254 * src/NetworkManagerWireless.c:
17256 * src/nm-dbus-nm.c:
17257 * src/backends/NetworkManagerDebian.c:
17258 * src/backends/NetworkManagerGentoo.c:
17259 * src/backends/NetworkManagerRedHat.c:
17260 * src/backends/NetworkManagerSlackware.c:
17261 use new logging macros.
17263 * dispatcher-daemon/NetworkManagerDispatcher.c:
17264 (nmd_dbus_filter): s/dbus_free/g_free/
17266 * info-daemon/Makefile.am: link in utils library.
17267 * info-daemon/NetworkmanagerInfo.c: use new logging
17269 (nmi_dbus_get_network): don't assume enumerations
17271 (nmi_dbus_nmi_message_handler): don't free what
17272 doesn't belong to us.
17274 * libnm_glib/libnm_glib.c:
17275 (libnm_glib_get_nm_status):
17276 (libnm_glib_init): don't free what doesn't
17278 (libnm_glib_dbus): strdup result, so it doesn't get
17279 lost when message is unref'd.
17281 * panel-applet/NMWirelessAppletDbus.c:
17282 (nmwa_dbus_update_devices): s/dbus_free/g_free/
17284 * src/NetworkManager.c:
17285 (nm_monitor_wired_link_state): request initial status
17286 dump of all cards when we start up, instead of relying
17287 on /sys/.../carrier.
17288 (nm_info_handler), (nm_set_up_log_handlers):
17289 log handlers to specify what syslog priorites
17290 the logging macros default to.
17292 * src/NetworkManagerAPList.c:
17293 (nm_ap_list_populate_from_nmi):
17294 s/dbus_free_string_array/g_strfreev/
17296 * src/NetworkManagerDbus.c:
17297 (nm_dbus_get_network_object):
17298 validate d-bus message argument types.
17299 Advance message iterator after reading argument,
17300 prepend instead of append to GSList.
17302 * src/NetworkManagerDevice.c:
17303 (nm_device_probe_wired_link_status):
17304 remove redundant /sys in /sys path. remove wrong
17305 contents == NULL means has carrier assumption.
17307 * src/nm-netlink-monitor.c
17308 (nm_netlink_monitor_request_status): implement
17309 function to ask kernel to dump interface link
17310 status over netlink socket.
17312 * test/*.c: s/dbus_free/g_free/
17314 * utils/nm-utils.h:
17315 (nm_print_backtrace): new macro to print backtrace.
17316 (nm_get_timestamp): new macro to get sub-second precise
17318 (nm_info), (nm_debug), (nm_warning), (nm_error):
17319 new logging functions. nm_info just prints,
17320 nm_debug includes timestamp and function,
17321 nm_warning includes function, nm_error includes
17322 backtrace and sigtrap.
17324 2005-03-11 Ray Strode <rstrode@redhat.com>
17326 Third (unfinished, partially working) cut at porting to
17327 dbus 0.30 api and new hal.
17329 * info-daemon/NetworkManagerInfoDbus.c:
17330 don't free null arrays.
17332 * panel-applet/NMWirelessAppletDbus.c:
17333 * src/nm-dbus-device.c:
17334 * src/nm-dbus-net.c:
17335 * src/NetworkManagerDbus.c: more
17336 STRING -> OBJECT_PATH fun
17337 * src/NetworkManagerDevice.c:
17338 * src/NetworkManagerDevice.h:
17339 (rename nm_device_get_link_active): rename to
17340 nm_device_has_active_link
17341 (nm_device_wireless_link_active): rename to
17342 nm_device_probe_wireless_link_state
17343 (nm_device_wired_link_active): rename to
17344 nm_device_probe_wired_link_state. Rewrite to
17345 use carrier file since hal doesn't maintain
17346 link state anymore.
17347 (nm_device_update_link_active): rename to
17348 nm_device_update_link_state
17349 * src/NetworkManagerPolicy.c
17350 (nm_policy_activation_finish): check for NULL
17354 * src/NetworkManagerMain.h:
17355 * src/NetworkManager.c:
17356 * src/nm-netlink-monitor.c:
17357 * src/nm-netlink-monitor.h: New class to support
17358 monitoring wired ethernet link status, since HAL
17359 doesn't export that information anymore.
17361 2005-03-09 Ray Strode <rstrode@redhat.com>
17363 Second (unfinished, unworking) cut at porting to
17366 * dispatcher-daemon/NetworkManagerDispatcher.c:
17367 * info-daemon/NetworkManagerInfoDbus.c:
17368 * panel-applet/NMWirelessAppletDbus.c:
17369 * src/NetworkManagerDbusUtils.c:
17370 * src/NetworkManagerDbusUtils.h:
17371 * src/nm-dbus-device.c:
17372 * src/nm-dbus-nm.c:
17373 * test/nmtest.c: support dbus "object path" type
17377 * info-daemon/Makefile.am:
17378 * libnm_glib/Makefile.am:
17379 * panel-applet/Makefile.am:
17380 * dispatcher-daemon/Makefile.am
17382 * test/Makefile.am:
17383 * utils/Makefile.am:
17384 * utils/nm-utils.c:
17385 * utils/nm-utils.h: new utils static lib
17387 2005-03-07 Ray Strode <rstrode@redhat.com>
17389 * info-daemon/NetworkManagerInfoDbus.c:
17390 * libnm_glib/libnm_glib.c:
17391 * panel-applet/NMWirelessAppletDbus.c:
17392 * src/NetworkManager.c:
17393 * src/NetworkManagerDbus.c:
17394 * src/NetworkManagerDevice.c:
17395 * src/NetworkManagerUtils.c:
17396 * src/nm-dbus-device.c:
17397 * src/nm-dbus-dhcp.c:
17398 * src/nm-dbus-net.c:
17399 * src/nm-dbus-nm.c:
17400 * test/nminfotest.c:
17401 First (unfinished, unworking) cut at porting to dbus 0.30 api.
17403 2005-03-04 Dan Williams <dcbw@redhat.com>
17408 2005-03-04 Dan Williams <dcbw@redhat.com>
17410 Patch from Peter Jones:
17411 - Make stuff work with gcc 4.0
17413 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
17415 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17417 2005-02-27 Jim Huang <jserv@kaffe.org>
17419 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17421 2005-02-27 Dan Williams <dcbw@redhat.com>
17423 Patch from Bill Moss:
17424 * panel-applet/NMWirelessAppletDbus.c
17425 - Make sure strength for current access point is up-to-date when we
17426 update the gui data model
17428 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
17430 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17432 2005-02-27 Dan Williams <dcbw@redhat.com>
17434 * src/backends/NetworkManagerRedHat.c
17435 - (nm_system_init): Kill any dhclient processes lying around as well
17436 as stopping 'nifd' if its already been started. NetworkManager
17437 subsumes the functions of nifd (kicking mDNSResponder, autoip)
17439 2005-02-27 Dan Williams <dcbw@redhat.com>
17441 * panel-applet/NMWirelessApplet.c
17442 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17443 dbus data model, not the GUI data model twice.
17445 2005-02-27 Dan Williams <dcbw@redhat.com>
17447 * panel-applet/NMWirelessApplet.[ch]
17448 panel-applet/NMWirelessAppletDbus.[ch]
17449 - Move to incremental network updates. Instead of blowing away our list
17450 of devices every time we get a signal from NetworkManager, we now
17451 incrementally add/remove networks when NetworkManager notifies us that
17452 a new network has appeared or disappered. Strength updates now happen
17453 on-the-fly for each access point as well. There are now two copies of
17454 data from NetworkManager: one for the dbus side, and one for the gui side.
17455 When the dbus side data is modified, it is copied over to the gui side
17456 so we don't have to hold the data_mutex for long periods of time (and
17457 therefore block animation of the applet's icon).
17458 - Clean up some memleaks too
17460 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17461 - Minor code beautification
17463 * src/NetworkManagerAPList.c
17464 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17465 completely new and whether or not an existing one's strength was updated.
17466 Try to fix multiple access points and signal strength by using the highest
17467 signal strength in each scan for any given ESSID.
17469 * src/NetworkManagerDbus.[ch]
17470 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17471 wireless networks; now we have only WirelessNetworkUpdate which includes
17472 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17473 - Kill usage of DbusMessageIter
17475 * src/NetworkManagerDevice.c
17476 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17477 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
17478 AP rather than all-at-once. Also don't ever remove the AP a card is
17479 currently associated with from the network list.
17480 - Update for new signals during scan, send out Appeared, Disappeared, or
17481 StrengthChanged when necessary.
17483 2005-02-25 Dan Williams <dcbw@redhat.com>
17486 - Line break the README
17488 2005-02-25 Dan Williams <dcbw@redhat.com>
17490 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17491 - Remove usage of gtk_window_set_default_size()
17493 * panel-applet/essid.glade
17494 - Stick default size here
17495 - Add in random crap that current glade wants to add in now
17497 2005-02-25 Dan Williams <dcbw@redhat.com>
17499 * src/backends/NetworkManagerRedHat.c
17500 - For non-caching-nameserver/non-named case, ensure that nscd is running
17501 and that we actually tell nscd to reload the hosts cache when it changes
17503 2005-02-25 Dan Williams <dcbw@redhat.com>
17505 * info-daemon/NetworkManagerInfoDbus.c
17506 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17508 * test/nminfotest.c
17509 - Whack usage of DbusMessageIter
17510 - Clean up DbusError and DbusMessage handling and freeing
17511 - Remove unused unregister handler
17514 - Whack usage of DbusMessageIter
17516 * test/nmtestdevices.c
17517 - Whack usage of DbusMessageIter
17519 2005-02-25 Dan Williams <dcbw@redhat.com>
17522 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17525 2005-02-25 Dan Williams <dcbw@redhat.com>
17527 * named/nm-named-manager.c
17528 - Ensure that pid and watch variables for child named process get cleared out
17529 when the child goes away.
17531 2005-02-22 Dan Williams <dcbw@redhat.com>
17533 * src/NetworkManagerPolicy.c
17534 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17535 and NULL out data->active_device so that we have to choose another one.
17536 This may make NetworkManager keep attempting to connect to a wired network
17537 if it fails, but if it keeps failing the wired network has more problems than
17538 just NetworkManager.
17540 * src/backends/NetworkManagerRedHat.c
17541 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17544 * named/nm-named-manager.c
17545 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17546 named so that the distro can flush whatever name service caching
17549 2005-02-21 Dan Williams <dcbw@redhat.com>
17551 * src/NetworkManagerDHCP.[ch]
17552 - (nm_device_dhcp_remove_timeouts): new function
17554 * src/NetworkManagerDevice.c
17555 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17556 remove the DHCP timeouts.
17558 2005-02-21 Dan Williams <dcbw@redhat.com>
17560 * panel-applet/NMWirelessApplet.[ch]
17561 panel-applet/menu-info.[ch]
17562 - Give the panel applet some major love: menu items are no longer
17563 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17564 This allows the applet to actually reflect theme changes correctly,
17565 since themeing of subclassed items in GTK _sucks_.
17567 2005-02-18 Dan Williams <dcbw@redhat.com>
17569 * libnm_glib/libnm_glib.[ch]
17570 test/libnm_glib_test.c
17571 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17572 and its data, and doesn't have to free the callback data anymore
17574 2005-02-18 Dan Williams <dcbw@redhat.com>
17576 * panel-applet/NMWirelessApplet.c
17577 - Revert 2005-02-18 William Jon McCann fix for standard
17578 copyright string until it passes 'make distcheck'.
17579 With standard copyright string, xgettext complains
17580 about "Non-ASCII string at ...".
17582 2005-02-18 Dan Williams <dcbw@redhat.com>
17584 * panel-applet/essid.glade
17585 panel-applet/NMWirelessAppletOtherNetworksDialog.c
17586 - Correct spelling of "adaptor"->"adapter"
17588 2005-02-18 William Jon McCann <mccann@jhu.edu>
17590 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17591 (nmwa_about_cb): Use standard copyright string. Update comment
17592 text to reflect that it is a notification area applet. Remove
17593 leading newline in authors list.
17594 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17595 instead of on parent menu item activation. Fixes #167550.
17597 2005-02-18 William Jon McCann <mccann@jhu.edu>
17599 * panel-applet/essid.glade: Capitalize items as per HIG.
17602 2005-02-16 William Jon McCann <mccann@jhu.edu>
17604 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17605 files for GTK 2.4 or lower, since now public in GTK 2.6.
17607 * panel-applet/essid.glade: Don't specify window size.
17609 2005-02-17 Dan Williams <dcbw@redhat.com>
17611 Caught by Bill Moss:
17613 - Time remaining for DHCP transaction calculation was incorrectly
17614 inside a #ifdef DEBUG
17616 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
17618 * configure.in: Added fr (French) to ALL_LINGUAS.
17620 2005-02-14 Dan Williams <dcbw@redhat.com>
17622 * src/NetworkManagerDHCP.c
17623 - (set_domain_searches): Fix free of invalid pointer
17625 2005-02-14 Dan Williams <dcbw@redhat.com>
17627 Patch from Peter Jones:
17629 - Ensure we return RET_DHCP_CEASED everywhere we should
17630 * dhcpcd/udpipgen.c
17631 - Use faster TOS for IP packets
17632 - Don't set ip_id since we're UDP
17634 Patch from Tomislav Vujec:
17635 * src/nm-dbus-dhcp.c
17636 test/nm-dhcp-opt-test.c
17637 - Clean up warnings to enable cvs tree compilation.
17639 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
17643 - Add the Croatian locale.
17645 2005-02-14 Colin Walters <walters@verbum.org>
17647 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17648 list of domains to search.
17650 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17652 2005-02-13 Dan Williams <dcbw@redhat.com>
17655 - Debug output cleanups of DHCP option printing and parsing.
17657 2005-02-13 Dan Williams <dcbw@redhat.com>
17659 Patch from Dan Reed: DHCP options D-BUS API
17660 Exposes the DHCP options that a device receives to clients over D-BUS.
17666 - Correct names, option length, and types for DHCP options
17668 * dhcpcd/dhcpcd.[ch]
17669 - Clarify function names that access DHCP options & data
17671 * src/NetworkManagerDHCP.c
17672 - Use new DHCP data access functions
17674 * src/NetworkManagerDbus.c
17675 - Message handler for DHCP functions
17677 * src/nm-dbus-dhcp.[ch] (new)
17678 - DHCP dbus methods
17680 * test/nm-dhcp-opt-test.c
17681 - Test DHCP D-BUS API and return all present DHCP options
17683 2005-02-12 Dan Williams <dcbw@redhat.com>
17686 test/nmclienttest.c
17688 - Move nmclienttest.c -> nmtest.c
17690 2005-02-12 Dan Williams <dcbw@redhat.com>
17692 * dhcpcd/buildmsg.c
17693 - Pad DHCP packets until they are at least 300 bytes in size.
17695 2005-02-11 Dan Williams <dcbw@redhat.com>
17698 - (dhcp_init): only print out client ID and class ID if they are specified
17700 * src/NetworkManagerDbus.[ch]
17701 src/nm-dbus-nm.[ch]
17702 src/nm-dbus-device.[ch]
17703 src/nm-dbus-net.[ch]
17704 - Move NM, Device, and Net functions to separate files and use the
17705 dbus method list stuff in NetworkManagerDbusUtils.c to do
17708 * src/NetworkManagerDbusUtils.c
17709 - Add new validate_method called before each dispatch (if present)
17710 that can validate the method call
17712 * src/NetworkManagerWireless.c
17713 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
17714 levels never to be evaluated
17716 Patch from j@bootlab.org
17717 * src/NetworkManagerDevice.c
17718 - Add typedef for "u64"
17720 * src/backends/NetworkManagerDebian.c
17721 - Copy in Dave Woodhouse's fixes for IPv6
17723 2005-02-11 Dan Williams <dcbw@redhat.com>
17725 Patch from Dave Woodhouse for IPv6:
17726 * src/NetworkManagerUtils.c
17727 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
17728 and multicast addresses
17730 * src/NetworkManagerDevice.c
17731 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
17732 after bringing up a card.
17734 2005-02-10 Dan Williams <dcbw@redhat.com>
17736 Patch from Dave Woodhouse:
17737 * src/NetworkManagerSystem.h
17738 src/backends/NetworkManagerDebian.c
17739 src/backends/NetworkManagerGentoo.c
17740 src/backends/NetworkManagerSlackware.c
17741 - New nm_system_device_add_ip6_link_address() function to add link-local
17742 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
17744 * src/backends/NetworkManagerRedHat.c
17745 - (nm_system_device_add_ip6_link_address): implement
17746 - (nm_system_device_flush_addresses): revert to previous behavior of
17747 flushing all addresses
17749 2005-02-10 Dan Williams <dcbw@redhat.com>
17751 Patch from Tom Parker:
17752 * src/NetworkManagerDevice.c
17753 - Remove the "#include <pci/types.h>" since both the ethtool.h and
17754 mii.h headers are broken, and instead use our own typedefs
17756 2005-02-10 Dan Williams <dcbw@redhat.com>
17758 * dhcpcd/buildmsg.c
17759 - (fill_host_and_class_id): only fill in client and class IDs if
17760 they are set by callers.
17763 - (class_id_setup): don't autogenerate a class ID, only use one
17764 we're given, if any.
17765 - (client_id_setup): don't autogenerate a client ID, only use one
17766 we're given, if any.
17769 - (dhcp_interface_init): ensure that client options are correctly
17772 * src/NetworkManagerDHCP.c
17773 - (nm_device_dhcp_request): pass hostname to dhcp library
17775 2005-02-10 Dan Williams <dcbw@redhat.com>
17778 - #rh147661# Don't send kernel version in DHCP requests
17780 * src/NetworkManagerSystem.h
17781 src/backends/NetworkManagerDebian.c
17782 src/backends/NetworkManagerGentoo.c
17783 src/backends/NetworkManagerRedHat.c
17784 src/backends/NetworkManagerSlackware.c
17785 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
17786 functions, they are no longer used anyway
17788 * src/backends/NetworkManagerRedHat.c
17789 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
17790 addresses in an attempt to keep IPv6 local-scope addresses around
17792 2005-02-10 Dan Williams <dcbw@redhat.com>
17794 * src/NetworkManager.c
17795 - (nm_create_device_and_add_to_list): change the add message slightly
17797 * src/NetworkManagerUtils.c
17798 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
17799 Return driver name to calling function
17800 - (nm_get_driver_support_level): print out the driver a device is using
17801 during the support check
17803 Patch from Dave Woodhouse:
17804 * dhcpcd/udpipgen.c
17805 - (in_cksum): copy last byte of odd-sized packets into a
17806 'u_short' rather than a 'u_char', should fix wrong checksums
17807 on big-endian platforms
17809 2005-02-09 Dan Williams <dcbw@redhat.com>
17811 * Clean up usage of GSList objects and looping through their members
17812 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
17814 * Fix problem where even if scanning was turned off, card would still
17815 cycle through frequencies.
17817 2005-02-08 Dan Williams <dcbw@redhat.com>
17819 * panel-applet/NMWirelessApplet.c
17822 2005-02-08 Dan Williams <dcbw@redhat.com>
17824 Patch from Bill Moss
17825 * panel-applet/NMWirelessApplet.c
17826 - Restore correct ESSID in tooltips
17828 2005-02-07 Dan Williams <dcbw@redhat.com>
17830 * panel-applet/NMWirelessApplet.[ch]
17831 - Add a context menu that contains:
17832 Pause/Resume Wireless Scanning
17833 Stop/Start All Wireless Devices
17835 - Grab active device strength off active device,
17838 * panel-applet/NMWirelessAppletDbus.[ch]
17839 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
17840 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
17841 - Update active device strength every 2 seconds, not every 1 second
17843 * panel-applet/menu-info.c
17844 - Only disable wired devices in the menu when they support carrier detection,
17845 and don't currently have a link. Non-carrier-detect devices will always
17849 src/NetworkManagerDbusUtils.[ch]
17850 - Add new new dbus utils sources
17852 * src/NetworkManager.c
17853 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
17854 with the boolean parameter
17855 - Set scanning_enabled & wireless_enabled to TRUE
17857 * src/NetworkManagerDbus.c
17858 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
17859 - Implement scanning & wireless enable/disable calls
17860 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
17862 * src/NetworkManagerDevice.c
17863 - New link detection stuff again...
17864 o Create device's mainloop earlier (but don't run it earlier)
17865 o Hook up new carrier-detect support stuff
17866 o Add in the ethtool & mii support detection code
17867 - Don't scan if scanning is disabled
17869 * src/NetworkManagerPolicy.c
17870 - Never automatically choose a device that doesn't support carrier detection
17871 - Don't automatically choose a wireless device if wireless is disabled
17873 2005-02-07 Dan Williams <dcbw@redhat.com>
17875 * libnm_glib/libnm_glib.c
17876 - Small cleanup in element list iteration
17878 2005-02-07 Dan Williams <dcbw@redhat.com>
17880 * src/NetworkManagerWireless.c
17881 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
17882 to be in line with the WEXT quality specification
17884 2005-02-02 Dan Williams <dcbw@redhat.com>
17886 Patch from Nathan Fredrickson <nathan@silverorange.com>
17887 * Fix up compile for deprecation of libgnomeui
17888 - Switch to <glib/gi18n.h> from <libintl.h>
17889 - Remove <libgnomeui/libgnomeui.h> includes
17890 - Use gtk_window_set_default_icon_from_file() rather than
17891 gnome_window_set_default_icon_from_file()
17893 * named/nm-named-manager.c
17894 - (generate_named_conf): Fix return-nothing in non-void
17897 2005-02-02 Dan Williams <dcbw@redhat.com>
17899 * Clean up unused variables and the like
17901 2005-02-02 Dan Williams <dcbw@redhat.com>
17903 * src/NetworkManagerAPList.c
17904 - (nm_ap_list_merge_scanned_ap): merge strength too
17906 * src/NetworkManagerUtils.c
17907 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
17908 of locking issues by printing out prettier information than g_mutex_lock
17909 - Print out names of mutexes registered with nm_register_mutex_desc()
17910 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
17911 us to seemingly block here for too long
17913 * src/NetworkManager.c
17914 src/NetworkManagerAPList.c
17915 src/NetworkManagerDevice.c
17916 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
17917 so we get better debug information printed
17919 * src/NetworkManagerDbus.c
17920 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
17921 since it sometimes has locking side effects
17922 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
17924 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
17925 we don't need a switch. This gets called often enough that we can't block
17926 until the scan mutex is acquired, because we'll block on device activation
17927 and a few other things, which hangs main thread for too long.
17929 * src/NetworkManagerPolicy.c
17930 - (nm_policy_auto_get_best_device): reduce the possiblity that
17931 nm_device_need_ap_switch() will be called
17933 2005-02-02 Dan Williams <dcbw@redhat.com>
17935 * panel-applet/NMWirelessApplet.c
17936 - Display name of wireless network we are connecting to or connected to
17937 in the tooltip of the applet
17939 2005-02-02 Dan Williams <dcbw@redhat.com>
17941 * src/NetworkManagerDHCP.c
17942 - Hopefully fix double-default-route problem by cleaning up the default
17943 route added by DHCP code right before the DHCP transaction begins
17945 2005-02-02 Dan Williams <dcbw@redhat.com>
17947 * named/nm-named-manager.c
17948 - Write out valid resolv.conf when we exit
17950 2005-02-01 Dan Williams <dcbw@redhat.com>
17952 Patch from Colin Walters:
17953 * named/nm-named-manager.c
17954 - Make multi-domain search options work
17956 2005-01-31 Dan Williams <dcbw@redhat.com>
17958 * info-daemon/NetworkManagerInfoDbus.c
17959 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
17961 * src/NetworkManagerDevice.c
17962 - (nm_device_new): Don't store the entire range struct, use only what we need
17963 (which is currently avg_quality, max_quality, and frequencies). Also
17964 zero device structure when we've free'd it to maybe expose errors down
17966 - (nm_device_update_signal_strength): grab the scan mutex before getting
17967 quality data from the card since quality will be useless during a scan.
17968 Call updated wireless qual-to-percent function with values stored in
17969 nm_device_new() earlier.
17970 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
17971 nm_device_get_bad_crypt_packets())
17972 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
17974 - (get_initial_auth_method): always use the Auth method that's in the allowed
17975 list if available. Problem was this: when the WEP key is wrong, NM will
17976 try OS then SK modes, and then get stuck in SK mode after that. This
17978 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
17981 * src/NetworkManagerWireless.c
17982 - (nm_wireless_qual_to_percent): try to make this function actually work and
17983 mimic iwlib behavior. Use card's idea of quality divided by max_qual
17984 if that's all present, otherwise fall back to signal-to-noise ratios.
17986 2005-01-29 Dan Williams <dcbw@redhat.com>
17988 * initscript/RedHat/NetworkManager
17989 - Don't spit out sysctl stuff to console
17991 * libnm_glib/libnm_glib.c
17992 - (libnm_glib_init): call dbus_g_thread_init()
17994 * panel-applet/NMWirelessAppletDbus.c
17995 - (nmwa_dbus_worker): call dbus_g_thread_init()
17997 * src/NetworkManager.c
17998 - (main): call dbus_g_thread_init()
18000 * src/NetworkManagerAPList.c
18001 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18002 so we can actually see what's there in a normal syslog
18004 * src/NetworkManagerDevice.c
18005 - (nm_device_activate_wireless): print out the "waiting for access point"
18006 message only once, then say what access point we actually got after
18008 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18009 function, wait until the scan is done. Scans may change the ESSID of
18010 the card, making this function think we need to switch access points
18011 - (nm_device_wireless_process_scan_results): for artificial access points
18012 don't check against the card's ESSID, but the best_ap's ESSID. This
18013 prevents collisions with the scanning code, which may change the card's
18014 ESSID and cause the access point to get dropped from the device's AP
18015 list. Also increase the keep-around time to 2m from 60s since the max
18016 scan interval could be 60s in some cases.
18018 * src/NetworkManagerPolicy.c
18019 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18020 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18021 the new properties and ESSIDs to the device's AP list. Fixes some races
18022 between NM and NMI.
18024 2005-01-27 Dan Williams <dcbw@redhat.com>
18026 * info-daemon/NetworkManagerInfoDbus.c
18027 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18028 GConf, make a minimal entry for it (essid & timestamp)
18030 * src/NetworkManagerAPList.c
18031 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18032 NetworkManagerInfo isn't running
18034 * src/NetworkManagerDbus.[ch]
18035 - (nm_dbus_nmi_is_running): new function
18037 * src/NetworkManagerDevice.c
18038 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18039 address to garbage.
18041 * src/NetworkManagerPolicy.c
18042 - (nm_policy_activation_finish): On successful activation, make sure
18043 the "best" AP has a MAC address, and don't tell NMI to add the
18044 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18045 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18046 access point after refreshing our allowed list if it doesn't already
18047 have a "best" access point.
18049 2005-01-25 Dan Williams <dcbw@redhat.com>
18051 * panel-applet/NMWirelessAppletDbus.c
18052 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18053 so we check for NM_DBUS_SERVICE rather than not for it
18055 * libnm_glib/libnm_glib.c
18056 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18057 ServiceOwnerChanged signal
18059 2005-01-25 Dan Williams <dcbw@redhat.com>
18062 - Check DBUS version in configure, and set the C macros
18063 DBUS_VERSION_[MAJOR,MINOR,MICRO]
18065 * info-daemon/NetworkManagerInfoDbus.c
18066 - Remove #if 0-d section of code that quit NMI if NM went away.
18068 * panel-applet/NMWirelessAppletDbus.c
18069 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18071 * src/NetworkManager.c
18072 src/NetworkManagerMain.h
18073 src/NetworkManagerDbus.c
18074 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18075 - Make updating of our Allowed Wireless Network lists from NMI
18076 an idle function in the main thread now, with a high priority.
18078 2005-01-24 Dan Williams <dcbw@redhat.com>
18080 * panel-applet/gtkcellview.[ch]
18081 panel-applet/menu-info.c
18082 - Fix GTK version checks to be <= rather than <
18085 - Include the libtool archive of libnm_glib rather than
18086 trying to pull in the .so
18088 2005-01-24 Dan Williams <dcbw@redhat.com>
18090 * src/NetworkManagerDevice.c
18091 src/NetworkManagerDevicePrivate.h
18092 - Block nm_device_new() until our device's worker thread has had a
18093 chance to start up. Fixes a race between main thread and worker
18094 thread starting that caused activation requests to get lost.
18096 2005-01-24 Dan Williams <dcbw@redhat.com>
18098 * initscript/RedHat/NetworkManager
18099 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18100 to add the NM startup script at priority 50, which was
18103 2005-01-24 Colin Walters <walters@redhat.com>
18105 * named/named.conf: Use any port for query source instead of
18106 restricting to port 53.
18108 2005-01-24 Dan Williams <dcbw@redhat.com>
18110 * initscript/RedHat/NetworkManager
18111 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18112 to add the NM startup script at priority 50, which was
18115 2005-01-24 Dan Williams <dcbw@redhat.com>
18117 Patch from Tom Parker <palfrey@tevp.net>
18118 * Fix up compile warnings & errors in the wireless applet
18120 2005-01-24 Dan Williams <dcbw@redhat.com>
18122 * panel-applet/NMWirelessApplet.c
18123 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18125 2005-01-24 Dan Williams <dcbw@redhat.com>
18127 * panel-applet/gtkcellview.[ch]
18128 - Only compile these files for GTK 2.4 or lower, since
18129 GtkCellView is now public in GTK 2.6. Fixes crasher
18130 when choosing "Other Wireless Networks" from the panel
18133 2005-01-21 Dan Williams <dcbw@redhat.com>
18135 * src/NetworkManager.c
18136 - Daemonize earlier so that glib doesn't get confused (?)
18138 2005-01-21 Dan Williams <dcbw@redhat.com>
18140 * panel-applet/NMWirelessApplet.[ch]
18141 panel-applet/NMWirelessAppletDbus.c
18142 panel-applet/menu-info.c
18143 src/NetworkManagerDevice.c
18144 - Disable wired devices in the menu when they have no link.
18146 2005-01-21 Dan Williams <dcbw@redhat.com>
18148 * Cache last-known-good wireless authentication method in
18149 NetworkManagerInfo, and use that method first during
18150 wireless device activation. Should speed up devices that
18151 need Shared Key authentication method since Open System is
18154 * Remove the hack to not do full activation on wired connections
18155 that are active when we launch, it causes too many problems
18156 with name resolution and was a hack in the first place.
18158 * Re-work wireless device activation again somewhat to have a
18159 clearer chain of events and to use last-known-good
18160 authentication method of the access point. Also provide
18161 better status throughout activation to ensure the applet
18162 can tell the user exactly what's going on.
18164 * Remove the "find wireless network" code and now simply attempt
18165 to activate with that access point. This reduces the delay
18166 between selecting "Other wireless Network" and actually
18167 connecting to that network.
18169 * Correctly stop the device's worker thread when its removed.
18171 2005-01-21 Dan Williams <dcbw@redhat.com>
18174 - Clean up some of the debug messages
18176 2005-01-21 Dan Williams <dcbw@redhat.com>
18178 * Add new icons, more frames of animation
18179 * Remove some hacks to get the panel applet to display correct
18180 status, an NM update will soon follow that will fix the
18183 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
18185 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18186 the first include for working i18n. Also, don't include it in .h files
18187 * panel-applet/NMWirelessApplet.h: Same
18188 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18189 * panel-applet/menu-info.c: Same
18191 2005-01-18 Dan Williams <dcbw@redhat.com>
18194 - Remove some debug messages
18195 - Wrap others in #ifdef DEBUG/#endif
18197 * src/NetworkManager.c
18198 - Remove some debug messages
18199 - Clarify some debug messages
18200 - Remove code related to old single-thread wireless scanning
18202 * src/NetworkManagerAP.[ch]
18203 - New AP property "last_seen" to track how recently an AP was
18205 - Start using 'const' more in function arguments
18207 * src/NetworkManagerAPList.[ch]
18208 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18209 of an AP found in an AP list from a source AP, or if not found
18210 in the list add the source AP
18211 - (nm_ap_list_combine): remove, no longer needed
18213 * src/NetworkManagerDevice.c
18214 - Each device now has a "worker" thread from start to end of its life.
18215 Scanning for wireless devices now happens in that thread,
18216 not in a single "wireless scanning thread" for all devices as
18217 previously. Activation consists of adding an idle handler to the
18218 thread's main loop/context, which gets run at the next available
18220 - Wireless scanning is also simplified, there is now only one list of
18221 access points per wireless device, and APs older than 60s are
18222 removed from the list. Previously, we kept results for the last
18223 3 scans and merged whole lists, which was complicated.
18224 - Cleaned up activation debug messages.
18225 - Wireless activation and access-point search routines now use Open System
18226 authentication before trying Shared Key.
18227 - Removed some code in nm_device_update_best_ap() that could cause cards
18228 to loose their link to the access point.
18229 - Scanning now uses a backoff algorithm, where the inverval becomes
18230 progressively longer between scans when the list of scanned access
18231 points doesn't change. A change will revert to the shortest scan
18234 * src/NetworkManagerWireless.[ch]
18235 - Remove code related to old single-thread wireless scanning
18237 2005-01-18 Colin Walters <walters@redhat.com>
18239 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18240 of older nameservers.
18242 2005-01-18 Colin Walters <walters@redhat.com>
18244 * named/nm-named-manager.c (generate_named_conf): Many fixes
18245 to config file generation.
18246 (safer_kill): Remove, was too much trouble for little gain.
18247 (nm_named_manager_start): Run named as NM_NAMED_USER.
18249 * configure.in: Add option --with-named-user.
18251 2005-01-14 Colin Walters <walters@redhat.com>
18253 Patch from ed@catmur.co.uk (Ed Catmur)
18255 * named/nm-named-manager.c: Add "context" property.
18256 Use it to add child watch source in specific GMainContext.
18258 * src/NetworkManager.c (nm_data_new): Initialize
18259 named with correct main context. Start named only
18262 2005-01-14 Colin Walters <walters@redhat.com>
18264 * named/nm-named-manager.c (generate_named_conf): Write config
18265 and pid files into NM_NAMED_DATA_DIR; this allows things to
18266 work better with FC3 named SELinux policy. Also fix up silly
18269 * configure.in: Add --with-named-dir option.
18271 2005-01-14 Colin Walters <walters@redhat.com>
18273 * configure.in: Make named support require passing --with-named.
18275 * named/nm-named-manager.c: Support writing resolv.conf directly
18276 without running named.
18278 2005-01-13 Dan Williams <dcbw@redhat.com>
18280 * named/nm-named-manager.c
18281 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18283 * src/NetworkManagerDevice.c
18284 - Rework wireless link detection code to be more reliable
18286 2005-01-12 Dan Williams <dcbw@redhat.com>
18288 * initscripts/RedHat/NetworkManager
18289 - Change initial level to "-" rather than "345" so that
18290 we don't activate ourselves by default on install
18292 2005-01-12 Dan Williams <dcbw@redhat.com>
18295 - Client library for applications using glib
18299 - Split NM_CFLAGS and NM_LIBS into separate variables
18300 like DBUS_*, HAL_* and GLIB_*
18302 * src/NetworkManager.c
18303 src/NetworkManagerMain.h
18304 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18305 broadcast a status changed signal over DBUS from the main thread.
18306 Still unused anywhere for the moment.
18308 Patch from j@bootlab.org
18309 * panel_applet/NMWirelessAppletDbus.c
18310 src/NetworkManagerDbus.c
18311 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18312 for the "getMode" method call
18314 2005-01-10 Dan Williams <dcbw@redhat.com>
18316 * src/NetworkManagerDevice.c
18317 - Minor fixups & corrections to "auto" frequency mode, make it
18318 less chatty with syslog
18320 2005-01-10 Dan Williams <dcbw@redhat.com>
18322 * src/NetworkManagerDevice.c
18323 - Implement "auto" frequency/channel support, since cards like Atheros
18324 can't use other frequencies at all when you've told it to use a
18325 specific one, even for scanning.
18326 - Grab the scan mutex around places where we can't tolerate wireless
18327 settings changing underneath us, like nm_device_wireless_network_exists()
18328 and nm_device_activate_wireless()
18330 * src/NetworkManagerWireless.c
18331 - Back scan interval off to 20s instead of 14s
18333 2005-01-09 Dan Williams <dcbw@redhat.com>
18335 * src/NetworkManagerDevice.c
18336 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18337 already set. Stops some drivers like Atmel from continually
18338 reloading the firmware, which they do upon every configuration
18341 2005-01-09 Dan Williams <dcbw@redhat.com>
18344 - Use correct timeout value
18346 * info-daemon/NetworkManagerInfoDbus.c
18347 src/NetworkManagerDbus.c
18348 - Consolidate communication between NM and NMI by doing only 1 dbus
18349 method call to get Wireless Network info from NMI instead of 6
18351 * src/NetworkManager.c
18352 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18353 when we didn't have an AP to use, we'd wait for one forever without
18356 * src/NetworkManagerDevice.c
18357 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18358 activation, dhcp might not have started yet but we don't quit activation
18359 before starting it, so the quit signal gets lost
18361 2005-01-07 Dan Williams <dcbw@redhat.com>
18364 - Rework the DHCP client code to be much less chatty when
18365 it receives non-DHCP UDP packets during the DHCP run
18366 (reported by and preliminary patches from Bill Moss)
18368 * Move wireless scanning to a separate thread. This thread forwards the
18369 results to the main thread when done where they are integrated into
18370 the device's access point lists. This keeps the main thread (which
18371 does all the DBUS communication) from being blocked for long periods
18372 of time by wireless scanning.
18374 * Make state modification an idle routine in the main loop, and trigger
18375 state changes rather than polling for them.
18377 * src/backends/NetworkManagerGentoo.c
18378 - Fix up invalid C90 code (reported by Christoph Ruessler)
18380 * src/NetworkManagerDevice.c
18381 - Revert IPv6 patch for wired devices from 2004-12-22 for
18382 router advertisements, causing problems and infinite loop
18383 during "best" device determination due to link going up/down
18384 (reported by Bill Moss)
18386 Apply patch from Peter Jones
18387 * src/NetworkManagerDevice.c
18388 - Shortcut for link-checking for ipw2x00 cards
18389 - Split out association check into separate routine
18391 2004-01-05 Colin Walters <walters@redhat.com>
18393 * named/named.conf: Add PID_FILE.
18395 * named/nm-named-manager.c: Always generate a pid
18396 file, since older BIND versions don't support
18399 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
18401 * configure.in (ALL_LINGUAS): Added ja (Japanese).
18403 2004-12-22 Dan Williams <dcbw@redhat.com>
18405 * src/NetworkManagerDevice.c
18406 - Silently fail when setting bitrate doesn't work
18409 Patches from j@bootlab.org:
18410 * src/backends/NetworkManagerDebian
18411 - Update backend to match functionality in RedHat backend
18412 * src/NetworkManagerDevice.c
18413 - Take down then bring up wired devices after connection so
18414 they send out ipv6 router advertisements
18416 2004-12-21 Colin Walters <walters@verbum.org>
18418 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18419 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18421 2004-12-21 Colin Walters <walters@redhat.com>
18423 * configure.in: Correct named detection.
18425 2004-12-21 Colin Walters <walters@redhat.com>
18427 * src/NetworkManager.c (nm_data_new): Initialize named.
18428 Also, set up a signal handler for SIGINT/SIGTERM, and exit
18429 the mainloop when these signals are received.
18430 (nm_data_free): Unref named.
18431 (sigterm_handler, sigterm_pipe_handler): New functions for
18434 * src/NetworkManagerMain.h (NMData): Add signal handling and
18437 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18440 * src/NetworkManagerDHCP.c (set_nameservers): New function;
18441 set nameservers from DHCP response data.
18442 (set_domain_search): Set domain search from DHCP response.
18443 (nm_device_dhcp_configure): Invoke them.
18445 * src/NetworkManagerSystem.c
18446 (nm_system_device_update_resolv_conf): Delete. Deleting
18447 code is totally sweet.
18449 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18451 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18452 implements an object which controls a nameserver. Currently
18455 * configure.in: Check for named.
18457 * Makefile.am (SUBDIRS): Add named dir.
18459 * named/named.conf: New template config file.
18461 2004-12-20 Colin Walters <walters@redhat.com>
18463 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18466 2004-12-17 Dan Williams <dcbw@redhat.com>
18468 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
18469 link-local addresses instead of doing DHCP.
18471 * In the panel applet, there's a new "Create new Wireless Network..." item
18473 * The panel applet also sticks around now even if NetworkManager dies, but
18474 it doesn't hide its icon when NM isn't around. Not hiding the icon is
18475 a bug, I'll fix that later.
18477 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18478 lookups after a switch rather than actually doing them.
18480 * Clean up some of those warnings in nm_ap_list_* functions
18482 * Delay between scans changed to 15s instead of 10s
18484 2004-12-15 Dan Williams <dcbw@redhat.com>
18486 Patch from Tom Parker
18487 * Add autoip/Link Local Addressing support when we fail to get a DHCP
18490 * Longer pause after setting ESSID on cards that support a larger number
18491 of channels to give the card time to find the right channel
18493 * Add system hook to restart mDNSResponder (or whatever the local implementation
18494 of Multicast DNS is) when we activate interfaces
18496 2004-12-15 Dan Williams <dcbw@redhat.com>
18498 * Rework the DHCP code again to revert to sending full ethernet frames
18499 rather then relying on the kernel to do the right thing with our
18502 2004-12-06 Dan Williams <dcbw@redhat.com>
18505 - Fix some minor errors in dhcp_handle_transaction() that caused
18506 unexpected early timeouts of DHCP transactions
18509 - DHCP retransmit time from 4s -> 5s
18511 2004-12-05 Dan Williams <dcbw@redhat.com>
18513 * Major rework of the DHCP code, taking some cues from pump. We don't
18514 write raw Ethernet packets anymore, which simplifies the code quite
18515 a bit. The new code should be more robust, not hang in recvfrom()
18516 as much, and generally work better. This also means that we need
18517 to force HAL/dbus to use a created GMainContext rather than the
18518 default context, since having the DHCP renew/rebind thread using
18519 its own GMainContext seemed to give dbus a fit. There is also more
18520 debugging information printed from the DHCP loop to help with future
18523 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18524 assume that the default gateway should be the DHCP server.
18526 Patch from Matthew Schick <matt oss-institute org>
18527 * src/backends/NetworkManagerGentoo.c
18528 - Fix compilation error due to missing "ip4_broadcast"
18530 2004-12-03 Dan Williams <dcbw@redhat.com>
18532 * initscript/Makefile.am
18533 * initscript/Debian/NetworkManager
18534 * initscript/Gentoo/NetworkManager
18535 * initscript/RedHat/NetworkManager
18536 * initscript/NMLaunchHelper.c
18537 - Remove NMLaunchHelper, if you need to wait until the network
18538 comes up, use the dead code from CVS.
18540 2004-12-01 Colin Walters <walters@redhat.com>
18542 * configure.in: Suck in gcc warnings code from Rhythmbox,
18543 but use fewer default flags, and in particular add -Wno-unused,
18544 since the codebase has a lot of unused variables.
18546 * test/nmtestdevices.c (create_device):
18547 * test/nminfotest.c (get_network_string_property)
18548 (get_networks_of_type):
18549 * test/nmclienttest.c (main):
18550 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
18551 * initscript/NMLaunchHelper.c (get_nm_status):
18552 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
18553 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
18554 Fix declarations after statements.
18556 2004-12-01 Colin Walters <walters@redhat.com>
18558 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18559 (nmi_dbus_get_vpn_userpass): New method.
18560 (nmi_dbus_nmi_message_handler): Invoke it.
18562 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18564 * info-daemon/NetworkManagerInfoVPN.h,
18565 info-daemon/NetworkManagerInfoVPN.c: New files; responds
18566 to requests for VPN passwords.
18568 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18570 2004-12-01 Colin Walters <walters@redhat.com>
18572 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18575 2004-12-01 Colin Walters <walters@redhat.com>
18577 * panel-applet/NMWirelessAppletDbus.c
18578 (nmwa_dbus_update_active_device_strength): Fix missing
18581 2004-12-01 Colin Walters <walters@redhat.com>
18583 * panel-applet/NMWirelessApplet.c: Add missing include.
18585 2004-12-01 Colin Walters <walters@redhat.com>
18587 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18588 Remove useless CLAMP (); the value is unsigned, and the case tests
18589 qual->qual < 100, so the value must always be between 0 and 100.
18591 2004-12-01 Colin Walters <walters@redhat.com>
18593 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18595 2004-11-22 Colin Walters <walters@verbum.org>
18597 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18598 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18599 which is essentially a noop since nscd caches hosts on disk too.
18601 2004-11-22 Colin Walters <walters@redhat.com>
18603 * src/Makefile.am (NetworkManager_SOURCES): Add
18604 NetworkManagerDevicePrivate.h.
18606 2004-11-22 Dan Williams <dcbw@redhat.com>
18608 * src/NetworkManagerDevicePrivate.h
18609 - Split out the NMDevice struct to a different file so that stuff like
18610 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18614 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18615 need to cancel the dhcp request during the send and recv
18618 - Move the DHCP option enum to dhcpcd.h
18620 * src/NetworkManagerDHCP.c
18621 - Split out the actual IP/netmask/etc setting code
18622 - New Renew/Rebind functions
18623 - New timer setup function for renew/rebind operations
18625 * src/NetworkManagerDevice.c
18626 - For device activation, if we are using DHCP then keep the activation thread
18627 alive until device deactivation. We need to renew/rebind the DHCP address
18628 after the T1 (renew) and T2 (rebind) times have expired.
18629 - Increase some timeouts after bringing wireless cards up/down
18631 2004-11-17 Dan Williams <dcbw@redhat.com>
18633 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18634 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
18635 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
18636 show known access points that don't broadcast their ESSID in the menus without
18637 any user intervention whatsoever.
18639 * info-daemon/NetworkManagerInfoDbus.c
18640 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18641 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18643 * src/NetworkManagerAP.[ch]
18644 - Add a "user_addresses" data member to the NMAccessPoint structure
18645 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18646 the user_addresses data member
18648 * src/NetworkManagerAPList.c
18649 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18650 the AP's reported address
18651 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18653 * src/NetworkManagerDHCP.c
18654 - Increase DHCP timeout from 25s -> 30s
18656 * src/NetworkManagerDbus.[ch]
18657 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18660 * src/NetworkManagerDevice.c
18661 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18662 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
18663 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18664 So, we take the card down to clear it out.
18665 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18666 too, since that's where the user_addresses are
18668 * src/NetworkManagerPolicy.c
18669 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18670 that wireless networks' user_addresses list upon successful activation
18672 2004-11-16 Dan Williams <dcbw@redhat.com>
18674 * src/NetworkManagerDevice.[ch]
18675 - (nm_device_clear_activation_fail): new function
18677 * src/NetworkManagerPolicy.c
18678 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18679 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18681 2004-11-16 Dan Williams <dcbw@redhat.com>
18683 * src/NetworkManagerDevice.c
18684 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18685 leak the structure, better updating of now_scanning status
18686 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18688 2004-11-15 Dan Williams <dcbw@redhat.com>
18690 Major rework of link detection code. We now use DHCP
18691 as part of the link detection which proves to be much more robust,
18692 and also supports Open System authentication for wireless networks.
18694 We no longer use external DHCP client programs. Instead, we use
18695 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18696 which was written by:
18697 Yoichi Hariguchi <yoichi@fore.com>
18698 Sergei Viznyuk <sv@phystech.com>
18699 http://www.phystech.com/download/
18700 It resides in the "dhcpcd" directory and was refactored into a general
18701 purpose DHCP client library by me.
18703 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
18704 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
18706 2004-11-15 Dan Williams <dcbw@redhat.com>
18708 Patch from Tom Parker <palfrey@tevp.net>:
18710 * src/NetworkManagerDevice.c
18711 - Less output to console when no access
18712 points are found during a scan
18714 2004-11-15 Dan Williams <dcbw@redhat.com>
18716 Patch from Tom Parker <palfrey@tevp.net>:
18718 * src/backends/interface_parser.c
18720 - Check for inp == NULL
18723 2004-11-13 Colin Walters <walters@redhat.com>
18725 Patch from Tom Parker <palfrey@tevp.net>:
18727 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
18729 * src/backends/NetworkManagerRedHat.c: Switch to
18730 including shvar.h instead of shvar.c.
18732 * src/backends/NetworkManagerDebian.c: Don't include
18733 interface_parser.c in source file.
18735 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
18736 and interface_parser.[ch].
18737 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
18738 Include shvar.c and shvar.h here.
18739 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
18740 interface_parser.c and interface_parser.h here.
18742 2004-11-12 Colin Walters <walters@redhat.com>
18744 * configure.in: Strip out TARGET_DISTRO and
18745 SYSTEM_BACKEND_FILE variables. Switch to Automake
18748 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
18749 (libnmbackend_la_SOURCES): Use Automake conditionals
18750 to add distro-specific files.
18752 * initscript/Makefile.am (SUBDIRS): Update to
18755 2004-11-12 Colin Walters <walters@redhat.com>
18757 Patches from j bootlab org
18759 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
18760 Add interface_parser.[ch].
18762 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
18763 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
18765 2004-11-12 Colin Walters <walters@redhat.com>
18767 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
18768 call to nmi_dbus_is_running too, not necessary anymore.
18769 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
18772 2004-11-11 Colin Walters <walters@verbum.org>
18774 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
18776 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
18777 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
18778 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
18779 This avoids a race condition that made it pretty easily
18780 possible to get two NetworkManagerInfo daemons running.
18782 2004-11-11 Colin Walters <walters@verbum.org>
18784 * src/NetworkManager.c (main): Use daemon(3).
18786 * info-daemon/NetworkManagerInfo.c (main): Ditto.
18788 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
18790 2004-11-10 Dan Williams <dcbw@redhat.com>
18792 Patches from j bootlab org
18793 * src/NetworkManagerDevice.c
18794 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
18795 whether the card has a link or not, some cards are slow
18796 - (nm_device_activation_configure_ip): make ipv6 work a bit better
18798 * info-daemon/NetworkManagerInfoPassphraseDialog.c
18799 - Disable the "Login" button on the passphrase dialog until the user
18800 enters a valid passphrase or key
18802 Patches from Tom Parker <palfrey tevp net>
18803 * src/backends/NetworkManagerDebian.c
18804 - Add static IP support to the debian backend
18806 * src/backends/interface_parser.[ch]
18807 - Parse debian interface config files
18809 2004-11-08 Dan Williams <dcbw@redhat.com>
18811 * src/NetworkManagerDevice.c
18812 - Some random fprintf->syslog conversions
18813 - (nm_device_wireless_network_exists): double-check for network
18814 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
18816 * src/NetworkManagerWireless.[ch]
18817 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
18818 so that the binary->ascii conversion works (if unsigned, the bitshift
18819 will fill with zeros, which is what's required). Also mask bitshift
18820 result with 0xF for futher assurance.
18822 2004-11-06 Dan Williams <dcbw@redhat.com>
18824 * src/NetworkManagerUtils.c
18825 - (nm_get_wireless_driver_support_level): default to
18826 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
18827 flip this when changing from whitelist->blacklist of
18830 2004-11-05 Dan Williams <dcbw@redhat.com>
18832 Patch from Robert Paskowitz:
18833 * src/backends/NetworkManagerGentoo.c
18834 - Update static IP config code
18836 2004-11-05 Dan Williams <dcbw@redhat.com>
18838 * info-daemon/NetworkManagerInfoDbus.c
18839 src/NetworkManagerDbus.[ch]
18840 src/NetworkManagerDevice.c
18841 - Keep track of the # of attempts to get the WEP key
18842 from the user and pass that along to the info daemon
18844 2004-11-05 Dan Williams <dcbw@redhat.com>
18846 * src/NetworkManagerUtils.c
18847 - Blacklist wireless cards rather than whitelisting them.
18848 - Grab driver name from HAL rather than trying to find it
18851 2004-11-03 Dan Williams <dcbw@redhat.com>
18853 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
18854 - Disable OK button until valid data is entered
18855 for encryption stuff too
18857 * panel-applet/NMWirelessApplet.c
18858 - Report card strength for current AP if the card
18859 doesn't report strength data for scanned access
18862 * src/NetworkManagerDevice.c
18863 - Smooth out cards reported quality, Atmel card was
18864 intermittently reporting no quality data but soon
18867 * src/NetworkManagerWireless.c
18868 - Better quality data percentage calculation. Atmel
18869 cards (mine at least) seem to report the quality
18870 in percentage format already, so honor that
18872 Patch from <j@bootlab.org>
18874 info-daemon/NetworkManagerInfoPassphraseDialog.c
18875 info-daemon/passphrase.glade
18876 panel-applet/NMWirelessAppletOtherNetworkDialog.c
18877 panel-applet/essid.glade
18878 src/NetworkManagerAP.c
18879 src/NetworkManagerDevice.c
18880 src/NetworkManagerWireless.[ch]
18881 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
18883 2004-11-03 Dan Williams <dcbw@redhat.com>
18885 * src/NetworkManagerDevice.[ch]
18886 - (nm_device_set_enc_key): Add parameter to set Authentication
18887 Mode (Open System, Shared Key, or None). We're still using
18888 Shared Key for now though.
18890 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
18892 * panel-applet/menu-info.c: change from bold text to light
18893 colored, may cause problems with some themes, i've tested a lot
18894 and they seem fine.
18896 * panel-applet/NMWirelessApplet.c: fix strength tooltip
18898 2004-11-01 Colin Walters <walters@verbum.org>
18900 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
18901 (nm_wireless_128bit_key_from_passphrase): Add const.
18903 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
18904 (nm_ap_set_enc_key_source): Add const.
18906 2004-11-01 Colin Walters <walters@verbum.org>
18908 * .cvsignore: Update.
18910 2004-10-29 Dan Williams <dcbw@redhat.com>
18912 * src/NetworkManagerDevice.c
18913 - (nm_device_wireless_network_exists): Actually use the encryption
18914 key we got from the applet when attempting to find a wireless network
18915 - Don't bring devices down so much since on some cards it triggers
18916 firmware hotplugs each time
18918 * src/NetworkManagerDbus.c
18919 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
18922 2004-10-29 Dan Williams <dcbw@redhat.com>
18924 * src/NetworkManager.c
18925 - (nm_hal_device_property_modified): unlock a locked active
18926 wireless device when a wired connection gets a link.
18927 (Means you'll switch to wired whenever you plug in no
18930 2004-10-29 Dan Williams <dcbw@redhat.com>
18932 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
18933 - New files, implement the "Other wireless network" dialog
18935 * panel-applet/NMWirelessApplet.c
18936 - Move "other wireless network" dialog to separate file
18938 * panel-applet/NMWirelessAppletDbus.[ch]
18939 - Take key and key_type paramaters for the set_device function
18941 * panel-applet/essid.glade
18942 - Add UI bits for encryption settings
18944 * src/NetworkManagerDbus.c
18945 - Retrieve key and key_type params for "setActiveDevice" method call
18947 - unref AP returned from nm_device_get_best_ap() when needed
18949 * src/NetworkManagerDevice.c
18950 - (nm_device_get_best_ap): ref the ap before returning it
18951 - unref AP returned from nm_device_get_best_ap() when needed
18952 - (nm_device_activate_wireless): add "ap" parameter so we don't
18953 need to call nm_device_get_best_ap() here, it was pretty much
18955 - (AP_NEED_KEY): break second link check condition out into separate
18956 function, and fix segfault when ap->enc_key_source was NULL
18957 - (nm_device_find_and_use_essid): take key and key_type parameters and
18958 pass them along to nm_device_wireless_network_exists(). If the
18959 network does exist, set the passed-in key+key_type on the AP
18961 * src/NetworkManagerPolicy.c
18962 - unref AP returned from nm_device_get_best_ap() when needed
18964 2004-10-28 Dan Williams <dcbw@redhat.com>
18966 * src/NetworkManagerUtils.c
18967 - (nm_spawn_process): Fix a potential dereference of NULL
18969 Patches from Peter Jones:
18971 * src/NetworkManagerDevice.c
18972 - (nm_device_test_wireless_extensions): Better check for
18975 * src/NetworkManagerUtils.c
18976 - (nm_spawn_process): Pass in valid stdout and stderr so
18977 executed programs don't randomly SIGPIPE and fail
18978 - (nm_get_wired_driver_support_level): quash hal warning
18979 when checking for USB ethernet device
18981 2004-10-27 Dan Williams <dcbw@redhat.com>
18983 * info-daemon/NetworkManagerInfo.c
18984 info-daemon/NetworkManagerInfoDbus.c
18985 info-daemon/NetworkManagerInfoPassphraseDialog.c
18986 panel-applet/NMWirelessApplet.c
18987 - Properly escape gconf keys
18989 * src/NetworkManager.c
18990 - remove unused variables
18992 * src/NetworkManagerAP.c
18993 - (nm_ap_new_from_ap): Don't redundantly set new APs
18994 refcount since it got set in nm_ap_new()
18996 * src/NetworkManagerAPList.c
18997 - (nm_ap_list_combine): Give up ownership of newly created
18998 access points to the ap list, fixes memleak
19000 * src/NetworkManagerDevice.c
19001 - Remove cached_ap_list4 member since its not really needed
19002 - (nm_device_wireless_network_exists): Try to get correct
19003 encryption status of a found AP if its already in our
19005 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19006 memory allocs/deallocs a bit clearer and shorter-lived
19008 2004-10-26 Ray Strode <rstrode@redhat.com>
19010 * panel-applet/NMWirelessApplet.c:
19011 (custom_essid_item_selected): kill some compiler
19014 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19016 * info-daemon/NetworkManagerInfoDbus.c
19017 - (nmi_dbus_is_running): New function for determining if nmi is already running
19018 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19020 2004-10-23 Dan Williams <dcbw@redhat.com>
19022 * info-daemon/NetworkManagerInfoDbus.c
19023 - Trap the "DeviceActivationFailed" signal
19025 * docs/NetworkManager DBUS API.txt
19026 - Add "DeviceActivationFailed" signal
19028 * panel-applet/NMWirelessAppletDbus.c
19029 - Quash the "NetworkManager service not available" message
19031 * src/NetworkManagerDbus.[ch]
19032 - Add the "DeviceActivationFailed" signal
19034 * src/NetworkManagerDevice.c
19035 - Add support for activation_failed flag
19036 - Fix deadlock where activation thread didn't clean itself up, making
19037 main thread still believe it was alive forever (didn't reset activation
19038 flags like activating, just_activated, etc when IP configuration
19041 * src/NetworkManagerPolicy.c
19042 - Implement logic for DeviceActivationFailed signal, and when activation fails
19043 for wireless networks, try to fall back to some other access point
19045 2004-10-23 Dan Williams <dcbw@redhat.com>
19047 * panel-applet/NMWirelessApplet.[ch]
19048 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19049 to the applet object, so we can get tooltips
19050 - Add tooltips (RH #136866)
19052 * src/NetworkManagerDevice.c
19053 - When trying to find a wireless network, try to connect with encryption
19054 turned on first, so that we can more accurately detect whether or not
19055 we need to use encryption for the actual association later on
19057 2004-10-21 Dan Williams <dcbw@redhat.com>
19059 * Add some support for telling NetworkManagerInfo to tell the user
19060 that they are using a device that's not fully supported
19062 * Fix some assertions in debug messages due to null access point args
19064 2004-10-21 Dan Williams <dcbw@redhat.com>
19066 * src/NetworkManagerDevice.c
19067 - Don't try to activate/bring up/down unsupported
19070 * src/NetworkManagerUtils.c
19071 - Fix case of PCI ID checks for driver support levels
19073 2004-10-21 Dan Williams <dcbw@redhat.com>
19076 - New file, now contains commonly used structures and bits
19077 for the dbus API of NetworkManager
19080 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19082 * src/NetworkManager.h
19083 - Rename -> src/NetworkManagerMain.c
19085 * Various fixups all around to use NetworkManager.h and new
19086 src/NetworkManagerMain.h, remove redundant bits that got
19087 moved into NetworkManager.h
19089 * src/NetworkManagerDevice.[ch]
19090 src/NetworkManagerUtils.[ch]
19091 src/NetworkManagerPolicy.c
19092 src/NetworkManagerDbus.c
19093 - Whitelist wireless drivers, and blacklist some wired
19094 drivers. Also blacklist cipsec and ethernet-over-usb
19095 devices at this time (RH #135722, RH #135648)
19096 - Don't leak unsupported devices out over dbus, or allow
19097 them to be set as the active device. Skip over them
19098 during automatic device picking
19100 * test/nmclienttest.c
19101 - Clean up the dbus code a lot
19103 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
19105 * configure.in: post release bump.
19107 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
19110 * NEWS: Released NetworkManager-0.3.1
19112 2004-10-18 Dan Williams <dcbw@redhat.com>
19114 Patches from Thom May:
19115 * test/nmtestdevices.c
19116 - Include <string.h>
19117 * src/backends/NetworkManagerDebian.c:
19118 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19119 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19120 Move to using g_strdup_printf rather than arbitrary buffers
19121 - (nm_system_device_setup_static_ip4_config) Implement function.
19122 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19124 2004-10-17 Dan Williams <dcbw@redhat.com>
19126 * info-daemon/NetworkManagerInfoDbus.c
19127 - Display name of network in the "network not found" dialog
19129 * panel-applet/NMWirelessAppletDbus.c
19130 - (nmwa_dbus_call_nm_method): new function replaces all other
19131 nmwa_dbus_get_[string|string_array|int|boolean] methods
19132 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19133 consolidated into nmwa_dbus_get_object_name()
19135 2004-10-15 Dan Williams <dcbw@redhat.com>
19137 * src/NetworkManagerDbus.c
19138 info-daemon/NetworkManagerInfoDbus.c
19139 - Display an error dialog when the user tries to use an
19140 "Other wireless network" that's not found.
19142 2004-10-15 Dan Williams <dcbw@redhat.com>
19144 * panel-applet/NMWirelessApplet.[ch]
19145 - Fix up corner cases in applet state, making it
19146 look more responsive. Change state to "connecting" when
19147 the user is forcing a device too.
19149 2004-10-15 Dan Williams <dcbw@redhat.com>
19151 * src/NetworkManagerAPList.c
19152 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19154 * src/NetworkManagerDbus.c
19155 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19157 * src/NetworkManagerDevice.c
19158 - Disown APs after the device's AP list takes ownership
19160 2004-10-15 Dan Williams <dcbw@redhat.com>
19162 * panel-applet/NMWirelessApplet.c
19163 - Update our applet state from the GUI thread
19165 * panel-applet/NMWirelessAppletDbus.c
19166 - Greatly simplify the locking to make the GUI thread
19167 smoother. Update a private copy of the device list
19168 and active device and only when done talking to
19169 NetworkManager turn it over to the GUI thread.
19171 2004-10-15 Dan Williams <dcbw@redhat.com>
19173 * src/NetworkManagerAP.[ch]
19174 - Add "artificial" get/set functions, set for APs that
19175 aren't discovered as part of a scan but instead
19176 discovered by force-setting the ESSID
19178 * src/NetworkManagerDevice.[ch]
19179 - (nm_device_wireless_network_exists): pass back whether
19180 or not the discovered AP was encrypted. Also, try
19181 falling back to encrypted mode on the card if unencrypted
19182 association doesn't work
19183 - (nm_device_find_and_use_essid): If the network requested
19184 did in fact exists, but it wasn't in our scan list, add
19185 an "artificial" entry for it. Some Cisco cards don't
19186 see non-ESSID-broadcasting APs in their scan but can still
19187 associate with them if you know the ESSID, this works around
19189 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19190 to scan if the card is currently associated with that AP
19192 2004-10-15 Dan Williams <dcbw@redhat.com>
19194 ---- We have a website ----
19195 http://people.redhat.com/dcbw/NetworkManager
19197 Patch from Robert Paskowitz:
19198 * src/NetworkManager.c
19199 - (main): Make sure we are run as root
19200 * src/NetworkManagerDevice.c
19201 - Fix type in ad-hoc setting function
19203 Patch from Thom May:
19204 * src/backends/NetworkManagerDebian.c
19205 - Make Debian backend compile again
19207 2004-10-14 Dan Williams <dcbw@redhat.com>
19209 * Tagged NetworkManager-0_3
19211 2004-10-14 Dan Williams <dcbw@redhat.com>
19213 Patch from Robert Paskowitz:
19215 src/NetworkManagerDevice.[ch]
19216 src/backends/NetworkManagerDebian.c
19217 src/backends/NetworkManagerGentoo.c
19218 src/backends/NetworkManagerRedHat.c
19219 src/backends/NetworkManagerSlackware.c
19220 - Add support for grabbing and using a broadcast address
19221 from system config files
19222 - Some Gentoo backend fixes for grabbing network config
19223 - Fix LOG_WARN->LOG_WARNING
19225 2004-10-14 Dan Williams <dcbw@redhat.com>
19227 * NEWS: a few small fixes in the credits
19229 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
19231 * NEWS: prep for release.
19233 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
19235 * panel-applet/NMWirelessAppletDbus.c
19236 (nmwa_dbus_update_device_wireless_networks): remove warnings.
19238 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
19240 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19241 applet->state == APPLET_STATE_NO_NM animation.
19243 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19244 set the text correctly.
19246 2004-10-14 Dan Williams <dcbw@redhat.com>
19248 * src/NetworkManager.c
19249 - Only accept and manager 802.3 and 802.11 devices
19251 * src/NetworkManagerDbus.[ch]
19252 - (nm_dbus_nm_set_active_device): move most of the actual activation
19253 logic into NetworkManagerDevice.c
19254 - (nm_dbus_network_status_from_data): new function
19255 - (nm_dbus_signal_network_status_change): new function, unused for now
19256 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19258 * src/NetworkManagerDevice.[ch]
19259 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
19262 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19264 * info-daemon/NetworkManagerInfo.c
19265 - (main): Added session management
19267 2004-10-14 Dan Williams <dcbw@redhat.com>
19269 * panel-applet/NMWirelessAppletDbus.[ch]
19270 - Expose network_device_[un]ref()
19271 - Expose wireless_network_[un]ref()
19272 - (wireless_network_new_with_essid): new function, create and return
19273 a wireless network with a particular essid
19275 * panel-applet/NMWirelessApplet.c
19276 - Hook up the "other network" dialog to do something
19278 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
19280 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
19281 doesn't work yet, but it looks okay.
19283 * panel-applet/icons/*png: Resize to 22x22 and install in the
19286 2004-10-13 Dan Williams <dcbw@redhat.com>
19288 * panel-applet/NMWirelessApplet.c
19289 - Add function to print out applet_state in a readable
19292 * src/NetworkManager.c
19293 - (main): Don't segfault when nm_dbus_init() fails, we had
19294 a left-over call to hal_shutdown() into which we passed NULL
19296 * src/NetworkManagerAP.c
19297 - (nm_ap_set_essid): Allow NULL essids
19299 * src/NetworkManagerAPList.[ch]
19300 - More use of nm_ap_list_[un]lock ()
19301 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19302 network/essid, just return nothing. Also skip over NULL
19303 essid access points in the list when searching
19304 - (nm_ap_list_get_ap_by_address): new function
19305 - (nm_ap_list_update_network): set the access point's key source to
19306 NULL when the key returned from NetworkManagerInfo is NULL or
19308 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19309 copy timestamp over too
19310 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19311 find the correct ESSID for a blank-essid access point by searching
19312 through another list and matching access point MAC addresses
19313 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19315 * src/NetworkManagerDbus.c
19316 - (nm_dbus_nm_set_active_device): deal with random networks the user
19317 may specify. This is mainly for access points that don't
19318 broadcast their essid. So if the user tells us to associate with
19319 some random ESSID that's not in our access point list, we find
19320 out if the access point does in fact exist (by attempting association
19321 and then matching that access point's MAC address with the essid the
19322 user gave us) and then we switch to it.
19323 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19324 to the returned list of networks for the "getNetworks" method
19326 * src/NetworkManagerDevice.[ch]
19327 - Extra debugging info for link detection
19328 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19329 based on MAC address
19330 - (nm_device_get_path_for_ap): ignore blank-essid access points
19331 - (nm_device_wireless_network_exists): new function, find out whether
19332 a random ESSID exists by attempting to associate with it
19333 - (nm_device_do_normal_scan): allow blank-essid access points in our
19334 device list as long as they have an AP MAC address we can use.
19335 Also send WirelessNetwork[Dis]Appeared signals for non-active
19336 devices too. Lets the applet update more frequently.
19338 * src/backends/NetworkManagerGentoo.c
19339 - Patch from: Robert Paskowitz
19340 - Update backend code for Gentoo
19341 - Implement nm_system_device_update_config_info ()
19343 * test/nmclienttest.c
19344 - (set_network_device): new function, takes a command-line argument
19345 and tells NetworkManager to use that wireless network
19347 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19349 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19350 if the notification icon crashes 5 times within 5 seconds of each respawn
19352 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
19354 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19357 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
19359 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19361 * panel-applet/NMWirelessApplet.c: (animation_timeout),
19362 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19363 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19364 Change the name of the icons.
19366 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19367 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19368 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19369 (nm_menu_wireless_expose_event): Really bad hack to get the style
19370 to draw in the right color.
19372 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19374 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
19375 Notification if it crashes
19377 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
19379 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
19380 (nmwa_dbus_get_string): remove unused functions
19382 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19383 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19384 remove unused functions
19386 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19388 2004-10-12 Dan Williams <dcbw@redhat.com>
19390 * panel-applet/NMWirelessAppletDbus.c
19392 wireless_network_new
19393 wireless_network_copy
19395 network_device_copy
19397 * src/NetworkManagerDevice.[ch]
19399 nm_device_set_mode_managed
19400 nm_device_set_mode_adhoc
19401 - Use these functions where appropriate
19402 - When creating a new wireless device, force the card
19403 to managed/Infrastructure mode as soon as possible
19405 2004-10-12 Dan Williams <dcbw@redhat.com>
19407 * src/NetworkManagerDevice.c
19408 - Force wireless cards into Infrastructure mode before we use them
19410 2004-10-12 Dan Williams <dcbw@redhat.com>
19413 - Remove bit about static IP address support
19415 * src/NetworkManagerUtils.c
19416 - (nm_spawn_process): Add some error reporting
19418 * src/NetworkManagerDevice.c
19419 - (nm_device_activation_configure_ip): hook up to the static config
19420 routines in the backends
19422 * src/backends/NetworkManagerRedHat.c
19423 - (nm_system_device_update_config_info): use shvar.c routines to
19424 parse the config file iformation, not our own
19425 - (nm_system_device_setup_static_ip4_config): new function, based
19426 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
19427 with a static IP address and gateway
19429 * src/backends/shvar.[ch]
19430 - Parser (filched from initscripts package) for ifcfg-* files
19432 * src/backends/NetworkManagerSystem.h
19433 src/backends/NetworkManagerGentoo.c
19434 src/backends/NetworkManagerDebian.c
19435 src/backends/NetworkManagerSlackware.c
19436 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19438 2004-10-11 Dan Williams <dcbw@redhat.com>
19441 - Remove bit about more robust AP diffing since I just implemented it
19443 2004-10-11 Dan Williams <dcbw@redhat.com>
19445 * src/NetworkManagerAP.c
19446 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19447 enough RAM to allocate new AP structures, but return NULL instead
19449 * src/NetworkManagerAPList.[ch]
19450 - (nm_ap_list_is_empty): new function
19451 - (nm_ap_list_combine): new function, combine two access point lists
19452 - (nm_ap_list_copy_keys): new function, copy keys from one list
19455 * src/NetworkManagerDevice.[ch]
19456 - Rename some functions to be clearer:
19457 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19458 nm_device_just_activated -> nm_device_is_just_activated
19459 nm_device_activating -> nm_device_is_activating
19460 nm_device_now_scanning -> nm_device_is_scanning
19461 - Cache the last 4 scans so that the access point list is more stable.
19462 We combine the lastest two scans and use that as the AP list,
19463 and diff that combined list against the combination of the earliest
19464 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19466 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19468 * info-daemon/NWManagerInfo.h
19469 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19471 * info-daemon/NWManagerInfoDbus.c
19472 - (shutdown_callback): new function
19473 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19474 if NetworkManager goes away. Kill the timeout
19475 if NetworkManager restarts before the 30 seconds
19477 - (nmi_dbus_service_init):
19478 - call gtk_main_quit if NetworkManager is not running
19479 - add filters to monitor dbus service creations and
19482 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19484 * panel-applet/NMWirelessApplet.c
19485 - (nmwa_update_state): Hide notification icon if we are only
19486 showing one wired card and no wireless interfaces
19487 (Red Hat Bug #134895)
19489 * panel-applet/NMWirelessAppletDbus.c
19490 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19492 * info-daemon/NWManagerInfo.c
19493 - (main): Terminated the notification_icon_cmd array with a NULL
19495 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
19497 * configure.in (ALL_LINGUAS): Added de (German).
19499 2004-10-08 Dan Williams <dcbw@redaht.com>
19501 * src/NetworkManagerDevice.c
19502 - Be a bit more robust about link checking, ie make sure that
19503 the WEP key we were given actually has some data in it
19505 2004-10-08 Dan Williams <dcbw@redhat.com>
19507 * info-daemon/NetworkManagerInfo.c (main):
19508 - Initialize GError object to NULL
19510 2004-10-08 Dan Williams <dcbw@redhat.com>
19512 * panel-applet/NMWirelessAppletDbus.c
19513 - Die if NetworkManagerInfo dies, since it manages our lifetime
19515 2004-10-08 Dan Williams <dcbw@redhat.com>
19517 * info-daemon/NetworkManagerInfo.[ch]
19518 info-dameon/NetworkManagerInfoDbus.[ch]
19519 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19520 - Preserve original label text in the passphrase dialog so that
19521 it actually gets updated with the new network name the next
19522 time around. Previously, we were overwriting it so you'd get
19523 the wrong network name to enter a key for
19524 - Add a "Key Type" combo to the passphrase dialog, user selects
19525 encryption key type now, type is stored in GConf too
19526 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19528 * src/NetworkManagerAP.[ch]
19529 - Remove all the encyption method magic. It's now set by the user
19530 and NetworkManager retrieves the type of encryption key from
19533 * src/NetworkManagerAPList.[ch]
19534 src/NetworkManagerDbus.[ch]
19535 - Adjust to new way of setting encryption key and method
19536 - Pull encryption method down from NMI along with key
19538 * src/NetworkManagerDevice.[ch]
19539 - Removed encryption method fallback magic as the method is now
19540 determined by the user. This greatly simplifies the connection
19542 - More robust connection/link logic. Besides removing the encryption
19543 method fallback magic, check whether or not the card is receiving
19544 invalidly encrypted packets, which usually indicates that we have
19546 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19548 * test/nminfotest.c
19549 - Test out new "Key Type" stuff in the NMI passphrase dialog
19551 2004-10-07 Dan Williams <dcbw@redhat.com>
19553 * info-daemon/NetworkManagerInfo.conf
19554 - Allow root user to run NMI too
19556 2004-10-06 Dan Williams <dcbw@redhat.com>
19558 * src/NetworkManagerDevice.[ch]
19559 src/NetworkManagerDbus.c
19560 doc/NetworkManager DBUS API.txt
19561 - Add a new status tag "scanning", which is set when there
19562 is no active network connection, but NetworkManager is
19563 looking for an access point to associate with
19565 * panel-applet/main.c
19566 - Cast the applet appropriately for gtk_widget_show_all ()
19568 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
19570 * panel-applet/eggtrayicon.[ch]:
19571 * panel-applet/main.c: Add missing file
19573 2004-10-04 Dan Williams <dcbw@redhat.com>
19575 * src/NetworkManagerDevice.[ch]
19576 - Add a slightly more robust method of determining if the WEP key
19577 is correct or not, by checking the WEP-discarded packet count
19580 * info-daemon/NetworkManagerInfo.c
19581 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19582 un-escape values we pull out rather than escaping them
19584 2004-10-03 Marcel Telka <marcel@telka.sk>
19586 * configure.in (ALL_LINGUAS): Added sk.
19588 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
19590 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19591 and feel. We should be back to working, and have a good, clean
19594 2004-09-30 Dan Williams <dcbw@redhat.com>
19596 * info-daemon/NetworkManagerInfo.c
19597 info-daemon/NetworkManagerInfoDbus.c
19599 - Escape ESSIDs in gconf
19601 * src/NetworkManagerDevice.c
19602 - Fix pseudo-scanning to use netowrk list from info daemon
19604 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
19606 * configure.in: Add a temporary --enable-notification-icon. This
19607 will prolly go away.
19609 * info-daemon/Makefile.am:
19610 * info-daemon/NetworkManagerInfo.c:
19611 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19613 * panel-applet/Makefile.am:
19614 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19615 * panel-applet/NMWirelessApplet.h:
19617 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
19619 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
19620 before 'select custom ESSID'.
19622 * panel-applet/menu-info.c: Start rewrite for better headers. Not
19623 fully complete, but syncing in prep for merge.
19625 * panel-applet/icons/*png: New images
19627 2004-09-28 Dan Williams <dcbw@redhat.com>
19629 * src/NetworkManager.c
19630 src/NetworkManagerDevice.c
19631 src/NetworkManagerPolicy.c
19632 - Don't blow away an active wired connection on startup
19634 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
19638 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19640 * info-daemon/NetworkManagerInfoDbus.c: added service name to
19643 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
19645 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19646 have a wireless card.
19648 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
19650 * panel-applet/NMWirelessApplet.c: move the custom essid item.
19651 Also, get the right device strings.
19653 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
19655 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19656 the logic to make this right.
19658 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19659 devices so that wired networks are always first.
19661 2004-09-22 <clarkbw@cvs.gnome.org>
19663 * initscript/Debian/.cvsignore:
19664 * initscript/Slackware/.cvsignore:
19665 Added new cvsignores for Makefile, Makefile.in
19668 Added nmtestdevices
19670 * src/NetworkManagerDevice.c:
19671 * src/NetworkManager.c:
19672 Updated the wireless/wired HAL device strings from net.ethernet to
19673 net.80203 or net.80211 depending on wired or wireless respectively
19675 * examples/python/NetworkManager.py:
19676 s/Quality/Strength/
19678 * examples/python/systray/network_tray.py:
19679 Lots of little changes and fixes. been rotting for a while so I
19680 figured I'd finally sync them all with CVS
19682 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
19684 * configure.in: Add graphics
19686 * panel-applet/Makefile.am: Add graphics
19688 * panel-applet/icons/*: Add graphics
19690 * panel-applet/NMWirelessApplet.c: Use new menu times to display
19691 the icons fully lined up.
19693 * panel-applet/menu-info.c:
19694 * panel-applet/menu-info.h: Add another menu type.
19696 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
19698 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19700 * panel-applet/menu-item.[ch]: Wireless menu item.
19702 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
19704 * info-daemon/NetworkManagerInfo.conf
19705 - Created a more robust security policy for the DBus service
19706 - everything is denied by default
19707 - root can own and send to the service
19708 - users logged in at the console can send to the service
19710 2004-09-13 Dan Williams <dcbw@redhat.com>
19712 * src/NetworkManagerDevice.c
19713 - (nm_device_get_essid): use iw_get_basic_config() rather than
19714 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
19717 2004-09-13 Dan Williams <dcbw@redhat.com>
19721 * docs/NetworkManager DBUS API.txt
19722 - Update for new signal strength changes
19724 * panel-applet/NMWirelessApplet.c
19725 - Make panel icon show strength of the current connection
19726 - Cleanups and memleak fixes
19728 * panel-applet/NMWirelessApplet.h
19729 - Add data members for signal strength on devices and networks
19731 * panel-applet/NMWirelessAppletDbus.c
19732 - Free more DBusErrors
19733 - Update for new signal strength changes
19734 - Make devices and networks more like real objects, use ref/unref methods
19735 - Actually unlock the mutex when updating the active device
19737 * src/NetworkManagerAP.c
19738 - Change AP functions and data members from "quality"->"strength"
19740 * src/NetworkManagerDbus.c
19741 - Kill "getMaxQuality" and "getQuality" methods
19742 - Add "getStrength" methods for Networks and Devices
19744 * src/NetworkManagerDevice.[ch]
19745 - Add accessors for device strength
19746 - Add functions to update strength for a device. Note that not all drivers
19747 actually support signal strength for scanned access points (Atmel drivers
19749 - Calculate signal strength for each AP during scan
19751 * src/NetworkManagerWireless.[ch]
19752 - Add function to return signal strength % from a device and a raw quality struct
19754 * test/nmclienttest.c
19755 - Update for new signal strength changes
19757 2004-09-11 Dan Williams <dcbw@redhat.com>
19759 * src/NetworkManager.c
19760 - Fix race condition between initscripts and NM on card insertion
19761 which could cause a card to keep an IP address and routes around
19762 even when it was not the active device
19764 * src/NetworkManagerDbus.c
19765 - Fix compile errors, free more DBusErrors
19767 2004-09-11 Dan Williams <dcbw@redhat.com>
19769 * docs/NetworkManager DBUS API.txt
19770 - Add an explanation of NM's API
19772 * src/NetworkManagerDbus.c
19773 - Free some more DBusErrors if needed
19775 2004-09-11 Dan Williams <dcbw@redhat.com>
19777 * panel-applet/NMWirelessApplet.c
19778 panel-applet/NMWirelessAppletDbus.c
19779 - Start using NetworkDevice/WirelessNetwork structures in more places
19780 - Update for unified device/network forcing in NetworkManager
19782 * src/NetworkManager.c
19783 - some code consolidation
19785 * src/NetworkManagerDbus.c
19786 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
19787 or two arguments: the first is the NM ID of the device to switch to,
19788 and the second (optional) argument is the ESSID of a wireless network
19790 - Get rid of "setNetwork" method due to above change
19792 * src/NetworkManagerDevice.c
19793 - (nm_device_new): perform scan and update best AP on device creation
19794 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
19795 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
19796 spin waiting for cancellation to finish before returning
19798 * src/NetworkManagerPolicy.c
19799 - Changes here clarify the situations in which a device switch occurs, and
19800 make sure to keep using a forced device and network if the user gives
19802 - Remove old unused code
19804 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
19806 * configure.in: Added Danish (da) to ALL_LINGUAS.
19808 2004-09-09 Dan Williams <dcbw@redhat.com>
19810 * panel-applet/NMWirelessAppletDbus.c
19811 - Pull fresh devices and networks from NM when wireless networks
19812 change. Provides faster feedback of a forced wireless network
19814 * src/NetworkManagerDbus.c
19815 - Return error when "getMaxQuality" is called on a wired device
19816 - Make best_ap freezing actually work again, and signal cancellation
19817 of activation if there's already a device activation when the user
19818 freezes the best_ap
19820 * src/NetworkManagerDevice.c
19821 - Don't clear out the best_ap for wireless devices when the link goes
19822 down, that's done elsewhere
19823 - Kill any dhcp daemons when cancelling device activation since they
19824 may be stuck waiting for a DHCP address, and since we're cancelling
19825 activation we don't care about that anymore
19827 * src/NetworkManagerPolicy.c
19828 - Make sure to unref the device we ref earlier (we refed it to make sure
19829 it stuck around during device activation and such)
19830 - If we were going to change the best device, but its activating currently
19831 (and therefore the change didn't occur due to the check earlier)
19832 we mark the state changed to we come back to it later when device
19833 activation has canceled and its no longer activating
19835 * src/backends/NetworkManagerRedHat.c
19836 - SIGKILL dhcp daemons rather than SIGTERM-ing them
19838 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
19840 * info-daemon/passphrase.glade:
19841 set passphrase input to activates_default : True
19843 * examples/python/systray/network_tray.py
19844 (network_tray.sort_networks):
19846 Added support for having wireless always scanning
19848 2004-09-09 Dan Williams <dcbw@redhat.com>
19850 NOTE: this commit changes the behavior of wireless devices in
19851 NetworkManager. They are now up all the time, scanning all
19852 the time. Only the active device has an IP address and routing
19853 information set up however. Also, NetworkManager will no longer
19854 opportunistically switch wireless networks when a better one
19855 comes in range, it will remain associated with one wireless network
19856 until that one drops out.
19858 * panel-applet/NMWirelessApplet.c
19859 panel-applet/NMWirelessAppletDbus.c
19860 - List all wireless cards and their respective networks
19862 * src/NMLoadModules
19863 - Use full path to /sbin/ip
19865 * src/NetworkManager.c
19866 - Keep wireless devices up all the time so they can scan
19868 * src/NetworkManagerDbus.c
19869 - On a WirelessNetworkUpdate signal from NMI, don't update
19872 * src/NetworkManagerDevice.c
19873 - (nm_device_set_link_active): clear out the best ap for
19874 wireless devices when the link is set to FALSE
19875 - Scan on all wireless cards, all the time
19876 - (nm_device_activation_worker): split out the wireless card
19877 link-waiting code to a separate function
19878 - Keep wireless cards up even if device activation fails
19879 - Don't update the "best" ap as much
19881 * src/NetworkManagerPolicy.c
19882 - Don't update the best ap when checking if its frozen,
19883 let link checking clear out a frozen best ap for us
19885 * src/NetworkManagerWireless.c
19886 - Scan on all wireless cards, all the time
19888 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
19890 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
19892 2004-09-09 Ankit Patel <ankit@redhat.com>
19894 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
19896 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
19898 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
19900 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
19902 * examples/python/NetworkManager.py:
19903 added CONNECTED, CONNECTING, and DISCONNECTED states
19904 added methods to return number of devices of a single type
19906 * examples/python/systray/network_tray.py:
19907 did some tweaks to get the menu looking near what it is supposed
19908 to look like. Also did a Airo card hack to make it show the
19911 2004-09-08 Dan Williams <dcbw@redhat.com>
19913 * panel-applet/no-networkmanager.png
19914 panel-applet/Makefile.am
19915 panel-applet/NMWirelessApplet.c
19916 - Add a "NetworkManager not running" icon and use it
19917 - Use new consolidated GConf keys rather than Preferred/Trusted
19921 * info-daemon/NetworkManagerInfo.c
19922 info-daemon/NetworkManagerInfoDbus.[ch]
19923 info-daemon/NetworkManagerInfoPassphraseDialog.c
19924 - There are now no longer two separate lists of wireless networks,
19925 but one list where each network is "trusted" or not trusted
19926 - Add a "getNetworkTrusted" dbus method
19927 - "WirelessNetworkUpdate" signal now sent rather than
19928 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
19929 - Start freeing some dbus errors (not completed yet)
19931 * info-daemon/passphrase.glade
19932 - Remove the "don't show" hints for pager and taskbar
19933 - Add a title since its going to be in the taskbar
19935 * src/NetworkManager.[ch]
19936 src/NetworkManagerAPList.[ch]
19937 - There are now no longer two separate lists of wireless networks,
19938 but one list where each network is "trusted" or not trusted
19940 * src/NetworkManagerAP.[ch]
19941 - Add get/set "trusted" accessors and data bit
19943 * src/NetworkManagerDbus.[ch]
19944 - Add function to get "trusted" status of a network from NetworkManagerInfo
19945 - Trap new WirelessNetworkUpdate signal rather than old separate signals
19947 * src/NetworkManagerDevice.[ch]
19948 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
19949 - (nm_device_new): Get device config from backend when initializing devices
19950 - (nm_device_activation_worker): Split out device configuration on
19951 activation to deal with static/dynamic IP differences, and try encryption
19952 fallbacks on a device if the encryption method for the best AP is not good
19953 - (nm_device_update_best_ap): convert to new consolidated access point lists from
19954 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
19956 * src/NetworkManagerWireless.c
19957 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
19959 * src/backends/NetworkManagerRedHat.c
19960 src/backends/NetworkManagerSystem.h
19961 - (nm_system_device_update_config_info): Add function to get device configuration
19962 from system data in ifcfg-* files
19964 * src/backends/NetworkManagerDebian.c
19965 src/backends/NetworkManagerGentoo.c
19966 src/backends/NetworkManagerSlackware.c
19967 - Add stub functions for getting device configuration
19969 2004-09-07 Dan Williams <dcbw@redhat.com>
19971 * src/backends/NetworkManagerRedhat.c
19972 src/backends/NetworkManagerSlackware.c
19973 - Use full path to /sbin/ip everywhere
19975 2004-09-07 Dan Williams <dcbw@redhat.com>
19977 Patch from: Narayan Newton <narayan_newton@yahoo.com>
19980 initscript/Makefile.am
19981 initscript/Slackware/Makfile.am
19982 initscript/Slackware/rc.networkmanager
19984 src/backends/NetworkManagerSlackware.c
19985 - Add Slackware support
19987 2004-09-07 Dan Williams <dcbw@redhat.com>
19989 Patches below from:
19991 Mark Roach <mrroach@okmaybe.com>
19992 Thom May <thom@debian.org>
19995 initscript/Debian/NetworkManager
19996 initscript/Debian/Makefile.am
19997 - Initscript for Debian
19999 * src/backends/NetworkManagerDebian.c
20000 - Add missing system init function to allow compilation
20003 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
20005 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20007 2004-09-03 Akagic Amila <bono@linux.org.ba>
20009 * configure.in: Added 'bs' to ALL_LINGUAS.
20011 2004-09-02 Colin Walters <walters@verbum.org>
20013 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20014 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20015 g_strdup_printf instead of arbitrarily sized buffers.
20017 2004-09-01 Colin Walters <walters@verbum.org>
20019 * NetworkManager.pc.in: New file.
20021 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20023 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
20025 * configure.in: Punjabi(pa) is added to po/.
20027 2004-08-31 Dan Williams <dcbw@redhat.com>
20029 * Remove 'debug' extern global from all files since we now
20032 * src/NetworkManager.[ch]
20033 - Break out routine that get the net.interface property from HAL,
20034 removing that logic from nm_create_device_and_add_to_list()
20035 - (nm_create_device_and_add_to_list): make this a bit more general so
20036 it doesn't do the talking to HAL. Also add arguments to facilitate
20037 the create of test devices.
20038 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20039 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20040 which makes NetworkManager listen for dbus commands to create test
20041 devices, which have no backing hardware. Use when you're on a plane
20042 for example, and/or forgot your wireless card at home. Test devices
20043 _cannot_ be created unless NM is started with --enable-test-devices.
20045 * src/NetworkManagerDbus.[ch]
20046 - New "getLinkActive" method for devices
20047 - New "setLinkActive" method for devices (only works on test devices)
20048 - New "createTestDevice" method on NetworkManager object to create a test
20049 device of a specified type (ie wired, wireless). UDI is created from
20050 scratch, as is the interface name. Only works when NM is started with
20051 --enable-test-devices switch.
20052 - New "removeTestDevice" method on NetworkManager object which removes a
20053 test device. Only works when NM is started with --enable-test-devices
20055 * src/NetworkManagerDevice.[ch]
20056 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
20057 whether a device is a test device or not, and what its link status is.
20058 - Deal with test devices in most functions. For those that work directly on hardware
20059 special-case test devices.
20060 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20062 - (nm_device_update_link_active): split out logic for wired and wireless device link
20063 checking to separate functions to facilitate test device link checking.
20064 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20065 don't make a distinction between System Authentication and Encryption
20066 (namely Cisco aironet), we use Open System auth when setting a WEP key
20067 on the card. We don't deal with Shared Key auth yet.
20068 - (nm_device_activation_worker): split the activation cancel check logic out into
20069 a separate routine nm_device_activation_cancel_if_needed()
20070 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20071 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20072 a list of fake access points that they can "see"
20073 - (nm_device_is_test_device): return whether or not a device is a test device
20075 * src/NetworkManagerPolicy.c
20076 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20077 previously if you "locked"/forced NM to use a wireless device but then
20078 selected a wireless network for NM to use, it would switch to a wired device.
20079 So, if the active device is wireless and it has a "forced" best AP, use it
20080 if the "forced" best AP is still valid
20081 - (nm_state_modification_monitor): deal with NULL best devices, for example
20082 there were no usable network devices, or the last one was removed
20084 * src/backends/NetworkManager*.c
20085 - Deal with test devices, mostly just return success for operations like getting
20088 * test/nmtestdevices.c
20089 - Test tool to create/remove/link-switch test devices
20091 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
20093 * examples/python/NetworkManager.py:
20094 added convience functions has_wired_device and has_wireless_device
20096 * examples/python/systray/network_tray.py:
20097 cleaned up a bunch of cruft, added support for listing wireless
20098 networks just like the real applet. This is probably all I'm
20099 going to work on this applet from now on.
20100 TODO: add support for actually changing networks and devices
20102 * examples/python/NetworkManager.py (NetworkManager.get_device):
20103 changed "nm.networks" into a dict from a list so I can store all
20104 the cool information about networks in there
20106 * examples/python/systray/network_tray.py:
20107 Added nice message when you try to run without running make first
20109 * examples/python/NetworkManager.py:
20110 Bug fixes to the code so we get all the device information
20111 that we need in get_device()
20113 * examples/python/NMTester.py:
20114 Fixed _print_device_list to print_device_list
20116 2004-08-29 Seth Nickell <seth@gnome.org>
20120 Actually properly setup the Debian backend in configure.
20122 2004-08-29 Colin Walters <walters@verbum.org>
20124 * test/nminfotest.c: Include string.h and stdlib.h.
20125 (get_network_string_property, get_networks_of_type): Return NULL.
20127 * test/nmclienttest.c (get_device_name, get_active_device): Return
20130 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20131 use strlen, fgets always NULL-terminates the string.
20133 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20134 dbus_message_get_member): Remove /* in comment.
20136 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20138 * src/NetworkManager.c (quit): Unused, delete.
20139 (nm_data_free): Cast arg to GFunc.
20141 * panel-applet/NMWirelessAppletDbus.c: Need to include
20142 string.h, and dbus-glib-lowlevel.h (the latter is needed
20143 for dbus_connection_setup_with_g_main at present).
20144 (nmwa_dbus_update_wireless_network_list): Parenthesize
20145 assignment in conditional.
20146 (nmwa_dbus_worker): Return NULL.
20148 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20149 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20150 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20151 (nmwa_populate_menu): Return NULL on failure, instead of just
20154 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20156 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20159 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20162 2004-08-29 Colin Walters <walters@verbum.org>
20164 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20165 a GTimeVal instead of time_t. This is easier to work with,
20166 since time_t may be a long or double, we don't know.
20168 * src/NetworkManagerDbus.h: Update prototype.
20170 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20172 (nm_ap_get_timestamp): Update to return GTimeVal.
20173 (nm_ap_set_timestamp): Update to take GTimeVal.
20175 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20176 to handle GTimeVal.
20178 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20180 (nm_ap_list_print_members): Fix warnings in printf format.
20182 2004-08-29 Colin Walters <walters@verbum.org>
20184 * panel-applet/NMWirelessApplet.c: Include config.h.
20186 2004-08-29 Colin Walters <walters@verbum.org>
20188 * configure.in: Generate config.h.
20190 * configure.in: Dump dependency on OpenSSL; we can't
20191 use it since this package is GPL:
20192 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20193 Instead, check for libgcrypt, use it if available,
20194 otherwise use included MD5 code.
20196 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20197 Suck in from gnome-keyring, munge a bit.
20199 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20200 gnome-keyring-md5.h gnome-keyring-md5.c.
20201 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20203 * src/NetworkManagerWireless.c (nm_md5): New function, uses
20204 libgcrypt or included gnome-keyring md5 bits.
20205 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20207 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
20209 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20211 2004-08-27 Bryan Clark <bclark@redhat.com>
20213 * examples/python/systray/Makefile:
20215 Updated the clean section
20217 * examples/python/systray/trayiconmodule.c:
20218 * examples/python/systray/trayicon.override:
20219 * examples/python/systray/network_tray.py:
20220 * examples/python/systray/eggtrayicon.h:
20221 * examples/python/systray/eggtrayicon.c:
20222 * examples/python/systray/Makefile:
20223 * examples/python/README:
20224 * examples/python/NetworkManager.py:
20225 * examples/python/NMTester.py:
20227 Initial commit of these python example files
20229 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20231 * panel-applet/NMWirelessApplet.c
20232 - Make current device bold
20233 - Show more user-friendly device name if we got one from hal
20235 * panel-applet/NMWirelessAppletDbus.c
20236 - Grab "info.product" key from hal for network devices
20237 - Cache the current active device
20239 2004-08-27 Adam Weinberger <adamw@gnome.org>
20241 * configure.in: Added en_CA to ALL_LINGUAS.
20243 2004-08-27 Christian Rose <menthos@menthos.com>
20245 * configure.in: Added "sv" to ALL_LINGUAS.
20247 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20249 * Tag NetworkManager-0.2
20251 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
20253 * initscripts/Makefile.am
20254 * configure.in: Make pass distcheck
20256 * po/ChangeLog: added
20258 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20260 * panel-applet/NMWirelessApplet.c
20261 - Remove debugging code
20262 - Enable device switching from menus
20264 * panel-applet/NMWirelessAppletDbus.[ch]
20265 - Method for asking NM to switch devices
20267 * src/NetworkManagerDevice.c
20268 - Set dev->activating earlier, avoids race between
20269 the dbus signal of "DeviceActivating" and setting
20270 dev->activating (which is what NM's "status" method call
20273 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20275 * panel-applet/NMWirelessApplet.[ch]
20276 - Rework menu code to add devices to menu, and to show
20277 signal strength for each access point. Code cleanups
20280 * panel-applet/NMWirelessAppletDbus.c
20281 - Grab network devices from NetworkManager too
20282 - Grab quality information from NM for wireless networks
20284 * src/NetworkManagerDbus.[ch]
20285 - Add dbus methods for getting the HAL UDI from a device and
20286 for getting its base quality, if its wireless
20287 - Consolidate some functions (wireless network notifications,
20288 device notifications)
20289 - Add method for requesting NM to use a particular device
20291 * src/NetworkManager.c
20292 - Change for function consolidations from NetworkManagerDbus.c
20293 - Implement active device locking and user-requested devices
20294 (ie, tell NM to use a particular device instead of the one
20297 * src/NetworkManagerDevice.c
20298 - Add method for getting the base quality of a device, if its
20300 - Grab device base quailty info from iwlib during scans
20302 * src/NetworkManagerPolicy.c
20303 - Use a user-requested device rather than the auto-chosen device
20306 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
20308 * Makefile.am: add po as a supdir
20310 * autogen.sh: use gnome-autogen.sh
20312 * initscript/Gentoo/.cvsignore:
20313 * initscript/RedHat/.cvsignore: Shut up cvs
20315 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20317 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20318 (nmwa_fill): Use gettext.
20320 * configure.in: add gettext support
20322 * po/NetworkManager.pot:
20325 2004-08-26 Seth Nickell <seth@gnome.org>
20327 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20328 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20329 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20330 (nmwa_dispose_menu_items), (nmwa_populate_menu),
20331 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20332 * panel-applet/NMWirelessApplet.h:
20334 Use a menu bar instead of a button for the main clickable
20337 2004-08-25 Dan Williams <dcbw@redhat.com>
20339 * src/NetworkManagerDevice.c
20340 - (nm_device_set_enc_key): always set device to "open" mode instead of
20341 turning encryption off, because the Cisco driver doesn't associate
20342 with WEP-enabled access points unless we are in "open"
20344 2004-08-25 Dan Williams <dcbw@redhat.com>
20346 * src/NetworkManagerWireless.c
20347 - Don't try to defererence blank passphrases
20349 2004-08-25 Dan Williams <dcbw@redhat.com>
20351 * panel-applet/NMWirelessApplet.c
20352 - Rebuild the menu whenever a user clicks
20354 2004-08-25 Dan Williams <dcbw@redhat.com>
20356 * panel-applet/NMWirelessApplet.c
20357 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20358 when NM isn't around or when its not connected
20360 * src/NetworkManagerDevice.c
20361 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20364 2004-08-25 Dan Williams <dcbw@redhat.com>
20366 * panel-applet/NMWirelessAppletDbus.c
20367 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20368 for getting encryption, and don't stop on "val" once we've gotten it
20369 from NetworkManager. Short form: encryption should now show up.
20371 2004-08-25 Dan Williams <dcbw@redhat.com>
20373 * panel-applet/NMWirelessApplet.c
20374 - Set ESSID on a gconf trusted network too when force-setting the wireless
20375 network to associate with
20377 2004-08-25 Dan Williams <dcbw@redhat.com>
20380 - Rework the panel applet to do all DBUS communication in a separate
20383 2004-08-25 Dan Williams <dcbw@redhat.com>
20385 * info-daemon/NetworkManagerInfo.[ch]
20386 - Remove "get_next_priority" function
20388 * info-daemon/NetworkManagerInfoDbus.[ch]
20389 - Convert "priority" functions to "timestamp"
20391 2004-08-25 Dan Williams <dcbw@redhat.com>
20393 * src/NetworkManagerAP.[ch]
20394 - Add a "enc_method_good" member and accessors to an Access Point
20395 to signal when we've found the correct encryption method
20396 for an access point
20397 - Add a "timestamp" member and accessors, remove "priority" member
20398 and accessors (use timestamps instead)
20399 - Rename "wep_key"->"enc_key"
20400 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20401 for a specified encryption method using the access points
20402 source encryption key/passphrase
20404 * src/NetworkManagerAPList.c
20405 - When updating a network with dbus, grab timestamp now instead of
20408 * src/NetworkManagerDBus.[ch]
20409 - Add signal for "DeviceActivating"
20410 - Switch priority->timestamp
20412 * src/NetworkManagerDevice.c
20413 - Change references of "wep_key" -> "enc_key" or "key"
20414 - Signal DeviceActivating when starting activation
20415 - When activating a wireless device, if the access point we are connecting
20416 to is encrypted, and we have a source key, try to generate a mangled
20417 key and use that (ie, generate real WEP key from a passphrase)
20418 - Rework device activation to fallback to other encryption methods if
20419 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20420 first, then if that doesn't work fall back to direct hex key).
20421 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20422 priority. We now prefer the latest access point used, rather than using
20424 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20425 points we've just discovered, and merge in correct info from the global
20428 2004-08-25 Seth Nickell <seth@gnome.org>
20430 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20434 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20435 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20436 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20437 (nm_system_delete_default_route),
20438 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20439 (nm_system_load_device_modules):
20441 2004-08-24 Dan Willemsen <dan@willemsen.us>
20443 * src/NetworkManager.c
20444 src/backends/NetworkManagerGentoo.c
20445 src/backends/NetworkManagerRedHat.c
20446 src/backends/NetworkManagerSystem.h
20447 - Implement preliminary Gentoo support, adding a
20448 nm_system_init function to the backend specification
20451 - Distribution auto-detection, lowercase any user-fed
20454 * initscript/.cvsignore
20455 initscript/Makefile.am
20456 initscript/RedHat/Makefile.am
20457 initscript/RedHat/NetworkManager
20458 initscript/Gentoo/Makefile.am
20459 initscript/Gentoo/NetworkManager
20460 - Refactored initscript code separately for each
20463 2004-08-23 Dan Williams <dcbw@redhat.com>
20467 src/NetworkManagerDevice.c
20468 src/NetworkManager.c
20469 src/NetworkManagerUtils.[ch]
20470 src/backends/NetworkManagerSystem.h
20471 src/backends/NetworkManagerRedHat.c
20472 src/backends/NetworkManagerGentoo.c
20473 - Refactor system-specific code into separate backends for
20476 2004-08-23 Dan Willemsen <dan@willemsen.us>
20478 * dispatcher-daemon/NetworkManagerDispatcher.c
20479 info-daemon/NetworkManagerInfo.[ch]
20480 info-daemon/NetworkManagerInfoDbus.c
20481 info-daemon/NetworkManagerInfoPassphraseDialog.c
20482 src/NetworkManager.c
20483 src/NetworkManagerAP.c
20484 src/NetworkManagerAPList.c
20485 src/NetworkManagerDbus.c
20486 src/NetworkManagerDevice.c
20487 src/NetworkManagerPolicy.c
20488 src/NetworkManagerUtils.[ch]
20489 src/NetworkManagerWireless.c
20490 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20492 * src/NetworkManager.c
20493 - Fixed usage wording for --no-daemon
20495 2004-08-23 Dan Williams <dcbw@redhat.com>
20497 * panel-applet/NMWirelessApplet.c
20498 - Update our state every second to get more responsive panel icon
20499 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20500 was causing our marching ants status blips to never move when
20501 looking for a wireless network
20503 * src/NetworkManagerDevice.c
20504 - (nm_device_activation_begin): return if activation has already begun
20505 - (nm_device_do_normal_scan): merge WEP key and priority from the
20506 trusted/preferred network into the device's access point when the
20507 scan list is processed
20509 2004-08-23 Dan Williams <dcbw@redhat.com>
20511 * initscript/NetworkManager
20512 - Use NMLaunchHelper rather than sleeping
20514 * initscript/NMLaunchHelper.c
20516 - Add helper program that exits only when NM activates a device,
20517 or 10 seconds have passed, whichever happens first. This
20518 stops the boot processes until we have a network connection,
20519 which NM can't do because it daemonizes and brings the connection
20520 up in the background. Allows stuff like NFS to not die.
20522 2004-08-20 Dan Williams <dcbw@redhat.com>
20524 * info-daemon/NetworkManagerInfoPassphraseDialog.c
20525 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20526 for a network, set the essid as well since it may not exist yet
20527 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20528 since WEP keys/passphrases are long and prone to entry-error
20530 * panel-applet/Makefile.am
20531 panel-applet/wired.png
20532 - Add (pulled from system-config-network temporarily)
20534 * panel-applet/NMWirelessApplet.[ch]
20535 - Show wired picture when a wired connection is used
20536 - Rename wireless icon enums, adding WIRELESS
20538 * src/NetworkManagerDevice.c
20539 - (nm_device_activate_wireless): unset encryption before bringing
20540 down the card and setting the essid
20541 - (nm_device_activatin_worker): request a key from the user if the
20542 AP we are connecting to is encrypted but we don't have a key
20544 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20545 strcmp() that prevented a user-entered key from actually getting
20548 2004-08-16 Dan Williams <dcbw@redhat.com>
20550 * initscript/NetworkManager
20551 - Check for /sbin/ip
20552 - Do sysctl magic that network service does
20553 - sleep 4s after start to allow network time to come up [hack]
20557 - Load all network device kernel modules (hal doesn't know devices
20558 are ethernet until the module is loaded, and therefore we don't know)
20560 * src/NetworkManager.c
20561 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20562 network devices, and bring up the loopback device explicitly
20564 * src/NetworkManagerUtils.[ch]
20565 - (nm_enable_loopback): new function
20567 2004-08-13 Dan Williams <dcbw@redhat.com>
20570 panel-applet/Makefile.am
20571 - Fix up cleanfiles and server_DATA/server_in_files
20574 - Update with some comments on theory of operation
20580 2004-08-12 Dan Williams <dcbw@redhat.com>
20582 * info-daemon/passphrase.glade
20583 - Set window title to " "
20585 * panel-applet/Makefile.am
20586 panel-applet/keyring.png
20587 - Deliver to correct place
20589 * panel-applet/NMWirelessApplet.[ch]
20591 - Remove applet->have_active_device as its no longer used
20592 - (nmwa_load_theme): load keyring.png too
20593 - (error_dialog): remove
20594 - (show_warning_dialog): subsume functionality of error dialog too
20595 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20596 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20598 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20599 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20600 and when we get broadcasts of changed wireless access points only, not when the
20601 user clicks on the button to display the menu (too long of a wait)
20602 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20603 networks that are encrypted
20604 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20605 menu item with g_object_set_data()
20607 * panel-applet/NMWirelessAppletDbus.[ch]
20608 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20609 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20610 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20611 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20612 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20613 activation/deactivation signals and rebuild the menu when they happen
20615 * src/NetworkManager.c
20616 - (main): use new nm_spawn_process() rather than system()
20618 * src/NetworkManagerDbus.c
20619 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20620 instead. Since we can now force best_aps to stick around, the AP structure to which
20621 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20622 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
20623 to freeze the best_ap.
20625 * src/NetworkManagerDevice.[ch]
20626 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20627 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20628 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20631 * src/NetworkManagerUtils.[ch]
20632 - (nm_spawn_process): add replacement for system() usage
20634 2004-08-11 Dan Williams <dcbw@redhat.com>
20636 * panel-applet/NMWirelessApplet.[ch]
20637 - Fix up copyright and credits to include Bastien and Eskil,
20638 who created the gnome-applets wireless applet, from whose
20639 skeleton this one was created
20640 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20641 pixmap to draw is computed during nmwa_update_state()
20642 - Applet now shows itself all the time due to panel packing issues
20643 which caused the applet to previously never come back after hiding.
20644 When a wired device is the active device, the applet shows "not connected"
20646 * panel-applet/NMWirelessAppletDbus.[ch]
20647 - Clean up error messages and show what function they are from
20648 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20649 - Add new device type getters, and a status getter
20651 * src/NetworkManagerDbus.c
20652 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20653 network is actually in the device's ap list
20654 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20656 * src/NetworkManagerDevice.c
20657 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20660 * test/nmclienttest.c
20661 - Report status of NetworkManager too
20663 2004-08-11 Dan Williams <dcbw@redhat.com>
20665 * info-daemon/NetworkManagerInfo.c:
20666 - (main): clean up Seth's code style
20668 * info-daemon/NetworkManagerInfoDbus.c:
20669 - Use the more aptly-named path/service/interface constants from NetworkManager
20670 - Don't return empty strings ("") as object paths ever, instead return errors
20672 * panel-applet/NMWirelessApplet.c:
20673 - Clean up Seth's code style
20675 * src/NetworkManager.[ch]
20676 - (nm_remove_device_from_list): remove anything having to do with pending_device
20677 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20679 * src/NetworkManagerAPList.[ch]
20680 - Move Iter struct right above the iter functions to preserve opacity
20681 - (nm_ap_list_remove_ap): implement
20682 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20683 remove AP if NetworkManagerInfo doesn't know anything about it
20684 - (nm_ap_list_diff): user NMAPList iterators
20685 - (nm_ap_list_print_members): implement debugging function
20687 * src/NetworkManagerDbus.[ch]
20688 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20689 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20690 and move the actual key setting stuff into NetworkManagerDevice.c
20691 - (nm_dbus_get_network_priority): return -1 now on errors
20692 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20693 get lost, and force the active device to update its "best" ap when AP lists change
20694 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20695 method call due to pending_device member removal
20697 * src/NetworkManagerDevice.[ch]
20698 - Move NMDevice structure to the top
20699 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20700 - Remove Pending Action stuff from everywhere
20701 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
20702 activation for us. This thread blocks until all conditions for activation have
20703 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
20704 then setup up the interface and runs dhclient. We have to do this because there
20705 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
20706 run our main loop and respond to dbus method calls or HAL device removals/inserts
20707 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
20708 can tell nm_device_activation_worker() that we've got a key
20709 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
20710 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
20711 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
20712 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
20714 * src/NetworkManagerPolicy.c
20715 - Remove anything to do with pending_device
20716 - Adjust device activation to deal with activation-in-worker-thread
20718 * src/NetworkManagerUtils.c
20719 - Clean up locking debugging a bit
20721 * src/NetworkManagerWireless.[ch]
20722 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
20723 was badly named and is better as a device function
20725 * panel-applet/.cvsignore: add
20727 2004-08-09 Seth Nickell <seth@gnome.org>
20729 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
20730 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
20732 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
20734 Don't load the menus until clicked on (also removes a call outside
20735 normal code paths at first load).
20737 Hide applet when NM is not present.
20739 Improve printf debugging stuff.
20741 2004-08-09 Dan Williams <dcbw@redhat.com>
20743 * dispatcher-daemon/NetworkManagerDispatcher.c:
20744 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
20745 - Use constants for NetworkManager interface, service, and path
20747 2004-08-09 Dan Williams <dcbw@redhat.com>
20749 * src/NetworkManagerDbus.c:
20750 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
20751 instead return an error message
20752 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
20753 on a wired device. Also never return an empty object path, instead return an error message
20755 2004-08-06 Seth Nickell <seth@gnome.org>
20757 * panel-applet/NMWirelessApplet.c: (nmwa_new):
20759 Check the error code when getting a connection.
20761 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
20763 Check if the NM service exists when initializing (rather than
20764 assuming it does not).
20766 * src/NetworkManagerDbus.c: (nm_dbus_init):
20768 Don't acquire the well-known service name until we have
20769 registered object/path handlers and can actually receive
20772 2004-08-06 Dan Williams <dcbw@redhat.com>
20777 * src/NetworkManagerPolicy.c
20778 src/NetworkManager.c
20779 - Get access point lists from NetworkManagerInfo on-demand,
20780 and look for ServiceCreate/ServiceDeleted signals to see when
20781 we should query NMI for lists
20782 * src/NetworkManagerAPList.c
20783 - Make sure to init the list's mutex
20784 - Convert traversals of the list over to the list iter functions
20786 * src/NetworkManagerDbus.[ch]
20787 - Use more aptly-named path/service/interface constants
20788 - Treat both active and pending devices the same for "getActiveDevice"
20789 - Add a "status" method returning "connected", "connecting", or "disconnected"
20791 * src/NetworkManagerDevice.c
20792 - Honor "ignored" network list when picking best ap to use
20794 2004-08-06 Seth Nickell <seth@gnome.org>
20798 Autogenerated, remove from CVS.
20802 Don't hardcode automake version.
20805 * info-daemon/Makefile.am:
20806 * info-daemon/NetworkManagerInfo.c: (main):
20808 Use GnomeProgram et al. for doing session management.
20809 Use popt stuff for argument parsing rather than doing
20812 2004-08-05 Dan Williams <dcbw@redhat.com>
20814 * test/nminfotest.c
20815 - Update to new NMI dbus API, check different network types
20817 * info-daemon/NetworkManagerInfoDbus.c
20818 - Update to new NM dbus API, ie network type sent in query message
20820 2004-08-05 Dan Williams <dcbw@redhat.com>
20822 * An assload of changes
20824 2004-08-02 Dan Williams <dcbw@redhat.com>
20827 - new task: proper logging support
20829 * info-daemon/NetworkManagerInfo.c
20830 - Correct spelling of "canceled"
20831 - Correct casting of objects for g_signal_connect()
20833 * info-daemon/NetworkManagerInfoDbus.c
20834 - Add defines for NetworkManager namespace and object path, and use them
20835 - Add filter function to trap new signals from NetworkManager:
20836 WirelessNetworkAppeared, WirelessNetworkDisappeared
20838 * info-daemon/passphrase.glade
20839 - Change name of "ok" button to "Login to Network..."
20842 * src/NetworkManager.c
20843 - Code and debug message cleanups
20844 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
20845 - (nm_add_initial_devices) Check returned string array of devices
20846 and don't try to add devices if array is NULL
20847 - (main) Initialize libhal a bit later, make code a bit clearer
20849 * src/NetworkManagerAP.[ch]
20850 - New accessor and data member "matched": used to speed up AP list
20852 - New accessor and data member "enc_method": will be used during key
20853 fallback to cache which passphrase->key conversion actually works
20854 so we don't have to do it every time
20856 * src/NetworkManagerAPList.[ch]
20857 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
20858 - (nm_ap_list_diff) New: given two lists of access points, find the differences
20859 between them, and send WirelessNetworkAppeared/Disappeared signals over
20860 dbus in response to those differences
20862 * src/NetworkManagerDbus.[ch]
20863 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
20864 make an object path for that access point (NOTE that we don't yet check to
20865 make sure that access point is actually in the device's AP list yet)
20866 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
20867 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
20868 New: signal appearance/disappearance of wireless networks
20869 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
20872 * src/NetworkManagerDevice.[ch]
20873 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
20874 - (nm_device_ap_list_get) New: return the AP list (static function)
20875 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
20876 new one resulting from the scan with the old one
20878 * src/NetworkManagerWireless.c
20879 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
20881 * test/nminfotest.c
20882 - #define object paths and namespaces and use the #defines rather than static strings
20883 - Test out user-key functionality of NetworkManagerInfo too
20885 2004-07-29 Dan Williams <dcbw@redhat.com>
20887 * info-daemon/NetworkManagerInfoDbus.c
20888 src/NetworkManagerDbus.c
20889 - Update to current DBus (ie don't use decomposed paths when registering
20890 object paths/fallbacks)
20892 2004-07-27 Dan Williams <dcbw@redhat.com>
20894 * Remove various Makefile.in files
20897 - Add some more items
20900 - Add checks for OpenSSL/md5 headers and libs
20903 - Use OpenSSL CFLAGS
20905 * src/NetworkManagerAP.[ch]
20906 - Remove 'stamp' functions, replace with 'invalid' functions
20907 to support user cancelling WEP key entry
20909 * src/NetworkManagerDbus.c
20910 - Remove 'stamp' return functions
20911 - Treat returned user key as a passphrase and convert to a WEP key,
20912 but don't actually use the WEP key yet. We use the returned user
20913 key as a hexadecimal WEP key until we can figure out a UI for
20914 passphrase-vs-hex key
20916 * src/NetworkManagerWireless.[ch]
20917 - Add passphrase-to-128bit-key function
20919 2004-07-27 Dan Williams <dcbw@redhat.com>
20922 - Add a couple of items
20924 2004-07-27 Dan Williams <dcbw@redhat.com>
20926 * info-daemon/NetworkManagerInfo.c
20927 - Update allowed network's GConf key when user enters a WEP key explicitly
20929 * info-daemon/NetworkManagerDbus.c
20930 - Fix some comments
20931 - nmi_dbus_get_allowed_networks(): kill warning
20933 2004-07-27 Dan Williams <dcbw@redhat.com>
20935 * initscript/Makefile.in
20938 * initscript/Makefile.am
20939 - Add correct rules to install the init.d initscript
20941 * info-daemon/NetworkManagerInfoDbus.c
20942 - Remove debug fprintf
20944 * src/NetworkManagerDbus.[ch]
20945 - Remove debug fprintfs
20946 - Add macros for NetworkManagerInfo object path/namespace
20947 - Use said macros instead of constant strings
20949 2004-07-27 Dan Williams <dcbw@redhat.com>
20951 * initscript/.cvsignore
20954 * info-daemon/Makefile.am
20955 - Install .glade files and keyring.png
20956 - Fix stupid omission of a \ that caused half the flags not to be
20959 * info-daemon/NetworkManagerInfo.c
20960 - gtk_signal_connect->g_signal_connect
20961 - Alert NetworkManagerInfo to new glade file location
20963 2004-07-27 Dan Williams <dcbw@redhat.com>
20965 * test/nmclienttest.c
20967 - Add missing <dbus/dbus.h> headers
20968 - Add GPL message at top
20970 2004-07-27 Dan Williams <dcbw@redhat.com>
20972 * src/NetworkManagerAPList.[ch]
20974 - Add. Deal with allowed network list additions, deletions, and updates
20976 * dispatcher-daemon/NetworkManagerDispatcher.c
20977 - Add missing <dbus/dbus.h> header
20979 * info-daemon/NetworkManagerInfo.[ch]
20980 - Add missing <dbus/dbus.h> header
20981 - Implement the GConf notify callback to signal NetworkManager of an allowed
20983 - Better error checking
20985 * info-daemon/NetworkManagerInfoDbus.[ch]
20986 - Add missing <dbus/dbus.h> header
20987 - Convert to using dbus_message_append_args/dbus_message_get_args
20988 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
20989 that an allowed network changed. We don't want to signal on individual
20990 keys _inside_ an allowed network really, just want NM to query the info
20991 daemon for updated info on all keys.
20992 - Better error checking
20994 * src/NetworkManager.[ch]
20995 - Add missing <dbus/dbus.h> header
20996 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
20997 - Zero out NMData structure on free
20998 - No longer use a thread for allowed_ap_list updating, instead its now done
20999 through dbus queries against NetworkManagerInfo
21000 - Populate allowed_ap_list initially before adding existing network devices
21001 to the device list, so wireless devices can get their "best" AP
21003 * src/NetworkManagerDbus.[ch]
21004 - Convert to using dbus_message_append_args/dbus_message_get_args
21005 - Better error checking
21006 - Implement Allowed Network info functions to request allowed network
21007 info from NetworkManagerInfo
21008 - Implement the filter function to process signals from NetworkManagerInfo
21009 about changing allowed networks
21011 * src/NetworkManagerDevice.c
21012 - Fix file descriptor leak in nm_device_update_ip4_address()
21014 2004-07-27 Dan Williams <dcbw@redhat.com>
21019 dispatcher-daemon/.cvsignore
21020 info-daemon/.cvsignore
21021 - Add .cvsignore files to reduce noise when diffing
21023 2004-07-24 Dan Williams <dcbw@redhat.com>
21025 * src/NetworkManager.[ch]
21026 src/NetworkManagerDbus.[ch]
21027 src/NetworkManagerDevice.[ch]
21028 src/NetworkManagerPolicy.c
21029 src/NetworkManagerWireless.[ch]
21030 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21031 - Pass the NMData application data structure through all calls
21032 that need it so we can get rid of nm_get_global_data()
21033 - Change deallocation of the allowed_ap_list GSList in preparation
21034 for not completely clearing it every time we get an update,
21035 but instead getting incremental updates via GConf/dbus
21037 2004-07-22 Dan Williams <dcbw@redhat.com>
21040 - Add checks for GConf libs & headers & flags
21042 * info-daemon/Makefile.am
21043 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21045 * info-daemon/NetworkManagerInfo.[ch]
21046 - Don't use gquarks for data storage, just use normal data storage
21047 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21049 * info-daemon/NetworkManagerDbus.[ch]
21050 - Add method call for getting allowed networks
21051 - Add method calls for getting an allowed network's essid, priority, and key
21052 - Hook the method calls up to GConf
21053 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21054 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21056 * src/NetworkManagerDbus.[ch]
21057 - Switch for enumeration of networks to using essid instead
21061 - Add test program for NetworkManagerInfo
21063 2004-07-19 Dan Williams <dcbw@redhat.com>
21065 * src/NetworkManagerDbus.c
21066 - Switch from indexed device paths to names. Less code, more efficient.
21067 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21069 2004-07-19 Dan Williams <dcbw@redhat.com>
21071 * dispatcher-daemon/NetworkManagerDispatcher.c
21072 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21074 2004-07-19 Dan Williams <dcbw@redhat.com>
21077 - Add info-daemon directory
21080 - Check for glade libs and headers
21081 - Add info-daemon directory
21083 * src/NetworkManagerAP.c
21084 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21085 copied over to the new AP.
21087 * src/NetworkManagerDbus.c
21088 src/NetworkManagerDbus.h
21089 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21090 - Remove nm_dbus_signal_need_key_for_network()
21091 - Add disabled code for asynchronous user wep key callbacks
21092 - Add functions for getting, setting, and cancelling user key operations
21093 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21094 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21096 * src/NetworkManagerDevice.c
21097 src/NetworkManagerDevice.h
21098 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21099 logic is in device activation now
21100 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21101 key is wrong) trigger get-user-key pending action
21102 - Implement get-user-key pending action stuff, tie to dbus messages
21103 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21104 - Add nm_device_ap_list_get_ap_by_essid()
21105 - Instead of copying "best" access points, ref them instead so that the key we set
21108 * src/NetworkManagerPolicy.c
21109 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21110 - Don't cancel pending actions on a device if its the same device as last iteration
21111 - Only promote pending_device->active_device if activation was successfull
21114 - Rename nmclienttest->nmtest
21116 * info-daemon/Makefile.am
21117 info-daemon/NetworkManagerInfo.c
21118 info-daemon/NetworkManagerInfo.h
21119 info-daemon/NetworkManagerInfoDbus.c
21120 info-daemon/NetworkManagerInfoDbus.h
21121 info-daemon/passphrase.glade
21122 info-daemon/NetworkManagerInfo.conf
21123 info-daemon/keyring.png
21124 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21125 NetworkManager asks for it, and also will (soon) provide "allowed" access point
21126 lists to NetworkManager by proxying user's GConf
21129 2004-07-15 Dan Williams <dcbw@redhat.com>
21134 * src/NetworkManager.c
21135 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21136 that doing the deactivation ourselves
21137 - Cancel an pending actions on a device if its being removed
21138 - Break up link state checking a bit, make non-active wireless cards
21139 deactivated to save power
21140 - Remove unused variables
21142 * src/NetworkManager.h
21143 - Add support for "pending" device
21145 * src/NetworkManagerAP.h
21146 src/NetworkManagerAP.c
21147 - Add support for determining whether and AP has encryption enabled or not
21148 - AP address is now "struct ether_addr" rather than a string
21150 * src/NetworkManagerDbus.h
21151 src/NetworkManagerDbus.c
21152 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21153 - Changes for AP address from struct ether_addr->string
21155 * src/NetworkManagerDevice.h
21156 src/NetworkManagerDevice.c
21157 - Remove unused variables, fix warnings
21158 - Add support for Pending Actions (things that block a device from being "active"
21159 until they are completed).
21160 - First pending action: Get a WEP key from the user
21161 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21162 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21163 - Update wireless link checking to try to determine if the AP we are associated
21164 with is correct, but the WEP key we are using is just wrong. If its wrong,
21165 trigger the GetUserKey pending action on the device
21166 - If dhclient can't get an IP address, it brings the device down. Bring it back
21167 up in that case, otherwise we can't scan or link-check on it
21168 - Add IP address change notifications at appropriate points (still needs some work)
21169 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21171 * src/NetworkManagerPolicy.h
21172 src/NetworkManagerPolicy.c
21173 - Split out "best" access point determiniation into separate function
21174 - Make device activation 2-stage: first the device is pending, then
21175 in the next iteration through it becomes "active" unless it has
21178 * src/NetworkManagerUtils.h
21179 src/NetworkManagerUtils.c
21180 - Clean up unused variables and warnings
21181 - Wrap our debug macros in {} to prevent possible confusion
21183 * src/NetworkManagerWireless.c
21184 - Forgot to return current best priority, which lead to last available AP always
21185 being chosen no matter what its priority was. Corrected.
21187 2004-07-15 Dan Williams <dcbw@redhat.com>
21189 * dispatcher-daemon/Makefile.am
21192 * dispatcher-daemon/NetworkManagerDispatcher.c
21193 - Remove unused variables due to warnings
21194 - Fix some comments
21195 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21197 2004-07-06 Dan Williams <dcbw@redhat.com>
21199 * src/NetworkManager.c
21200 - Add IPv4 address update for active device during link state check
21201 - Don't allow wireless cards to be powered up when they are not the
21204 * src/NetworkManagerDbus.c
21205 src/NetworkManagerDbus.h
21206 - Add DBUS IPv4 address change signal
21207 - Add DBUS IPv4 address get method for devices
21209 * src/NetworkManagerDevice.c
21210 - Make setting the WEP key actually work
21211 - Move IP address get/set/update stuff here, per-device
21212 - Power down/bring down wireless device when deactivated
21213 - For scanning wireless devices, if first scan returned ENODATA, try again
21215 * src/NetworkManagerPolicy.c
21216 - Only set the WEP key for an allowed access point if there is one.
21217 We were setting it to be blank if one wasn't specified.
21219 * src/NetworkManagerUtils.h
21220 src/NetworkManagerUtils.c
21221 - Move the IP address stuff to NetworkManagerDevice.c
21223 * dispatcher-daemon/NetworkManagerDispatcher.c
21224 - Add device IPv4 address change notification stuff
21226 2004-07-05 Dan Williams <dcbw@redhat.com>
21228 * dispatcher-daemon/NetworkManagerDispatcher.c
21229 - A bit more descriptive state message
21230 - Don't segfault when reading directory
21232 * src/NetworkManager.h
21233 - Remove NMData desired_ap member, its now
21234 per-device rather than global
21236 * src/NetworkManager.c
21237 - Remove references to desired_ap
21238 - Move the allowed AP list refresh stuff into a thread
21240 * src/NetworkManagerDevice.c
21241 src/NetworkManagerDevice.h
21242 - Each wireless device now has a "best ap"
21243 - Make device activate/deactivate functions per-device
21244 - Make wireless scanning per-device
21245 - Add IPv4 address discover functions, stub IPv6 ones
21246 - Move ethernet address validation functions to NetworkManagerUtils.c
21247 - Add wireless access point accessor function
21248 - Get/Set functions for "best ap"
21250 * src/NetworkManagerPolicy.c
21251 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21252 - Deal with per-device "best ap" rather than data->desired_apa
21253 - Implement allowed access point worker thread
21254 - Add nm_policy_essid_is_allowed() function
21256 * src/NetworkManagerUtils.c
21257 src/NetworkManagerUtils.h
21258 - Add nm_ethernet_address_is_valid() function
21259 - Add IPv4/IPv6 address get functions
21261 * src/NetworkManagerWireless.c
21262 src/NetworkManagerWireless.h
21263 - Move scanning stuff into NetworkManagerDevice.c, per-device
21265 2004-06-29 Dan Williams <dcbw@redhat.com>
21267 * dispatcher-daemon/NetworkManagerDispatcher.c
21268 - Implement script callout functionality
21270 2004-06-24 Dan Williams <dcbw@redhat.com>
21274 - Flush device routes and ip addresses when added to the device list
21276 * NetworkManagerDbus.c
21278 - Add missing returns in the two signal functions
21280 * NetworkManagerPolicy.c
21281 - Spacing and variable cleanups
21283 2004-06-24 Dan Williams <dcbw@redhat.com>
21288 dispatcher-daemon/Makefile.am
21289 dispatcher-daemon/Makefile.in
21290 dispatcher-daemon/NetworkManagerDispatcher.c
21291 - Add a daemon that receives signals from NetworkManager
21292 and will (eventually) call scripts in /etc/somewhere
21293 when devices go up or down.
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
21305 - Rename nm_policy_switch_interface->nm_policy_switch_device
21306 - nm_policy_switch_device():
21307 Use kill (pid) instead of system ("kill <pid>")
21308 - nm_state_modification_monitor():
21309 Add wireless essid to output of debug statements
21310 Correct typo in device compare to switch or not (should be !=)
21311 Don't sleep after sending "no longer active" signal, was useless
21313 2004-06-24 Dan Williams <dcbw@redhat.com>