1 2008-10-20 Dan Williams <dcbw@redhat.com>
4 - (initial_get_connections): use private dbus manager, don't keep
5 ref-ing the singleton. Fixes mismatched refcounts of the dbus
8 2008-10-18 Dan Williams <dcbw@redhat.com>
10 * libnm-glib/nm-settings.c
11 libnm-glib/nm-settings.h
12 - Rename the "get_secrets" virtual function "service_get_secrets" to
13 clarify when it's used; NMExportedConnetion is a base-class for both
14 the client and service side, which is sort of confusing, and
15 get_secrets only makes sense on the service side.
17 * libnm-glib/nm-dbus-connection.c
18 - (get_secrets): remove, unused, and clients need to do extra work to
19 get secrets anyway since the call can block on the remote side
21 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
22 system-settings/plugins/keyfile/nm-keyfile-connection.c
23 - Fix up for get_secrets -> service_get_secrets
25 2008-10-16 Dan Williams <dcbw@redhat.com>
27 * src/nm-device-wifi.c
28 - (constructor): correctly determine encryption capabilities
30 2008-10-15 Dan Williams <dcbw@redhat.com>
32 * src/nm-device-wifi.c
33 - (wireless_qual_to_percent): fix quality calculation in a fallback case
36 2008-10-15 Dan Williams <dcbw@redhat.com>
38 * src/NetworkManagerSystem.c
39 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
40 if the ip4_dest is in a smaller subnet contained within a subnet
41 the machine is currently on, the destination is in the same subnet
42 - (nm_system_device_set_ip4_route): move subnet checks to callers
43 - (add_vpn_gateway_route): check if the VPN gateway is in the same
44 subnet as the parent device, and if so, don't add the direct
45 host route via the parent device's gateway (bgo #481620)
46 - (nm_system_apply_ip4_config): check whether the route to be added
47 is contained within a subnet the device is already on
49 2008-10-11 Dan Williams <dcbw@redhat.com>
51 * include/NetworkManager.h
52 introspection/nm-device.xml
53 include/NetworkManagerVPN.h
54 - Add a few more state reasons for the device deactivated state
56 * src/nm-device-interface.c
57 src/nm-device-interface.h
58 - (nm_device_interface_deactivate): add a 'reason' argument
62 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
63 - (nm_device_state_changed): pass the state change reason to
65 - (nm_device_set_managed): take a 'reason' argument, and pass it along
66 to the state change function
70 - (remove_one_device, handle_unmanaged_devices, sync_devices,
71 impl_manager_sleep): pass a reason code to nm_device_set_managed()
72 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
73 something reasonable along to VPN deactivation
75 * src/vpn-manager/nm-vpn-manager.c
76 src/vpn-manager/nm-vpn-manager.h
77 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
78 pass that along to nm_vpn_connection_disconnect()
80 2008-10-11 Dan Williams <dcbw@redhat.com>
82 * src/nm-device-wifi.c
83 - (can_scan): remove old madwifi hack for not scanning while connected
85 2008-10-11 Dan Williams <dcbw@redhat.com>
87 Add support for VPN subnet gateways (bgo #549196)
89 * include/NetworkManager.h
90 - Add key for internal VPN subnet gateway
92 * src/vpn-manager/nm-vpn-connection.c
93 - (ip_address_to_string): return a const from a static buffer so we
94 don't leak a lot of strings
95 - (print_vpn_config): print internal VPN gateway as well
96 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
98 - (nm_vpn_connection_get_ip4_internal_gateway): new function
100 * src/NetworkManagerSystem.c
101 src/NetworkManagerSystem.h
102 - (nm_system_device_replace_default_ip4_route): split into two, one for
103 VPN connections and one for normal devices
104 - (replace_default_ip4_route): break out route stuff into its own function
105 - (nm_system_replace_default_ip4_route_vpn,
106 nm_system_replace_default_ip4_route): simplify by having two cases,
107 one for VPNs and one for normal devices
109 * src/NetworkManagerPolicy.c
110 - (update_routing_and_dns): simplify, use split default route replacement
113 2008-10-10 Dan Williams <dcbw@redhat.com>
115 Rework default route handling to consolidate decisions in the policy,
116 and to take active VPN connections into account when changing the default
119 * src/NetworkManager.c
120 - (main): pass the vpn_manager to the policy so it knows about active
121 VPN connections; clean up the named manager which wasn't done before
123 * src/NetworkManagerPolicy.c
124 src/NetworkManagerPolicy.h
125 - (nm_policy_new): get a clue about the vpn_manager
126 - (update_default_route): remove, fold into update_routing_and_dns()
127 - (update_routing_and_dns): handle active VPN connections too; an
128 active VPN connection becomes the default route if it does not have
129 server-specified or user-specified custom routes. Otherwise, the
130 best active device gets the default route
131 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
132 nm_policy_destroy): track VPN connection activation and deactivation
133 and update the default route when appropriate
135 * src/NetworkManagerSystem.c
136 src/NetworkManagerSystem.h
137 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
138 in the VPN connection itself
139 - (nm_system_vpn_device_set_from_ip4_config,
140 nm_system_device_set_from_ip4_config): merge together to make
141 nm_system_apply_ip4_config()
142 - (add_vpn_gateway_route): add a route to the VPN's external gateway
143 via the parent device
144 - (nm_system_apply_ip4_config): simplify
145 - (add_ip4_route_to_gateway): new function; add a direct route to the
147 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
148 route stuff out into add_ip4_route_to_gateway() for clarity
151 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
153 * src/vpn-manager/nm-vpn-connection.c
154 src/vpn-manager/nm-vpn-connection.h
155 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
156 nm_vpn_connection_get_parent_device): add
157 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
159 - (connection_state_changed): update the named manager now that
160 nm_system_vpn_device_unset_from_ip4_config() is gone; do something
163 * src/vpn-manager/nm-vpn-manager.c
164 src/vpn-manager/nm-vpn-manager.h
165 - Add a 'connection-activated' signal
166 - (nm_vpn_manager_get_active_connections): new function; mainly for the
167 policy to find out about active VPN connections
169 2008-10-10 Tambet Ingo <tambet@gmail.com>
171 * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
172 a daemon to prevent NM logging spew on console on startup and shutdown (due
173 to dependency loop between NM and syslog).
175 2008-10-10 Alexander Sack <asac@ubuntu.com>
177 Implement managed mode. We bind devices configured in /etc/network/interfaces
178 to their connections by updating wired/wireless setting with the
179 mac address of the device.
181 * system-settings/plugins/ifupdown/plugin.c
182 - (get_net_address_for_udi): implement function to retrieve MAC
183 address of udi from hal in GByteArray format
184 - (bind_device_to_connection): bind mac address of device to
185 wired/wireless system connection
186 - (hal_device_added_cb): call bind_device_to_connection for
187 system connections with a matching interface.name
188 - (hal_device_added_cb): ensure that all code paths
189 properly free the "iface" string.
191 2008-10-10 Alexander Sack <asac@ubuntu.com>
193 Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
194 mode of the ifupdown system config plugin.
196 * system-settings/plugins/ifupdown/plugin.c
197 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
198 private unmanage_well_known state field accordingly
200 2008-10-10 Alexander Sack <asac@ubuntu.com>
202 Implement unmanaged mode that will prevent all devices in the
203 well_known_udis set from being touched by NetworkManager
205 * system-settings/plugins/ifupdown/plugin.c
206 - (typedef struct SCPluginIfupdownPrivate): add gboolean
207 unmanage_well_known field used to turn on/off unmanaged
209 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
210 signal when well_known_udis get added/removed
211 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
212 if we are in unmanaged mode
214 2008-10-10 Alexander Sack <asac@ubuntu.com>
216 Add support to track network devices that have a configuration
217 with a matching interface.name in /etc/network/interfaces
219 * system-settings/plugins/ifupdown/plugin.c
220 - (typedef struct SCPluginIfupdownPrivate): add hash table
221 to track |well_known_udis|
222 - (get_iface_for_udi): helper function to get interface.name
224 - (hal_device_added_cb, hal_device_removed_cb): callbacks
225 that add and remove devices to and from the well_known_udis
226 set depending on whether their |interface.name| matches
227 any interface definition in /etc/network/interfaces
228 - (SCPluginIfupdown_init): connect callbacks from above with
229 hal_mgr and setup well_known_udis hashtable
230 - (GObject__dispose): destroy well_known_udis hashtable
231 - (hal_device_added_cb2): implement wrapper callback with GFunc
232 signature. user_data is supposed to be a triple (hal_mgr,
234 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
235 startup and call hal_device_added_cb2
237 2008-10-10 Alexander Sack <asac@ubuntu.com>
239 Remove implementation for not used NMSystemConfigInterface callback functions
242 * system-settings/plugins/ifupdown/plugin.c
243 - (SCPluginIfupdown_unmanaged_devices_changed): removed
244 - (SCPluginIfupdown_connection_added): removed
246 2008-10-08 Dan Williams <dcbw@redhat.com>
248 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
250 * src/NetworkManagerUtils.c
251 - (nm_utils_call_dispatcher): add a 'hostname' action
253 * src/NetworkManagerPolicy.c
254 - (set_system_hostname): dispatch hostname changes
256 * callouts/nm-dispatcher-action.c
257 - (nm_dispatcher_action): handle 'hostname' actions
259 2008-10-08 Dan Williams <dcbw@redhat.com>
261 * src/NetworkManagerSystem.c
262 - (find_route): ref the route so it doesn't get destroyed when the cache
264 - (nm_system_device_set_priority): unref the route here after it's done
267 2008-10-08 Dan Williams <dcbw@redhat.com>
269 * src/nm-serial-device.c
270 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
272 2008-10-08 Tambet Ingo <tambet@gmail.com>
274 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
275 connection with new settings before saving it.
277 2008-10-06 Dan Williams <dcbw@redhat.com>
279 * src/nm-ip4-config.c
281 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
283 * src/nm-device-interface.c
284 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
285 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
286 by using '/' for the object path
289 - (src/nm-device.c): marshal missing/unexported ip4-config through
290 dbus as '/' since dbus-glib can't handle NULL objects nor can
291 dbus handle NULL object paths
293 2008-10-03 Alexander Sack <asac@ubuntu.com>
295 Implement system hostname support for debian/ubuntu
297 * system-settings/plugins/ifupdown/plugin.c
298 - (GObject__get_property): extend announced capabilities; add
299 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
300 - (GObject__set_property,write_system_hostname): implement
301 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
302 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
303 update_system_hostname, get_hostname):
304 implement hostname property that watches and
307 2008-10-03 Alexander Sack <asac@ubuntu.com>
309 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
310 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
311 system-settings/plugins/ifcfg-fedora/Makefile.am
312 system-settings/src/nm-inotify-helper.c
313 system-settings/src/nm-inotify-helper.h
315 - Move ifcfg-fedora inotify helpers to the system settings service so
316 they are available to all plugins
318 2008-10-03 Alexander Sack <asac@ubuntu.com>
320 Implement support for wep-tx-keyidx in ifupdown system
323 * system-settings/plugins/ifupdown/parser.c
324 - (update_wireless_security_setting_from_if_block): introduce
325 free_type_mapping func table; rename a few local
326 variables to improve readability; add wpa security mapping
327 for wep-tx-keyidx property
328 - (string_to_gpointerint): new function used for the auto_type_mapping
329 of new wep-tx-keyidx property
330 - (slist_free_all): free func used for mapped slist types
332 2008-10-03 Alexander Sack <asac@ubuntu.com>
334 * system-settings/src/main.c:
335 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
336 always used as the hash key; fixes a crash when removing wired
339 2008-10-02 Dan Williams <dcbw@redhat.com>
341 * src/nm-gsm-device.c
342 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
343 pass the required GSM secret along via user_data rather than keeping
344 it around in the private data where it sometimes didn't get cleared
345 - (real_get_ppp_name): implement using the GSM username
347 2008-10-02 Dan Williams <dcbw@redhat.com>
349 * src/ppp-manager/nm-ppp-manager.c
350 src/ppp-manager/nm-ppp-manager.h
351 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
352 the settings daemon for completely new ones
353 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
354 local PPP peer name; allow PPP debuging by launching NM with
355 the environment variable NM_PPP_DEBUG defined
356 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
357 create_pppd_cmd_line()
359 * src/nm-serial-device.c
360 src/nm-serial-device.h
361 - New 'get_ppp_name' function for subclasses to implement to return the
363 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
364 and pass that name to the PPP manager
366 * src/nm-device-ethernet.c
367 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
370 * src/nm-cdma-device.c
371 - (real_get_ppp_name): implement using the CDMA username
373 2008-10-02 Dan Williams <dcbw@redhat.com>
375 Patch from Alexander Sack <asac ubuntu com>
377 * system-settings/plugins/ifupdown/parser.c
378 - Implement more graceful ip4 config parsing for cases where
379 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
380 by using default values
382 2008-10-02 Dan Williams <dcbw@redhat.com>
384 * src/NetworkManagerPolicy.c
385 - (device_state_changed): when marking a connection invalid, clear its
386 secrets too so that fresh secrets get requested the next time
388 2008-10-01 Dan Williams <dcbw@redhat.com>
390 * system-settings/src/dbus-settings.c
391 - (nm_sysconfig_settings_init): cache system hostname on startup as
392 a fallback if no plugin provides a hostname
393 - (get_property): fall back to cached hostname if no plugin provides
396 2008-10-01 Dan Williams <dcbw@redhat.com>
398 Fix setting value comparison issue that caused some settings to look the
399 same when they were really different (rh #464417)
401 * libnm-util/nm-param-spec-specialized.c
402 - (type_is_fixed_size): return fundamental size of the fixed type too
403 - (nm_gvalues_compare_collection): use the fundamental fixed type size
404 in the comparison so that the _entire_ fixed type collection gets
405 compared rather than just the first 'len1' bytes
407 2008-09-30 Dan Williams <dcbw@redhat.com>
409 * src/NetworkManagerPolicy.c
410 - (lookup_thread_worker): don't store the idle handler ID becuase the
411 idle handler could have already run and freed the LookupThread
414 2008-09-30 Tambet Ingo <tambet@gmail.com>
416 * src/nm-device.c (nm_device_get_priority): Implement.
417 (nm_device_set_ip4_config): Send the device priority to system ip4
420 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
421 Add priority argument and if it's >= 0, set the priority of the network
422 route added automatically by netlink (or kernel?).
423 (nm_system_device_set_priority): Implement.
425 * src/NetworkManagerPolicy.c (get_best_device): Use
426 nm_device_get_priority() instead of home-grown version. Revert the
427 meaning, best priority is the lowest one.
429 2008-09-29 Dan Williams <dcbw@redhat.com>
431 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
432 when it returns EAGAIN (rh #362421)
434 * src/nm-device-wifi.c
435 - (wireless_get_range): try GIWRANGE a few times until the card responds
436 - (real_get_generic_capabilities, constructor): use wireless_get_range()
438 2008-09-28 Dan Williams <dcbw@redhat.com>
440 * src/nm-serial-device.c
441 src/nm-serial-device.h
442 - (nm_serial_device_close): stop PPP manager here so that PPP gets
443 cleaned at the right times when subclasses close the serial port too
444 - (nm_serial_device_send_command): use a default send delay; don't
445 spin forever on EAGAIN
446 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
447 remove, no longer used
448 - (find_response): return the matched response if any
449 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
451 - (wait_for_reply_done): pass the matched response to the callback
452 - (wait_for_reply_got_data): save the matched response; simplify timeout
454 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
455 const since they never get modified
456 - (cleanup_device): split out common cleanup stuff to a new function
457 - (real_deactivate_quickly, finalize): use cleanup_device()
459 * src/nm-gsm-device.c
460 - (modem_get_reply): remove, unused
461 - (set_apn): give the card a bit more time to respond
462 - (manual_registration_again, schedule_manual_registration_again,
463 manual_registration_response, manual_registration): handle manual
464 registration timeouts better by retrying registration a few times
465 because cards are a bit slow after CFUN=1
466 - (automatic_registration_get_network, get_network_response): use
467 modem_wait_for_reply() because it interacts better with the serial
468 buffer and does more intelligent matching; need to wait for 'OK'
469 rather than just matching terminators
470 - (schedule_automatic_registration_again,
471 automatic_registration_response, automatic_registration): retry
472 registration a few times on timeout or "searching" because cards
473 take a bit to find a network after being powered up with CFUN=1
474 - (power_up_response, power_up, init_full_done, enter_pin,
475 check_pin_done): power up the card with CFUN=1 before trying to
476 register with the network
477 - (init_modem_full, init_modem): use more standard 3G init strings
479 * src/nm-hso-gsm-device.c
480 - (modem_get_reply): remove, unused
481 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
482 modem_wait_for_reply() to match actual responses instead of single
483 termination characters; it doesn't leave stuff in the serial buffer
484 that might confuse later calls
485 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
486 to ensure that the call is really disconnected and not leave extra
487 stuff in the serial buffer
489 * src/nm-cdma-device.c
490 - (power_up_response, power_up, init_done): try Sierra-style modem
491 power up before attempting to connect
493 2008-09-27 Dan Williams <dcbw@redhat.com>
495 * libnm-util/nm-setting-gsm.c
496 - (verify): verify GSM network ID
498 2008-09-25 Dan Williams <dcbw@redhat.com>
500 * libnm-util/nm-setting-gsm.c
501 libnm-util/nm-setting-gsm.h
502 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
503 technology terms (bgo #551361)
505 2008-09-25 Dan Williams <dcbw@redhat.com>
507 Fix bgo #549401 (inspired by patch from Alexander Sack)
509 * src/nm-device-ethernet.c
510 - (finish_supplicant_task): clean up scheduled tasks and free memory
511 - (remove_supplicant_interface_error_handler): remove the supplicant
512 error idle callback too
513 - (supplicant_interface_release): rename from supplicant_interface_clean
514 to match nm-device-wifi.c; clean up supplicant interface-related
515 state tasks when the supplicant interface is disposed of
516 - (schedule_state_handler): add scheduled tasks to a list so they can
518 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
519 supplicant_iface_connection_state_cb_handler): use
520 finish_supplicant_task() to clean up each completed task
521 - (supplicant_iface_connection_error_cb_handler,
522 supplicant_connection_timeout_cb): clear source id when the task is
524 - (supplicant_iface_connection_error_cb): save scheduled task id for
526 - (nm_device_ethernet_dispose): clean up any pending supplicant state
529 * src/nm-device-wifi.c
530 - (finish_supplicant_task): clean up scheduled tasks and free memory
531 - (remove_supplicant_interface_error_handler): remove the supplicant
532 error idle callback too
533 - (supplicant_interface_release): clean up supplicant interface-related
534 state tasks when the supplicant interface is disposed of
535 - (schedule_state_handler): add scheduled tasks to a list so they can
537 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
538 supplicant_iface_connection_state_cb_handler): use
539 finish_supplicant_task() to clean up each completed task
540 - (supplicant_iface_connection_error_cb_handler): clear source id when
542 - (supplicant_iface_connection_error_cb): save scheduled task id for
544 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
546 2008-09-24 Tambet Ingo <tambet@gmail.com>
548 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
549 method and get/set hostname property.
551 2008-09-24 Tambet Ingo <tambet@gmail.com>
553 * src/supplicant-manager/nm-supplicant-interface.c
554 (nm_supplicant_interface_disconnect): Don't increment the reference
555 count when disconnecting. The problem is on shutdown, when the replies
556 to these commands do not arrive before NM exits, resulting on never
557 calling supplicant interface's dispose(), which removes the interface
560 2008-09-24 Tambet Ingo <tambet@gmail.com>
562 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
563 all the public function arguments.
565 2008-09-22 Tambet Ingo <tambet@gmail.com>
567 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
568 "Failure" signal from VPN plugins, store the failure reason, and
569 use it when the state is changed to failure.
571 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
574 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
575 reason to the end of the list to not break the API.
576 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
577 so it can be shared by plugins and daemon.
579 2008-09-18 Dan Williams <dcbw@redhat.com>
581 Patch from Alexander Sack <asac@ubuntu.com>
584 system-settings/plugins/Makefile.am
585 system-settings/plugins/ifupdown/Makefile.am
586 system-settings/plugins/ifupdown/interface_parser.c
587 system-settings/plugins/ifupdown/interface_parser.h
588 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
589 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
590 system-settings/plugins/ifupdown/parser.c
591 system-settings/plugins/ifupdown/parser.h
592 system-settings/plugins/ifupdown/plugin.c
593 system-settings/plugins/ifupdown/plugin.h
594 - Implement a Debian/Ubuntu legacy network configuration plugin
597 2008-09-18 Dan Williams <dcbw@redhat.com>
599 Implement support for honoring configured and automatic hostnames, and for
600 setting the configured hostname.
602 * introspection/nm-ip4-config.xml
605 src/dhcp-manager/nm-dhcp-manager.c
606 - Remove useless hostname property; it's not really part of the IPv4
609 * introspection/nm-settings-system.xml
610 libnm-glib/nm-dbus-settings-system.c
611 libnm-glib/nm-dbus-settings-system.h
612 - Add SetHostname() call to system settings D-Bus interface
613 - Add Hostname property to system settings D-Bus interface
614 - (nm_dbus_settings_system_save_hostname,
615 nm_dbus_settings_system_get_hostname): implement
619 - (nm_device_get_dhcp4_config): implement
623 - Fetch and track system settings service hostname changes, and proxy
624 the changes via a GObject property of the manager
626 * system-settings/src/nm-system-config-interface.c
627 system-settings/src/nm-system-config-interface.h
628 - Replace nm_system_config_interface_supports_add() with a capabilities
631 * system-settings/src/nm-system-config-error.c
632 system-settings/src/nm-system-config-error.h
633 - Add additional errors
635 * system-settings/src/dbus-settings.c
636 system-settings/src/dbus-settings.h
637 - (get_property, nm_sysconfig_settings_class_init): add hostname
638 property; first plugin returning a hostname wins
639 - (impl_settings_add_connection): use plugin capabilities instead of
640 nm_system_config_interface_supports_add()
641 - (impl_settings_save_hostname): implement hostname saving
643 * src/NetworkManagerPolicy.c
644 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
645 lookup_thread_die): implement an asynchronous hostname lookup thread
646 which given an IPv4 address tries to look up the hostname for that
647 address with reverse DNS
648 - (get_best_device): split out best device code from
649 update_routing_and_dns()
650 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
651 to preserve the 127.0.0.1 reverse mapping that so many things require
652 - (set_system_hostname): set a given hostname
653 - (update_system_hostname): implement hostname policy; a configured
654 hostname (from the system settings service) is used if available,
655 otherwise an automatically determined hostname from DHCP, VPN, etc.
656 If there was no automatically determined hostname, reverse DNS of
657 the best device's IP address will be used, and as a last resort the
658 hostname 'localhost.localdomain' is set.
659 - (update_routing_and_dns): use get_best_device(); update the system
660 hostname when the network config changes
661 - (hostname_changed): update system hostname if the system settings
662 service signals a hostname change
663 - (nm_policy_new): list for system settings service hostname changes
664 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
667 * system-settings/plugins/keyfile/plugin.c
668 system-settings/plugins/ifcfg-suse/plugin.c
669 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
670 capabilities properties
672 * system-settings/plugins/ifcfg-fedora/shvar.c
673 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
674 writes out /etc/sysconfig/network now
676 * system-settings/plugins/ifcfg-fedora/plugin.c
677 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
678 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
679 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
680 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
681 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
682 hostname get/set and capabilities get
684 2008-09-18 Dan Williams <dcbw@redhat.com>
686 * libnm-util/nm-setting-wireless.c
687 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
688 group ciphers if the wireless-security setting explicitly specified
689 them, effectively making the default be "all ciphers" (idea from
692 2008-09-15 Dan Williams <dcbw@redhat.com>
694 Patch from Alexander Sack <asac@ubuntu.com>
696 * src/named-manager/nm-named-manager.c
697 - (dispatch_resolvconf): respect resolvconf exit code
699 2008-09-12 Tambet Ingo <tambet@gmail.com>
701 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
702 again. Add some debugging.
704 2008-09-11 Dan Williams <dcbw@redhat.com>
706 * system-settings/plugins/keyfile/plugin.c
707 - (update_connection_settings): update connection manually, since
708 nm_exported_connection_update() does authentication
709 - (dir_changed): update_connection_settings() doesn't need to return
712 2008-09-09 Dan Williams <dcbw@redhat.com>
714 * libnm-glib/nm-vpn-plugin-ui-interface.c
715 libnm-glib/nm-vpn-plugin-ui-interface.h
716 libnm-glib/libnm_glib_vpn.ver
717 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
718 should clean up resources related to the connection (like keyring
720 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
721 should save user-scope secrets (like to the keyring)
723 2008-09-08 Dan Williams <dcbw@redhat.com>
725 Patch from Alexander Sack <asac@ubuntu.com>
727 * libnm-util/crypto_gnutls.c
728 libnm-util/crypto_nss.c
729 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
731 * libnm-util/nm-utils.c
732 libnm-util/nm-utils.h
733 libnm-util/libnm-util.ver
734 - (nm_utils_init): initialize libnm-util
735 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
737 * libnm-util/nm-setting-8021x.c
738 - (nm_setting_802_1x_class_init): init libnm-util when needed
740 2008-09-05 Dan Williams <dcbw@redhat.com>
742 Patch from Roy Marples <roy@marples.name> and others
745 src/named-manager/nm-named-manager.c
746 - Add support for resolvconf; use --with-resolvconf at configure time
749 2008-09-05 Dan Williams <dcbw@redhat.com>
751 * libnm-util/crypto_nss.c
752 libnm-util/crypto_gnutls.c
754 - (crypto_init): return error when init fails
756 2008-09-05 Dan Williams <dcbw@redhat.com>
758 * libnm-glib/nm-device-wifi.c
759 - (access_point_removed_proxy): clean up the active access point too
760 just in case the active ap changed signal didn't come through yet
761 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
763 2008-09-05 Dan Williams <dcbw@redhat.com>
765 * libnm-glib/nm-client.c
766 - (constructor): get initial state after we know whether NM is running
769 2008-09-05 Dan Williams <dcbw@redhat.com>
771 * libnm-glib/nm-ip4-config.c
772 libnm-glib/nm-dhcp4-config.c
773 - (finalize): clean up the DBusGProxy
775 2008-09-04 Dan Williams <dcbw@redhat.com>
777 * src/nm-ip4-config.c
779 - (nm_ip4_config_new): don't export over D-Bus here
780 - (nm_ip4_config_export): new function; export the config over D-Bus
781 - (nm_ip4_config_is_exported): new function
784 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
785 objects by balancing the IP4Config constructor; the device holds
786 a reference to the IP4Config already
787 - (nm_device_set_ip4_config): export the IP4Config when needed
789 2008-09-04 Dan Williams <dcbw@redhat.com>
791 * src/supplicant-manager/nm-supplicant-settings-verify.c
792 - Allow WPA-NONE key management for Ad-Hoc WPA connections
794 2008-09-04 Dan Williams <dcbw@redhat.com>
796 * libnm-util/nm-setting-vpn.c
797 libnm-util/nm-setting-vpn.h
798 - Split VPN secrets from VPN data so that settings services can actually
799 figure out that they are secrets and store them accordingly
801 * system-settings/plugins/keyfile/nm-keyfile-connection.c
802 system-settings/plugins/keyfile/reader.c
803 system-settings/plugins/keyfile/reader.h
804 system-settings/plugins/keyfile/writer.c
805 - Store VPN secrets separately from VPN data so that they can be fetched
807 - Implement the get_secrets() call so that (a) secrets don't leak out
808 to unprivileged callers, and (b) secrets can be sent to privileged
811 * vpn-daemons/vpnc/src/nm-vpnc-service.c
812 - Handle split VPN secrets
814 2008-08-27 Dan Williams <dcbw@redhat.com>
816 * system-settings/plugins/ifcfg-fedora/reader.c
817 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
819 2008-08-27 Dan Williams <dcbw@redhat.com>
821 Ensure zombie children get cleaned up. To get notifications when children
822 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
823 that requires calling waitpid() yourself if you've removed the child watch
824 handler before the process has actually died, which NM needs to do in a few
825 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
826 cleans up after the child when required. Should fix problems trying to
827 activate mobile broadband connections after a previous failure.
829 * src/dhcp-manager/nm-dhcp-dhclient.c
830 src/dhcp-manager/nm-dhcp-dhcpcd.c
831 - Use G_SPAWN_DO_NOT_REAP_CHILD
833 * src/dhcp-manager/nm-dhcp-manager.c
834 - (nm_dhcp_device_destroy): ensure child is cleaned up
835 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
836 block on child quitting, since the non-blocking functionality was
839 * src/dnsmasq-manager/nm-dnsmasq-manager.c
840 - (dm_watch_cb): child is already reaped here
841 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
844 - (aipd_cleanup): block until child is dead
846 * src/named-manager/nm-named-manager.c
847 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
848 event bothering to watch the child
850 * src/ppp-manager/nm-ppp-manager.c
851 - (ppp_watch_cb): child is already reaped here
852 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
854 * src/vpn-manager/nm-vpn-service.c
855 - (vpn_service_watch_cb): child is already reaped here
856 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
857 status of the child is actually tracked
858 - (ensure_killed, finalize): block until child is dead
860 2008-08-26 Dan Williams <dcbw@redhat.com>
862 * system-settings/plugins/keyfile/nm-keyfile-connection.c
863 - (update): Update filename of the connection if the connection id
866 * system-settings/plugins/keyfile/plugin.c
867 - (dir_changed): first pass at handling connection renames correctly
869 * system-settings/plugins/keyfile/writer.c
870 system-settings/plugins/keyfile/writer.h
871 - (write_connection): replace '/' with '*' when writing out the filename
872 from the connection id
874 2008-08-26 Dan Williams <dcbw@redhat.com>
876 Add connection UUIDs, since connection names can be changed, and since
877 old-style connection IDs could change over the life of the connection. The
878 UUID should be assigned at connection creation time, be stable for a given
879 connection, and should be unique among all connections for a given settings
883 libnm-util/Makefile.am
886 * introspection/nm-exported-connection.xml
887 - Remove "GetID" method
889 * libnm-glib/nm-dbus-connection.c
890 libnm-glib/nm-settings.c
891 libnm-glib/nm-settings.h
892 - Remove id-related stuff
894 * libnm-util/nm-utils.c
895 libnm-util/nm-utils.h
896 libnm-util/libnm-util.ver
897 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
898 utility functions to generate UUIDs
900 * libnm-util/nm-setting-connection.c
901 libnm-util/nm-setting-connection.h
902 - Add 'uuid' member to the connection setting
903 - (verify): require valid 'uuid' for a valid connection
905 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
906 system-settings/plugins/ifcfg-fedora/reader.c
907 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
908 system-settings/plugins/ifcfg-suse/parser.c
909 system-settings/plugins/keyfile/nm-keyfile-connection.c
910 system-settings/src/main.c
911 - Remove id-related stuff
912 - Give connections UUIDs where needed
914 2008-08-25 Dan Williams <dcbw@redhat.com>
916 * libnm-util/crypto_gnutls.c
917 libnm-util/crypto_nss.c
918 - (crypto_init, crypto_deinit): refcount init/deinit
919 - (crypto_md5_hash): allow NULL salt
921 2008-08-22 Michael Biebl <mbiebl@gmail.com>
923 * libnm-glib/Makefile.am
924 libnm-util/Makefile.am
925 libnm-glib/libnm_glib.ver
926 libnm-glib/libnm_glib_vpn.ver
927 libnm-util/libnm-util.ver
928 - Use linker version scripts to control the list of exported
929 symbols. List each exported symbol explicitely.
930 * libnm-util/Makefile.am
931 - Fix compilation of the test-crypto binary. The crypto
932 functions are no longer part of the libnm-util API. Add
933 crypto_*.c to test_crypto_SOURCES and link against the correct
936 2008-08-19 Dan Williams <dcbw@redhat.com>
940 - Don't build test/test-common
941 - Remove unused stuff
943 * test/nm-set-fallback
945 test/test-common/.cvsignore
946 test/test-common/Makefile.am
947 test/test-common/test-common.c
948 test/test-common/test-common.h
951 2008-08-18 Dan Williams <dcbw@redhat.com>
953 * libnm-util/nm-utils.c
954 libnm-util/nm-utils.h
955 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
956 export anything that needs to be converted with this function
958 * src/dhcp-manager/nm-dhcp-manager.c
959 - (garray_to_string): convert a byte array to a UTF-8 string with
960 minimal validation; the DHCP client sends it in ASCII anyway
961 - (get_option, copy_option): use garray_to_string()
963 2008-08-18 Dan Williams <dcbw@redhat.com>
965 * include/NetworkManager.h
966 introspection/nm-device.xml
967 - Add a "missing firmware" device state reason
969 * src/NetworkManagerSystem.c
970 src/NetworkManagerSystem.h
971 - (nm_system_device_set_up_down): add a no_firmware argument
972 - (nm_system_device_set_up_down_with_iface): if the result of setting
973 IFF_UP is ENOENT, that almost always means missing firmware
975 * src/backends/NetworkManagerGeneric.c
976 src/nm-device-ethernet.c
977 src/nm-device-private.h
981 src/nm-hso-gsm-device.c
982 src/vpn-manager/nm-vpn-connection.c
983 - Pass no_firmware along; check it where appropriate
985 2008-08-18 Dan Williams <dcbw@redhat.com>
987 Patch from Robert Buchholz <rbu@gentoo.org>
991 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
992 1003.1-1988, allowing for file names longer than 99 characters
994 2008-08-17 Dan Williams <dcbw@redhat.com>
996 * include/NetworkManager.h
997 introspection/nm-device.xml
999 - Finer-grained GSM registration failure error codes
1001 2008-08-17 Dan Williams <dcbw@redhat.com>
1003 * callouts/Makefile.am
1005 - Move dispatcher directory creation to callouts/Makefile.am
1007 * system-settings/plugins/keyfile/Makefile.am
1008 - Create keyfile connections directory in DESTDIR (bgo #546833)
1010 2008-08-15 Dan Williams <dcbw@redhat.com>
1012 Do connection sharing in a cleaner manner; all required iptables rules
1013 are now stored in the activation request and pertain only to the device
1014 which is being shared to other computers. (rh #458625)
1016 * src/nm-activation-request.c
1017 src/nm-activation-request.h
1018 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1019 the activation request which will get torn down automatically when
1020 the activation request dies
1021 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1022 is started, and tear them down when sharing is stopped
1025 - (start_sharing): start up sharing by doing the required iptables magic
1026 - (share_init): poke the right bits of the kernel and load the right
1028 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1029 connection if it's a 'shared' connection
1031 * src/NetworkManagerPolicy.c
1032 - Remove all sharing stuff; done in the device code itself
1034 2008-08-15 Dan Williams <dcbw@redhat.com>
1036 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1037 - (create_dm_cmd_line): send the right router address
1039 2008-08-15 Dan Williams <dcbw@redhat.com>
1041 * src/ppp-manager/nm-ppp-manager.c
1042 - (pppd_timed_out): ensure timeouts fail the connection
1044 2008-08-14 Dan Williams <dcbw@redhat.com>
1046 * src/nm-properties-changed-signal.c
1047 src/nm-properties-changed-signal.h
1048 - Add a property spec flag for "don't export this property" in
1049 property changed signals
1051 * src/nm-hso-gsm-device.c
1053 src/nm-cdma-device.c
1054 - Don't export monitor interface or netdev interface properties
1056 2008-08-14 Dan Williams <dcbw@redhat.com>
1058 * src/NetworkManagerPolicy.c
1059 - (update_routing_and_dns): 'hso' devices can be default even if they
1060 don't have a gateway
1062 2008-08-14 Dan Williams <dcbw@redhat.com>
1065 - (nm_device_deactivate_quickly): tear down activation request after
1066 calling device-specific deactivation
1068 * src/nm-hso-gsm-device.c
1069 - (real_deactivate_quickly): terminate connection when deactivating
1071 2008-08-14 Dan Williams <dcbw@redhat.com>
1073 * src/nm-activation-request.h
1074 - Add HSO secrets caller
1076 * src/nm-gsm-device.c
1078 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1079 something to the callback function
1080 - (set_apn, set_apn_done): call class dial function, not a static one
1081 - (nm_gsm_device_class_init): add a class 'dial' function
1083 * src/nm-hal-manager.c
1084 - (get_hso_netdev): find the hso-driven hardware's net device
1085 - (modem_device_creator): recognize hso-driven hardware and create the
1086 right type of device object for it
1089 src/nm-hso-gsm-device.c
1090 src/nm-hso-gsm-device.h
1091 - Implement support for devices driven by the 'hso' driver as a subclass
1094 2008-08-14 Dan Williams <dcbw@redhat.com>
1096 * src/NetworkManagerSystem.c
1097 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1098 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1099 success if the operation really was successful
1101 2008-08-14 Dan Williams <dcbw@redhat.com>
1103 * src/nm-netlink-monitor.c
1104 src/nm-netlink-monitor.h
1105 src/nm-device-ethernet.c
1106 - (nm_netlink_monitor_request_status): return an error on failure
1107 - (constructor): don't segfault on missing error
1109 2008-08-13 Dan Williams <dcbw@redhat.com>
1111 * callouts/nm-dispatcher-action.c
1112 - Add IP4 config info to script environment
1114 2008-08-12 Dan Williams <dcbw@redhat.com>
1117 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1118 that want to use DHCP hostnames should use dispatcher scripts
1121 * src/NetworkManagerSystem.h
1122 src/backends/NetworkManagerArch.c
1123 src/backends/NetworkManagerDebian.c
1124 src/backends/NetworkManagerFrugalware.c
1125 src/backends/NetworkManagerGeneric.c
1126 src/backends/NetworkManagerGeneric.h
1127 src/backends/NetworkManagerGentoo.c
1128 src/backends/NetworkManagerMandriva.c
1129 src/backends/NetworkManagerPaldo.c
1130 src/backends/NetworkManagerRedHat.c
1131 src/backends/NetworkManagerSlackware.c
1132 src/backends/NetworkManagerSuSE.c
1133 - Remove nm_system_set_hostname(), no longer used
1135 * src/backends/Makefile.am
1136 src/backends/shvar.c
1137 src/backends/shvar.h
1138 - Remove shvar.*; no longer used
1140 2008-08-12 Dan Williams <dcbw@redhat.com>
1142 Revert most of the 'hostname' patch. Too much stuff still breaks when
1143 hostname is updated at runtime. Distros or users who want hostname updates
1144 can use dispatcher scripts to update the hostname if they need it.
1146 2008-08-12 Dan Williams <dcbw@redhat.com>
1148 * introspection/nm-settings-system.xml
1149 system-settings/src/dbus-settings.c
1150 system-settings/src/dbus-settings.h
1151 - Add a 'Hostname' property (rw) which represents the configured
1152 hostname and domain of the system, if any
1154 * system-settings/src/nm-system-config-error.c
1155 system-settings/src/nm-system-config-error.h
1156 system-settings/src/nm-system-config-interface.c
1157 system-settings/src/nm-system-config-interface.h
1158 - Add a 'hostname' property to the plugin interface
1159 - Add a method to send updated hostname to plugins to save in their
1160 backing configuration store
1162 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1163 system-settings/plugins/keyfile/plugin.c
1164 system-settings/plugins/keyfile/writer.c
1165 system-settings/plugins/keyfile/writer.h
1166 system-settings/plugins/ifcfg-suse/plugin.c
1167 - Add minimal hostname support
1169 * system-settings/plugins/ifcfg-fedora/plugin.c
1170 - Add support for updating system hostname in /etc/sysconfig/network
1172 2008-08-12 Dan Williams <dcbw@redhat.com>
1174 * system-settings/plugins/ifcfg-fedora/shvar.c
1175 system-settings/plugins/ifcfg-fedora/shvar.c
1176 - Fix double-free caused by svSetValue() followed by svCloseFile()
1178 2008-08-12 Tambet Ingo <tambet@gmail.com>
1180 * Makefile.am: Fix distcheck.
1182 2008-08-12 Tambet Ingo <tambet@gmail.com>
1184 * libnm-glib/*.c. Document some more.
1186 2008-08-12 Tambet Ingo <tambet@gmail.com>
1188 Start documenting libnm-glib public API using gtk-doc.
1190 * libnm-glib/nm-serial-device.c:
1191 * libnm-glib/nm-object.c:
1192 * libnm-glib/nm-gsm-device.c:
1193 * libnm-glib/nm-device.c:
1194 * libnm-glib/nm-device-wifi.c:
1195 * libnm-glib/nm-device-ethernet.c:
1196 * libnm-glib/nm-client.c:
1197 * libnm-glib/nm-cdma-device.c: Document the public API.
1199 * docs/libnm-glib/libnm-glib.types: Implement.
1201 * docs/libnm-glib/Makefile.am: Implement.
1205 * Makefile.am: Add gtk-doc support.
1207 2008-08-12 Tambet Ingo <tambet@gmail.com>
1209 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1211 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1212 the composite result of all the IP4 configurations and call a distro
1213 specific update_resolv_conf().
1214 (update_resolv_conf): Implement one for directly writing to
1215 /etc/resolv.conf and one for opensuse to call netconfig.
1217 2008-08-11 Dan Williams <dcbw@redhat.com>
1219 * src/ppp-manager/nm-ppp-manager.c
1220 - (impl_ppp_manager_need_secrets): pass interface as required
1222 2008-08-11 Dan Williams <dcbw@redhat.com>
1224 Merge the vpn-properties setting with the vpn setting since it was pointless
1225 to keep both of them around. Convert the vpn 'data' hash table to a hash
1226 of string:string (instead of string:variant) so that system settings plugins
1227 can have an easier time dealing with the arbitrary key/value pairs.
1229 2008-08-11 Dan Williams <dcbw@redhat.com>
1231 * libnm-util/nm-utils.c
1232 - (nm_utils_register_value_transformations): add value transform for
1233 a hash table of string:string
1235 2008-08-10 Dan Williams <dcbw@redhat.com>
1237 * libnm-glib/nm-vpn-plugin.c
1238 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1239 an idle handler so the Connect reply gets delivered before the
1240 stop StateChanged signal
1242 2008-08-10 Dan Williams <dcbw@redhat.com>
1244 * src/nm-ip4-config.c
1245 - (get_property): use common ip4 address/route conversion functions
1246 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1247 copy the new route here, not take ownership
1249 2008-08-08 Tambet Ingo <tambet@gmail.com>
1251 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1252 Update the IP4 setting's method name.
1254 2008-08-07 Dan Williams <dcbw@redhat.com>
1256 * introspection/nm-ip4-config.xml
1257 libnm-glib/libnm-glib-test.c
1258 libnm-glib/nm-ip4-config.c
1259 libnm-glib/nm-ip4-config.h
1260 src/NetworkManagerSystem.h
1261 src/backends/NetworkManagerArch.c
1262 src/backends/NetworkManagerDebian.c
1263 src/backends/NetworkManagerFrugalware.c
1264 src/backends/NetworkManagerGeneric.c
1265 src/backends/NetworkManagerGeneric.h
1266 src/backends/NetworkManagerGentoo.c
1267 src/backends/NetworkManagerMandriva.c
1268 src/backends/NetworkManagerPaldo.c
1269 src/backends/NetworkManagerRedHat.c
1270 src/backends/NetworkManagerSlackware.c
1271 src/backends/NetworkManagerSuSE.c
1272 src/dhcp-manager/nm-dhcp-manager.c
1276 - Remove NIS logic; should be done from dispatcher scripts instead
1278 2008-08-07 Dan Williams <dcbw@redhat.com>
1280 * src/dhcp-manager/nm-dhcp-manager.c
1281 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1282 mis-handling of DHCP responses that returned more than one router
1283 (found by Grant Williamson)
1285 2008-08-07 Dan Williams <dcbw@redhat.com>
1287 * callouts/nm-dispatcher-action.c
1288 - (nm_dispatcher_action): grab device path and create the device; pass
1289 the device's DHCP4 config to script caller
1290 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1293 * libnm-glib/nm-dhcp4-config.c
1294 libnm-glib/nm-dhcp4-config.h
1295 - (nm_dhcp4_config_get_options): expose
1296 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1298 2008-08-07 Dan Williams <dcbw@redhat.com>
1300 * include/NetworkManager.h
1301 - Add the DHCP4Config D-Bus interface
1303 * libnm-glib/Makefile.am
1304 libnm-glib/nm-dhcp4-config.c
1305 libnm-glib/nm-dhcp4-config.h
1306 - Handle DHCP4 config objects exported by NM over D-Bus
1308 * libnm-glib/nm-device.c
1309 libnm-glib/nm-device.h
1310 - Add a 'dhcp4-config' property
1312 * libnm-glib/libnm-glib-test.c
1313 - Print out DHCP4 config for devices
1314 - Fix some crashes when no connections are active
1316 * src/nm-device-interface.c
1318 src/nm-dhcp4-config.c
1319 src/nm-dhcp4-config.h
1320 - Treat dhcp4-config object as an object path at the D-Bus interface so
1321 that when it doesn't exist we can proxy it as "/" which dbus-glib
1322 doesn't let us do when the property type is G_TYPE_OBJECT
1324 2008-08-07 Dan Williams <dcbw@redhat.com>
1326 * src/NetworkManager.c
1327 src/NetworkManagerSystem.h
1328 src/backends/NetworkManagerArch.c
1329 src/backends/NetworkManagerDebian.c
1330 src/backends/NetworkManagerFrugalware.c
1331 src/backends/NetworkManagerGeneric.c
1332 src/backends/NetworkManagerGeneric.h
1333 src/backends/NetworkManagerGentoo.c
1334 src/backends/NetworkManagerMandriva.c
1335 src/backends/NetworkManagerPaldo.c
1336 src/backends/NetworkManagerRedHat.c
1337 src/backends/NetworkManagerSlackware.c
1338 src/backends/NetworkManagerSuSE.c
1339 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1341 2008-08-06 Dan Williams <dcbw@redhat.com>
1343 * libnm-glib/nm-ip4-config.c
1344 libnm-glib/nm-ip4-config.h
1345 - Add 'routes' property
1347 * libnm-util/nm-setting-vpn.c
1348 libnm-util/nm-setting-vpn.h
1349 - Remove 'routes' property
1351 * libnm-util/nm-setting-ip4-config.c
1352 libnm-util/nm-setting-ip4-config.h
1353 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1354 - Add 'ignore-auto-routes' property
1355 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
1356 accomodate route metrics
1357 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1359 * libnm-util/nm-utils.c
1360 libnm-util/nm-utils.h
1361 - Add helpers for marshalling IP4 routes
1363 * src/NetworkManagerUtils.c
1364 - (nm_utils_merge_ip4_config): handle property renames and new route
1367 * src/NetworkManagerSystem.c
1368 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1369 nm_system_vpn_device_set_from_ip4_config): respect route metrics
1371 * src/dhcp-manager/nm-dhcp-manager.c
1372 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1374 * system-settings/plugins/ifcfg-fedora/reader.c
1375 system-settings/plugins/ifcfg-fedora/writer.c
1376 - Handle routes separately from addresses now that routes have a different
1379 * introspection/nm-ip4-config.xml
1382 - Rename internal routing functions
1383 - 'static-routes' renamed to 'routes'
1385 2008-08-04 Dan Williams <dcbw@redhat.com>
1387 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1389 * src/NetworkManager.c
1392 - More explicitly make the NMManager a singleton
1394 2008-08-04 Dan Williams <dcbw@redhat.com>
1396 * libnm-util/nm-connection.c
1397 libnm-util/nm-connection.h
1398 - (nm_connection_verify): return error on missing 'connection' setting
1399 (found by Sjoerd Simons)
1401 2008-08-04 Dan Williams <dcbw@redhat.com>
1403 Handle multiple concurrent PPP connections.
1405 * src/ppp-manager/nm-ppp-manager.c
1406 src/ppp-manager/nm-ppp-manager.h
1407 - (constructor): only PPP Manager request bus name once; each
1408 NMPPPManager object gets a unique object path
1409 - (nm_ppp_manager_class_init, get_property, set_property,
1410 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1412 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1413 remove timeout until PPP manager gets an IP4 config
1414 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1415 the plugin can call back to this specific PPP manager instance
1417 * src/nm-device-ethernet.c
1418 src/nm-serial-device.c
1419 - Pass parent device in nm_ppp_manager_new()
1421 * src/nm-gsm-device.c
1422 src/nm-cdma-device.c
1423 - (device_state_changed): don't close serial device on NEED_AUTH
1424 state changed, that's not a failure case like the rest are
1426 * src/ppp-manager/nm-pppd-plugin.c
1427 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1428 binds one interface to any pppd process, thus the correct index
1429 is always 0; send PHASE_DEAD on error to alert NM immediately of
1430 problems; try harder to get a peer address in spite of pppd
1431 - (plugin_init): use 'ipparam' as the object path back to our specific
1432 PPP manager instance
1434 2008-08-04 Dan Williams <dcbw@redhat.com>
1436 * src/ppp-manager/nm-ppp-manager.c
1437 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1438 since the GSM and CDMA settings now implement need_secrets, we can
1439 rely on them to do the right thing. Where secrets are not required,
1440 just pass empty strings back to the pppd plugin.
1441 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1442 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1443 on successful IP4 config receipt
1445 2008-08-04 Dan Williams <dcbw@redhat.com>
1447 * libnm-util/nm-setting-cdma.c
1448 libnm-util/nm-setting-gsm.c
1449 - (verify): validate username & password if they exist
1450 - (need_secrets): if username given, require a password too
1452 2008-08-04 Dan Williams <dcbw@redhat.com>
1454 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1455 - (create_dm_cmd_line): really don't listen on lo, despite what the
1456 manpage says about --listen-address without --interface
1459 2008-08-01 Dan Williams <dcbw@redhat.com>
1461 * libnm-glib/nm-device.c
1462 - (proxy_get_string): util function for querying a HAL property
1463 - (get_ancestor_device): split out from get_product_and_vendor()
1464 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1465 from PCI devices by querying subsys properties
1466 - (nm_device_update_description): simplify
1468 2008-08-01 Dan Williams <dcbw@redhat.com>
1470 * libnm-util/nm-setting-ip4-config.c
1471 libnm-util/nm-setting-ip4-config.h
1472 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1473 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
1474 settings, and they don't necessarily use DHCP.
1476 * src/NetworkManagerPolicy.c
1478 system-settings/plugins/ifcfg-fedora/reader.c
1479 system-settings/plugins/ifcfg-suse/parser.c
1480 - Fixup for method changes
1482 2008-07-31 Dan Williams <dcbw@redhat.com>
1484 * src/nm-activation-request.c
1485 src/vpn-manager/nm-vpn-connection.c
1486 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1487 itself should be attached to the activation request or the VPN
1488 connection, not the NMConnection object, since the call is not
1489 expected to live as long as the NMConnection itself
1491 2008-07-31 Dan Williams <dcbw@redhat.com>
1493 * src/nm-device-wifi.c
1494 - (real_act_stage2_config): fix issue where association would continue
1495 even though secrets were needed; 'goto out' was in wrong scope and
1496 result of handle_auth_or_fail() should have been dumped directly to
1497 'ret' to ensure that the association was postponed until secrets
1500 2008-07-31 Dan Williams <dcbw@redhat.com>
1502 * system-settings/plugins/ifcfg-fedora/plugin.c
1503 system-settings/plugins/ifcfg-fedora/reader.c
1504 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1507 2008-07-29 Dan Williams <dcbw@redhat.com>
1509 * src/nm-gsm-device.c
1510 - (automatic_registration_response, automatic_registration): recognize
1511 denied registration and reorder responses
1513 2008-07-29 Dan Williams <dcbw@redhat.com>
1515 * src/nm-serial-device.c
1516 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
1517 time(2) is used for current time, which returns seconds, we shouldn't
1518 be multiplying by 1000.
1520 2008-07-28 Dan Williams <dcbw@redhat.com>
1522 Patch from Fabrice Bellet <fabrice@bellet.info>
1524 * src/NetworkManagerSystem.c
1525 - (route_in_same_subnet): mask addresses and compare them so that the
1526 function actually does what it says it's going to do (rh #456685)
1528 2008-07-27 Dan Williams <dcbw@redhat.com>
1530 * libnm-util/nm-setting-ip6-config.c
1531 - (set_property): add missing break that caused routes to be overwritten
1534 * libnm-util/nm-setting-ip6-config.c
1535 - (verify): validate routes and return GError everywhere on invalid setting
1536 - (finalize): don't leak routes
1537 - (set_property): add missing break that caused routes to be overwritten
1540 2008-07-27 Dan Williams <dcbw@redhat.com>
1543 - Relicense to LGPLv2+
1545 2008-07-27 Dan Williams <dcbw@redhat.com>
1547 * system-settings/plugins/ifcfg-fedora/reader.c
1548 - (make_ip4_setting): fix parsing automatic configs
1550 2008-07-27 Dan Williams <dcbw@redhat.com>
1552 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1554 src/ppp-manager/nm-ppp-manager.c
1555 - Ensure child process gets reaped. The child watch function may be
1556 removed from the mainloop before the child gets killed, so we have
1557 to make sure the child is reaped when it's told to die intentionally
1559 2008-07-27 Dan Williams <dcbw@redhat.com>
1561 Patch from Roy Marples <roy@marples.name>
1563 * src/dhcp-manager/nm-dhcp-dhcpcd.c
1564 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1566 2008-07-27 Dan Williams <dcbw@redhat.com>
1568 * src/nm-gsm-device.c
1569 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1570 Huawei devices turn echo back on after CPIN (rh #456770)
1572 2008-07-24 Tambet Ingo <tambet@gmail.com>
1574 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1575 format argument to g_set_error() call.
1577 * src/backends/interface_parser.[ch]: Remove.
1579 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1581 2008-07-21 Dan Williams <dcbw@redhat.com>
1583 * src/ppp-manager/nm-ppp-manager.c
1584 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1585 to prevent pppd from picking up some random local address from an
1586 interface that doesn't have anything to do with the one we're
1587 interested in (rh #455348)
1589 2008-07-17 Dan Williams <dcbw@redhat.com>
1591 * libnm-util/nm-utils.c
1592 - (string_to_utf8): general function for conversion to UTF-8 assisted
1594 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1595 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1597 2008-07-17 Dan Williams <dcbw@redhat.com>
1599 * introspection/Makefile.am
1600 introspection/nm-device.xml
1601 introspection/nm-dhcp4-config.xml
1602 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1604 * src/nm-device-interface.c
1605 src/nm-device-interface.h
1606 - Add the DHCP4Config property
1609 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1610 D-Bus clients when it changes
1612 * src/nm-dhcp4-config.c
1613 src/nm-dhcp4-config.h
1614 - Simple object to store DHCP4 options, export them over D-Bus, and
1615 notify when they change
1617 * src/dhcp-manager/nm-dhcp-manager.c
1618 src/dhcp-manager/nm-dhcp-manager.h
1619 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1620 filter server-returned DHCP options into an NMDHCP4Config object
1622 2008-07-16 Dan Williams <dcbw@redhat.com>
1624 * introspection/nm-device.xml
1625 - Add device state reasons
1627 2008-07-16 Dan Williams <dcbw@redhat.com>
1629 Patch from Roy Marples <roy@marples.name>
1632 - Add --with-dhcp-client option
1634 * src/dhcp-manager/Makefile.am
1635 - pass DHCP_CLIENT_PATH on compile line
1637 * src/dhcp-manager/nm-dhcp-manager.c
1638 src/dhcp-manager/nm-dhcp-manager.h
1639 - Genericize for both dhcpcd and dhclient
1641 * src/dhcp-manager/nm-dhcp-dhclient.c
1642 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1644 * src/dhcp-manager/nm-dhcp-dhcpcd.c
1645 - Implement support for dhcpcd too
1647 2008-07-16 Tambet Ingo <tambet@gmail.com>
1649 * system-settings/src/nm-system-config-interface.c
1650 (nm_system_config_interface_supports_add): Implement.
1651 (nm_system_config_interface_add_connection): Return a boolean to notify
1654 * system-settings/src/nm-polkit-helpers.c:
1655 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1658 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1659 Return an error when none of the plugins support add or if addition
1660 failed for some reason.
1662 * system-settings/src/nm-system-config-error.h:
1663 * system-settings/src/nm-system-config-error.c: New files, mostly moved
1664 here from nm-polkit-helpers.[ch].
1666 * system-settings/src/Makefile.am: Build new files.
1668 * system-settings/plugins/keyfile/reader.c
1669 (read_array_of_array_of_uint): Make it more general so that it would
1670 work for routes as well.
1672 * system-settings/plugins/keyfile/writer.c
1673 (write_array_of_array_of_uint): Ditto.
1674 Fix the netmask/prefix writing.
1676 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
1677 boolean to notify errors.
1679 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
1680 Return more specific error.
1683 2008-07-11 Dan Williams <dcbw@redhat.com>
1685 Modify the NMDevice::state-changed signal to include the previous state
1686 and reason. Enables the applet to provide more information why device
1689 2008-07-09 Dan Williams <dcbw@redhat.com>
1691 * callouts/Makefile.am
1692 callouts/nm-avahi-autoipd-action.c
1693 callouts/nm-avahi-autoipd.conf
1694 - avahi-autoipd callout to send options back to NM
1701 src/nm-device-private.h
1703 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
1706 2008-07-07 Dan Williams <dcbw@redhat.com>
1708 * system-settings/plugins/ifcfg-fedora/reader.c
1709 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
1710 handle PREFIX too; clean up
1712 2008-07-07 Dan Williams <dcbw@redhat.com>
1714 Convert to using IPv4 prefixes instead of netmasks.
1716 2008-07-03 Dan Williams <dcbw@redhat.com>
1718 * libnm-util/nm-setting-ip4-config.c
1719 libnm-util/nm-setting-ip4-config.h
1720 - Add properties for DHCP Client Identifier and DHCP Hostname
1722 * src/dhcp-manager/nm-dhcp-manager.c
1723 src/dhcp-manager/nm-dhcp-manager.h
1724 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
1725 setting as an argument to pass on to the dhclient config file
1727 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
1729 - (dhclient_run): punt config file handling to create_dhclient_config()
1730 - (create_dhclient_config): create an interface-specific dhclient
1731 config file since there may need to be interface-specific options
1733 - (merge_dhclient_config): merge normal distro dhclient config file and
1734 add options from the connection
1735 - (nm_dhcp_device_new): generate the interface specific dhclient
1736 config file path once
1737 - (nm_dhcp_device_destroy): handle partially initialized objects; free
1738 dhclient config file path
1741 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
1742 DHCP manager when starting DHCP
1744 2008-07-02 Dan Williams <dcbw@redhat.com>
1746 * libnm-util/nm-setting-8021x.c
1747 - (verify): allow forcing the PEAP label to 0
1749 2008-07-02 Dan Williams <dcbw@redhat.com>
1751 * introspection/nm-active-connection.xml
1752 introspection/nm-vpn-connection.xml
1753 libnm-glib/nm-active-connection.c
1754 src/nm-activation-request.c
1755 src/nm-active-connection.h
1756 src/vpn-manager/nm-vpn-connection.c
1757 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
1758 and libnm-glib API since sharing didn't get implemented that way
1760 2008-07-02 Dan Williams <dcbw@redhat.com>
1762 * src/nm-device-wifi.c
1763 - (can_scan): don't scan when a shared connection is activated since
1764 that makes drivers mad (causing disconnects); also NM doesn't need
1765 to hedge against disconnects by keeping up-to-date network topology
1766 because the connection originates from the local machine, and thus
1767 there should be no disconnects
1769 2008-07-01 Dan Williams <dcbw@redhat.com>
1771 Fix mobile broadband username/password issues. NM was never requesting
1772 mobile broadband secrets, nor was it passing back the username and password
1775 * marshallers/nm-marshal.list
1776 - Add some new types for activation request objects
1778 * src/nm-activation-request.c
1779 src/nm-activation-request.h
1780 - (get_secrets_cb): pass the caller type in the signal
1781 - (nm_act_request_request_connection_secrets): take a caller type, so
1782 that GetSecrets() reply handlers know who asked for the secrets in
1783 the first place; use secret hints too so the settings service can
1784 figure out exactly what NM wants (ie, PIN or the PPP password)
1786 * src/ppp-manager/nm-ppp-manager.c
1787 src/ppp-manager/nm-ppp-manager.h
1788 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
1789 detect needed secrets when the secret could be blank, like GSM/CDMA
1790 passwords. So always ask for secrets, and send a hint as to what
1791 secret we really want.
1792 - (nm_ppp_manager_update_secrets): make function more generic by making
1793 the device specific class figure out the username and password, and
1794 accept an error argument to return back over D-Bus
1796 * src/nm-device-wifi.c
1797 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1798 nm_act_request_request_connection_secrets()
1799 - (real_connection_secrets_updated): update for 'caller' changes
1803 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
1804 for 'caller' changes
1806 * src/nm-device-ethernet.c
1807 - (real_connection_secrets_updated): update for 'caller' changes and
1808 move logic for getting PPPoE username and password here before
1809 calling nm_ppp_manager_update_secrets()
1810 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1811 nm_act_request_request_connection_secrets()
1813 * src/nm-cdma-device.c
1814 - (real_connection_secrets_updated): pass username and password back
1815 to the PPP manager when required
1817 * src/nm-gsm-device.c
1818 - (enter_pin): send the required secret name to the settings service
1819 - (real_connection_secrets_updated): pass username and password back
1820 to the PPP manager when required
1822 2008-06-30 Dan Williams <dcbw@redhat.com>
1824 * src/nm-device-wifi.c
1825 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
1827 2008-06-30 Dan Williams <dcbw@redhat.com>
1829 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
1830 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
1831 priv->supplicant.iface. When either condition is false, the device should
1832 transition back to UNAVAILABLE because it cannot be used.
1834 * src/nm-device-wifi.c
1835 - (constructor): cleanup; connect to supplicant manager here since the
1836 supplicant manager is always around
1837 - (supplicant_interface_acquire): rename from init_supplicant_interface,
1838 ensure the supplicant manager is in the IDLE state
1839 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
1840 cancel any pending scans too
1841 - (real_bring_up): don't set up the supplicnat interface here, because
1842 we need the supplicant interface at times when the device may not
1844 - (real_take_down): just remove the periodic source
1845 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
1846 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
1847 do anything if there's no supplicant interface
1848 - (cleanup_association_attempt): cleanup
1849 - (supplicant_iface_state_cb_handler): request an immediate scan when
1850 the interface enters the READY state; transition to UNAVAILABLE
1851 state when the interface goes down because the device can't be used
1852 without a supplicant interface
1853 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
1854 up and transition to UNAVAILABLE; if the supplicant becomes ready,
1855 acquire the supplicant interface and transition to DISCONNECTED
1856 if the radio isn't killed
1857 - (nm_device_wifi_dispose): move most of device_cleanup() here
1858 - (state_changed_cb): release any existing supplicant interface; if the
1859 radio is enabled then try to acquire a new supplicant interface;
1860 if the radio is enabled and a supplicant interface has been acquired,
1861 we can transition to DISCONNECTED
1862 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
1863 don't enable the radio, because HAL probably lied to us about the
1864 killswitch being off. If bringing the hardware up worked, then
1865 try to grab a supplicant interface, and if that was successful,
1866 transition to DISCONNECTED
1868 2008-06-30 Dan Williams <dcbw@redhat.com>
1870 * src/supplicant-manager/nm-supplicant-interface.c
1871 - (request_scan_results, nm_supplicant_interface_dispose,
1872 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
1873 the id of the timeout, not a GSource
1875 2008-06-30 Tambet Ingo <tambet@gmail.com>
1877 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
1878 bunch of typoes introduced by "Patch from David Cantrell
1879 <dcantrell@redhat.com> and me".
1881 2008-06-30 Tambet Ingo <tambet@gmail.com>
1883 * src/nm-serial-device.c:
1884 * src/nm-gsm-device.c:
1885 * src/nm-cdma-device.c: Move the pending call handling to a common location
1886 in serial device. Handle setting device state to failed in one place as well.
1888 2008-06-29 Dan Williams <dcbw@redhat.com>
1890 * src/nm-hal-manager.c
1891 - Rework killswitch handling to query killswitch status immediately
1892 when the first killswitch is added, so that rfkill state is
1893 known as early as possible
1894 - Also treat failure of GetPower() as rfkill when the dbus method
1895 call times out (but not when the HAL callout returns an error)
1897 2008-06-26 Dan Williams <dcbw@redhat.com>
1899 Patch from David Cantrell <dcantrell@redhat.com> and me
1901 * include/nm-dbus-glib-types.h
1902 - Add IP6 address types
1904 * libnm-util/Makefile.am
1905 libnm-util/nm-setting-ip6-config.c
1906 libnm-util/nm-setting-ip6-config.h
1907 - Add IP6 settings object
1909 * libnm-util/nm-connection.c
1910 - (register_default_settings): register ip6 settings object
1912 * libnm-util/nm-utils.c
1913 libnm-util/nm-utils.h
1914 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
1915 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
1916 ip6 address conversion functions
1918 2008-06-26 Dan Williams <dcbw@redhat.com>
1920 Patch from David Cantrell <dcantrell@redhat.com>
1922 * Use inet_ntop() and inet_pton() everwhere and check for errors
1924 2008-06-26 Dan Williams <dcbw@redhat.com>
1926 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
1928 2008-06-26 Dan Williams <dcbw@redhat.com>
1930 Patch from Adel Gadllah <adel.gadllah@gmail.com>
1932 * src/nm-device-wifi.c
1933 - (link_timeout_cb): don't ignore disconnects due to scanning
1934 - (supplicant_iface_connection_state_cb_handler): instead, schedule
1935 a longer timeout when scanning; avoids case where supplicant can't
1936 find the AP and just keeps scanning forever but isn't connected
1938 2008-06-26 Dan Williams <dcbw@redhat.com>
1940 Patch from Michael Biebl <biebl@debian.org>
1942 * Clean up build system stuff
1944 2008-06-23 Christian Persch <chpe@gnome.org>
1946 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
1947 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
1948 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
1950 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
1952 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
1953 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
1954 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
1956 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
1957 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
1958 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
1959 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
1960 * vpn-daemons/pptp/properties/vpnui_opt.c:
1961 (vpnui_opt_connect_signals):
1962 * vpn-daemons/pptp/properties/vpnui_opt.h:
1963 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
1964 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
1965 deprecated gtk type macros. Bug #539325.
1967 2008-06-20 Dan Williams <dcbw@redhat.com>
1969 * libnm-glib/nm-vpn-plugin-ui-interface.c
1970 libnm-glib/nm-vpn-plugin-ui-interface.h
1971 - 'validity-changed' -> 'changed' to work better with the connection
1972 editor. Plugin UI widgets should emit 'changed' whenever their
1973 UI values change in a meaningful way.
1974 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
1975 update_connection member now returns validity of the UI widget
1977 2008-06-20 Tambet Ingo <tambet@gmail.com>
1979 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
1981 2008-06-17 Dan Williams <dcbw@redhat.com>
1983 * libnm-glib/nm-vpn-plugin-ui-interface.c
1984 libnm-glib/nm-vpn-plugin-ui-interface.h
1985 - Add "desc" property for longer descriptions of the VPN plugin
1987 2008-06-16 Dan Williams <dcbw@redhat.com>
1990 libnm-glib/libnm_glib_vpn.pc.in
1991 - add a .pc file for libnm_glib_vpn
1993 * libnm-glib/nm-vpn-plugin-ui-interface.c
1994 libnm-glib/nm-vpn-plugin-ui-interface.h
1995 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
1996 rework it substantially
1998 2008-06-12 Dan Williams <dcbw@redhat.com>
2000 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2001 and add error enums to each NMSetting subclass. Each NMSetting subclass now
2002 returns a descriptive GError when verification fails.
2004 2008-06-11 Dan Williams <dcbw@redhat.com>
2006 Patch from Tambet Ingo <tambet@gmail.com>
2008 * libnm-util/nm-setting-gsm.c
2009 - (verify): validate APN
2011 * src/nm-gsm-device.c
2012 - (manual_registration_done): start setting APN if needed
2013 - (set_apn, set_apn_done): set the APN
2014 - (do_dial): use the APN when dialing
2016 2008-06-11 Dan Williams <dcbw@redhat.com>
2018 * src/NetworkManagerSystem.c
2019 - (nm_system_device_set_ip4_route,
2020 nm_system_device_replace_default_ip4_route): check for the right
2021 return value from rtnl_route_add() to know when to add a gateway
2024 2008-06-11 Dan Williams <dcbw@redhat.com>
2026 * src/NetworkManagerPolicy.c
2027 - do_ipt_cmd -> do_cmd
2028 - (sharing_init): use do_cmd() instead of system()
2030 2008-06-10 Dan Williams <dcbw@redhat.com>
2032 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
2033 and use "wifi" everwhere instead.
2035 2008-06-10 Dan Williams <dcbw@redhat.com>
2037 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
2039 2008-06-10 Dan Williams <dcbw@redhat.com>
2041 Patch from Tambet Ingo <tambet@gmail.com>
2043 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2046 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2047 a signal to emit these changes over dbus.
2049 * src/Makefile.am: Genereate nm-serial-device-glue.
2051 * libnm-glib/nm-serial-device.[ch]: Implement.
2053 * libnm-glib/nm-cdma-device.[ch]
2054 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2056 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2058 * introspection/nm-device-serial.xml: Implement.
2060 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2062 * introspection/Makefile.am: Add nm-device-serial.xml.
2064 * include/NetworkManager.h: Add a DBus interface for serial device.
2066 2008-06-10 Dan Williams <dcbw@redhat.com>
2069 - Add TARGET_* define to config.h to distinguish distros
2071 * src/dhcp-manager/nm-dhcp-manager.c
2072 - (dhclient_run): use distro-specific path for dhclient config file
2074 2008-06-09 Dan Williams <dcbw@redhat.com>
2076 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2077 src/dnsmasq-manager/nm-dnsmasq-manager.h
2078 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2079 calculate the addresses passed to dnsmasq instead of hard-coding
2083 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2084 IP addresses for shared connections to guard against shared
2085 connection address collisions
2086 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2088 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2091 2008-06-09 Dan Williams <dcbw@redhat.com>
2093 * src/NetworkManagerPolicy.c
2094 - (update_routing_and_dns): set the default connection _after_ unsetting
2095 default on all non-default connections so that two connections can
2096 never be default at the same time
2097 - (device_state_changed): start and stop connection sharing when
2099 - (active_connection_default_changed): restart or stop sharing when
2100 the default connection changes to keep shared connections always
2101 NAT-ed through the default connection
2102 - (check_sharing): handle activation/deactivation of shared connections
2103 - (sharing_restart): atom-bomb approach to connection sharing until we
2104 can use libnl; reinit all sharing when the default connection or
2105 shared connections change
2106 - (sharing_init, sharing_stop): evil functions that init and deinit
2109 2008-06-09 Dan Williams <dcbw@redhat.com>
2111 * src/nm-activation-request.c
2112 src/nm-activation-request.h
2113 - (nm_act_request_set_shared, nm_act_request_get_shared,
2114 nm_act_request_get_device): new functions to facilitate connection
2117 2008-06-09 Dan Williams <dcbw@redhat.com>
2120 - (clear_act_request): unset the 'default' property of the activation
2121 request when clearing it to ensure the property changed signal gets
2122 delivered and handled
2124 2008-06-09 Dan Williams <dcbw@redhat.com>
2126 * libnm-glib/nm-device-802-11-wireless.c
2127 - (access_point_removed_proxy): actually unref the AP after removing
2128 it from the device's AP list. Fixes refcounting bug for APs that
2129 caused them to get mixed up in the applet's menu.
2131 2008-06-09 Tambet Ingo <tambet@gmail.com>
2133 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2134 (nm_dhcp_device_destroy): Destroy the device options hash table.
2136 2008-06-06 Dan Williams <dcbw@redhat.com>
2138 * system-settings/src/nm-polkit-helpers.c
2139 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2140 unref the context if the initialization fails; also avoid spew when
2143 2008-06-06 Dan Williams <dcbw@redhat.com>
2145 Patch from Tambet Ingo <tambet@gmail.com>
2147 * src/NetworkManagerSystem.c
2148 src/NetworkManagerSystem.h
2149 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2150 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2151 - (nm_system_device_set_ip4_route): clean up
2152 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2155 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2157 * src/vpn-manager/nm-vpn-connection.c
2158 - (ip_address_to_string): new function
2159 - (print_vpn_config): use ip_address_to_string
2160 - (merge_vpn_routes): add user-defined routes to the ip4 config
2161 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2163 * include/NetworkManagerVPN.h
2166 2008-06-05 Dan Williams <dcbw@redhat.com>
2168 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2171 - Show which device is the default device
2173 2008-06-05 Tambet Ingo <tambet@gmail.com>
2177 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2178 Free data returned from dbus method call.
2180 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2181 dbus_g_method_get_sender() returns a duplicated string, free it
2183 (check_polkit_privileges): Looks like policykit sometimes returns
2184 error and non-null return value, don't leak errors in that case.
2186 * system-settings/src/main.c (find_plugin): Don't leak existing
2188 (load_stuff): Don't leak device list and list items.
2189 (have_connection_for_device): Don't leak connection list.
2191 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2192 Free the data received from g_keyfile_get_*.
2194 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2195 the key when the security object is updated.
2197 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2198 Free data returned from dbus method call.
2199 (iface_state_cb): Ditto.
2200 (add_network_cb): Ditto.
2201 (nm_supplicant_interface_add_cb): Don't make another copy of already
2202 duplicated object path.
2203 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2206 * src/supplicant-manager/nm-supplicant-config.c
2207 (ADD_STRING_LIST_VAL): Fix a memory leak.
2209 * src/nm-manager.c (free_get_settings_info): Free the allocated
2211 (list_connections_cb): Free data returned from dbus method call.
2212 (system_settings_get_unmanaged_devices_cb): Ditto.
2214 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2216 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
2217 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
2218 * src/backends/shvar.c (svCloseFile): Free the duplicated content
2221 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2222 arguments after the object is created.
2224 2008-06-04 Dan Williams <dcbw@redhat.com>
2226 * libnm-util/Makefile.am
2227 - Don't distribute nm-param-spec-specialized.h
2229 2008-06-02 Tambet Ingo <tambet@gmail.com>
2231 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2233 * src/nm-ip4-config.[ch]: Store the static routes as a list of
2234 NMIP4Address, update the getters and setters.
2236 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2237 Use the updated NMIP4Config routes api.
2239 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2240 static routes as well.
2242 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2243 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2246 2008-05-30 Dan Williams <dcbw@redhat.com>
2248 * src/named-manager/nm-named-manager.c
2249 src/named-manager/nm-named-manager.h
2250 - Remove stale/obsolete bits for controlling bind over DBus
2252 2008-05-29 Dan Williams <dcbw@redhat.com>
2254 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2255 src/dnsmasq-manager/nm-dnsmasq-manager.h
2256 - (nm_dnsmasq_manager_new): move iface argument here
2257 - (constructor): remove, not needed
2258 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2259 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2262 - (real_act_stage4_get_ip4_config,
2263 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2266 2008-05-29 Dan Williams <dcbw@redhat.com>
2269 - (dnsmasq_state_changed_cb): new function; fail the connection if
2270 something happens to dnsmasq
2271 - (nm_device_new_ip4_shared_config): new function; create a new
2272 ip4-config for shared connections. Shared connections always use a
2273 fixed static IP address.
2274 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2275 autoip connections by actually using the returned ip4-config and
2277 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2279 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2282 2008-05-29 Dan Williams <dcbw@redhat.com>
2284 * src/nm-device-802-11-wireless.c
2285 - (real_get_best_auto_connection): auto-activate 'shared' method
2288 2008-05-29 Dan Williams <dcbw@redhat.com>
2290 * libnm-util/nm-setting-ip4-config.c
2291 libnm-util/nm-setting-ip4-config.h
2292 - Add a 'shared' method to indicate that this connection should be
2293 brought up with a DHCP and proxy DNS server to facilitate
2295 - (verify): 'shared' method doesn't allow DNS or searches either
2297 2008-05-29 Dan Williams <dcbw@redhat.com>
2301 src/dnsmasq-manager/Makefile.am
2302 src/dnsmasq-manager/nm-dnsmasq-manager.c
2303 src/dnsmasq-manager/nm-dnsmasq-manager.h
2304 - Add a dnsmasq daemon manager to facilitate connection sharing
2306 2008-05-29 Dan Williams <dcbw@redhat.com>
2308 * src/nm-device-private.h
2309 - Remove unused prototypes and clean up
2312 - Remove anything related to system_config_data, which is no longer used
2313 - (nm_device_new_ip4_autoip_config): make static
2315 2008-05-29 Tambet Ingo <tambet@gmail.com>
2317 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2318 (file_changed): Fix a bug where suse system settings plugin didn't
2319 update the connections automatically when the files changed.
2321 2008-05-28 Dan Williams <dcbw@redhat.com>
2323 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2325 2008-05-28 Dan Williams <dcbw@redhat.com>
2327 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2329 * src/NetworkManagerSystem.c
2330 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2331 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2332 was causing -EINVAL errors since the libnl code actually does flush
2333 the routes on VPN interfaces now
2335 * src/backends/NetworkManagerArch.c
2336 src/backends/NetworkManagerDebian.c
2337 src/backends/NetworkManagerFrugalware.c
2338 src/backends/NetworkManagerGeneric.c
2339 src/backends/NetworkManagerGentoo.c
2340 src/backends/NetworkManagerMandriva.c
2341 src/backends/NetworkManagerPaldo.c
2342 src/backends/NetworkManagerRedHat.c
2343 src/backends/NetworkManagerSlackware.c
2344 src/backends/NetworkManagerSuSE.c
2345 - (nm_system_device_flush_ip4_routes,
2346 nm_system_device_flush_ip4_routes_with_iface): remove
2348 2008-05-28 Dan Williams <dcbw@redhat.com>
2350 * libnm-util/nm-setting-wireless.c
2351 libnm-util/nm-setting-wireless.h
2352 - (set_property, get_property, nm_setting_wireless_class_init): add the
2353 'adhoc-create' property, which when TRUE indicates that NM should
2354 create this connection as an adhoc wifi network if it's not found
2355 as an adhoc network during scanning. Can be used to auto-create
2356 adhoc networks when used in combination with autoconnect.
2358 2008-05-28 Tambet Ingo <tambet@gmail.com>
2360 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2362 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2363 checked, it doesn't work on some devices.
2365 2008-05-28 Tambet Ingo <tambet@gmail.com>
2367 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
2368 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2370 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2371 Use inet_aton() everywhere to improve error detection.
2372 Don't fall back to 'dhcp_server_identifier' if the gateway is not
2375 2008-05-26 Tambet Ingo <tambet@gmail.com>
2377 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2380 2008-05-26 Tambet Ingo <tambet@gmail.com>
2382 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2383 reference counting issue.
2385 2008-05-23 Dan Williams <dcbw@redhat.com>
2387 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2389 * src/backends/NetworkManagerGeneric.c
2390 - (nm_generic_enable_loopback): use libnl
2392 2008-05-23 Dan Williams <dcbw@redhat.com>
2394 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2396 * src/NetworkManagerSystem.h
2397 src/backends/NetworkManagerArch.c
2398 src/backends/NetworkManagerDebian.c
2399 src/backends/NetworkManagerFrugalware.c
2400 src/backends/NetworkManagerGentoo.c
2401 src/backends/NetworkManagerMandriva.c
2402 src/backends/NetworkManagerPaldo.c
2403 src/backends/NetworkManagerRedHat.c
2404 src/backends/NetworkManagerSlackware.c
2405 src/backends/NetworkManagerSuSE.c
2406 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2407 nm_system_flush_arp_cache): remove, unused
2409 * src/backends/NetworkManagerGeneric.c
2410 src/backends/NetworkManagerGeneric.h
2411 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2412 nm_generic_flush_arp_cache): remove, unused
2414 2008-05-23 Dan Williams <dcbw@redhat.com>
2416 * system-settings/plugins/ifcfg-fedora/reader.c
2417 - (make_ip4_setting): honor PEERDNS setting
2419 2008-05-23 Dan Williams <dcbw@redhat.com>
2421 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2423 * src/NetworkManagerSystem.c
2424 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2427 * src/backends/NetworkManagerArch.c
2428 src/backends/NetworkManagerDebian.c
2429 src/backends/NetworkManagerFrugalware.c
2430 src/backends/NetworkManagerGentoo.c
2431 src/backends/NetworkManagerMandriva.c
2432 src/backends/NetworkManagerPaldo.c
2433 src/backends/NetworkManagerRedHat.c
2434 src/backends/NetworkManagerSlackware.c
2435 src/backends/NetworkManagerSuSE.c
2436 - (nm_system_device_flush_ip4_addresses,
2437 nm_system_device_flush_ip4_addresses_with_iface): remove
2439 * src/backends/NetworkManagerGeneric.c
2440 - (nm_generic_device_flush_ip4_addresses,
2441 nm_generic_device_flush_ip4_addresses_with_iface): remove
2443 2008-05-23 Dan Williams <dcbw@redhat.com>
2445 * src/supplicant-manager/nm-supplicant-settings-verify.c
2446 - Switch 'bssid' from bytes to keyword type
2447 - (validate_type_keyword): allow NULL keyword lists
2449 * src/supplicant-manager/nm-supplicant-config.c
2450 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2451 a byte array to string form, which is what the supplicant expects
2453 2008-05-23 Tambet Ingo <tambet@gmail.com>
2455 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2456 information received from DHCP.
2458 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2459 to make it possible to ignore the DNS information (both servers and
2460 searches) returned by DHCP server.
2462 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2463 name servers and searches if "ignore_dhcp_dns" is set.
2465 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2466 (nm_ip4_config_reset_searches): Implement.
2468 2008-05-22 Dan Williams <dcbw@redhat.com>
2470 Remove anything mDNS related. This is better done from a distro-specific
2471 dispatcher script. Plus, any distro using avahi doesn't need to restart
2472 avahi, since avahi can handle interface changes just fine using netlink.
2475 - Remove --with-mdns-provider
2477 * src/NetworkManagerPolicy.c
2478 - (global_state_changed): don't restart the mdns provider
2480 * src/NetworkManagerSystem.h
2481 src/backends/NetworkManagerArch.c
2482 src/backends/NetworkManagerDebian.c
2483 src/backends/NetworkManagerFrugalware.c
2484 src/backends/NetworkManagerGentoo.c
2485 src/backends/NetworkManagerMandriva.c
2486 src/backends/NetworkManagerPaldo.c
2487 src/backends/NetworkManagerRedHat.c
2488 src/backends/NetworkManagerSlackware.c
2489 src/backends/NetworkManagerSuSE.c
2490 - (nm_system_restart_mdns_responder): remove
2492 * src/backends/NetworkManagerGeneric.c
2493 src/backends/NetworkManagerGeneric.h
2494 - (nm_generic_restart_mdns_responder): remove
2496 2008-05-22 Dan Williams <dcbw@redhat.com>
2499 - clean up crypto options; just use --with-crypto=nss or
2500 --with-crypto=gnutls
2502 2008-05-22 Tambet Ingo <tambet@gmail.com>
2504 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2505 anymore, do it right away.
2507 2008-05-22 Tambet Ingo <tambet@gmail.com>
2509 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2510 serial device open when we're not connecting or connected.
2512 * src/nm-cdma-device.c (device_state_changed): Ditto.
2514 2008-05-22 Tambet Ingo <tambet@gmail.com>
2516 Don't remove all devices on waking up, sync with HAL.
2518 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2519 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2520 (hal_manager_hal_reappeared_cb): Just call sync_devices.
2522 2008-05-21 Tambet Ingo <tambet@gmail.com>
2524 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2525 If the default gateway is unreachable, add a route to gateway and try
2528 2008-05-20 Dan Williams <dcbw@redhat.com>
2530 * system-settings/plugins/ifcfg-fedora/reader.c
2531 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2533 2008-05-19 Dan Williams <dcbw@redhat.com>
2535 * system-settings/plugins/ifcfg-fedora/reader.c
2536 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2537 if the ifcfg doesn't specify one (rh #446527)
2539 2008-05-19 Dan Williams <dcbw@redhat.com>
2541 Make the system settings service exit when the bus goes away. Since it's
2542 a bus-activated service, it's lifetime is limited to the bus that activated
2545 * system-settings/src/Makefile.am
2546 system-settings/src/nm-system-config-hal-manager-private.h
2547 - Remove nm-system-config-hal-manager-private.h
2549 * system-settings/src/nm-system-config-hal-manager.c
2550 - (nm_system_config_hal_manager_reinit_dbus,
2551 nm_system_config_hal_manager_deinit_dbus): remove
2553 * system-settings/src/main.c
2554 - (dbus_reconnect): remove
2555 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2556 - (destroy_cb): just quit when the bus goes away
2557 - (start_dbus_service, dbus_init): simplify
2558 - (main): destroy the wired devices hash table after destroying
2559 the HAL manager so we don't have to disconnect signals from the
2562 2008-05-15 Tambet Ingo <tambet@gmail.com>
2564 Move crypto functions from nm-applet to libnm-util.
2566 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2567 (nm_setting_802_1x_set_client_cert)
2568 (nm_setting_802_1x_set_phase2_ca_cert)
2569 (nm_setting_802_1x_set_phase2_client_cert)
2570 (nm_setting_802_1x_set_private_key)
2571 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2572 file (or private key and it's password), read the certificate data.
2574 * libnm-util/crypto_nss.c:
2575 * libnm-util/crypto_gnutls.c:
2576 * libnm-util/crypto.[ch]: Move here from nm-applet.
2578 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2580 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2581 Imlement WPA-EAP configuration reading from sysconfig.
2583 2008-05-16 Dan Williams <dcbw@redhat.com>
2585 * src/nm-device-802-11-wireless.c
2586 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2589 2008-05-14 Dan Williams <dcbw@redhat.com>
2591 Fix Linus' bug in rh #134886
2593 * src/nm-device-802-3-ethernet.c
2594 - (constructor): request initial carrier state
2596 * src/nm-netlink-monitor.c
2597 - (nm_netlink_monitor_request_status): schedule emission of carrier
2598 signals after refilling the link cache. Because the refill is a
2599 synchronous operation, the normal message hander won't get called
2600 since libnl has already consumed the messages.
2601 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2603 2008-05-14 Dan Williams <dcbw@redhat.com>
2605 * src/NetworkManagerSystem.c
2606 - (nm_system_device_is_up_with_iface): clean up
2608 2008-05-13 Dan Williams <dcbw@redhat.com>
2610 Fix refcounting issues over sleep/wake when a VPN connection was active that
2611 caused NM to try registering an object path for a device upon wake that was
2612 the same as an already registered object path.
2615 - (nm_device_take_down): properly handle cases where the device is
2616 no longer active but was just active, and therefore must be
2617 deactivated. When a device moves to unmanaged mode, this function
2618 previously would not deactivate the device, because the state was
2619 already unmanaged by the time this function was called.
2621 * src/vpn-manager/nm-vpn-connection.c
2622 - (device_state_changed): properly handle multiple devices states in
2623 which the device is now deactivated. Code previously didn't handle
2624 transitions to the UNAVAILABLE (like rfkill or carrier off) and
2627 2008-05-13 Dan Williams <dcbw@redhat.com>
2629 * src/nm-device-private.h
2631 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2633 * src/nm-device-802-11-wireless.c
2634 - (nm_device_802_11_wireless_set_enabled): take devices up
2635 and down as appropriate for the rfkill state
2637 2008-05-13 Dan Williams <dcbw@redhat.com>
2639 * marshallers/nm-marshal.list
2640 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2642 * system-settings/plugins/ifcfg-fedora/Makefile.am
2643 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2644 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2645 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2646 events. Solely for use watching ifcfg files to pick up changes
2647 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2649 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2650 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2651 file contents change
2652 - (finalize): clean up inotify watches
2653 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2654 and the connection ifcfg for changes on their hardlinks
2655 - (files_changed_cb): proxy the changed signal back out to listeners
2657 * system-settings/plugins/ifcfg-fedora/plugin.c
2659 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2661 - (read_one_connection): connect to change signals on the new connection
2662 - (dir_changed, connection_changed_handler,
2663 handle_connection_remove_or_new): break out connection change
2664 handling and connection new/remove handling so it can be used from
2665 both the GFileMonitor callback and the NMIfcfgConnection changed
2668 * system-settings/plugins/ifcfg-fedora/reader.c
2669 system-settings/plugins/ifcfg-fedora/reader.h
2670 - (connection_from_file): return the keyfile path the connection would use
2672 2008-05-13 Tambet Ingo <tambet@gmail.com>
2674 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
2675 single PolKitContext which is shared by all. PolKitContext::unref leaks
2676 just about everything, including all open file descriptiors and results
2677 in 99% cpu usage when data arrives to any of the fds that don't belong
2678 to any context anymore.
2680 2008-05-12 Dan Williams <dcbw@redhat.com>
2682 * gfilemonitor/glocaldirectorymonitor.c
2683 gfilemonitor/glocaldirectorymonitor.h
2684 - (g_local_directory_monitor_constructor): actually subscribe to the
2686 - (_g_local_directory_monitor_new): ensure that inotify is started up
2688 * gfilemonitor/glocalfilemonitor.c
2689 gfilemonitor/glocalfilemonitor.h
2690 - (g_local_file_monitor_constructor): actually subscribe to the watch
2691 - (_g_local_file_monitor_new): ensure that inotify is started up
2693 2008-05-11 Dan Williams <dcbw@redhat.com>
2696 - record PolicyKit version
2698 * system-settings/src/nm-polkit-helpers.c
2699 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
2700 with PolicyKit <= 0.6
2702 2008-05-11 Dan Williams <dcbw@redhat.com>
2704 Update Fedora system-settings plugin to support latest API and use
2705 GFileMonitor rather than home-rolled inotify code.
2707 * system-settings/plugins/ifcfg-fedora/Makefile.am
2708 system-settings/plugins/ifcfg-fedora/common.h
2709 system-settings/plugins/ifcfg-fedora/plugin.c
2710 - Update to latest system settings plugin API; use GIO instead of
2711 custom inotify code; use NMIfcfgConnection objects instead of
2712 ConnectionData structures tacked onto NMConnection objects
2714 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2715 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
2716 - Implement an NMExportedConnection subclass mapping ifcfg files to
2719 * system-settings/plugins/ifcfg-fedora/reader.c
2720 system-settings/plugins/ifcfg-fedora/reader.h
2721 - Move ifcfg parsing bits here from parser.c
2723 * system-settings/plugins/ifcfg-fedora/parser.c
2724 system-settings/plugins/ifcfg-fedora/parser.h
2725 - Remove; most code moved to reader.c
2727 2008-05-11 Dan Williams <dcbw@redhat.com>
2732 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
2733 implementation, so that the same change monitoring code can be used
2734 on systems without glib-2.14 (like Fedora 8)
2736 * system-settings/plugins/keyfile/Makefile.am
2737 system-settings/plugins/keyfile/plugin.c
2738 system-settings/plugins/ifcfg-suse/Makefile.am
2739 system-settings/plugins/ifcfg-suse/plugin.c
2740 - Use private gfilemonitor code if GIO is not present
2742 2008-05-09 Tambet Ingo <tambet@gmail.com>
2744 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
2745 NMExportedConnection's 'update' and 'delete' and return error with
2746 descriptive message.
2748 2008-05-08 Dan Williams <dcbw@redhat.com>
2750 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2752 * src/nm-gsm-device.c
2753 src/nm-cdma-device.c
2754 - (real_get_best_auto_connection): implement; allow autoconnection
2755 to GSM & CDMA devices
2757 2008-05-08 Tambet Ingo <tambet@gmail.com>
2759 Use PolicyKit to authorize the system settings' AddConnection method
2760 and the system settings connections' Update and Delete methods.
2762 * libnm-glib/nm-settings.c (impl_exported_connection_update)
2763 (impl_exported_connection_delete, nm_exported_connection_update)
2764 (nm_exported_connection_delete): Return boolean and fill GError
2765 to notify the callers of the reasons why it might have failed.
2767 * libnm-glib/nm-dbus-settings-system.c
2768 (nm_dbus_settings_system_add_connection): Return the error from dbus
2769 call so that the callers can see why it failed.
2771 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
2774 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
2776 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
2777 abstract base class that checks PolicyKit permissions.
2779 * system-settings/src/dbus-settings.c:
2780 (impl_settings_add_connection): Check the policy before carring out
2783 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
2784 Inherit from NMSysconfigConnection, check the policies before
2785 allowing updating or removing.
2787 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
2788 Inherit from NMSysconfigConnection.
2790 * introspection/nm-exported-connection.xml: Annotate "Update" and
2791 "Delete" methods with async flag so that the implementations can get
2792 access to DBusGMethodInvocation.
2794 * system-settings/src/dbus-settings.c
2795 (settings_add_connection_check_privileges): Implement.
2796 (impl_settings_add_connection): Check the privileges before adding a new
2797 connection. Improve error reporting.
2799 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
2800 async so that the implementation can access DBusGMethodInvocation.
2802 * configure.in: Check for PolicyKit.
2804 * policy/org.freedesktop.network-manager-settings.system.policy:
2807 * policy/Makefile.am: Install the policy file.
2809 * configure.in: Add 'policy' subdir.
2811 2008-05-08 Tambet Ingo <tambet@gmail.com>
2813 Rewrite the suse system settings plugin.
2815 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
2817 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
2819 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
2821 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
2823 * system-settings/src/dbus-settings.c: Fix connection reference counting.
2825 * system-settings/src/main.c (load_plugins): Improve error reporting.
2827 * system-settings/src/sha1.[ch] Add.
2829 * system-settings/src/Makefile.am: Add sha1[ch] to build.
2831 2008-05-07 Dan Williams <dcbw@redhat.com>
2833 * system-settings/plugins/keyfile/reader.c
2834 - (read_one_setting_value): handle IP address items separately
2835 - (read_array_of_uint): read IPv4 DNS option as a string array
2836 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
2839 * system-settings/plugins/keyfile/writer.c
2840 - (write_setting_value): handle IP address items separately
2841 - (write_array_of_uint): handle IPv4 DNS option as a string array,
2842 not an array of uint, so that it's user-editable
2843 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
2844 arrays, so they are user-editable
2846 2008-05-07 Dan Williams <dcbw@redhat.com>
2848 * system-settings/plugins/keyfile/Makefile.am
2849 - Change location of the keyfile plugin settings to
2850 /etc/NetworkManager/system-connections
2852 2008-05-05 Tambet Ingo <tambet@gmail.com>
2854 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
2856 * system-settings/plugins/keyfile/plugin.c: Work with
2857 NMKeyfileConnections.
2859 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
2860 Plugins are supposed to return NMExportedConnections now and handle the
2861 updated(), removed(), and GetSecrets().
2862 Store the internal list of connections in hash table to make it easier
2865 2008-05-07 Tambet Ingo <tambet@gmail.com>
2867 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
2868 for multiple IP addresses.
2870 2008-05-07 Tambet Ingo <tambet@gmail.com>
2872 Patch from André Lemos.
2874 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
2877 2008-05-06 Dan Williams <dcbw@redhat.com>
2879 * src/dhcp-manager/nm-dhcp-manager.c
2880 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
2881 NMIP4Config to support multiple IP addresses
2883 * src/NetworkManagerUtils.c
2884 - (nm_utils_merge_ip4_config): update for multiple IP addresses
2886 * src/nm-ip4-config.c
2888 - Store a list of IPv4 address/netmask/gateway tuples
2889 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
2890 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
2891 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
2892 nm_ip4_config_set_address): remove
2893 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
2894 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
2895 new functions; handle multiple IPv4 addresses
2898 src/ppp-manager/nm-ppp-manager.c
2899 src/vpn-manager/nm-vpn-connection.c
2900 src/NetworkManagerPolicy.c
2902 libnm-glib/libnm-glib-test.c
2903 - update for changes to NMIP4Config for multiple IPv4 addresses
2905 * src/NetworkManagerSystem.c
2906 - (nm_system_device_set_ip4_route): don't add the route if any address
2907 is on the same subnet as the destination
2908 - (check_one_address): ignore the exact match, just match family and
2910 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
2912 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
2913 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
2915 * introspection/nm-ip4-config.xml
2916 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
2917 - Add 'addresses' property which is an array of (uuu) tuples of
2918 address/netmask/gateway
2920 * libnm-util/nm-setting-ip4-config.c
2921 - (set_property): use ip-address <-> GValue converters from nm-utils.c
2923 * libnm-glib/nm-ip4-config.c
2924 libnm-glib/nm-ip4-config.h
2925 - Handle D-Bus interface changes to support multiple IP addresses
2927 2008-05-06 Dan Williams <dcbw@redhat.com>
2929 * libnm-util/nm-utils.c
2930 libnm-util/nm-utils.h
2931 - (nm_utils_ip4_addresses_from_gvalue,
2932 nm_utils_ip4_addresses_to_gvalue): new functions
2934 2008-05-06 Tambet Ingo <tambet@gmail.com>
2936 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
2937 the returned connection paths.
2939 2008-05-05 Tambet Ingo <tambet@gmail.com>
2941 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
2942 "PropertiesChanged" signal signature.
2944 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
2945 defined in nm-dbus-glib-types.h.
2946 Don't register the connection on dbus, we're a proxy class to
2947 communicate with an already registered connection over dbus.
2949 2008-04-30 Tambet Ingo <tambet@gmail.com>
2951 Implement new subclasses of NMSettings and NMExportedConnection to make
2952 it easier for the applet to access and modify system settings.
2954 * libnm-glib/nm-dbus-connection.[ch]:
2955 * libnm-glib/nm-dbus-settings.[ch]:
2956 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
2958 * libnm-glib/Makefile.am: Add the new files to build, generate some more
2961 * include/NetworkManager.h: Define the system settings DBus interface.
2963 2008-04-30 Tambet Ingo <tambet@gmail.com>
2965 Implement additional C API for exported connections to make them identical
2966 with the DBus API. Change the (list_connections) virtual function to be
2967 more usable from C - instead of requiring implementers to return a GPtrArray
2968 of dbus paths, return a list of connections.
2970 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
2971 (nm_settings_list_connections):
2972 (nm_exported_connection_new):
2973 (nm_exported_connection_update):
2974 (nm_exported_connection_delete): Implement.
2976 (impl_settings_list_connections):
2977 (impl_exported_connection_update):
2978 (impl_exported_connection_delete): Use the new public functions to make
2979 sure the C and dbus interfaces stay in sync.
2981 * system-settings/src/dbus-settings.c (list_connections): Return a list of
2984 2008-05-02 Dan Williams <dcbw@redhat.com>
2986 * system-settings/plugins/ifcfg-fedora/plugin.c
2987 - (dispose): use right unref call on the DBusGConnection
2989 2008-05-02 Dan Williams <dcbw@redhat.com>
2991 * src/nm-serial-device.c
2992 - (find_terminator): don't compare the whole line, just the size of the
2993 terminator, since some modems put stuff after the terminator, like
2996 2008-05-01 Dan Williams <dcbw@redhat.com>
2998 Patch from Michael Biebl <biebl@debian.org>
3000 * callouts/Makefile.am
3001 callouts/org.freedesktop.nm_dispatcher.service.in
3002 system-settings/src/Makefile.am
3003 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3004 - use the right install location for dbus-activated stuff
3006 2008-04-30 Dan Williams <dcbw@redhat.com>
3008 * src/nm-gsm-device.c
3009 - (enter_pin): fix setting name passed to applets when asking for a GSM
3012 2008-04-30 Dan Williams <dcbw@redhat.com>
3015 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3017 2008-04-30 Dan Williams <dcbw@redhat.com>
3019 * src/nm-device-802-3-ethernet.c
3020 src/nm-device-802-11-wireless.c
3021 - (real_is_up): return true instead of chaining up to unimplemented
3024 2008-04-30 Dan Williams <dcbw@redhat.com>
3026 * src/NetworkManagerSystem.c
3027 src/NetworkManagerSystem.h
3028 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3029 functions to check device flags for IFF_UP
3031 * src/nm-serial-device.c
3032 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3035 * src/nm-device-802-3-ethernet.c
3036 src/nm-device-802-11-wireless.c
3037 - (real_hw_is_up): call nm_system_device_is_up()
3040 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3041 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3044 2008-04-29 Dan Williams <dcbw@redhat.com>
3046 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3048 * marshallers/nm-marshal.list
3051 * src/NetworkManager.c
3052 - (main): let the NMManager handle the NMHalManager
3054 * src/nm-hal-manager.c
3055 src/nm-hal-manager.h
3056 - convert to a GObject, and emit singals when stuff changes. Let the
3057 NMManager handle the signals, instead of the NMHalManager calling
3062 - (remove_one_device): consolidate device removals here
3063 - (dispose): use remove_one_device()
3064 - (nm_manager_get_device_by_udi): make static
3065 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3066 manager for devices at startup or wakeup time
3067 - (nm_manager_new): create and monitor the HAL manager
3068 - (hal_manager_udi_added_cb): new function; do what
3069 nm_manager_add_device() used to do when signalled by the hal manager
3070 - (hal_manager_udi_removed_cb): new function; do what
3071 nm_manager_remove_device() used to do when signalled by the hal
3073 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3075 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3076 in our device list that aren't known to HAL
3077 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3078 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3080 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3081 nm_manager_activation_pending, nm_manager_wireless_enabled,
3082 nm_manager_wireless_hardware_enabled,
3083 nm_manager_set_wireless_hardware_enabled): remove, unused
3085 2008-04-28 Dan Williams <dcbw@redhat.com>
3087 Fix the device up/down ambiguities. Up/down state used to be a
3088 conglomeration of hardware state (IFF_UP) and any device-specific things
3089 (supplicant, periodic timers, etc) that the device used to indicate
3090 readiness. Unfortunately, if the hardware was already IFF_UP for some
3091 reason, then the device specific stuff wouldn't get run, and the device
3096 - Create hw_is_up, hw_bring_up, and hw_take_down
3097 - Rename bring_down -> take_down
3098 - (real_hw_is_up): check interface flags for IFF_UP
3099 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3100 - (nm_device_is_up): make static; only used locally
3101 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3102 if the device is already up; if the device isn't up, bring it up
3103 - (nm_device_hw_take_down): just take down hardware
3104 - (nm_device_bring_up): bring up HW first, then device specific stuff
3105 - (nm_device_take_down): always deactivate device when called; always
3106 try to take hardware down too
3107 - (nm_device_state_changed): take device down when entering unmanaged
3108 state from a higher state
3110 * src/nm-device-802-11-wireless.c
3111 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3113 - (real_take_down, supplicant_iface_state_cb_handler,
3114 supplicant_iface_connection_state_cb_handler,
3115 supplicant_mgr_state_cb_handler): fix some messages
3117 * src/nm-device-802-3-ethernet.c
3118 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3121 2008-04-28 Dan Williams <dcbw@redhat.com>
3125 - (nm_manager_error_get_type): add new error
3126 - (nm_manager_remove_device): don't bother taking down the device here,
3127 the state change from unmanaging the device will do it
3128 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3129 uses it; when going to sleep, just unmanage the device instead of
3130 taking it down, because stuff will cleaned up correctly when the
3131 device gets unmanaged
3133 2008-04-28 Dan Williams <dcbw@redhat.com>
3135 * src/nm-hal-manager.c
3136 - (add_initial_devices): convert to a GSourceFunc prototype
3137 - (nm_manager_state_changed): when coming out of sleep, punt the
3138 device re-addition to an idle handler to let D-Bus events go out
3139 first, fixing a potential dbus-glib assert if the old device was
3140 not yet disposed (due to references held while emitting the D-Bus
3141 signals) but the new device was found, because the mainloop didn't
3142 run between signal emission and add_initial_devices()
3144 2008-04-27 Dan Williams <dcbw@redhat.com>
3146 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3148 * initscript/paldo/NetworkManager.in
3149 initscript/SUSE/networkmanager.in
3150 - Remove last bits of dhcdbd
3152 2008-04-27 Dan Williams <dcbw@redhat.com>
3154 * src/nm-device-802-11-wireless.c
3155 - (link_timeout_cb): don't ask for secrets when disconnected during
3156 association/authentication phase, drivers are still just too crappy
3158 2008-04-27 Dan Williams <dcbw@redhat.com>
3162 dispatcher-daemon/Makefile.am
3163 dispatcher-daemon/NetworkManagerDispatcher.c
3164 initscript/Arch/Makefile.am
3165 initscript/Arch/networkmanager-dispatcher.in
3166 initscript/Gentoo/Makefile.am
3167 initscript/Gentoo/NetworkManagerDispatcher.in
3168 initscript/Mandriva/Makefile.am
3169 initscript/Mandriva/networkmanagerdispatcher.in
3170 initscript/RedHat/Makefile.am
3171 initscript/RedHat/NetworkManagerDispatcher.in
3172 initscript/SUSE/Makefile.am
3173 initscript/SUSE/networkmanager-dispatcher.in
3174 initscript/Slackware/Makefile.am
3175 initscript/Slackware/rc.networkmanager-dispatcher.in
3176 initscript/paldo/Makefile.am
3177 initscript/paldo/NetworkManagerDispatcher.in
3179 man/NetworkManagerDispatcher.8.in
3180 - Remove the dispatcher daemon
3182 2008-04-27 Dan Williams <dcbw@redhat.com>
3184 * callouts/Makefile.am
3185 callouts/nm-dispatcher-action.c
3186 callouts/nm-dispatcher-action.h
3187 callouts/nm-dispatcher.conf
3188 callouts/nm-dispatcher.xml
3189 callouts/org.freedesktop.nm_dispatcher.service
3190 - Re-implement the dispatcher as a system-bus activated service that
3191 NM calls on-demand, rather than an always running daemon
3194 - Add callouts dir to includes to pick up dispatcher defines
3197 - (nm_device_state_changed): call dispatcher on device activated/
3200 * src/vpn-manager/nm-vpn-connection.c
3201 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3204 * src/NetworkManagerUtils.c
3205 src/NetworkManagerUtils.h
3206 - (nm_utils_call_dispatcher): helper to call dispatcher
3208 2008-04-27 Dan Williams <dcbw@redhat.com>
3210 * src/NetworkManagerUtils.c
3211 src/NetworkManagerUtils.h
3212 - remove unneeded includes
3213 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3214 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3215 nm_timeval_cmp, nm_timeval_add): remove, unused
3216 - clean up formatting
3217 - (nm_spawn_process): de-uglify
3219 * src/nm-device-802-11-wireless.c
3220 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3222 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
3224 * initscript/Gentoo/NetworkManager.in:
3225 Fix for starting the daemon.
3227 2008-04-25 Dan Williams <dcbw@redhat.com>
3229 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3231 * src/NetworkManagerSystem.c
3232 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3234 2008-04-25 Dan Williams <dcbw@redhat.com>
3236 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3238 * src/NetworkManagerSystem.c
3239 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3240 implementation of nm_system_device_replace_default_route()
3242 * src/NetworkManagerPolicy.c
3243 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3245 * src/backends/NetworkManagerArch.c
3246 src/backends/NetworkManagerDebian.c
3247 src/backends/NetworkManagerFrugalware.c
3248 src/backends/NetworkManagerGeneric.c
3249 src/backends/NetworkManagerGeneric.h
3250 src/backends/NetworkManagerGentoo.c
3251 src/backends/NetworkManagerMandriva.c
3252 src/backends/NetworkManagerPaldo.c
3253 src/backends/NetworkManagerRedHat.c
3254 src/backends/NetworkManagerSlackware.c
3255 src/backends/NetworkManagerSuSE.c
3256 - (nm_system_device_replace_default_route): remove
3258 2008-04-25 Dan Williams <dcbw@redhat.com>
3260 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3262 * src/NetworkManagerSystem.c
3263 - (validate_ip4_route): remove; use nl_addr_parse() instead
3264 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3265 replace nm_system_device_add_route_via_device_with_iface() in the
3268 * src/backends/NetworkManagerArch.c
3269 src/backends/NetworkManagerDebian.c
3270 src/backends/NetworkManagerFrugalware.c
3271 src/backends/NetworkManagerGeneric.c
3272 src/backends/NetworkManagerGeneric.h
3273 src/backends/NetworkManagerGentoo.c
3274 src/backends/NetworkManagerMandriva.c
3275 src/backends/NetworkManagerPaldo.c
3276 src/backends/NetworkManagerRedHat.c
3277 src/backends/NetworkManagerSlackware.c
3278 src/backends/NetworkManagerSuSE.c
3279 - Remove nm_system_device_add_route_via_device_with_iface()
3281 2008-04-25 Dan Williams <dcbw@redhat.com>
3283 * system-settings/plugins/ifcfg-fedora/parser.c
3284 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3286 2008-04-24 Dan Williams <dcbw@redhat.com>
3288 * dispatcher-daemon/NetworkManagerDispatcher.c
3289 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3291 2008-04-24 Dan Williams <dcbw@redhat.com>
3293 * initscript/RedHat/NetworkManager.in
3294 initscript/RedHat/NetworkManagerDispatcher.in
3295 - Be active at runlevel 2
3296 - Adjust priorities earlier
3298 2008-04-22 Dan Williams <dcbw@redhat.com>
3300 * src/NetworkManagerPolicy.c
3301 - (update_routing_and_dns): when checking for a gateway, look at the
3302 composite IP4 config, not the connection's ip4-config setting, which
3303 doesn't include DHCP-returned information
3305 2008-04-22 Tambet Ingo <tambet@gmail.com>
3307 Implement GKeyFile system settings plugin.
3308 Implement writing system settings (currently supported only by GKeyFile plugin).
3310 * system-settings/src/main.c:
3311 * system-settings/src/dbus-settings.c: Move the communication with plugins
3312 from main.c to dbus-settings.c. Makes it possible to talk to all registered
3313 plugins for adding/updating/removing connections.
3315 * system-settings/src/nm-system-config-interface.c
3316 (nm_system_config_interface_add_connection): Implement
3317 (nm_system_config_interface_update_connection): Implement.
3318 (nm_system_config_interface_remove_connection): Implement.
3320 * system-settings/plugins/keyfile/Makefile.am:
3321 * system-settings/plugins/keyfile/plugin.[ch]:
3322 * system-settings/plugins/keyfile/writer.[ch]:
3323 * system-settings/plugins/keyfile/reader.[ch]: Implement.
3325 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3327 * configure.in: Generate GKeyFile Makefile.
3329 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3330 corruption, need to duplicate the returned string.
3331 (impl_exported_connection_update): Implement.
3332 (impl_exported_connection_delete): Implement.
3334 * introspection/nm-settings-system.xml: Add "AddConnection" method.
3336 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3338 2008-04-22 Dan Williams <dcbw@redhat.com>
3340 Patch from Charles R. Anderson (cra@wpi.edu)
3342 * src/NetworkManagerPolicy.c
3343 - (update_routing_and_dns): don't select devices without a gateway
3344 as having the default route (rh #437338)
3346 2008-04-21 Dan Williams <dcbw@redhat.com>
3348 * src/nm-activation-request.c
3349 src/nm-activation-request.h
3350 - (dispose): ensure to disconnect from the device's state-changed signal
3351 when appropriate so the signal doesn't get handled by an already
3352 disposed NMActRequest
3353 - (device_state_changed): update is_default here too just to make sure
3354 default is only True when the child device is activated
3355 - (nm_act_request_set_default): new function
3357 * src/NetworkManagerPolicy.c
3358 - (update_routing_and_dns): set 'default' on the active connection which
3359 has the default route and DNS
3361 2008-04-21 Dan Williams <dcbw@redhat.com>
3363 * src/NetworkManagerPolicy.c
3364 - (device_state_changed): update routing and DNS when a device goes
3365 into unmanaged or unavailable states too (like rfkill or carrier loss)
3367 2008-04-21 Dan Williams <dcbw@redhat.com>
3369 * include/NetworkManager.h
3370 - Add NMActiveConnectionState enum
3372 * introspection/nm-active-connection.xml
3373 introspection/nm-vpn-connection.xml
3374 - Add 'State' property for overall active connection state
3375 - Add 'Default' property, when True means this active connection
3376 has the default route
3377 - Add PropertyChanged signals so changes actually go out over the bus
3379 * src/nm-active-connection.h
3380 - Add defines for State & Default properties
3382 * src/nm-activation-request.c
3383 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3384 signal to determine active connection state
3386 * src/vpn-manager/nm-vpn-connection.c
3387 src/vpn-manager/nm-vpn-connection.h
3388 src/vpn-manager/nm-vpn-manager.c
3389 src/vpn-manager/nm-vpn-service.c
3390 - Rename old 'state' to 'vpn-state'
3391 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3392 - Add 'state' and 'default' properties, hook up to the vpn connection's
3393 'vpn-state-changed' signal
3395 * libnm-glib/nm-active-connection.c
3396 libnm-glib/nm-active-connection.h
3397 - Add new 'state' and 'default' properties and accessors
3399 * libnm-glib/nm-vpn-connection.c
3400 libnm-glib/nm-vpn-connection.h
3401 - Rename old 'state' property to 'vpn-state'
3402 - Add new 'state' and 'default' properties and accessors
3404 2008-04-21 Dan Williams <dcbw@redhat.com>
3406 * src/nm-ip4-config.c
3407 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3408 not specified (rh #443474)
3410 2008-04-20 Dan Williams <dcbw@redhat.com>
3412 * src/NetworkManagerUtils.c
3413 src/NetworkManagerUtils.h
3414 - (nm_utils_merge_ip4_config): new function; merge settings from an
3415 NMSettingIP4Config to an NMIP4Config object
3418 - (merge_ip4_config): move to NetworkManagerUtils.c
3420 * src/vpn-manager/nm-vpn-connection.c
3421 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3424 2008-04-18 Dan Williams <dcbw@redhat.com>
3426 * libnm-util/nm-setting-ppp.c
3427 libnm-util/nm-setting-ppp.h
3428 - Add 'no-vj-comp' option for TCP header compression
3429 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3432 2008-04-18 Dan Williams <dcbw@redhat.com>
3434 * libnm-util/nm-setting-ppp.c
3435 libnm-util/nm-setting-ppp.h
3436 src/ppp-manager/nm-ppp-manager.c
3437 - Add 'refuse-pap' and 'refuse-mschapv2' options
3439 2008-04-18 Dan Williams <dcbw@redhat.com>
3441 * libnm-util/nm-setting-ppp.c
3442 libnm-util/nm-setting-ppp.h
3443 src/ppp-manager/nm-ppp-manager.c
3444 - Remove the 'usepeerdns' option and always request DNS servers from
3445 the PPP server; the connection chooses to use/override/ignore the
3446 DNS servers returned from the PPP server
3448 2008-04-18 Dan Williams <dcbw@redhat.com>
3450 * libnm-util/nm-setting-ppp.c
3451 libnm-util/nm-setting-ppp.h
3452 src/ppp-manager/nm-ppp-manager.c
3453 - Remove the 'require-mppc' option, because pppd doesn't support it and
3454 it seems to have been an erroneous addition to the PPTP plugin in
3455 the first place (from which the ppp-manager is derived)
3457 2008-04-17 Dan Williams <dcbw@redhat.com>
3459 * libnm-util/nm-setting-pppoe.c
3460 - (verify): require a PPP setting too
3462 * src/ppp-manager/nm-ppp-manager.c
3463 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3466 2008-04-17 Dan Williams <dcbw@redhat.com>
3469 - (nm_device_state_changed): do deactivation and and promotion to
3470 unavailable here, so that the device gets cleaned up before the
3471 manager runs and starts emitting signals; do the
3472 FAILED->DISCONNECTED transition from an idle handler rather than
3473 immediately to guard against recursion
3474 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3475 FAILED->DISCONNECTED handler if it's scheduled
3477 2008-04-17 Dan Williams <dcbw@redhat.com>
3479 * src/nm-device-802-11-wireless.c
3480 - (state_changed_cb): clear AP list when device transitions to
3481 unavailable or unmanaged
3482 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3483 since this is already done in device_cleanup()
3484 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3485 isn't available or managed
3486 - (device_cleanup): use remove_all_aps()
3487 - (remove_all_aps): consolidate code removing all APs
3489 2008-04-17 Dan Williams <dcbw@redhat.com>
3491 * src/nm-serial-device.c
3492 src/nm-serial-device.h
3493 - (wait_for_reply_got_data): break input into lines, and search each
3494 line for responses _and_ terminator strings; also make sure that
3495 the read loop doesn't continue after the timeout is supposed to fire
3496 - (nm_serial_device_wait_for_reply): take an array of terminators too
3498 * src/nm-gsm-device.c
3499 src/nm-cdma-device.c
3500 - Send terminators to nm_serial_device_wait_for_reply()
3502 2008-04-16 Dan Williams <dcbw@redhat.com>
3504 Patch from 陈鑫 <znscnchen@gmail.com>
3506 * src/ppp-manager/nm-pppd-plugin.c
3507 - (get_credentials): return correct value for success; handle case where
3508 pppd just does some checking but doesn't want a password
3509 - (plugin_init): make CHAP work too
3511 2008-04-16 Dan Williams <dcbw@redhat.com>
3513 Patch from 陈鑫 <znscnchen@gmail.com>
3515 * src/ppp-manager/nm-ppp-manager.c
3516 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3518 2008-04-16 Dan Williams <dcbw@redhat.com>
3520 Patch from 陈鑫 <znscnchen@gmail.com>
3522 * src/nm-device-802-3-ethernet.c
3523 - (real_deactivate_quickly): clear the IP interface name on
3524 deactivation, otherwise the wrong interface might get used later
3525 for routing and IP management
3527 2008-04-15 Dan Williams <dcbw@redhat.com>
3529 * libnm-glib/nm-device.c
3530 - (get_product_and_vendor): handle serial devices correctly
3531 - (nm_device_update_description): pass device to get_product_and_vendor()
3533 2008-04-15 Dan Williams <dcbw@redhat.com>
3535 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3537 * src/NetworkManagerSystem.h
3538 src/backends/NetworkManagerArch.c
3539 src/backends/NetworkManagerDebian.c
3540 src/backends/NetworkManagerFrugalware.c
3541 src/backends/NetworkManagerGeneric.c
3542 src/backends/NetworkManagerGeneric.h
3543 src/backends/NetworkManagerGentoo.c
3544 src/backends/NetworkManagerMandriva.c
3545 src/backends/NetworkManagerPaldo.c
3546 src/backends/NetworkManagerRedHat.c
3547 src/backends/NetworkManagerSlackware.c
3548 src/backends/NetworkManagerSuSE.c
3550 - (nm_generic_device_add_ip6_link_address,
3551 nm_system_device_add_ip6_link_address): remove
3553 2008-04-15 Dan Williams <dcbw@redhat.com>
3555 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3557 * src/backends/NetworkManagerArch.c
3558 src/backends/NetworkManagerDebian.c
3559 src/backends/NetworkManagerFrugalware.c
3560 src/backends/NetworkManagerGeneric.c
3561 src/backends/NetworkManagerGeneric.h
3562 src/backends/NetworkManagerGentoo.c
3563 src/backends/NetworkManagerMandriva.c
3564 src/backends/NetworkManagerPaldo.c
3565 src/backends/NetworkManagerRedHat.c
3566 src/backends/NetworkManagerSlackware.c
3567 src/backends/NetworkManagerSuSE.c
3568 src/NetworkManagerSystem.h
3569 - flush_routes -> flush_ip4_routes
3570 - flush_addresses -> flush_ip4_addresses
3572 * src/NetworkManagerSystem.c
3574 src/vpn-manager/nm-vpn-connection.c
3575 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3577 2008-04-15 Dan Williams <dcbw@redhat.com>
3579 Remove exposure of wireless-tools mode types in the API.
3581 * include/NetworkManager.h
3582 - Define NM80211Mode enum
3584 * introspection/generic-types.xml
3585 - Describe NM_802_11_MODE enum
3586 - Remove IW_MODE_* enum
3588 * introspection/nm-access-point.xml
3589 libnm-glib/nm-access-point.c
3590 libnm-glib/nm-access-point.h
3591 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3593 * introspection/nm-device-802-11-wireless.xml
3594 libnm-glib/nm-device-802-11-wireless.c
3595 libnm-glib/nm-device-802-11-wireless.h
3596 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3598 * libnm-util/nm-setting-wireless.c
3599 src/NetworkManagerAP.c
3600 src/NetworkManagerAP.h
3601 src/nm-device-802-11-wireless.c
3602 src/nm-device-802-11-wireless.h
3604 - Use NM80211Mode not IW_MODE_*
3606 2008-04-15 Dan Williams <dcbw@redhat.com>
3608 Enhance nm-online based on a patch from Bill Nottingham.
3612 - Add help messages and option summary
3613 - Add long-format options
3614 - Add a '-x' option to exit if NM isn't running or isn't connecting
3616 2008-04-15 Tambet Ingo <tambet@gmail.com>
3618 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3620 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3622 2008-04-15 Dan Williams <dcbw@redhat.com>
3624 * nm-setting-ip4-config.c
3625 - (ip4_addresses_from_gvalue): handle NULL address array
3627 * nm-setting-8021x.c
3628 - (verify_tls, verify_ttls): warn on failed verification
3630 2008-04-10 Dan Williams <dcbw@redhat.com>
3632 * src/nm-gsm-device.c
3633 - (automatic_registration): accept "+CREG: 0,0"
3634 - (automatic_registration_response): fail on "+CREG: 0,0"
3636 2008-04-10 Tambet Ingo <tambet@gmail.com>
3638 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3640 2008-04-10 Tambet Ingo <tambet@gmail.com>
3642 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
3643 Make it compile again by commenting out broken code that at first didn't work and
3644 now didn't compile either.
3646 2008-04-08 Dan Williams <dcbw@redhat.com>
3648 * libnm-glib/nm-object-cache.c
3649 libnm-glib/nm-settings.c
3650 src/dhcp-manager/nm-dhcp-manager.c
3651 system-settings/plugins/ifcfg-fedora/plugin.c
3652 system-settings/plugins/ifcfg-suse/plugin.c
3653 system-settings/src/nm-system-config-hal-manager.c
3654 libnm-util/nm-utils.c
3655 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3656 not threadsafe anyway
3658 2008-04-08 Dan Williams <dcbw@redhat.com>
3660 * system-settings/src/main.c
3661 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3662 callbacks take a device type too
3664 2008-04-08 Dan Williams <dcbw@redhat.com>
3666 The system settings service will now create a new default DHCP connection
3667 for wired devices that have no existing applicable connection.
3669 * system-settings/src/nm-system-config-hal-manager.c
3670 system-settings/src/nm-system-config-hal-manager.h
3671 - (nm_system_config_hal_manager_get_type_for_udi): new function
3673 * system-settings/src/dbus-settings.c
3674 system-settings/src/dbus-settings.h
3675 - (nm_sysconfig_settings_get_connections): new function
3676 - (nm_sysconfig_settings_is_device_managed): new function
3678 * system-settings/src/main.c
3679 - (load_stuff): check for wired devices that need a default connection
3680 - (get_details_for_udi): get interface and MAC address from HAL
3681 - (add_default_dhcp_connection): add a default connection for a wired
3683 - (device_added_cb, device_removed_cb): do the right thing with
3684 wired devices and their default connections on HAL device events
3686 2008-04-07 Dan Williams <dcbw@redhat.com>
3688 * libnm-glib/nm-device.c
3689 libnm-glib/nm-device.h
3690 - Proxy the 'managed' property
3692 2008-04-07 Dan Williams <dcbw@redhat.com>
3694 * src/nm-gsm-device.c
3695 src/nm-cdma-device.c
3696 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3697 handler to transition to DISCONNECTED
3699 2008-04-07 Dan Williams <dcbw@redhat.com>
3701 Patch from Bill Nottingham
3703 * dispatcher-daemon/NetworkManagerDispatcher.c
3704 - ignore backup/packaging crufy (rh #440143)
3706 2008-04-07 Dan Williams <dcbw@redhat.com>
3708 * include/NetworkManager.h
3709 - Remove the DOWN and CANCELLED device states
3710 - Add UNMANAGED and UNAVAILABLE device states
3711 - Document the device states
3713 * introspection/nm-device.xml
3714 src/nm-device-interface.c
3715 src/nm-device-interface.h
3716 - Add the 'managed' property
3719 - (detail_device): print out device state
3721 * src/NetworkManagerSystem.h
3722 src/backends/NetworkManagerArch.c
3723 src/backends/NetworkManagerDebian.c
3724 src/backends/NetworkManagerFrugalware.c
3725 src/backends/NetworkManagerGentoo.c
3726 src/backends/NetworkManagerMandriva.c
3727 src/backends/NetworkManagerPaldo.c
3728 src/backends/NetworkManagerRedHat.c
3729 src/backends/NetworkManagerSlackware.c
3730 src/backends/NetworkManagerSuSE.c
3731 - (nm_system_device_get_system_config, nm_system_device_get_disabled
3732 nm_system_device_free_system_config): remove; they were unused and
3733 their functionality should be re-implemented in each distro's
3734 system settings service plugin
3736 * src/nm-gsm-device.c
3738 src/nm-cdma-device.c
3739 src/nm-cdma-device.h
3740 - (*_new): take the 'managed' argument
3743 - (nm_device_set_address): remove, fold into nm_device_bring_up()
3744 - (nm_device_init): start in unmanaged state, not disconnected
3745 - (constructor): don't start device until the system settings service
3746 has had a chance to figure out if the device is managed or not
3747 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
3748 don't set device state here, let callers handle that as appropriate
3749 - (nm_device_dispose): don't touch the device if it's not managed
3750 - (set_property, get_property, nm_device_class_init): implement the
3752 - (nm_device_state_changed): bring the device up if its now managed,
3753 and deactivate it if it used to be active
3754 - (nm_device_get_managed, nm_device_set_managed): do the right thing
3755 with the managed state
3757 * src/nm-hal-manager.c
3758 - (wired_device_creator, wireless_device_creator, modem_device_creator):
3759 take initial managed state and pass it along to device constructors
3760 - (create_device_and_add_to_list): get managed state and pass to
3763 * src/nm-device-802-11-wireless.c
3764 - (real_can_activate): fold in most of
3765 nm_device_802_11_wireless_can_activate()
3766 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
3767 - (link_timeout_cb): instead of deactivating, change device state and
3768 let the device state handler to it
3769 - (real_update_hw_address): clean up
3770 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3771 handler to transition to DISCONNECTED if the device isn't rfkilled
3773 * src/nm-device-802-3-ethernet.c
3774 - (set_carrier): move above callers and get rid of prototype
3775 - (device_state_changed): when entering UNAVAILABLE state, schedule an
3776 idle handler to transition to DISCONNECTED if the device has a
3778 - (real_update_hw_address): clean up
3779 - (link_timeout_cb, ppp_state_changed): change state instead of calling
3780 deactivation directly as deactivation doesn't change state anymore
3782 * src/NetworkManagerPolicy.c
3783 - (schedule_activate_check): yay, remove wireless_enabled hack since
3784 the NMManager and wireless devices work that out themselves now
3785 - (device_state_changed): change to a switch and update for new device
3787 - (device_carrier_changed): remove; device handles this now through
3789 - (device_added): don't care about carrier any more; the initial
3790 activation check will happen when the device transitions to
3794 - (dispose): clear unmanaged devices
3795 - (handle_unmanaged_devices): update unmanaged device list and toggle
3796 the managed property on each device when needed
3797 - (system_settings_properties_changed_cb): handle signals from the
3798 system settings service
3799 - (system_settings_get_unmanaged_devices_cb): handle callback from
3800 getting the unmanaged device list method call
3801 - (query_unmanaged_devices): ask the system settings service for its
3802 list of unmanaged devices
3803 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
3805 - (manager_set_wireless_enabled): push rfkill state down to wireless
3806 devices directly and let them handle the necessary state transitions
3807 - (manager_device_state_changed): update for new device states
3808 - (nm_manager_add_device): set initial rfkill state on wireless devices
3809 - (nm_manager_remove_device): don't touch the device if it's unmanaged
3810 - (nm_manager_activate_connection): return error if the device is
3812 - (nm_manager_sleep): handle new device states correctly; don't change
3813 the state of unavailable/unmanaged devices
3815 * libnm-glib/nm-device-802-11-wireless.c
3816 - (state_changed_cb): update for new device states
3818 2008-04-07 Dan Williams <dcbw@redhat.com>
3820 * marshallers/nm-marshal.list
3821 - Add VOID:STRING,UINT marshaller for system settings HAL manager
3823 2008-04-07 Dan Williams <dcbw@redhat.com>
3825 * system-settings/src/main.c
3826 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
3827 plugins to the dbus settings object
3828 - (load_stuff): start the dbus service after grabbing unmanaged devices
3829 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
3830 - (log_handler, logging_setup, logging_shutdown): log output to syslog
3831 - (main): switch default logging to syslog with a 'debug' option to
3832 output to console; start up the HAL manager
3834 2008-04-07 Dan Williams <dcbw@redhat.com>
3836 * introspection/nm-settings-system.xml
3837 introspection/Makefile.am
3838 - Define the unmanaged devices interface for the system settings service
3840 * system-settings/src/nm-system-config-hal-manager.c
3841 system-settings/src/nm-system-config-hal-manager.h
3842 system-settings/src/nm-system-config-hal-manager-private.h
3843 system-settings/src/Makefile.am
3844 - Add a lightweight HAL manager object for tracking network devices for
3845 the purpose of determining unmanaged devices and which devices need
3846 the default DHCP connections
3848 * system-settings/src/nm-system-config-interface.c
3849 system-settings/src/nm-system-config-interface.h
3850 - (nm_system_config_interface_init): add the HAL manager as an argument
3851 - (nm_system_config_interface_get_unmanaged_devices): implement
3852 - Define 'unmanaged-devices-changed' signal
3854 * system-settings/src/dbus-settings.c
3855 system-settings/src/dbus-settings.h
3856 - Implement the unmanaged devices interface; some cleanups
3858 * system-settings/plugins/ifcfg-suse/plugin.c
3859 - Fixup for plugin interface changes
3861 * system-settings/plugins/ifcfg-fedora/plugin.c
3862 - (get_ether_device_udi): new function; find the device that has
3863 a specified MAC address and return its UDI
3864 - (get_udi_for_connection): new function; try to find the specific
3865 device a connection is locked to, if any
3866 - (device_added_cb, device_removed_cb): update unmanaged device list in
3867 response to HAL events
3868 - (get_unmanaged_devices): new function; return unmanaged device list
3869 - (build_one_connection): set the connection's locked device, if any
3870 - (write_auto_wired_connection): remove
3871 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
3872 - (handle_connection_changed): alert listeners that the unmanaged device
3874 - (init): fixup for plugin interface changes, implement unmanaged devices
3876 * system-settings/plugins/ifcfg-fedora/parser.c
3877 system-settings/plugins/ifcfg-fedora/parser.h
3878 - (connection_data_free): clean up connection UDI
3880 2008-04-07 Dan Williams <dcbw@redhat.com>
3882 * system-settings/plugins/ifcfg-fedora/parser.c
3883 - (make_ip4_setting): fix parsing of DNS servers
3885 2008-04-05 Dan Williams <dcbw@redhat.com>
3889 marshallers/Makefile.am
3890 marshallers/nm-marshal-main.c
3891 marshallers/nm-marshal.list
3892 - Consolidate marshallers
3894 * libnm-glib/nm-marshal-main.c
3895 libnm-glib/nm-marshal.list
3896 src/marshallers/Makefile.am
3897 src/marshallers/nm-marshal-main.c
3898 src/marshallers/nm-marshal.list
3901 * libnm-glib/Makefile.am
3903 src/dhcp-manager/Makefile.am
3904 src/ppp-manager/Makefile.am
3905 src/supplicant-manager/Makefile.am
3906 src/vpn-manager/Makefile.am
3907 - Use consolidated marshallers
3909 2008-04-04 Dan Williams <dcbw@redhat.com>
3911 * src/nm-hal-manager.c
3912 src/nm-hal-manager.h
3913 - (hal_init): don't look for hardware here
3914 - (nm_hal_manager_start): new function; look for hardware here instead,
3915 which can be done at a later time than hal_init()
3917 * src/NetworkManager.c
3918 - (main): start HAL manager after entering the main loop
3920 2008-04-03 Dan Williams <dcbw@redhat.com>
3922 * libnm-glib/nm-settings.c
3923 libnm-glib/nm-settings.h
3924 - (nm_exported_connection_get_id): new function
3925 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
3927 2008-04-02 Dan Williams <dcbw@redhat.com>
3929 * src/nm-device-interface.c
3930 src/nm-device-interface.h
3933 - Rename check_connection_conflicts() to check_connection_compatible()
3935 * src/nm-device-802-11-wireless.c
3936 - (real_check_connection_conflicts): remove
3937 - (real_check_connection_compatible): implement; match MAC address
3939 * src/nm-device-802-3-ethernet.c
3940 - (real_check_connection_conflicts): remove
3941 - (real_check_connection_compatible): implement; match MAC address
3942 - (real_get_best_auto_connection): correctly handle PPPoE cases
3945 - (check_connection_allowed): remove; unused until PolicyKit integration
3946 - (internal_activate_device): check whether the connection is compatible
3947 with the device before trying to activate it
3949 2008-04-02 Dan Williams <dcbw@redhat.com>
3951 * system-settings/plugins/ifcfg-fedora/parser.c
3952 - (read_mac_address): new function; read in MAC address and stuff it
3954 - (add_one_wep_key): remove debug spew
3955 - (make_wireless_security_setting): validate the default TX key; don't
3956 add the wireless-security setting if the connection doesn't need
3957 security; don't leak the keys shvarFile on error cases
3958 - (make_wireless_setting, make_wired_setting): populate device's MAC
3961 2008-04-02 Dan Williams <dcbw@redhat.com>
3963 * libnm-util/nm-setting-connection.c
3964 libnm-util/nm-setting-connection.h
3965 - (set_property, get_property, nm_setting_connection_class_init): remove
3966 the 'lockdown' property; it's functionality will be replaced by
3969 2008-04-01 Dan Williams <dcbw@redhat.com>
3971 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
3974 initscript/Makefile.am
3975 initscript/Mandriva/Makefile.am
3976 initscript/Mandriva/networkmanager.in
3977 initscript/Mandriva/networkmanagerdispatcher.in
3978 src/backends/Makefile.am
3979 src/backends/NetworkManagerMandriva.c
3980 system-settings/plugins/Makefile.am
3981 - Add Mandriva support
3983 2008-03-31 Dan Williams <dcbw@redhat.com>
3985 * src/vpn-manager/nm-vpn-service.c
3986 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
3987 errors can be passed back to the caller; also no longer scheduled
3988 as an idle handler, but called directly; and bump up VPN service
3989 spawn timeout, 2s is really short
3990 - (nm_vpn_service_activate): don't schedule the VPN service activation,
3991 but call it directly so that errors are reported on return from
3992 ActivateConnection() and don't get lost. If scheduled as an idle
3993 handler, clients don't have the time to query NM for the new VPN
3994 connection's properties before the VPN connection is torn down again
3995 if the service couldn't be launched, and therefore launch errors
3998 2008-03-31 Dan Williams <dcbw@redhat.com>
4000 * src/vpn-manager/nm-vpn-connection.c
4001 - (device_state_changed): send correct state on device failure too
4002 - (plugin_state_changed): failed state means unexpected disconnection,
4003 thus if the service goes away while the VPN connection is activated
4004 that's a failure too
4006 2008-03-31 Dan Williams <dcbw@redhat.com>
4008 * src/vpn-manager/nm-vpn-manager.c
4009 src/vpn-manager/nm-vpn-manager.h
4010 - Make VPNManager errors more available; add a service-start-failed error
4012 2008-03-31 Dan Williams <dcbw@redhat.com>
4014 * libnm-glib/nm-client.c
4015 libnm-glib/nm-client.h
4016 - (activate_cb): pass the new active connection to callback; fix
4017 message when no callback is specified
4019 2008-03-30 Dan Williams <dcbw@redhat.com>
4021 * libnm-util/nm-setting-wireless-security.c
4022 - (need_secrets): only require key0 if the transmit key index is also
4024 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4026 2008-03-29 Dan Williams <dcbw@redhat.com>
4028 * libnm-util/nm-setting-8021x.c
4029 libnm-util/nm-setting-ip4-config.c
4030 libnm-util/nm-setting-vpn-properties.c
4031 libnm-util/nm-setting-vpn.c
4032 libnm-util/nm-setting-wireless-security.c
4033 libnm-util/nm-setting-wireless.c
4034 libnm-util/nm-utils.c
4035 src/dhcp-manager/nm-dhcp-manager.c
4036 src/nm-activation-request.c
4039 src/nm-properties-changed-signal.c
4040 src/ppp-manager/nm-pppd-plugin.c
4041 src/supplicant-manager/nm-supplicant-interface.c
4042 src/vpn-manager/nm-vpn-connection.c
4043 - consistently use nm-dbus-glib-types.h
4045 2008-03-29 Dan Williams <dcbw@redhat.com>
4047 * src/vpn-manager/nm-vpn-connection.c
4048 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4051 * src/nm-activation-request.c
4052 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4055 2008-03-29 Dan Williams <dcbw@redhat.com>
4057 * libnm-glib/nm-device-802-11-wireless.c
4058 - (access_point_added_proxy): create new APs if not found
4060 2008-03-29 Dan Williams <dcbw@redhat.com>
4062 * libnm-glib/nm-client.c
4063 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4066 2008-03-29 Dan Williams <dcbw@redhat.com>
4068 * system-settings/plugins/ifcfg-fedora/parser.c
4069 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4070 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4072 2008-03-29 Dan Williams <dcbw@redhat.com>
4074 * system-settings/plugins/ifcfg-fedora/parser.c
4075 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4077 2008-03-27 Dan Williams <dcbw@redhat.com>
4080 - (nm_object_queue_notify): don't notify multiple times for the same
4083 * nm-object-private.h
4084 - (handle_ptr_array_return): return NULL if the given array is NULL or
4085 if it has zero elements
4088 - (finalize): use g_ptr_array_foreach() when freeing domains
4089 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4091 * nm-active-connection.c
4092 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4094 * nm-device-802-11-wireless.c
4095 nm-device-802-11-wireless.h
4096 - (nm_device_802_11_wireless_get_access_points): return const; use
4097 handle_ptr_array_return()
4100 - (nm_object_array_demarshal): always create an array, even of length
4101 zero, to distinguish between "NM returned no items" and "haven't
4105 - (dispose): free active connections too
4106 - (proxy_name_owner_changed): free active connections too when NM goes
4108 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4109 - (nm_client_get_active_connections): use handle_ptr_array_return()
4111 2008-03-26 Dan Williams <dcbw@redhat.com>
4113 Rework VPN connection handling for a more consistent D-Bus API. The
4114 VPNManager object has been removed, and active VPN connections are now the
4115 same as any other active connection. The Manager object's ActivateConnection
4116 and DeactivateConnection methods are used to start and stop a VPN connection,
4117 and the VPNConnection objects are subclasses of the ActiveConnection objects.
4118 When activating a VPN connection, pass the path of the active connection
4119 to which the VPN connection is tied in the 'specific_object' argument.
4121 Consequently, the libnm-glib API has been reworked to match this arrangement,
4122 with the VPNManager object removed, and the NMVPNConnection objects now
4123 being subclasses of NMActiveConnection.
4125 2008-03-25 Dan Williams <dcbw@redhat.com>
4127 Patch from Björn Martensen <bjoern.martensen@gmail.com>
4129 * initscript/Arch/networkmanager.in
4130 initscript/Arch/networkmanager-dispatcher.in
4131 - Updates for Arch Linux (gnome.org #523701)
4133 2008-03-25 Dan Williams <dcbw@redhat.com>
4135 * libnm-glib/nm-ip4-config.c
4136 libnm-glib/nm-active-connection.c
4137 libnm-glib/nm-access-point.c
4138 - Use nm_object_queue_notify() instead of g_object_notify()
4140 * libnm-glib/nm-device.c
4141 - (demarshal_ip4_config): distinguish between successful but missing
4142 ip4-config request, and unsuccessful and missing ip4-config request
4143 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4145 - Use nm_object_queue_notify() instead of g_object_notify()
4147 * libnm-glib/nm-device-802-11-wireless.c
4148 - (demarshal_active_ap): distinguish between successfull but missing
4149 active-ap request, and unsuccessful and missing active-ap request
4150 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4152 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4153 for the NMClient to notify the device that wireless is disabled,
4154 and therefore to clear the AP list and active AP
4155 - Use nm_object_queue_notify() instead of g_object_notify()
4157 * libnm-glib/nm-client.c
4158 - (poke_wireless_devices_with_rf_status): new function
4159 - (update_wireless_status): notify wireless devices of the rfkill status
4160 so they can clean up if needed
4161 - Use nm_object_queue_notify() instead of g_object_notify()
4163 2008-03-25 Dan Williams <dcbw@redhat.com>
4165 * libnm-glib/nm-object.c
4166 libnm-glib/nm-object-private.h
4167 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4168 signals to an idle handler
4169 - (nm_object_get_property): add a timeout to the D-Bus method call
4171 2008-03-25 Dan Williams <dcbw@redhat.com>
4173 * introspection/nm-device-cdma.xml
4174 introspection/nm-device-gsm.xml
4175 introspection/Makefile.am
4176 introspection/all.xml
4177 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4179 * src/nm-gsm-device.h
4181 src/nm-cdma-device.h
4182 src/nm-cdma-device.c
4184 - Implement PropertiesChanged signals
4186 * libnm-glib/nm-cdma-device.c
4187 libnm-glib/nm-cdma-device.c
4188 - Attach to PropertiesChanged signals
4190 2008-03-24 Dan Williams <dcbw@redhat.com>
4192 * libnm-glib/nm-client.c
4193 - (client_device_added_proxy): add new devices to the internal device
4194 list so they appear to clients
4196 2008-03-24 Dan Williams <dcbw@redhat.com>
4198 Massive fixup of libnm-glib to:
4199 a) have all objects (with the exception of VPN) cache their properties and
4200 update them asynchronously on PropertiesChanged signals from NM
4201 b) return internal const data for most attributes/properties instead of
4202 allocated values that the caller must free
4203 c) cache wrapped objects such that a given D-Bus path will always map to the
4204 same GObject returned by libnm-glib
4205 d) remove a few signals and move them to GObject property notifications
4206 e) match recent NM D-Bus API changes for activation/deactivation
4207 f) remove some private functions from libnm-glib headers
4209 2008-03-20 Dan Williams <dcbw@redhat.com>
4212 - (nm_manager_update_state, manager_device_state_changed,
4213 nm_manager_activate_device, connection_added_default_handler,
4214 impl_manager_activate_connection, impl_manager_deactivate_connection):
4215 queue PropertyChanged singals when the active connections change
4217 2008-03-20 Dan Williams <dcbw@redhat.com>
4219 * introspection/nm-manager.xml
4220 introspection/nm-manager-client.xml
4221 - (ActivateConnection): return the object path of the active connection
4223 - (GetActiveConnections): remove
4224 - (DeactivateConnection): new function; deactivate a currently active
4226 - Add an ActiveConnections property which returns an array of
4227 active connection object paths
4229 * introspection/nm-device.xml
4230 - (Deactivate): remove
4232 * introspection/all.xml
4233 - Add ActiveConnection introspection
4235 * introspection/nm-active-connection.xml
4236 - Add the ActiveConnection object
4238 * include/NetworkManager.h
4239 - Add the Connection.Active D-Bus interface
4241 * src/nm-device-interface.c
4242 - (impl_device_deactivate): remove
4244 * src/nm-activation-request.c
4245 src/nm-activation-request.c
4247 - Implement the Connection.Active D-Bus interface
4250 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4251 - (nm_manager_activate_device): return the active connection path
4252 - (connection_added_default_handler, impl_manager_activate_connection):
4253 return the active connection to the caller
4254 - (add_one_connection_element, impl_manager_get_active_connections):
4256 - (impl_manager_deactivate_connection): new function; deactivate an
4259 * libnm-glib/nm-device.c
4260 libnm-glib/nm-device.h
4261 - Remove Deactivate() function
4263 2008-03-19 Dan Williams <dcbw@redhat.com>
4265 * introspection/nm-manager.xml
4266 introspection/nm-manager-client.xml
4267 - Rename the ActivateDevice method to ActivateConnection to better
4268 reflect it's usage; it's arguments get reordered a bit too
4269 - Convert GetActiveConnections method return from a struct to a dict
4271 * include/NetworkManager.h
4272 - Define the dict keys for return value of GetActiveConnections
4275 - impl_manager_activate_device -> impl_manager_activate_connection
4276 - (add_one_connection_element): return a populated hash table, not
4279 * libnm-glib/nm-client.c
4280 libnm-glib/nm-client.h
4281 - nm_client_activate_device -> nm_client_activate_connection
4282 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4283 - (nm_client_get_active_connections): return a GSList of GHashTables,
4284 instead of the custom structures. Each element of the returned list
4285 must be freed with nm_client_free_active_connections_element()
4287 2008-03-18 Dan Williams <dcbw@redhat.com>
4289 * system-settings/plugins/ifcfg-fedora/parser.c
4290 system-settings/plugins/ifcfg-fedora/parser.h
4291 system-settings/plugins/ifcfg-fedora/plugin.c
4292 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4293 profiles. DNS servers and searches must now be stored in the ifcfg
4296 2008-03-18 Tambet Ingo <tambet@gmail.com>
4298 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4299 print out username and password, it's supposed to be a secret.
4301 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
4302 request and set the device state accordingly.
4304 2008-03-18 Tambet Ingo <tambet@gmail.com>
4306 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4308 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4310 2008-03-18 Dan Williams <dcbw@redhat.com>
4312 * src/vpn-manager/nm-vpn-connection.c
4313 - (get_secrets_cb): handle new GetSecrets return format
4315 2008-03-18 Dan Williams <dcbw@redhat.com>
4317 Adapt system settings service for split 802.1x.
4319 * system-settings/src/nm-system-config-interface.h
4320 - clarify return value of get_secrets()
4322 * system-settings/src/dbus-settings.c
4323 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4324 - (check_for_secrets): check if there actually secrets returned by a
4326 - (exported_connection_get_secrets): just return the plugin-returned
4327 hash of settings' secrets if it looks valid
4329 * system-settings/plugins/ifcfg-fedora/plugin.c
4330 - (get_secrets): add split secrets with correct format to reply hash
4332 * system-settings/plugins/ifcfg-fedora/parser.c
4333 system-settings/plugins/ifcfg-fedora/parser.h
4334 - (copy_one_cdata_secret, connection_data_copy_secrets,
4335 connection_data_free, connection_data_add): keep secrets for
4336 different settings in different hashes
4338 2008-03-17 Tambet Ingo <tambet@gmail.com>
4340 Clean up activating device deactivation.
4342 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4343 should be done whether the device activation gets cancelled or the device
4344 is just getting deactivated.
4345 (nm_device_activation_cancel): Remove.
4346 (nm_device_deactivate_quickly): Handle the case where device is activating.
4348 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4349 It does the exact same thing as real_deactivate_quickly().
4351 2008-03-17 Dan Williams <dcbw@redhat.com>
4353 Split the 802.1x bits out of the wireless-security setting so they are
4354 generalized enough for wired 802.1x to use too.
4356 * introspection/nm-exported-connection.xml
4357 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4358 of just a hash of the secrets for one setting
4360 * libnm-util/nm-setting-wireless-security.c
4361 libnm-util/nm-setting-wireless-security.h
4362 - Remove 802.1x-specific stuff
4363 - Added leap-username and leap-password properties for old-school LEAP
4367 - (connection_secrets_updated_cb): take a list of updated settings names,
4370 * src/supplicant-manager/nm-supplicant-config.c
4371 src/supplicant-manager/nm-supplicant-config.h
4372 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4373 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4374 to nm_supplicant_config_add_setting_8021x()
4375 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4376 the supplicant config
4378 * src/nm-device-802-11-wireless.c
4379 - (build_supplicant_config): pass in the 802.1x setting too, if any
4380 - (real_connection_secrets_updated): take a list of updated settings
4383 * src/nm-device-802-3-ethernet.c
4384 src/nm-cdma-device.c
4386 - (real_connection_secrets_updated_cb): take a list of updated settings
4389 * src/nm-activation-request.c
4390 src/nm-activation-request.h
4391 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4392 now passes a list of updated settings names, not just one
4393 - (update_one_setting): new function; handle one updated setting
4394 - (get_secrets_cb): handle multiple settings returned from the
4395 settings service; have to be careful of ordering here as there are
4396 some dependencies between settings (ex. wireless-security and 802.1x
4399 * src/marshallers/nm-marshal.list
4400 - new marshaller for connection-secrets-updated signal
4402 * libnm-util/nm-setting-8021x.c
4403 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4405 - (verify): a valid 'eap' property is now required
4407 * libnm-util/nm-connection.c
4408 - (register_default_settings): add priorities to settings; there are
4409 some dependencies between settings, and during the need_secrets
4410 calls this priority needs to be respected. For example, only the
4411 wireless-security setting knows whether or not the connection is
4412 going to use 802.1x or now, so it must be asked for secrets before
4413 any existing 802.1x setting is
4414 - (nm_connection_lookup_setting_type): expose
4416 * libnm-util/nm-setting-wireless.c
4417 - (verify): should verify even if all_settings is NULL; otherwise won't
4418 catch the case where there is missing security
4420 * libnm-util/nm-setting-wireless-security.c
4421 - Remove everything to do with 802.1x
4422 - Add old-school LEAP specific properties for username and password
4423 - (need_secrets): rework LEAP secrets checking
4424 - (verify): rework for LEAP and 802.1x verification
4426 2008-03-17 Dan Williams <dcbw@redhat.com>
4428 * src/NetworkManagerPolicy.c
4429 - (auto_activate_device): always remove the current activation check
4430 from the pending activation list, otherwise when the policy gets
4431 destroyed on NM exit it will attempt to free the already freed
4434 2008-03-14 Tambet Ingo <tambet@gmail.com>
4436 * src/backends/NetworkManagerSlackware.c
4437 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4439 * src/backends/NetworkManagerSuSE.c: Add missing includes.
4441 2008-03-14 Dan Williams <dcbw@redhat.com>
4444 - (nm_device_interface_get_iface): g_object_get() will return an
4445 allocated value, so this function must not return const
4446 - (nm_device_interface_activate): free returned iface
4448 2008-03-14 Tambet Ingo <tambet@gmail.com>
4450 * libnm-util/Makefile.am: Add new files to build.
4452 * libnm-util/nm-connection.c: Register NMSetting8021x.
4454 * libnm-util/nm-setting-8021x.c
4455 * libnm-util/nm-setting-8021x.h: Implement.
4457 2008-03-14 Tambet Ingo <tambet@gmail.com>
4459 * libnm-util/Makefile.am: Add new files to build.
4461 * libnm-util/nm-connection.c: Register NMSetting8021x.
4463 * libnm-util/nm-setting-8021x.c
4464 * libnm-util/nm-setting-8021x.h: Implement.
4466 2008-03-14 Tambet Ingo <tambet@gmail.com>
4468 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4471 2008-03-14 Dan Williams <dcbw@redhat.com>
4473 * include/wireless-helper.h
4475 - One place for all the junk needed for #including wireless.h
4478 src/NetworkManagerAP.c
4481 libnm-util/nm-utils.c
4482 libnm-util/nm-setting-wireless.c
4483 libnm-glib/nm-device-802-11-wireless.c
4484 libnm-glib/nm-access-point.c
4485 libnm-glib/libnm-glib-test.c
4486 - include wireless-helper.h, not iwlib.h
4489 - Don't need libiw really, just need to check for wireless.h
4491 * src/kernel-types.h
4492 - Remove; used types moved into wpa.c
4494 * src/nm-device-802-11-wireless.c
4495 - (nm_device_802_11_wireless_update_signal_strength,
4496 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4497 nm_device_802_11_wireless_set_mode,
4498 nm_device_802_11_wireless_get_frequency,
4499 nm_device_802_11_wireless_get_ssid,
4500 nm_device_802_11_wireless_set_ssid,
4501 nm_device_802_11_wireless_get_bitrate,
4502 nm_device_802_11_wireless_get_bssid,
4503 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4504 instead of iwlib functions
4506 2008-03-14 Dan Williams <dcbw@redhat.com>
4508 * src/ppp-manager/nm-ppp-manager.c
4509 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4510 should only take the DBusGMethodInvocation argument, not user/pass
4511 too. With dbus-glib, async functions only take 2 C arguments since
4512 the real dbus method arguments get passed back with
4513 dbus_g_method_return()
4515 2008-03-13 Tambet Ingo <tambet@gmail.com>
4517 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
4518 Adapt the changes of NMSettingIP4Config.
4520 2008-03-13 Dan Williams <dcbw@redhat.com>
4522 * src/NetworkManagerUtils.c
4523 src/NetworkManagerUtils.h
4524 - (nm_ether_ntop): replacement for iw_ether_ntop()
4526 * src/NetworkManagerAP.c
4527 src/nm-device-802-11-wireless.c
4528 src/nm-device-802-3-ethernet.c
4529 - s/iw_ether_ntop/nm_ether_ntop/g
4531 2008-03-13 Dan Williams <dcbw@redhat.com>
4533 * src/NetworkManagerPolicy.c
4534 - (update_routing_and_dns): never set the default route through an
4535 IPv4LL addressed device
4537 2008-03-13 Dan Williams <dcbw@redhat.com>
4539 * NetworkManagerUtils.c
4540 NetworkManagerUtils.h
4541 - Remove NMSock stuff
4542 - Remove the completion stuff
4547 NetworkManagerSystem.c
4549 nm-device-802-11-wireless.c
4550 nm-device-802-3-ethernet.c
4551 - Remove NMSock and completion stuff
4552 - Remove nm_ioctl_info()
4554 2008-03-12 Dan Williams <dcbw@redhat.com>
4557 - (merge_ip4_config): avoid duplicates
4559 2008-03-12 Dan Williams <dcbw@redhat.com>
4561 * libnm-util/nm-setting-ip4-config.c
4562 libnm-util/nm-setting-ip4-config.h
4563 - Remove 'manual' and 'autoip' properties
4564 - Add 'method' property
4565 - (verify): fix verification with 'method'
4566 - (finalize): free 'method'
4567 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4571 - (real_act_stage3_ip_config_start): check IP4Config method
4572 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4574 - (merge_ip4_config): IP settings are valid with DHCP too
4575 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4576 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4578 * src/nm-device-802-11-wireless.c
4579 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4580 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4583 * system-settings/plugins/ifcfg-fedora/parser.c
4584 system-settings/plugins/ifcfg-suse/parser.c
4585 - (make_ip4_setting): fix up for 'method'
4587 2008-03-12 Dan Williams <dcbw@redhat.com>
4589 * system-settings/plugins/ifcfg-fedora/parser.c
4590 system-settings/plugins/ifcfg-fedora/parser.h
4591 - (get_ifcfg_name): ignore more file suffixes
4592 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4594 2008-03-12 Dan Williams <dcbw@redhat.com>
4597 - Bring in the bits of gnome-common we actually use (all 15 lines)
4599 2008-03-12 Dan Williams <dcbw@redhat.com>
4601 * system-settings/plugins/ifcfg-fedora/plugin.c
4602 - (write_auto_wired_connection): new function; write out an auto
4603 wired connection file since the applet isn't doing it any more
4604 - (reload_all_connections): write out the auto wired connection file
4605 if there aren't any wired connections already
4606 - (init): don't leak a GError
4608 2008-03-12 Dan Williams <dcbw@redhat.com>
4610 * src/nm-device-interface.c
4611 - (nm_device_interface_activate): print the ID of the connection
4612 that's about to be activated
4614 2008-03-12 Dan Williams <dcbw@redhat.com>
4616 Harmonize the 802.11 bitrate API
4618 * introspection/nm-access-point.xml
4619 - 'Rate' -> 'MaxBitrate'; clarify units
4621 * introspection/nm-device-802-11-wireless.xml
4622 - Clarify units of 'Bitrate'
4624 * src/NetworkManagerAP.c
4625 src/NetworkManagerAP.h
4626 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4627 property to 'max-bitrate'
4628 - (foreach_property_cb): convert rate to Kb/s
4630 * src/nm-device-802-11-wireless.c
4631 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4633 * libnm-glib/nm-access-point.c
4634 libnm-glib/nm-access-point.h
4635 - 'rate' -> 'max-bitrate'
4638 libnm-glib/libnm-glib-test.c
4639 - Fix up for these changes
4641 2008-03-12 Dan Williams <dcbw@redhat.com>
4644 - (nm_device_set_ip4_config): don't send property notifications when
4645 the ip4 config is set to NULL; it causes a PropertyChanged signal
4646 which dbus-glib can't parse because the value is NULL, which isn't
4647 a legal object path. Setting the IP4 config to NULL is only
4648 valid when deactivating a device anyway, so the device state change
4649 will alert listeners that the ip4 config is invalid.
4651 2008-03-12 Dan Williams <dcbw@redhat.com>
4653 * src/nm-properties-changed-signal.c
4654 - (add_to_string): better handling of NULL objects
4656 2008-03-12 Dan Williams <dcbw@redhat.com>
4658 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4659 convert the libnm-glib NMDevice8023Ethernet to cached properties
4661 * introspection/nm-device-802-3-ethernet.xml
4662 - New 'Carrier' property
4663 - New 'PropertiesChanged' signal
4665 * introspection/nm-device.xml
4666 - Remove 'Carrier' property
4667 - Remove 'CarrierChanged' signal
4669 * src/nm-device-interface.c
4670 src/nm-device-interface.h
4671 - (nm_device_interface_init): remove 'carrier' property and
4672 'carrier-changed' signal
4676 - (nm_device_get_carrier, nm_device_set_carrier): remove
4677 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
4678 the link here; wired device will handle that
4679 - (handle_dhcp_lease_change): don't bother updating link here
4680 - (get_property, nm_device_class_init): remove carrier property
4682 * src/nm-device-802-11-wireless.c
4683 - (real_update_link, nm_device_802_11_wireless_class_init): remove
4684 real_update_link(); wireless devices don't use carrier at all
4685 - (link_timeout_cb, supplicant_iface_state_cb_handler,
4686 supplicant_iface_connection_state_cb_handler,
4687 supplicant_mgr_state_cb_handler): remove anything to do with carrier
4689 * src/nm-device-802-3-ethernet.c
4690 src/nm-device-802-3-ethernet.h
4691 - (nm_device_802_3_ethernet_carrier_on,
4692 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
4693 instead of nm_device_set_carrier()
4694 - (device_state_changed): update link from sysfs on activation;
4695 replaces real_update_link()
4696 - (real_update_link): remove, replaced by device_state_changed()
4697 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
4698 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
4699 - (real_get_generic_capabilities, real_can_interrupt_activation): use
4700 new get_carrier function
4701 - (get_property): add 'carrier' property
4702 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
4703 hook into property-changed signal helper
4705 * src/NetworkManagerPolicy.c
4706 - (device_carrier_changed): will only ever be called with a wired device
4707 - (device_added): only hook up to carrier-changed for wired devices
4709 * libnm-glib/nm-device.c
4710 libnm-glib/nm-device.h
4711 - (constructor, nm_device_class_init): remove carrier-changed signal
4712 - (device_carrier_changed_proxy): remove; unused
4713 - (nm_device_get_carrier): remove; carrier a property of wired devices
4715 * libnm-glib/nm-device-802-3-ethernet.c
4716 libnm-glib/nm-device-802-3-ethernet.h
4717 - Convert to cached properties like AP and Wireless objects
4718 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
4719 instead of a 'char *', return value should not be freed
4720 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
4721 - (constructor): hook into properties-changed helper
4722 - (set_property, get_property): new functions
4723 - (nm_device_802_3_ethernet_class_init): export GObject properties
4726 - (detail_device): strdup the wired hardware address too since it's
4729 * libnm-glib/libnm-glib-test.c
4730 - (dump_wired): strdup the wired hardware address too since it's
4733 2008-03-12 Dan Williams <dcbw@redhat.com>
4735 * libnm-util/nm-setting-ip4-config.c
4736 libnm-util/nm-setting-ip4-config.h
4737 - (set_property, get_property, nm_setting_ip4_config_class_init): add
4738 the 'autoip' property from the spec
4740 2008-03-11 Dan Williams <dcbw@redhat.com>
4742 * src/backends/NetworkManagerGeneric.c
4743 src/backends/NetworkManagerGeneric.h
4744 - (nm_generic_device_get_use_dhcp): remove
4746 2008-03-11 Dan Williams <dcbw@redhat.com>
4749 - (nm_device_deactivate): don't need to munge DNS here; that gets done
4750 already in nm_device_set_ip4_config()
4751 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
4752 due to a DHCP rebind fails
4753 - (nm_device_set_ip4_config): send property notifications when the
4755 - (get_property): only report IP4Config property during valid states
4757 * src/NetworkManagerPolicy.c
4758 - (update_routing_and_dns): ignore devices that don't have an ip4
4759 config; add parameter 'force_update' to allow callers to specify
4760 that changes should be made even if the default device doesn't change
4761 - (device_ip4_config_changed): update DNS and routing when the device's
4762 IP4Config changes, like for DHCP updates
4763 - (device_added): listen for ip4-config property changes
4765 2008-03-11 Dan Williams <dcbw@redhat.com>
4767 Fix address handling as a result of DHCP rebind/renew/reboot.
4769 * src/NetworkManagerSystem.c
4770 - (check_one_address): delete an address if it doesn't match a given
4771 one for the same interface
4772 - (nm_system_device_set_from_ip4_config): don't flush the default route,
4773 be smarter about flushing addresses (only flush ones that don't
4774 match the one we're about to apply)
4776 * src/backends/NetworkManagerDebian.c
4777 src/backends/NetworkManagerSuSE.c
4778 src/backends/NetworkManagerArch.c
4779 src/backends/NetworkManagerSlackware.c
4780 src/backends/NetworkManagerRedHat.c
4781 src/backends/NetworkManagerPaldo.c
4782 src/backends/NetworkManagerFrugalware.c
4783 src/backends/NetworkManagerGentoo.c
4784 - (nm_system_delete_default_route): remove
4786 * src/backends/NetworkManagerGeneric.c
4787 src/backends/NetworkManagerGeneric.h
4788 - (nm_generic_enable_loopback): fix the loopback device label
4789 - (nm_generic_delete_default_route): remove; no longer used
4791 2008-03-11 Dan Williams <dcbw@redhat.com>
4793 * src/nm-device-interface.h
4794 - Delimit property name words with '-', otherwise g_object_notify()
4795 doesn't work the way we expect
4797 2008-03-11 Tambet Ingo <tambet@gmail.com>
4799 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
4801 2008-03-11 Dan Williams <dcbw@redhat.com>
4803 * src/NetworkManagerPolicy.c
4804 - (update_routing_and_dns): don't change anything if the default device
4805 hasn't changed; print something out when switching the default route
4808 2008-03-10 Tambet Ingo <tambet@gmail.com>
4812 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
4813 setting. Use "nic-$eth".
4815 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
4816 the device is activating here to fix a race condition.
4818 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
4820 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
4821 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
4822 (nm_ppp_manager_start): Take activation request instead of connection, we might
4823 need it for asking secrets.
4824 (nm_ppp_manager_update_secrets): Implement.
4826 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
4827 ppp manager start. It might be needed for asking secrets.
4829 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
4830 (ppp_state_changed): Handle pppd daemon disappearing.
4831 (pppoe_stage2_config): Send activation request to ppp manager start.
4833 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
4835 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
4836 username and password.
4838 2008-03-10 Dan Williams <dcbw@redhat.com>
4841 - (handle_dhcp_lease_change): apply an IP4 config to a device in
4842 response to a DHCP lease change
4843 - (dhcp_state_changed): handle DHCP lease changes while activated
4844 - (nm_device_set_ip4_config): remove a previously set named config
4845 when setting an ip4 config
4847 2008-03-10 Dan Williams <dcbw@redhat.com>
4849 * src/nm-serial-device.c
4850 - (nm_serial_device_send_command): report errno on error
4851 - (get_reply_got_data): limit the size of the overall buffer
4852 - (wait_for_reply_info_destroy): destroy result string
4853 - (wait_for_reply_got_data): append received data to an overall buffer
4854 until timeout, filled buffer, or error instead of keeping a per-call
4855 buffer. Some devices send data slowly enough that this function
4856 gets called multiple times for the same command stream.
4857 - (nm_serial_device_wait_for_reply): initialize overall buffer for
4858 wait_for_reply_got_data() here
4860 2008-03-10 Dan Williams <dcbw@redhat.com>
4862 * src/nm-cdma-device.c
4863 - (do_dial, init_modem): handle errors from
4864 nm_serial_device_send_command_string()
4866 * src/nm-gsm-device.c
4867 - (do_dial, manual_registration, automatic_registration_get_network,
4868 automatic_registration, enter_pin, check_pin, init_modem): handle
4869 errors from nm_serial_device_send_command_string()
4871 2008-03-10 Dan Williams <dcbw@redhat.com>
4873 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
4875 * src/named-manager/nm-named-manager.c
4876 - (compute_searches): prefer searches before domains
4877 - (compute_domain): new function
4878 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
4879 - (merge_one_ip4_config): if there are no searches in the source config,
4880 merge domains of the source config into the target config
4881 - (compute_nameservers): make formatting of resolv.conf a bit nicer
4883 2008-03-10 Dan Williams <dcbw@redhat.com>
4885 * src/nm-serial-device.c
4886 - (get_reply_got_data): clean up indentation, shrink serial buffer
4887 - (wait_for_reply_got_data): try to handle slower serial devices where
4888 the reply is broken up into multiple reads by concatenating replies
4889 together until either an error is received or the search string is
4892 2008-03-10 Dan Williams <dcbw@redhat.com>
4895 - (nm_device_bring_down): deactivate the device if it's activating too,
4896 not just if it's already activated. This makes sure that everything
4897 from an association attempt is cleaned up (like DHCP for example)
4899 2008-03-10 Dan Williams <dcbw@redhat.com>
4901 * src/nm-serial-device.c
4902 - (config_fd): report error from TCSETA
4903 - (nm_serial_device_open): fail when config_fd() fails
4905 2008-03-10 Dan Williams <dcbw@redhat.com>
4907 * src/nm-ip4-config.c
4908 - (nm_ip4_config_init): allocate searches list
4909 - (finalize): free searches list
4911 2008-03-09 Dan Williams <dcbw@redhat.com>
4913 Patch from Bas Zoetekouw <bas@debian.org>
4915 * src/dhcp-manager/nm-dhcp-manager.c
4916 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
4918 2008-03-09 Dan Williams <dcbw@redhat.com>
4920 Patch from Bas Zoetekouw <bas@debian.org>
4922 * src/nm-ip4-config.c
4924 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
4925 nm_ip4_config_get_num_searches): add 'searches' as distinct from
4926 domains. 'searches' is the correct way to store multiple search
4927 domains, whereas 'domains' is really just supposed to store one
4928 domain. Some sites abuse the DHCP 'domain-name' option to push
4929 search domains to the client.
4930 - (nm_ip4_config_add_domain): group with related functions (my patch)
4932 2008-03-09 Dan Williams <dcbw@redhat.com>
4934 * src/dhcp-manager/nm-dhcp-manager.c
4935 - (dhclient_run): send interface-specific config files to dhclient
4937 2008-03-07 Dan Williams <dcbw@redhat.com>
4939 * system-settings/plugins/ifcfg-fedora/parser.c
4940 - (is_wireless_device): new function; test a device for wireless
4942 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
4943 test the device for wireless extensions to determine the type
4945 2008-03-07 Dan Williams <dcbw@redhat.com>
4947 Change manager's StateChange signal to StateChanged for consistency.
4949 * introspection/nm-manager.xml
4950 - Add 'StateChanged' signal
4951 - Move 'StateChange' down to the deprecated section
4953 * src/nm-hal-manager.c
4954 - (nm_hal_manager_new): connect to 'state-changed' instead
4956 * src/NetworkManagerPolicy.c
4957 - (nm_policy_new): connect to 'state-changed' instead
4961 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
4962 - (nm_manager_class_init): add 'state-changed' and not the deprecation
4965 * libnm-glib/nm-client.c
4966 libnm-glib/nm-client.h
4967 - (constructor, nm_client_class_init, client_state_changed_proxy):
4968 track and proxy 'state-changed' instead of 'state-change'
4970 2008-03-07 Dan Williams <dcbw@redhat.com>
4972 First pass of multiple active device support. Expect bugs.
4974 * src/nm-ip4-config.c
4976 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
4977 there are better ways to do this in the named manager
4981 - (nm_device_can_activate): return whether the device can activate a
4982 connection right now; taking into account things like carrier state
4984 - (nm_device_get_best_auto_connection): renamed from
4985 nm_device_get_best_connection
4986 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
4987 device subclasses themselves, so that each device can override the
4988 MTU from it's NMSetting subclass if needed
4989 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
4990 in NetworkManagerSystem.c, not here
4992 * src/named-manager/nm-named-manager.c
4993 src/named-manager/nm-named-manager.h
4994 - (nm_named_manager_name_owner_changed,
4995 nm_named_manager_dbus_connection_changed): fix for changes to
4996 rewrite_resolv_conf()
4997 - (compute_nameservers): don't need the NMNamedManager at all, remove
4999 - (merge_one_ip4_config): new function; merge ip4 configs together
5000 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5001 ip4 configs; the VPN config takes precedence, then the best
5002 device config, then the rest of the configs
5003 - (get_domain_for_config): take the NMNamedManager as an argument
5004 to check whether the config is the VPN config
5005 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5006 attribute from ip4 configs
5007 - (add_all_ip4_configs_to_named): add all the configs in priority order
5008 - (remove_ip4_config_from_named): fix for changes to
5009 get_domain_for_config()
5010 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5011 based on its type; callers must pass in the type now
5012 - (get_last_default_domain): remove, unused
5013 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5015 * src/nm-device-802-11-wireless.c
5016 - (real_can_activate): new function
5017 - (real_get_best_auto_connection): renamed from real_get_best_connection
5018 - (real_act_stage4_get_ip4_config): handle MTU override
5020 * src/nm-device-802-3-ethernet.c
5021 - (real_can_activate): new function
5022 - (real_get_best_auto_connection): renamed from real_get_best_connection
5023 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5025 * src/vpn-manager/nm-vpn-connection.c
5026 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5027 attribute on the ip4 config
5029 * src/NetworkManagerPolicy.c
5030 - (nm_policy_auto_get_best_device): remove
5031 - (nm_policy_device_change_check): remove
5032 - (update_default_route): new function; set the default route via
5033 the specified device
5034 - (get_device_priority): new function; return the priority number of
5035 a device type WRT which one should have the default route. Order is
5036 (highest to lowest) wired, wireless, GSM, CDMA.
5037 - (update_routing_and_dns): new function; determine which device should
5038 have the default route, then update the routing table and DNS
5039 - (maybe_auto_activate_device): new function; if a device is now
5040 available for activation, find out what connection it would like to
5042 - (schedule_activate_check): new function; if a device can be activated
5043 now, schedule the activation. Each device may have only one
5044 pending activation at a given time.
5045 - (device_state_changed): if activation was canceled, try again,
5046 possibly with another connection; if the device was activated,
5047 update routing and DNS; if the device was deactivated, try again
5048 with another connection
5049 - (device_carrier_changed): if there is no carrier, deactivate the
5050 device; otherwise schedule an activation check for the device
5051 - (wireless_networks_changed): schedule an activation check for the
5053 - (device_added): keep track of the signal handler IDs so they can
5054 be removed when the device goes away
5055 - (device_removed): remove any signal handlers that might be attached
5056 to the device; update routing and DNS
5057 - (schedule_activate_all): new function
5058 - (connections_added, connection_added, connection_updated): when
5059 connections change, schedule all devices for an activation check
5060 - (connection_removed): when a device is deactivated because its
5061 connection was removed, schedule another activation check for it
5062 - (nm_policy_destroy): destroy pending activations and disconnect
5063 all device signal handlers
5066 - (nm_manager_activate_device): if the device was already actived,
5068 - (deactivate_old_device): remove
5069 - (connection_added_default_handler, impl_manager_activate_device):
5070 don't deactivate other devices when activating this one
5072 * src/backends/NetworkManagerGentoo.c
5073 src/backends/NetworkManagerFrugalware.c
5074 src/backends/NetworkManagerPaldo.c
5075 src/backends/NetworkManagerRedHat.c
5076 src/backends/NetworkManagerSlackware.c
5077 src/backends/NetworkManagerArch.c
5078 src/backends/NetworkManagerSuSE.c
5079 src/backends/NetworkManagerDebian.c
5080 - (nm_system_get_mtu): remove; MTU should be provided through the
5081 distro's system settings service plugin instead
5082 - (nm_system_device_add_default_route_via_device): remove
5083 - (nm_system_device_add_default_route_via_device_with_iface): remove
5084 - (nm_system_device_replace_default_route): new function; call
5085 generic implementation
5087 * src/backends/NetworkManagerGeneric.c
5088 src/backends/NetworkManagerGeneric.h
5089 - (nm_generic_device_add_default_route_via_device,
5090 nm_generic_device_add_default_route_via_device_with_iface): remove
5091 - (nm_generic_device_replace_default_route): replace the default route
5092 with the given route via some gateway
5094 * src/NetworkManagerSystem.c
5095 src/NetworkManagerSystem.h
5096 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5097 to routing and DNS; but set the MTU here
5098 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5099 ip_iface of the active device; use the standard MTU setting function
5100 - (nm_system_set_mtu): remove
5101 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5103 2008-03-07 Tambet Ingo <tambet@gmail.com>
5105 Rework the interaction between ppp manager and pppd plugin. Register a well
5106 known DBUS service in manager and let the plugin call it's methods instead
5107 of listening plugin's signals.
5109 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5110 of emitting signals.
5112 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5114 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5116 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5117 nm_ppp_manager_start().
5119 * introspection/nm-ppp-manager.xml: New file.
5121 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5122 the case correctly where driver is trying to send -1 for the speed, which gets
5123 casted to u16 and thus is always > 0.
5125 2008-03-07 Dan Williams <dcbw@redhat.com>
5127 * src/nm-hal-manager.c
5128 - (nm_get_device_driver_name): use net.originating_device first, fall
5129 back to physical device. HAL has deprecated physical_device.
5131 * libnm-glib/nm-device.c
5132 - (get_product_and_vendor): use net.originating_device first, fall
5133 back to physical device. HAL has deprecated physical_device.
5134 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5136 2008-03-07 Dan Williams <dcbw@redhat.com>
5139 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5140 last commit; fix that
5141 - (get_link_cache): print error string
5143 2008-03-07 Dan Williams <dcbw@redhat.com>
5146 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5147 don't need this hack any more (Benoit Boissinot)
5149 2008-03-06 Dan Williams <dcbw@redhat.com>
5152 - Die gnome-common, die
5154 2008-03-04 Dan Williams <dcbw@redhat.com>
5156 Patch from Michael Biebl <biebl@debian.org>
5158 * NetworkManager.pc.in
5159 - doesn't actually depend on dbus-1
5161 * libnm-util/nm-utils.h
5162 - remove unused #include <dbus/dbus.h>
5164 * libnm-glib/libnm_glib.pc.in
5165 - depends on glib and dbus-glib
5167 2008-03-02 Dan Williams <dcbw@redhat.com>
5169 * src/NetworkManagerPolicy.c
5170 - s/device_state_changed_idle_id/update_state_id/
5172 2008-03-02 Dan Williams <dcbw@redhat.com>
5176 src/nm-device-802-11-wireless.c
5177 src/nm-device-802-3-ethernet.c
5178 src/NetworkManagerPolicy.c
5179 - s/link_active/carrier
5180 - nm_device_set_active_link() -> nm_device_set_carrier()
5181 - nm_device_has_active_link() -> nm_device_get_carrier()
5183 2008-03-02 Dan Williams <dcbw@redhat.com>
5185 * system-settings/plugins/ifcfg-fedora/parser.c
5186 - (make_wireless_setting): fail connection creation on missing SSID
5188 2008-02-29 Dan Williams <dcbw@redhat.com>
5190 * src/NetworkManagerPolicy.c
5191 - (nm_policy_device_change_check): ensure that a previously active
5192 device with a system connection has a link before denying a switch
5193 to a user connection
5195 2008-02-29 Dan Williams <dcbw@redhat.com>
5197 * src/nm-device-802-11-wireless.c
5198 - (link_timeout_cb): try again if scanning; deactivate the device when
5199 activated if the link dies
5200 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5203 2008-02-29 Dan Williams <dcbw@redhat.com>
5205 * src/nm-device-802-11-wireless.c
5206 src/nm-device-802-11-wireless.h
5207 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5208 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5209 - (device_cleanup): reset the scan interval lower when the device
5211 - (can_scan): base decision mostly off device state, not supplicant
5212 interface state since the supplicant interface state isn't a
5213 great indicator of whether the device is active or not
5214 - (request_wireless_scan): clean up; schedule the next scan here
5215 - (schedule_scan): only back the scan interval off if a new scan
5216 actually gets scheduled; and make scan intervals tighter when the
5217 device is disconnected
5218 - (supplicant_iface_state_cb_handler): fold in the bits of
5219 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5221 - (activation_success_handler): reset scan interval to something
5224 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
5226 reviewed by: Steev <steev@steev.net>
5229 * src/backends/NetworkManagerGentoo.c:
5230 (nm_system_restart_mdns_responder):
5231 Howl is no longer a supported mDNS provider
5233 2008-02-28 Tambet Ingo <tambet@gmail.com>
5235 Get rid of a bunch of unused distro specific functions.
5237 2008-02-28 Tambet Ingo <tambet@gmail.com>
5239 Implement suse plugin for system settings daemon.
5241 * system-settings/plugins/ifcfg-suse/*: Implement.
5243 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5246 * configure.in: Check (without failing) for gio.
5247 Create ifcfg-suse plugin's Makefile.
5249 2008-02-20 Dan Williams <dcbw@redhat.com>
5251 * libnm-util/nm-connection.c
5252 libnm-util/nm-connection.h
5253 - (nm_connection_compare): accept compare flags and pass them to the
5254 setting compare function
5256 * libnm-util/nm-setting.c
5257 libnm-util/nm-setting.h
5258 - (nm_setting_compare): accept compare flags; ignore properties that are
5261 * libnm-util/nm-setting-connection.c
5262 libnm-util/nm-setting-wireless.c
5263 libnm-util/nm-setting-ppp.c
5264 libnm-util/nm-setting-wired.c
5265 - Mark some setting properties as ignorable when doing a fuzzy compare
5268 - (device_activation_precheck): use exact compare
5270 2008-02-20 Dan Williams <dcbw@redhat.com>
5272 * src/NetworkManagerPolicy.c
5273 - (nm_policy_device_change_check): get scope off the connection, not
5274 using the manager helper
5278 - (get_scope_for_proxy): rename from get_type_for_proxy()
5279 - (connection_get_settings_cb): set scope and path on connection, not
5280 using GObject data items
5281 - (get_connection_for_proxy): don't need to return path, since that
5282 can be gotten from the connection
5283 - (get_connection_for_proxy): get path off the connection, not from
5285 - (connection_removed_cb, connection_updated_cb): don't need to get
5286 path from get_connection_for_proxy(); get scope off the connection
5287 instead of using GObject data items
5288 - (connection_added_default_handler, add_one_connection_element): use
5289 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5290 - (nm_manager_get_connection_dbus_path): remove
5291 - (nm_manager_get_connection_scope): remove
5293 2008-02-20 Dan Williams <dcbw@redhat.com>
5295 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5298 * Add 'path' and 'scope' properties to NMConnection since both NM and the
5299 applet were having to hack this in anyway. Remove the 'path' stuff from
5300 NMExportedConnection
5302 * Internally rename NMConnectionType -> NMConnectionScope
5304 * Provide default implementations of the 'get_id' and 'get_settings' methods
5305 of NMExportedConnection
5307 2008-02-15 Dan Williams <dcbw@redhat.com>
5309 * src/nm-device-802-11-wireless.c
5310 - (device_cleanup): release the AP list here too so that the AP list
5311 doesn't survive across suspend/resume and up/down. There is some
5312 room for optimization, for example blow the list away when the card
5313 brought back up, but only if the device has only been down for a
5316 2008-02-15 Dan Williams <dcbw@redhat.com>
5318 * src/nm-hal-manager.c
5319 - (modem_device_creator): recognize new HAL modem capabilities
5321 2008-02-12 Dan Williams <dcbw@redhat.com>
5323 * system-settings/plugins/ifcfg-fedora/plugin.c
5324 - (watch_path): handle IN_DELETE_SELF too
5325 - (handle_connection_changed): notify when removing a connection
5326 - (stuff_changed): don't warn on unknown inotify watches; handle the
5327 case of a file moving out of the profile directory
5329 2008-02-12 Dan Williams <dcbw@redhat.com>
5331 * system-settings/plugins/ifcfg-fedora/parser.c
5332 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5334 2008-02-12 Dan Williams <dcbw@redhat.com>
5336 * libnm-util/nm-utils.c
5337 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5338 just any empty array
5340 2008-02-12 Dan Williams <dcbw@redhat.com>
5342 * system-settings/src/nm-system-config-interface.c
5343 system-settings/src/nm-system-config-interface.h
5344 - (load_connections): get_connections() should now return an allocated
5345 GSList that the system settings service will free
5347 * system-settings/plugins/ifcfg-fedora/plugin.c
5348 system-settings/plugins/ifcfg-fedora/parser.h
5349 system-settings/plugins/ifcfg-fedora/parser.c
5350 - Fix up inotify issues; handle keys-* files, handle new files appearing
5351 in the profile directory, handle resolv.conf file changes
5353 2008-02-10 Dan Williams <dcbw@redhat.com>
5355 * src/nm-device-802-3-ethernet.c
5356 - (real_bring_up): save the supplicant interface state signal id
5357 - (real_bring_down): disconnect from the supplicant interface state
5360 2008-02-07 Dan Williams <dcbw@redhat.com>
5362 * initscript/RedHat/NetworkManager.in
5363 initscript/RedHat/NetworkManagerDispatcher.in
5364 - Add new-style LSB init headers
5366 2008-02-07 Dan Williams <dcbw@redhat.com>
5368 * system-settings/src/dbus-settings.c
5369 system-settings/src/dbus-settings.h
5370 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5372 - (connection_settings_get_secrets): consolidate error returns into
5373 one place; use the new get_secrets() plugin interface function to
5374 get secrets from the plugin itself rather than using GObject data
5377 * system-settings/src/main.c
5378 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5379 load_connections): keep a private list of the plugin-returned
5380 connections, don't use the plugin's GSList
5382 * system-settings/plugins/ifcfg-fedora/plugin.c
5383 - (watch_path): watch the path, not the filename (duh)
5384 - (reload_all_connections): use the direct hash/equal functions; the
5385 ones for int aren't appropriate here
5386 - (get_secrets, system_config_interface_init): implement the
5387 get_secrets() function
5388 - (build_one_connection, find_connection_by_path): ifcfg file path is
5389 now in the connection's ConnectionData instead of being a GObject
5391 - (handle_profile_item_changed): ifcfg file path is now in the
5392 connection's ConnectionData instead of being a GObject data property;
5393 be sure to copy secrets over from the new connection to the existing
5394 connection when updating the connection's settings
5395 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5398 * system-settings/plugins/ifcfg-fedora/parser.c
5399 system-settings/plugins/ifcfg-fedora/parser.h
5400 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5401 connection_data_copy_secrets, connection_data_free,
5402 connection_data_add): new functions; connection data manipulation
5403 - (make_wireless_security_setting): stuff secrets into the
5404 connection data, not as GObject data items; make sure to close
5406 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5407 connection data to the connection
5409 2008-02-07 Dan Williams <dcbw@redhat.com>
5411 * system-settings/src/nm-system-config-interface.c
5412 system-settings/src/nm-system-config-interface.h
5413 - Add a get_secrets() interface function to retrieve secrets for a
5414 specific setting of a specific connection. Document the interface
5417 2008-02-07 Dan Williams <dcbw@redhat.com>
5419 * src/nm-device-802-11-wireless.c
5420 - (handle_auth_or_fail): new function; consolidate device activation
5421 failure check after a certain number of failures getting secrets
5422 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5423 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5424 the connection if secrets were requested more than a few times
5425 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5426 tries here; otherwise they are cleared before the IP configure
5427 timeout, which happens with open system WEP when key is wrong
5428 - (activation_success_handler): clear wireless secrets tries here too
5430 2008-02-07 Dan Williams <dcbw@redhat.com>
5432 * src/NetworkManagerPolicy.c
5433 - (connection_updated): clear invalid tag when connection gets updated
5434 to allow that connection to be tried again
5435 - (nm_policy_new): save signal ids so they can be disconnected when
5436 the policy is destroyed
5437 - (nm_policy_destroy): stop any in-progress state change idle handler,
5438 and disconnect all signals from the manager object so that none
5439 of the policy functions gets called after the policy is destroyed
5441 2008-02-06 Dan Williams <dcbw@redhat.com>
5444 - (finalize): remove devices a bit earlier; clean up system settings
5446 - (nm_manager_name_owner_changed): clean up system settings poke when
5447 the service appears, and try to restart it if it fails
5448 - (poke_system_settings_daemon_cb): try to get the system settings
5449 service started through D-Bus service activation
5450 - (initial_get_connections): start the system settings daemon if it's
5453 2008-02-05 Dan Williams <dcbw@redhat.com>
5455 * src/supplicant-manager/nm-supplicant-config.c
5456 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5457 broadcast networks too
5459 2008-02-04 Dan Williams <dcbw@redhat.com>
5461 * system-settings/plugins/ifcfg-fedora/parser.c
5462 - (make_wireless_security_setting): fix spelling; unencrypted networks
5463 need key_mgmt set too
5464 - (parser_parse_file): validate ifcfg file name and don't try to parse
5465 .bak files; ensure that an error is set whenever NULL gets returned
5467 2008-02-04 Dan Williams <dcbw@redhat.com>
5469 * system-settings/src/Makefile.am
5470 - Install D-Bus service activation file for the system settings
5473 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5474 - D-Bus service activation file for system settings service
5476 2008-02-04 Dan Williams <dcbw@redhat.com>
5478 * system-settings/src/main.c
5479 - (parse_config_file): parse a config file
5480 - (main): accept --config option and read plugins from config file
5482 2008-02-04 Dan Williams <dcbw@redhat.com>
5484 * system-settings/plugins/ifcfg-fedora/plugin.c
5485 - Change reported name to 'ifcfg-fedora'
5486 - Use IFCFG_PLUGIN_NAME
5488 * system-settings/plugins/ifcfg-fedora/plugin.c
5489 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5491 2008-02-04 Dan Williams <dcbw@redhat.com>
5493 * system-settings/plugins/ifcfg-fedora/parser.c
5494 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5495 - (make_connection_setting): use get_ifcfg_name()
5496 - (make_wireless_security_setting): handle shadow key files
5497 - (get_one_wep_key): treat empty string as NULL
5499 2008-02-04 Dan Williams <dcbw@redhat.com>
5501 * src/supplicant-manager/nm-supplicant-manager.c
5502 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5503 glib automatically reschedule
5504 - (nm_supplicant_manager_init): immediately try to start the supplicant
5505 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5508 2008-02-01 Dan Williams <dcbw@redhat.com>
5510 * src/NetworkManagerPolicy.c
5511 - (device_state_changed): schedule a change check when a device gets
5512 deactivated so something happens if you disconnect GSM/CDMA
5514 2008-01-31 Dan Williams <dcbw@redhat.com>
5516 * src/nm-device-802-11-wireless.h
5517 src/nm-device-802-11-wireless.c
5518 - (ap_list_get_ap_by_ssid, is_associated,
5519 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5520 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5521 - (nm_device_802_11_wireless_get_activation_ap): collapse
5522 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5525 2008-01-30 Dan Williams <dcbw@redhat.com>
5527 * system-settings/plugins/ifcfg
5528 * system-settings/plugins/ifcfg-fedora
5529 - Move the ifcfg plugin to ifcfg-fedora
5531 2008-01-24 Dan Williams <dcbw@redhat.com>
5533 * libnm-glib/nm-device-802-11-wireless.c
5534 - (get_access_point): move the "/" check here; check for invalid path
5536 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5537 to get_access_point()
5538 - (access_point_added_proxy, access_point_removed_proxy): don't try
5539 to send signals for non-existent access points
5541 2008-01-24 Dan Williams <dcbw@redhat.com>
5543 * libnm-glib/nm-device-802-11-wireless.c
5544 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5546 2008-01-23 Dan Williams <dcbw@redhat.com>
5548 * libnm-glib/libnm_glib.c
5549 - (libnm_glib_init): make thread joinable
5550 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5552 2008-01-23 Dan Williams <dcbw@redhat.com>
5554 * test/libnm_glib_test.c
5555 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5556 - (main): set up signal handlers; call libnm_glib_shutdown
5558 2008-01-21 Dan Williams <dcbw@redhat.com>
5560 * include/NetworkManager.h
5561 - Add CDMA mobile broadband card device type
5563 * src/nm-hal-manager.c
5564 - (modem_device_creator): handle both CDMA and GSM modems; the device
5565 must now be tagged with 'cdma' or 'gsm' capability
5567 * src/nm-cdma-device.c
5568 src/nm-cdma-device.h
5570 - Add the CDMA mobile broadband card device class
5572 * libnm-util/nm-connection.c
5573 - (register_default_settings): add NMSettingCdma
5575 * libnm-util/nm-setting-cdma.c
5576 libnm-util/nm-setting-cdma.h
5577 libnm-util/Makefile.am
5578 - Add the CDMA mobile broadband card setting class
5580 * libnm-glib/nm-cdma-device.c
5581 libnm-glib/nm-cdma-device.h
5582 libnm-glib/Makefile.am
5583 - Add the CDMA mobile broadband card GLib proxy class
5585 * libnm-glib/nm-client.c
5586 - (get_device): handle CDMA devices too
5588 2008-01-21 Dan Williams <dcbw@redhat.com>
5590 * src/ppp-manager/nm-ppp-manager.c
5591 - (ip4_config_get): set peer address too
5593 * src/ppp-manager/nm-pppd-plugin.c
5594 - (nm_ip_up): try harder to get the peer's address
5596 * src/NetworkManagerSystem.c
5597 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5598 address, use that too. Otherwise, some PPP connections won't work.
5600 2008-01-19 Dan Williams <dcbw@redhat.com>
5602 * src/NetworkManagerPolicy.c
5603 - (nm_policy_device_change_check): system connections override user
5604 connections; don't activate a user connection if there's a currently
5605 active system connection, and new, better system connections always
5606 interrupt user connections
5608 2008-01-19 Dan Williams <dcbw@redhat.com>
5611 - (nm_manager_get_connection_type): new function
5613 2008-01-19 Dan Williams <dcbw@redhat.com>
5615 * src/nm-device-802-11-wireless.c
5616 - (real_get_best_connection): collapse find_best_connection() into this
5619 2008-01-19 Dan Williams <dcbw@redhat.com>
5621 * src/nm-device-802-3-ethernet.c
5622 - (real_get_best_connection): collapse find_best_connection() into this
5625 2008-01-18 Dan Williams <dcbw@redhat.com>
5627 * src/nm-device-802-3-ethernet.c
5628 - (find_best_connection): check MAC address too
5629 - (real_get_best_connection): let autoconnect=True connections activate
5630 for devices that don't have carrier detection
5632 * src/nm-device-802-11-wireless.c
5633 - (find_best_connection): check MAC address too
5635 2008-01-18 Dan Williams <dcbw@redhat.com>
5637 * system-settings/plugins/ifcfg/parser.c
5638 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5640 2008-01-17 Dan Williams <dcbw@redhat.com>
5642 * src/nm-device-802-3-ethernet.c
5643 - (nm_device_802_3_ethernet_carrier_on,
5644 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5645 carrier events that might come in for devices that don't support
5648 2008-01-17 Dan Williams <dcbw@redhat.com>
5650 * src/nm-device-interface.c
5651 - (nm_device_interface_check_connection_conflicts): need to actually
5652 get the interface, not cast to the object
5655 - (nm_device_check_connection_conflicts): need to get the device class,
5656 not cast the device to the device class
5658 2008-01-17 Dan Williams <dcbw@redhat.com>
5660 * src/nm-device-802-11-wireless.c
5661 - (real_check_connection_conflicts): ignore connections that aren't
5662 wireless connections
5664 2008-01-17 Dan Williams <dcbw@redhat.com>
5666 * src/NetworkManagerPolicy.c
5667 - (nm_policy_device_change_check): clear change check idle here
5668 - (device_change_check_done): remove
5669 - (schedule_change_check): simplify
5671 2008-01-17 Dan Williams <dcbw@redhat.com>
5674 - (check_connection_allowed): take an NMDeviceInterface instead of
5675 an NMDevice object as an argument
5676 - (nm_manager_activate_device): pass an NMDeviceInterface to
5677 check_connection_allowed()
5679 2008-01-13 Dan Williams <dcbw@redhat.com>
5681 * libnm-glib/nm-device-802-11-wireless.c
5682 - (nm_device_802_11_wireless_get_access_points): fix memory leak
5684 2008-01-12 Dan Williams <dcbw@redhat.com>
5686 * src/nm-device-802-11-wireless.c
5687 - (activation_success_handler): if a match was found in the scan list
5688 and that match is a hidden AP, update that AP's SSID
5690 2008-01-11 Dan Williams <dcbw@redhat.com>
5692 * src/NetworkManagerAP.c
5693 - (nm_ap_new_fake_from_connection): mark fake APs as fake
5695 * src/nm-device-802-11-wireless.c
5696 - (get_active_ap): do two passes over the scan list if the caller
5697 requests that hidden APs get matched too; during the second pass
5698 when matching hidden APs, ignore the SSID since hidden APs in the
5699 scan list don't have an SSID yet
5700 - (periodic_update): move some checks to
5701 nm_device_802_11_periodic_update() because not all callers need them
5702 - (nm_device_802_11_periodic_update): move some checks here from
5704 - (merge_scanned_ap): if the current AP is fake, then don't do strict
5705 matching on incoming scan results, because the fake AP's flags
5706 might be slightly different (yet still compatible) with the incoming
5707 scan result's flags and they might actually be the same AP; update
5708 the rate on merged APs too
5709 - (activation_success_handler): update the frequency of the fake AP
5710 on successful connection; match hidden APs too since if the
5711 current AP is fake, there might already be a scan result in the
5712 scan list for the desired AP, just without it's SSID filled in yet
5714 2008-01-10 Dan Williams <dcbw@redhat.com>
5716 * src/NetworkManagerAP.c
5717 - (foreach_property_cb): catch more hidden SSID formats
5719 2008-01-10 Dan Williams <dcbw@redhat.com>
5721 Fix gnome.org #464215. Requires the kernel patch titled
5722 "Introduce WEXT scan capabilities" but will handle the patch not being
5723 present, you'll just continue to have problems with hidden SSIDs when
5724 using mac80211-based drivers.
5726 * src/supplicant-manager/nm-supplicant-config.h
5727 src/supplicant-manager/nm-supplicant-config.c
5728 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
5729 whether the driver supports SSID scans or not. If it does, and if
5730 the AP is hidden, use ap_scan=1 instead of ap_scan=2
5732 * src/nm-device-802-11-wireless.c
5733 - (constructor): check whether or not the driver supports SSID scans
5734 - (build_supplicant_config): pass driver SSID scan capability when
5735 building the wireless bits of the supplicant config
5737 2008-01-09 Dan Williams <dcbw@redhat.com>
5741 - (device_activation_precheck, check_connection_complete): remove this
5742 virtual function; incomplete connections should be invalid by
5743 definition, complete-ness should be checked in the setting's
5746 * src/nm-serial-device.c
5748 - (real_check_connection_complete): remove
5750 * libnm-util/nm-setting-serial.c
5751 - (verify): new function; ensure there is a PPP setting too
5753 * libnm-util/nm-setting-gsm.c
5754 - (verify): ensure there is a serial setting too
5756 2008-01-06 Dan Williams <dcbw@redhat.com>
5758 * src/dhcp-manager/nm-dhcp-manager.c
5759 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
5762 2008-01-04 Dan Williams <dcbw@redhat.com>
5764 * src/named-manager/nm-named-manager.c
5765 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
5766 nameservers if the secondary config doesn't have any
5769 2008-01-02 Tambet Ingo <tambet@gmail.com>
5771 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
5772 with G_PARAM_CONSTRUCT so that they get the default values.
5774 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
5775 the monitoring device and prints out the output for now. Or more precicely, doesn't
5776 do absolutely anything right now since the montoring device argument is never set.
5778 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
5779 requires it's own knob to turn it on.
5780 (config_fd): Add NMSettingSerial to the arguments list.
5781 (nm_serial_device_open): Ditto.
5782 (get_reply_got_data): Ignore the terminators at the beginning of the output.
5783 (nm_serial_device_get_io_channel): Implement.
5785 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
5786 a new reference every time (and forgetting to release it sometimes) is a pain and
5787 it's not like NMManager could work without dbus.
5788 (nm_manager_add_device): Register the added device on dbus here.
5790 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
5793 * src/nm-device.c (constructor): Don't export the device here, instead export
5794 it when it's added to the NMManager's device list.
5796 2007-12-31 Dan Williams <dcbw@redhat.com>
5798 * src/nm-device-interface.c
5799 src/nm-device-interface.h
5800 - (nm_device_interface_check_connection_conflicts): new function
5804 - (nm_device_check_connection_conflicts): new function
5805 - (device_activation_precheck): don't require subclasses to implement
5806 check_connection_complete()
5807 - check_connection() -> check_connection_complete()
5809 * src/nm-device-802-11-wireless.c
5810 - (real_check_connection): remove; unused
5811 - (real_check_connection_conflicts): implement, handle lockdown for
5814 * src/nm-device-802-3-ethernet.c
5815 - (real_check_connection): remove; unused
5818 - (check_connection_allowed): new function
5819 - (nm_manager_activate_device): ensure the connection being requested
5820 is allowed to be activated
5822 * src/nm-serial-device.c
5824 - real_check_connection() -> real_check_connection_complete()
5826 2007-12-27 Dan Williams <dcbw@redhat.com>
5828 * src/nm-device-interface.c
5829 src/nm-device-interface.h
5830 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
5831 normalize and expand errors
5832 - (nm_device_interface_init): register errors so they can be marshalled
5834 - (nm_device_interface_activate): ensure that failure of activation
5839 - (device_activation_precheck): implementations of check_connection()
5840 now take a GError and must fill it in if the check fails. Return
5841 more descriptive error if the requested connection is already
5843 - (nm_device_activate): actually try to return descriptive errors on
5846 * src/nm-device-802-11-wireless.c
5847 src/nm-device-802-3-ethernet.c
5848 src/nm-serial-device.c
5850 - (real_check_connection): return more descriptive errors on failure
5852 * src/NetworkManagerPolicy.c
5853 - (nm_policy_device_change_check): print activation errors in the logs
5856 - (nm_manager_error_quark, nm_manager_error_get_type,
5857 nm_manager_class_init): new errors
5858 - (nm_manager_activate_device): handle errors
5859 - (nm_manager_error_new): removed
5860 - (wait_for_connection_expired, connection_added_default_handler,
5861 impl_manager_activate_device): better error handling
5863 2007-12-27 Dan Williams <dcbw@redhat.com>
5865 Fixes gnome.org #466954
5867 * src/supplicant-manager/nm-supplicant-settings-verify.c
5868 - Allow 'frequency' network property
5870 * src/supplicant-manager/nm-supplicant-config.c
5871 src/supplicant-manager/nm-supplicant-config.h
5872 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
5873 for callers to specify the frequency an Ad-Hoc network should operate
5874 on. Some drivers require this to successfully create an Ad-Hoc
5877 * src/nm-device-802-11-wireless.c
5878 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
5879 guint32 value in MHz
5880 - (constructor, nm_device_802_11_wireless_get_frequency): use
5882 - (find_supported_frequency): new function; find a free supported
5883 frequency for a user-created Ad-Hoc network
5884 - (build_supplicant_config): if no frequency was specified for a user-
5885 created Ad-Hoc network, find a free one to use
5886 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
5887 a specific object as user-created
5889 2007-12-27 Dan Williams <dcbw@redhat.com>
5891 * libnm-util/nm-utils.c
5892 libnm-util/nm-utils.h
5893 - (nm_utils_security_valid): add 'adhoc' argument and handle security
5896 2007-12-24 Dan Williams <dcbw@redhat.com>
5898 * libnm-util/nm-setting-wireless.c
5899 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
5900 185, 187, 188, 192, and 196
5902 2007-12-24 Dan Williams <dcbw@redhat.com>
5904 * src/nm-device-802-11-wireless.c
5905 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
5906 a channel # instead of a frequency
5908 2007-12-24 Dan Williams <dcbw@redhat.com>
5910 * src/NetworkManagerAP.c
5911 src/NetworkManagerAP.h
5912 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
5913 - (freq_to_channel): handle split band tables
5914 - (channel_to_freq): handle split band tables, take a band argument
5916 2007-12-24 Dan Williams <dcbw@redhat.com>
5918 * libnm-util/nm-setting-connection.h
5919 libnm-util/nm-setting-connection.c
5920 - Add 'lockdown' member
5922 2007-12-22 Dan Williams <dcbw@redhat.com>
5924 * libnm-util/nm-setting-wireless.c
5925 - (nm_setting_wireless_class_init): add missing 'rate' property
5928 2007-12-18 Dan Williams <dcbw@redhat.com>
5930 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
5932 * src/nm-netlink-monitor.c
5933 src/nm-netlink-monitor.h
5934 - Remove handrolled netlink, use libnl instead
5936 * src/nm-device-802-3-ethernet.c
5937 - (constructor, nm_device_802_3_ethernet_carrier_off,
5938 nm_device_802_3_ethernet_carrier_on): use new names
5940 2007-12-17 Dan Williams <dcbw@redhat.com>
5943 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
5944 and fixes memory leaks)
5947 - (nm_netlink_get_default_handle): handle new versions of libnl that
5948 automatically handle the netlink PID
5950 2007-12-17 Dan Williams <dcbw@redhat.com>
5952 Patch from Michael Biebl <biebl@debian.org>
5955 src/ppp-manager/Makefile.am
5956 - fix up install dir of pppd plugin
5957 - clean up configure.in a bit
5959 2007-12-12 Dan Williams <dcbw@redhat.com>
5961 * system-settings/src/nm-system-settings.conf
5962 - Allow non-root clients (like the applet) to read settings
5964 2007-12-10 Tambet Ingo <tambet@gmail.com>
5966 * Replace all occurences of 'UMTS' with 'GSM'.
5968 2007-12-07 Dan Williams <dcbw@redhat.com>
5970 * src/nm-serial-device.c
5971 - (real_is_up): serial devices are always "up"
5973 2007-12-07 Dan Williams <dcbw@redhat.com>
5976 src/NetworkManagerSystem.c
5977 - (new_nl_handle): ensure that the same netlink pid is never chosen
5978 twice (gnome.org #491047)
5979 - Make more robust against allocation-related failures should they occur
5981 2007-12-07 Dan Williams <dcbw@redhat.com>
5983 Noticed by Christian Persch <chpe@gnome.org>
5985 Always chain up to parent object in dispose and finalize handlers.
5988 2007-12-07 Dan Williams <dcbw@redhat.com>
5990 * src/nm-device-802-11-wireless.c
5991 - Wrap #include of linux/mii.h to fix redefined structures due to
5992 incorrect kernel headers (gnome.org #350061)
5994 2007-12-06 Tambet Ingo <tambet@gmail.com>
5996 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
5997 before doing anything else.
5998 (init_modem): Move modem initialization here.
6000 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6001 (nm_serial_device_flash): Implement.
6003 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6004 changes signal is "StateChanged" and not "Status".
6005 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6007 2007-12-06 Dan Williams <dcbw@redhat.com>
6009 * src/supplicant-manager/nm-supplicant-config.c
6010 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6011 to only send some options when they make sense; also send phase2
6012 option to the supplicant (possible fix for rh #399631)
6014 2007-12-06 Tambet Ingo <tambet@gmail.com>
6016 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6017 arguments: This whole file shouldn't really know anything about NMDevices, it
6018 should deal only with device interfaces. Devices might have different ifaces for
6019 different stuff and this place shouldn't know anything about it.
6021 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6022 (global_state_changed): Implement. In the current NM it's not really important,
6023 but will be required in the case of multiple active devices. (Or even better,
6024 if stuff like that gets moved out from NM).
6026 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6027 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
6030 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6031 devices like serial devices (ttyS0 and ppp0 for example).
6032 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6034 (nm_device_set_ip_iface): Implement.
6035 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6036 after setting ip4_config from here ...
6037 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6038 than this function should call nm_system_device_set_from_ip4_config() because no
6039 other code has enough information on which arguments to use. So instead, other code
6040 could just set the new ip4 config using this function and everyone is happy.
6042 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6043 if we happen to get deactivated while something is pending.
6044 (automatic_registration): Handle the response that indicates pending network
6045 registration and wait until the pending registration is done.
6046 (real_deactivate_quickly): If there's a pending operation, cancel it.
6048 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6049 (real_deactivate_quickly): ... and remove it when it's down.
6050 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6052 (nm_serial_device_wait_for_reply): Ditto.
6054 2007-12-05 Tambet Ingo <tambet@gmail.com>
6056 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6057 (get_network_done): Remove newline, nm_info() does it already.
6058 (real_act_stage1_prepare): Turn the modem echo off.
6060 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6061 device, set the route to the device interface. This is a hack.
6063 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
6064 return, no need for a new-line.
6065 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6066 Change the device iface here (ugh).
6067 (real_act_stage4_get_ip4_config): Implement.
6068 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6069 Restore the device iface.
6071 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6072 device is not wired or wireless (eg, automatically upped) device.
6074 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6076 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6078 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6079 before calling it's is_device_fn().
6081 2007-12-05 Dan Williams <dcbw@redhat.com>
6083 * libnm-util/nm-utils.c
6084 - (nm_utils_register_value_transformations,
6085 nm_utils_convert_gvalue_hash_to_string): better debug output of
6086 GHashTables of GValues too
6088 2007-12-04 Dan Williams <dcbw@redhat.com>
6090 * initscript/RedHat/NetworkManager.in
6091 - No longer start named; it's D-Bus interface is going away
6093 2007-12-04 Dan Williams <dcbw@redhat.com>
6095 Patch from Michael Biebl <biebl@debian.org>
6097 * system-settings/plugins/ifcfg/Makefile.am
6098 system-settings/src/main.c
6099 system-settings/src/Makefile.am
6100 - Put system settings plugins in NM plugins dir
6102 * src/ppp-manager/Makefile.am
6103 src/ppp-manager/nm-ppp-manager.c
6104 - Move pppd plugin to NM plugins dir
6106 2007-12-04 Dan Williams <dcbw@redhat.com>
6108 * libnm-util/nm-setting-vpn-properties.h
6109 - Clarify usage of the 'data' member of the setting
6111 * libnm-util/nm-setting-vpn-properties.c
6112 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6113 - (set_property): just remove all the settings; don't recreate the has
6114 - (update_one_secret): don't need to create the hash table here since
6115 it should always be present
6117 2007-12-03 Tambet Ingo <tambet@gmail.com>
6119 Implement PIN and PUK requesting.
6121 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6122 (enter_pin): Handle PIN and PUK requests.
6123 (real_act_stage1_prepare): Clear the secret type.
6124 (real_connection_secrets_updated): Implement this class method to get
6125 notified when new secrets arrive.
6126 (nm_umts_device_class_init): Add private data back to the umts device class
6127 to store the required secret type.
6129 2007-12-01 Dan Williams <dcbw@redhat.com>
6131 * system-settings/plugins/ifcfg/parser.c
6132 - (parser_parse_file): don't try to verify NULL connections
6134 2007-12-01 Dan Williams <dcbw@redhat.com>
6136 * system-settings/src/main.c
6137 - (load_connections, add_connection_to_settings): actually export
6138 plugin-provided connections over D-Bus so NM can get them
6140 2007-12-01 Dan Williams <dcbw@redhat.com>
6142 * system-settings/plugins/ifcfg/parser.c
6143 system-settings/plugins/ifcfg/parser.h
6144 system-settings/plugins/ifcfg/plugin.c
6145 - Hook up more inotify bits (untested)
6147 2007-11-29 Dan Williams <dcbw@redhat.com>
6149 * system-settings/src/nm-system-config-interface.h
6150 system-settings/src/nm-system-config-interface.c
6151 - (nm_system_config_interface_init,
6152 nm_system_config_interface_get_connections): add
6154 * system-settings/src/main.c
6155 - (load_plugins, load_connections, main): use a GSList for plugins
6156 to ensure priority ordering
6158 * system-settings/plugins/ifcfg/parser.c
6159 - (ifcfg_error_quark): move to plugin.c, and rename
6161 * system-settings/plugins/ifcfg/plugin.h
6162 system-settings/plugins/ifcfg/plugin.c
6163 - (ifcfg_plugin_error_quark): move here from parser.c
6164 - rework connection loading and initialization
6165 - Add preliminary inotify support for network profile config file
6167 2007-11-28 Tambet Ingo <tambet@gmail.com>
6169 Merge the beginnings of the new GSM card support.
6171 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6172 ppp watch source before killing pppd - If this happens from g_object_unref()
6173 then the ppp manager is already destroyed by the time the watch callback runs.
6175 * src/nm-hal-manager.c: Add a device_type_name string to the device
6176 creators, so that we can print a nice human readable string when a
6179 * src/nm-umts-device.c (automatic_registration_get_network): Query
6180 for the activated network, not much is done with the result thought.
6182 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6183 (ppp_ip4_config): Change the device state to activated here for now.
6184 (real_check_connection): Make sure the connection includes ppp setting.
6186 * libnm-glib/nm-client.c (get_device): Handle umts devices.
6188 * libnm-glib/Makefile.am: Add the new files to build.
6190 * libnm-glib/nm-umts-device.c:
6191 * libnm-glib/nm-umts-device.h: Implement.
6193 2007-11-26 Tambet Ingo <tambet@gmail.com>
6195 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6196 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6198 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6199 the timeout source - this function is only called when the timeout source has
6201 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6202 to be big enough to contain the terminating zero element as well.
6203 The timeout argument is meant to be in seconds now.
6204 (real_deactivate_quickly): Implement.
6206 * src/NetworkManager.conf: Allow root to own
6207 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6209 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6210 (not unsigned ints).
6212 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
6213 small issue with parity bounds - capital letters have lower ascii codes
6214 than lower case letters.
6216 * libnm-util/nm-connection.c (register_default_settings): Register serial
6219 2007-11-22 Tambet Ingo <tambet@gmail.com>
6221 Remove the "index" property from devices as not all device types have this.
6223 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6225 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6226 (wired_device_creator): Get the device interface from hal to create the device.
6227 (wireless_device_creator): Ditto.
6229 * src/nm-device.c (nm_device_init): Remove the index member.
6230 (constructor): Remove the checks for index property, make interface property
6231 a require constructor property.
6232 Use the HAL udi for DBus path for devices.
6233 (nm_device_get_index): Remove.
6234 (set_property): Remove index handling.
6235 (get_property): Ditto.
6236 (nm_device_get_dbus_path): Remove.
6238 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6241 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6242 Access the device index through it's interface.
6243 (nm_device_802_3_ethernet_link_deactivated): Ditto.
6244 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6245 index argument. Add interface argument.
6247 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6248 the useless test_dev argument. Remove index argument. Add interface arugment.
6250 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6251 device index through interface.
6252 (nm_system_set_mtu): Ditto.
6254 * introspection/nm-device.xml: Remove the "Index" property.
6256 2007-11-21 Tambet Ingo <tambet@gmail.com>
6258 * src/nm-serial-device.c:
6259 * src/nm-serial-device.c:
6260 * src/nm-umts-device.c:
6261 * src/nm-umts-device.h: Implement.
6263 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
6264 allocated by libhal.
6265 (modem_device_creator): Implement.
6266 (register_built_in_creators): Register the modem creator.
6268 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
6269 Remove the unused test_dev argument.
6271 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6273 * src/Makefile.am: Add new files to build.
6274 Link in ppp-manager.
6276 * libnm-util/nm-setting-umts.c:
6277 * libnm-util/nm-setting-umts.h:
6278 * libnm-util/nm-setting-serial.c:
6279 * libnm-util/nm-setting-serial.h: Implement.
6281 * libnm-util/Makefile.am: Add new files to build.
6283 2007-11-28 Dan Williams <dcbw@redhat.com>
6285 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6287 Support DHCP-provided static routes.
6289 * src/nm-ip4-config.h
6291 - Add get/set functions for static routes
6293 * src/dhcp-manager/nm-dhcp-manager.c
6294 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6297 * src/NetworkManagerSystem.c
6298 - (nm_system_device_set_from_ip4_config): set any static routes on the
6299 interface when applying the IP4Config
6301 2007-11-28 Dan Williams <dcbw@redhat.com>
6303 * src/nm-device-802-11-wireless.c
6304 - (real_act_stage1_prepare): mark APs created for hidden networks
6307 2007-11-27 Dan Williams <dcbw@redhat.com>
6309 * system-settings/src/nm-system-config-interface.h
6310 - Note how to store secrets on NMSetting objects
6312 * system-settings/src/dbus-settings.c
6313 - (connection_settings_get_secrets): implement
6315 2007-11-27 Dan Williams <dcbw@redhat.com>
6317 * system-settings/plugins/ifcfg/Makefile.am
6318 system-settings/plugins/ifcfg/parser.c
6319 system-settings/plugins/ifcfg/parser.h
6320 system-settings/plugins/ifcfg/plugin.c
6321 - Parse wireless connections too
6323 * system-settings/src/dbus-settings.c
6324 system-settings/src/dbus-settings.h
6325 system-settings/src/main.c
6326 - Handle connection update/removal if the plugin supports it
6328 2007-11-27 Dan Williams <dcbw@redhat.com>
6330 * src/nm-dbus-manager.h
6331 src/nm-hal-manager.c
6332 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6336 src/NetworkManagerDbusUtils.c
6337 src/NetworkManagerDbusUtils.h
6338 - Remove these two source files; they are unused
6340 2007-11-27 Dan Williams <dcbw@redhat.com>
6342 * src/vpn-manager/nm-vpn-manager.c
6343 - (impl_vpn_manager_connect): fix system settings check (found by
6346 2007-11-26 Dan Williams <dcbw@redhat.com>
6348 * Fix warnings so everything compiles with --enable-more-warnings
6350 2007-11-25 Dan Williams <dcbw@redhat.com>
6353 - Rework structure and code to use GModule-loaded plugins and a plugin
6354 interface that plugins export to the system settings service
6356 2007-11-21 Dan Williams <dcbw@redhat.com>
6359 - Add Soren's system settings service. Needs work for distros other
6360 than Fedora; the backends from NM should mostly migrate to here
6361 and be converted to GObjects
6363 2007-11-21 Dan Williams <dcbw@redhat.com>
6365 * libnm-util/nm-setting-vpn-properties.c
6366 - (set_property): must deep-copy the given settings hash, otherwise
6367 double-free errors occur when the setting is disposed of
6369 2007-11-21 Dan Williams <dcbw@redhat.com>
6371 * src/vpn-manager/nm-vpn-act-request.h
6372 src/vpn-manager/nm-vpn-act-request.c
6375 2007-11-20 Dan Williams <dcbw@redhat.com>
6377 * libnm-util/nm-utils.c
6378 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6379 nm_utils_convert_ip4_addr_struct_array_to_string,
6380 nm_utils_register_value_transformations): print out the readable
6381 values of more types of properties of NMSettings subclasses
6383 2007-11-20 Dan Williams <dcbw@redhat.com>
6385 * libnm-util/nm-setting-ip4-config.c
6386 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6387 nm_setting_ip4_config_class_init): apparently dbus-glib can't
6388 marshal GValueArrays inside collections, so switch to types that it
6389 can actually marshal/demarshal
6391 2007-11-16 Dan Williams <dcbw@redhat.com>
6393 * libnm-util/nm-setting-wireless-security.c
6394 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6395 minimal verification of EAP methods too
6396 - (verify): verify phase1 eap methods too
6398 2007-11-15 Dan Williams <dcbw@redhat.com>
6400 * libnm-glib/nm-device.h
6401 libnm-glib/nm-device.c
6402 - (nm_device_get_product, nm_device_get_vendor): should be returning
6405 2007-11-15 Dan Williams <dcbw@redhat.com>
6407 * libnm-glib/nm-device.c
6408 - (get_product_and_vendor): don't try to free things that should be
6411 2007-11-15 Dan Williams <dcbw@redhat.com>
6413 * src/NetworkManagerUtils.c
6414 - (nm_ethernet_address_is_valid): unbreak previous fix
6416 2007-11-15 Dan Williams <dcbw@redhat.com>
6418 * src/supplicant-manager/nm-supplicant-config.c
6419 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6422 2007-11-15 Dan Williams <dcbw@redhat.com>
6424 * src/NetworkManagerUtils.c
6425 - (nm_ethernet_address_is_valid): fix style, clarify
6426 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6428 * src/nm-device-802-11-wireless.c
6429 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6430 - (nm_device_802_11_wireless_get_ssid,
6431 nm_device_802_11_wireless_get_bssid,
6432 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6433 before calling the ioctl; fixes valgrind-reported jump depends on
6434 uninitialized value errors
6436 2007-11-15 Dan Williams <dcbw@redhat.com>
6438 * libnm-util/nm-setting.c
6439 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6440 unecessary to serialize 'name'
6442 * src/nm-activation-request.c
6443 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6446 2007-11-15 Dan Williams <dcbw@redhat.com>
6448 * libnm-util/nm-setting-connection.h
6449 libnm-util/nm-setting-connection.c
6450 - Rename the 'name' property to 'id', because it conflicted with the
6451 NMSetting superclass' 'name' property.
6453 * libnm-util/nm-setting.c
6454 - (nm_setting_to_hash): serialize the 'name' property
6455 - (one_property_cb): ignore 'name' on deserialization of a connection
6457 * src/nm-device-802-11-wireless.c
6458 src/vpn-manager/nm-vpn-connection.c
6459 src/NetworkManagerPolicy.c
6460 - Fix up for NMSettingConnection 'name'->'id' changes
6462 2007-11-13 Dan Williams <dcbw@redhat.com>
6464 * libnm-glib/nm-device-802-11-wireless.h
6465 libnm-glib/nm-device-802-11-wireless.c
6466 - (nm_device_802_11_wireless_get_hw_address): return should be const
6469 libnm-glib/libnm-glib-test.c
6470 - Fixes for above change
6472 2007-11-12 Dan Williams <dcbw@redhat.com>
6474 * src/supplicant-manager/nm-supplicant-settings-verify.c
6475 - Allow fragment_size option
6477 * src/supplicant-manager/nm-supplicant-settings-verify.c
6478 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6479 EAP fragment size than the default to help some TLS connections
6481 2007-11-12 Dan Williams <dcbw@redhat.com>
6483 Make certs actually work. The private key is now a secret, and should be
6484 decrypted when requested by NM. The private key and phase2 private key
6485 passwords are no longer interesting to NM because they should be used by
6486 the settings service to decrypt the private key itself before passing it
6487 to NM, and hence have been removed as fields.
6489 * libnm-util/nm-setting-wireless-security.h
6490 libnm-util/nm-setting-wireless-security.c
6491 - Remove private-key-passwd and phase2-private-key-passwd from
6493 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6494 need_secrets): use property #defines instead strings to keep things
6496 - (need_secrets_tls): if a client certificate is present but no
6497 private key, request the private key
6498 - (set_property, get_property, nm_setting_wireless_security_class_init):
6499 remove private key password stuff, mark private keys as secret
6501 * src/supplicant-manager/nm-supplicant-settings-verify.c
6502 - Remove private_key_passwd and private_key2_passwd from opt_table
6504 2007-11-09 Dan Williams <dcbw@redhat.com>
6506 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6507 Since the vpn-properties are managed and known by the VPN daemons themselves,
6508 libnm-util doesn't know what's secret and what's in the setting's 'data'
6511 * libnm-util/nm-setting.h
6512 libnm-util/nm-setting.c
6513 - Add the ability for subclasses to override update_one_secret
6515 * libnm-util/nm-setting-vpn-properties.c
6516 - Override update_one_secret and just copy the values into the
6519 2007-11-09 Dan Williams <dcbw@redhat.com>
6521 * libnm-glib/nm-settings.h
6522 libnm-glib/nm-settings.c
6523 - (nm_settings_new_error): remove
6524 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6525 clients should use g_set_error() with NM_SETTINGS_ERROR
6527 2007-11-09 Dan Williams <dcbw@redhat.com>
6529 * src/supplicant-manager/nm-supplicant-config.c
6530 - (nm_supplicant_config_add_setting_wireless_security): private key
6531 passwords are never sent to wpa_supplicant, because the supplicant
6532 should never be reading random files from the disk. Clients like
6533 the applet are required to decrypt the private keys and send NM
6534 the decrypted blobs.
6536 2007-11-08 Dan Williams <dcbw@redhat.com>
6538 * libnm-util/nm-setting-wireless-security.h
6539 libnm-util/nm-setting-wireless-security.c
6540 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6541 members to 802-11-wireless-security structure. This should be used
6542 to indicate that the values in private-key and phase2-private-key
6543 are already decrypted by the user agent, and that no
6544 private-key-passwd or phase2-private-key-passwd should be expected.
6545 It is not meant to be a stored configuration value, but meant to
6546 be set when the conneciton is sent to NM over dbus.
6548 2007-11-08 Dan Williams <dcbw@redhat.com>
6550 * libnm-util/nm-connection.h
6551 libnm-util/nm-connection.c
6552 - (nm_connection_need_secrets): add argument to return hints
6554 * src/nm-device-802-11-wireless.c
6555 - (link_timeout_cb, supplicant_connection_timeout_cb,
6556 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6557 nm_connection_need_secrets() change
6559 2007-11-07 Tambet Ingo <tambet@gmail.com>
6561 Rework NMSetting structures: Move each setting to it's own file.
6562 Convert to GObject. Remove home grown setting types and use GTypes.
6563 Use GObject property introspection for hash conversion, enumerating
6566 * libnm-util/nm-setting-connection.[ch]
6567 * libnm-util/nm-setting-ip4-config.[ch]
6568 * libnm-util/nm-setting-ppp.[ch]
6569 * libnm-util/nm-setting-vpn.[ch]
6570 * libnm-util/nm-setting-vpn-properties.[ch]
6571 * libnm-util/nm-setting-wired.[ch]
6572 * libnm-util/nm-setting-wireless.[ch]
6573 * libnm-util/nm-setting-wireless-security.[ch]
6575 New files, each containing a setting.
6577 * libnm-util/nm-setting-template.[ch]: A template for creating new
6578 settings. To use it, just replace 'template' with the new setting
6579 name, and you're half-way done.
6581 * libnm-util/nm-setting.c: Convert to GObject and use GObject
6582 introspection instead of internal types and tables.
6584 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6586 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6587 GValue types defined by dbus-glib for composed types like collections,
6588 structures and maps.
6590 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6591 a setting from connection takes the setting type now. Also, since
6592 the settings are in multiple files, include relevant settings.
6594 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
6597 * src/backends/NetworkManagerGentoo.c:
6598 (nm_system_restart_mdns_responder): Implement restarts for other mdns
6599 providers in Gentoo.
6601 2007-10-31 Dan Williams <dcbw@redhat.com>
6603 * libnm-util/nm-connection.c
6604 - (gvalue_to_string): handle UINT32 arrays
6606 2007-10-31 Dan Williams <dcbw@redhat.com>
6608 * libnm-glib/nm-device.h
6609 libnm-glib/nm-device.c
6610 - (nm_device_get_description): remove
6611 - (nm_device_get_product, nm_device_get_vendor): add
6612 - (nm_device_update_description): new function (private); walk HAL
6613 devices to get product and vendor IDs for a specific device
6615 2007-10-31 Dan Williams <dcbw@redhat.com>
6617 * src/nm-device-802-11-wireless.c
6618 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6620 2007-10-29 Dan Williams <dcbw@redhat.com>
6622 * src/nm-hal-manager.c
6623 - (device_added, device_new_capability): ignore device additions while
6624 asleep. Fixes crash caused when NM goes to sleep, a network device
6625 kernel module is unloaded and reloaded and recognized by NM again.
6627 2007-10-26 Dan Williams <dcbw@redhat.com>
6629 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6631 * src/NetworkManagerAP.c
6632 src/NetworkManagerAP.h
6633 libnm-glib/nm-access-point.c
6634 libnm-glib/nm-access-point.h
6635 - Make 'rate' property a guint32 to better match with WEXT and
6636 wpa_supplicant and to allow representation of higher bitrates
6638 * src/nm-device-802-11-wireless.c
6639 introspection/nm-device-802-11-wireless.xml
6640 libnm-glib/nm-device-802-11-wireless.c
6641 libnm-glib/nm-device-802-11-wireless.h
6642 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6644 * src/nm-device-802-3-ethernet.c
6645 src/nm-device-802-3-ethernet.h
6646 introspection/nm-device-802-3-ethernet.xml
6647 libnm-glib/nm-device-802-3-ethernet.c
6648 libnm-glib/nm-device-802-3-ethernet.h
6649 - Make 'speed' property a guint32 to match other speed/rate types
6650 - Make nm_device_802_3_ethernet_get_speed() static
6653 - Update for the changes above
6655 2007-10-26 Dan Williams <dcbw@redhat.com>
6657 * src/named-manager/nm-named-manager.c
6658 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6659 not calling fclose() twice on some error conditions
6661 2007-10-26 Dan Williams <dcbw@redhat.com>
6663 * src/nm-activation-request.c
6664 - (dispose): clean up indentation; get the right DBusGProxy object to
6665 cancel the GetSecrets pending call on. Need to use the Secrets
6666 proxy, not the regular connection proxy. Otherwise the GetSecrets
6667 pending call doesn't get canceled, and pressing Cancel in the
6668 applet's password dialog could cause get_secrets_cb() to be called
6669 after the activation request has already been destroyed
6671 2007-10-24 Dan Williams <dcbw@redhat.com>
6673 * src/supplicant-manager/nm-supplicant-config.c
6674 - (nm_supplicant_config_add_blob): pass blob data and length for
6676 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
6678 2007-10-24 Dan Williams <dcbw@redhat.com>
6680 * src/supplicant-manager/nm-supplicant-settings-verify.c
6681 - (opt_table): max length for certificates should be 65536
6683 2007-10-24 Dan Williams <dcbw@redhat.com>
6685 * src/supplicant-manager/nm-supplicant-interface.c
6686 - (blob_free): correctly free blob data after use
6687 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
6689 2007-10-24 Dan Williams <dcbw@redhat.com>
6691 * libnm-util/nm-setting.c
6692 - (setting_wireless_security_need_secrets): Fix lookup table logic for
6693 EAP method need secrets
6695 2007-10-24 Dan Williams <dcbw@redhat.com>
6697 * src/backends/NetworkManagerRedHat.c
6698 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
6700 2007-10-23 Dan Williams <dcbw@redhat.com>
6702 * libnm-util/nm-setting.c
6703 libnm-util/nm-setting.c
6704 - (nm_setting_compare): implement
6705 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
6706 compare_one_hash_gvalue): compare the contents of a setting
6708 * libnm-util/nm-connection.c
6709 - (nm_connection_compare): implement
6711 2007-10-23 Dan Williams <dcbw@redhat.com>
6713 * src/nm-activation-request.c
6714 - (get_secrets_cb): handle getting a setting back that is more than
6715 just secrets (ie, user changed auth or EAP method or something)
6717 2007-10-23 Dan Williams <dcbw@redhat.com>
6719 * libnm-util/nm-setting.c
6720 libnm-util/nm-setting.h
6721 - (nm_setting_verify): new function; verify one setting
6722 - (nm_settings_verify_all): rename from nm_settings_verify()
6723 - (setting_connection_verify, setting_wireless_verify): allow NULL
6726 * libnm-util/nm-connection.c
6727 - (nm_connection_replace_settings, nm_connection_verify,
6728 nm_connection_new_from_hash): handle nm_settings_verify() rename
6730 2007-10-23 Dan Williams <dcbw@redhat.com>
6732 * src/nm-device-802-11-wireless.c
6733 - (real_act_stage2_config): use pre-increment on 'tries' to get the
6736 2007-10-23 Dan Williams <dcbw@redhat.com>
6738 * src/supplicant-manager/nm-supplicant-settings-verify.c
6739 - eap_allowed, phase2_allowed: harmonize with allowed values from
6742 2007-10-23 Dan Williams <dcbw@redhat.com>
6744 * src/nm-device-802-11-wireless.c
6745 - (real_act_stage2_config): after the first association failure,
6746 if the connection still needs secrets ask the user for them
6747 explicitly. After the fourth association failure due to bad
6748 secrets, fail the connection entirely. Handles the GetSecrets
6749 loop that NM gets into when the provided secrets don't match up
6750 with the connection details.
6752 2007-10-23 Dan Williams <dcbw@redhat.com>
6754 * src/supplicant-manager/nm-supplicant-config.c
6755 - (nm_supplicant_config_add_setting_wireless_security): only add
6756 WPA-specific options when WPA is in use
6758 2007-10-23 Dan Williams <dcbw@redhat.com>
6760 * src/supplicant-manager/nm-supplicant-config.c
6761 - (nm_supplicant_config_add_setting_wireless_security): 'password'
6762 secret doesn't need to be unhexified
6764 2007-10-23 Dan Williams <dcbw@redhat.com>
6766 * libnm-util/nm-setting.c
6767 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
6768 before trying to do something with it
6770 2007-10-23 Dan Williams <dcbw@redhat.com>
6772 * src/nm-device-802-11-wireless.c
6773 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
6775 2007-10-23 Dan Williams <dcbw@redhat.com>
6777 * src/nm-device-802-11-wireless.c
6778 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
6779 non-SSID-broadcasting APs
6781 2007-10-23 Dan Williams <dcbw@redhat.com>
6783 * src/NetworkManagerAP.c
6784 - (match_cipher, security_compatible): remove
6785 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
6788 2007-10-23 Dan Williams <dcbw@redhat.com>
6790 * libnm-util/nm-utils.c
6791 libnm-util/nm-utils.h
6792 - (nm_utils_ap_security_compatible): common function for checking
6793 whether a specific AP is compatible with an NMConnection
6795 2007-10-23 Dan Williams <dcbw@redhat.com>
6797 * libnm-util/nm-setting.c
6798 - (setting_wireless_security_need_secrets, need_secrets_phase2,
6799 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
6800 need_secrets_password, setting_wireless_security_verify): fix
6801 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
6802 secrets logic for each supported EAP method
6804 2007-10-23 Dan Williams <dcbw@redhat.com>
6806 * src/supplicant-manager/nm-supplicant-config.c
6807 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
6808 config option name, should be "private_key2_passwd"
6810 2007-10-22 Tambet Ingo <tambet@gmail.com>
6812 Implement support for static IP addresses, additional/overridden DNS and
6813 DNS domain search lists.
6815 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
6816 (ip4_addresses_to_gvalue): Implement.
6817 (convert_array_to_byte_array): Implement.
6818 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
6819 NM_S_TYPE_IP4_ADDRESSES.
6820 (nm_setting_hash): Ditto.
6821 (default_setting_clear_secrets): Add a default case for the switch: IP address
6822 shouldn't be secret, ever.
6823 (setting_ip4_config_verify): Update, requires addresses in case of manual
6825 (setting_ip4_config_destroy): Free stuff.
6827 * src/nm-device.c (merge_ip4_config): Implement.
6828 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
6830 2007-10-22 Dan Williams <dcbw@redhat.com>
6832 * libnm-util/nm-setting.c
6833 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
6834 pairwise cipher options for Dynamic WEP
6836 2007-10-21 Dan Williams <dcbw@redhat.com>
6838 * src/NetworkManagerAP.c
6839 src/NetworkManagerAP.h
6840 - Rename 'articifical' -> 'fake' since that's what they are until
6842 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
6843 from the attributes in an NMConnection object
6844 - (security_compatible): better handle Dynamic WEP and LEAP; handle
6846 - (nm_ap_match_in_list): find a matching AP in a scan list
6848 * src/nm-device-802-11-wireless.c
6849 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
6850 AP when searching the scan list; match on frequency and mode too
6851 - (nm_device_802_11_wireless_get_frequency): implement
6852 - (merge_scanned_ap): replace duplicate matching logic with
6853 nm_ap_match_in_list()
6854 - (real_act_stage1_prepare): handle a NULL specific object; ie where
6855 the user is trying to connect to a hidden network that is not yet
6856 known from the scan list
6857 - (activation_success_handler): now that the card knows the AP's BSSID,
6858 there may already be a scanned AP in the scan list that is what
6859 we really wanted to connect to, but didn't know at the time. Use
6860 that instead of the 'fake' AP created at activation start and get
6861 rid of the 'fake' AP
6862 - (cull_scan_list): don't remove fake APs
6864 2007-10-21 Dan Williams <dcbw@redhat.com>
6866 * src/nm-activation-request.h
6867 src/nm-activation-request.c
6868 - (nm_act_request_set_specific_object): new function; allow setting the
6869 specific object if one isn't set yet
6871 2007-10-20 Dan Williams <dcbw@redhat.com>
6873 * src/supplicant-manager/nm-supplicant-config.h
6874 src/supplicant-manager/nm-supplicant-config.c
6875 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
6876 table to store blobs
6877 - (nm_supplicant_config_add_blob): new function; add blob to internal
6879 - (nm_supplicant_config_get_blobs): new function; get stored blobs
6880 - (nm_supplicant_config_add_setting_wireless_security): handle
6881 options that use certificates (ie, blobs)
6883 * src/nm-device-802-11-wireless.c
6884 - (build_supplicant_config): pass a UID (just use the connection path)
6885 to the supplicant config as now required
6887 * src/supplicant-manager/nm-supplicant-interface.c
6888 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
6889 there are any blobs to send to wpa_supplicant, send those first
6890 before sending the network configuration
6892 2007-10-19 Dan Williams <dcbw@redhat.com>
6894 Split the GetSecrets() call off to a separate D-Bus interface so that it
6895 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
6896 should be able to call GetSecrets().
6898 * include/NetworkManager.h
6899 - Define the connection secrets D-Bus interface
6901 * src/vpn-manager/nm-vpn-connection.c
6902 - (clear_need_auth): get the right proxy object for the connection
6904 - (get_connection_secrets): use the connection secrets proxy; send
6905 empty hints in get secrets request
6907 * src/nm-activation-request.c
6908 - (nm_act_request_request_connection_secrets): use the connection
6909 secrets proxy; send empty hints in get secrets request
6913 - (connection_get_settings_cb): set the connection secrets proxy on
6914 the connection object too
6915 - (internal_new_connection_cb): create the connection secrets proxy
6917 * introspection/nm-settings-connection.xml
6918 - Define Connection.Secrets interface and move GetSecrets there
6919 - Add a 'hints' argument to GetSecrets
6921 * libnm-glib/nm-settings.c
6922 libnm-glib/nm-settings.h
6923 - (impl_connection_settings_get_secrets): add 'hints' argument
6925 2007-10-19 Dan Williams <dcbw@redhat.com>
6928 - (constructor): add message about what path a device is exported as
6929 to help in debugging rh #339011
6931 2007-10-17 Dan Williams <dcbw@redhat.com>
6933 * libnm-util/nm-utils.h
6934 libnm-util/nm-utils.c
6935 - (nm_utils_security_valid): common function to help find the intersection
6936 of capabilities of devices and (optionally) access points
6938 2007-10-17 Dan Williams <dcbw@redhat.com>
6940 * src/nm-device-802-11-wireless.c
6941 - (get_wireless_capabilities): add missing braces so that WPA capabilities
6942 don't get erroneously cleared
6944 2007-10-17 Dan Williams <dcbw@redhat.com>
6948 src/nm-hal-manager.c
6949 - (device_removed, finalize, nm_manager_remove_device,
6950 nm_manager_sleep): add a 'deactivate' argument to
6951 nm_manager_remove_device() to fully deactivate devices when necessary
6952 (ie, always except when waking up)
6954 2007-10-16 Dan Williams <dcbw@redhat.com>
6956 * libnm-util/nm-setting.c
6957 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
6958 also isn't valid phase2 autheap method
6960 2007-10-16 Dan Williams <dcbw@redhat.com>
6962 * libnm-glib/nm-client.c
6963 - (update_wireless_status): consolidate updates of wireless status
6964 - (constructor): use update_wireless_status()
6965 - (manager_running): set wireless status off when NM goes away; requery
6966 the wireless status when NM comes back
6968 2007-10-16 Dan Williams <dcbw@redhat.com>
6970 * libnm-glib/nm-client.c
6971 - (nm_client_activate_device): actually use the fixed-up specific
6974 2007-10-16 Dan Williams <dcbw@redhat.com>
6976 * src/nm-hal-manager.c
6977 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
6978 killswitch error messages once
6980 2007-10-16 Dan Williams <dcbw@redhat.com>
6983 - (manager_set_wireless_enabled): don't allow wireless to be enabled
6984 if it's disabled in hardware; don't touch network devices while
6987 2007-10-16 Dan Williams <dcbw@redhat.com>
6989 * libnm-util/nm-client.c
6990 - (nm_client_activate_device): convert NULL specific_object to "/",
6991 which is used in place of NULL
6994 - (impl_manager_activate_device): convert "/" specific_object back into
6997 2007-10-16 Tambet Ingo <tambet@gmail.com>
6999 Implement a generic NMSetting creator from setting name.
7000 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7001 add a virtual function 'populate_fn'.
7003 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7004 (register_default_creators): Register setting creators instead of functions
7005 that create and then populate.
7006 (parse_one_setting): Use the common setting creator and then setting specific
7007 poplulation function.
7009 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7010 they all looked exactly the same.
7011 Add a 'populate_fn' virtual function to NMSetting.
7012 Use default virtual functions in case they are not overriden.
7013 (nm_setting_populate_from_hash): Implement.
7015 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7016 name, use a defined string.
7017 (real_act_stage4_get_ip4_config): Ditto.
7019 2007-10-16 Tambet Ingo <tambet@gmail.com>
7021 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7022 HAL is int, not uint.
7024 2007-10-15 Tambet Ingo <tambet@gmail.com>
7026 Implement killswitch polling through HAL.
7028 * src/nm-manager.c: Add wireless hardware status property. Add
7029 'properties-changed' signal for changes in wireless and wireless hardware
7032 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7033 and update NMManager's wireless hardware state when it has changed.
7034 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7037 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7038 values of wireless state and wireless hardware state. Listen for the
7039 'properties-changed' signals, update the cached values and emit notify.
7041 * include/NetworkManager.h: Fix a typo in a comment.
7043 2007-10-14 Dan Williams <dcbw@redhat.com>
7045 * libnm-util/nm-setting.c
7046 - (setting_wireless_security_need_secrets): handle LEAP secrets
7048 2007-10-13 Dan Williams <dcbw@redhat.com>
7050 * libnm-util/nm-setting.h
7051 libnm-util/nm-setting.c
7052 src/supplicant-manager/nm-supplicant-config.c
7053 - Make the 'proto' field of the 802-11-wireless-security field a
7056 2007-10-12 Tambet Ingo <tambet@gmail.com>
7058 Rework the "properties-changed" signal listening implementation.
7059 Add a generic implementation to NMObject class that listens for
7060 the signal and calls property setters of the target NMObject.
7062 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7064 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7065 code to the end of file so that all the static functions are available
7066 without extra declarations.
7067 Remove the "properties-changed" signal handling and use the framework from
7069 Implement property setters for properties that change with
7070 "properties-changed" signal.
7072 * libnm-glib/nm-access-point.c: Ditto.
7074 2007-10-12 Tambet Ingo <tambet@gmail.com>
7076 Rework the "properties-changed" signal implementation.
7077 In classes that need to use it, just emit "GObject::notify" and the new
7078 framework takes care of the rest to make the signal available on dbus.
7079 The framework queues the notifications and tries to send as many together
7080 in one signal as possible.
7082 * src/nm-properties-changed-signal.c:
7083 * src/nm-properties-changed-signal.h: Implement.
7085 * src/Makefile.am: Add new files to build.
7087 * src/NetworkManagerAP.c: Use the general framework for properties-changed
7090 * src/nm-device-802-11-wireless.c: Ditto.
7092 2007-10-10 Dan Williams <dcbw@redhat.com>
7095 - (wait_for_connection_expired): ensure info is valid
7096 - (connection_added_default_handler): Should only remove pending
7097 connection info when the manager has the connection that it's
7098 waiting for. Fixes segfault in wait_for_connection_info().
7100 2007-10-10 Dan Williams <dcbw@redhat.com>
7102 * libnm-util/nm-setting.c
7103 libnm-util/nm-setting.h
7104 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7105 can use if they choose. Should be filled in by the settings service
7106 on-the-fly with the currently logged in user's username
7108 2007-10-10 Dan Williams <dcbw@redhat.com>
7110 * src/nm-device-802-11-wireless.c
7111 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7112 as such, because even if the manager fills in the SSID, NM still
7113 has to indicate to wpa_supplicant that the AP isn't broadcasting
7116 2007-10-10 Tambet Ingo <tambet@gmail.com>
7118 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7119 code that used NM's own version of dbus signal handling and custom dictionary
7120 marshalling/unmarshalling. With this change, all that obsolete code can disappear
7121 and we get to maintain over 2000 lines less code.
7123 * libnm-util/dbus-dict-helpers.c:
7124 * libnm-util/dbus-dict-helpers.h: Remove.
7126 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7128 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7130 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7133 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7135 * configure.in: Remove test/libnm-util/Makefile creation.
7137 * test/Makefile.am: Remove libnm-util from SUBDIRS.
7139 * test/libnm-util/: Remove the whole directory.
7141 2007-10-10 Tambet Ingo <tambet@gmail.com>
7143 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
7144 device_state_changed_idle_id variable or it would contain some random value and the
7145 schedule_change_check calls would not do anything.
7147 2007-10-09 Dan Williams <dcbw@redhat.com>
7149 * src/nm-device-802-11-wireless.c
7150 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7151 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7152 isn't broadcasting its SSID; set the non-broadcast flag here; fix
7153 merging of non-SSID-broadcasting APs
7155 2007-10-09 Tambet Ingo <tambet@gmail.com>
7157 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7158 "guint8 *" since it's usually used with GByteArray->data.
7159 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7161 2007-10-09 Tambet Ingo <tambet@gmail.com>
7163 * src/NetworkManagerUtils.c
7164 (nm_utils_is_empty_ssid):
7165 (nm_utils_escape_ssid):
7166 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
7167 lot of places, so they belong to libnm-utils instead.
7169 Now with 100% less compiler warnings:
7171 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7172 (nm_dbus_unescape_object_path): Ditto.
7173 (nm_utils_ssid_to_utf8): Ditto.
7174 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7175 (nm_utils_escape_ssid): Ditto.
7176 (nm_utils_same_ssid): Ditto.
7178 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7179 (add_one_connection_element): Remove an unused variable.
7180 (impl_manager_get_active_connections): Ditto.
7182 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7185 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7186 from the previous commit.
7188 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7189 (real_act_stage1_prepare): Ditto.
7190 (activation_success_handler): Ditto.
7191 (get_property): Ditto.
7193 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7196 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7199 * src/supplicant-manager/nm-supplicant-config.c
7200 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7201 to expected "char *".
7202 (nm_supplicant_config_add_setting_wireless): Ditto.
7203 (nm_supplicant_config_remove_option): Remove, not used.
7205 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7207 (test_wireless_enabled): Ifdef out unused function.
7208 (device_deactivate): Ditto.
7209 (device_state_changed): Ditto.
7210 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7211 (nm_utils_escape_ssid): Ditto.
7213 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7214 (nm_utils_is_empty_ssid): Ditto.
7216 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7219 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7220 (setting_vpn_properties_update_secrets): Ditto.
7221 (int_to_gvalue): Ifdef out for now, not used.
7222 (byte_to_gvalue): Ditto.
7224 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
7227 2007-10-08 Tambet Ingo <tambet@gmail.com>
7229 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7230 about dbus manager, not named manager.
7231 Make sure hal_manager and dbus_mgr are created before trying to unreference.
7233 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7234 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7235 However, the same signal is emitted when we destroy it and there's
7236 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7238 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7239 releasing the DBusGConnection, since proxy needs a conneciton.
7240 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7242 2007-10-08 Dan Williams <dcbw@redhat.com>
7244 * src/NetworkManager.c
7245 - (main): error on unknown command-line options
7247 2007-10-08 Dan Williams <dcbw@redhat.com>
7249 Reimplement the invalid connection list. Don't try to re-activate a
7250 connection that just failed or was canceled.
7253 - (connection_secrets_failed_cb): fail device activation, don't just
7254 deactivate the device. Listeners have to know about the failure.
7256 * src/NetworkManagerPolicy.c
7257 - (nm_policy_auto_get_best_device): exclude invalid connections from
7258 the connection list given to a device's get_best_connection()
7260 - (device_state_changed): tag failed connections as invalid; clear the
7261 tag from successful connections
7263 2007-10-08 Dan Williams <dcbw@redhat.com>
7265 Fix problems with interrupted activation. Previously, choosing an AP
7266 from the menu, then choosing another one before the first connection was
7267 successful wouldn't deactivate the device before starting the new connection
7268 on that same device.
7270 * src/NetworkManagerPolicy.c
7271 - (deactivate_old_device, device_state_changed, state_changed,
7272 nm_policy_new): wrong place to deactivate old devices
7275 - (pending_connection_info_destroy, finalize,
7276 wait_for_connection_expired): decouple destruction of the pending
7277 connection info from the manager device
7278 - (connection_added_default_handler): deactivate any active or
7279 activating device before starting a new activation
7280 - (impl_manager_activate_device): deactivate any active or activating
7281 device before starting a new activation; be sure not to leak
7282 pending connection info if a new activation request arrives but
7283 there's already a pending one in-process
7285 2007-10-08 Dan Williams <dcbw@redhat.com>
7287 * src/NetworkManagerAP.h
7288 src/NetworkManagerAP.c
7289 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
7290 should handle default SSIDs and whether or not to autoconnect
7293 2007-10-08 Dan Williams <dcbw@redhat.com>
7295 * src/NetworkManagerPolicy.c
7296 - (nm_policy_device_change_check): print out connection name where
7299 2007-10-08 Dan Williams <dcbw@redhat.com>
7301 * src/nm-device-802-11-wireless.c
7302 src/nm-device-802-11-wireless.h
7303 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7304 'hidden-ap-found' signal (for internal use only) that allows the
7305 NMManager to fill in the AP's SSID if a connection has that AP's
7306 BSSID in its seen-bssids list
7309 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7310 wireless device's hidden-ap-found signal and fill in the APs SSID
7313 2007-10-07 Dan Williams <dcbw@redhat.com>
7317 - Add a 'connections-added' signal to batch together updates of large
7318 numbers of connections, like when reading from a settings service
7319 the first time. Otherwise, the policy would just activate the first
7320 suitable connection it saw rather than waiting for the full list
7322 - (nm_manager_class_init): register new signal
7323 - (get_type_for_proxy, connection_get_settings_cb,
7324 get_connection_for_proxy): centralize places where a proxy's setting
7325 service is determined
7326 - (free_get_settings_info): if the call being freed is the last call
7327 in a pending call group, fire off the connections-added signal
7328 - (internal_new_connection_cb): add call to a pending call group if
7330 - (list_connections_cb): always create a call group here, because this
7331 call results in a batch of new connections
7332 - (initial_get_connections): start getting system connections first
7333 - (nm_manager_connections_destroy, emit_removed): actually emit the
7334 removed signal when destroying connections
7336 * src/NetworkManagerPolicy.c
7337 - (nm_policy_new, connections_added): handle connections-added signal
7340 2007-10-06 Dan Williams <dcbw@redhat.com>
7342 * src/nm-device-802-11-wireless.c
7343 - (constructor): fix leaked socket
7345 2007-10-06 Dan Williams <dcbw@redhat.com>
7347 * src/NetworkManagerPolicy.c
7348 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
7349 connection in the list returned by nm_manager_get_connections() is
7350 reffed, but they weren't getting unreffed before returning
7352 2007-10-06 Dan Williams <dcbw@redhat.com>
7355 - (connections_to_slist): sort connections first on autoconnect, then
7358 2007-10-06 Dan Williams <dcbw@redhat.com>
7360 * libnm-util/nm-connection.c
7361 - (gvalue_to_string): handle UINT64
7363 2007-10-06 Dan Williams <dcbw@redhat.com>
7365 * src/NetworkManagerPolicy.c
7366 - (connection_updated, nm_policy_new): recheck state when a connection
7369 2007-10-06 Dan Williams <dcbw@redhat.com>
7373 - (nm_manager_get_connection_dbus_path): make static
7374 - (nm_manager_update_connections): remove; unused
7375 - Add a connection-updated signal
7376 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7377 handle connection object updates
7379 2007-10-06 Dan Williams <dcbw@redhat.com>
7381 * src/NetworkManagerPolicy.c
7382 - (connection_removed): deactivate removed connections
7384 2007-10-06 Dan Williams <dcbw@redhat.com>
7386 * libnm-util/nm-connection.c
7387 libnm-util/nm-connection.h
7388 - (nm_connection_replace_settings): new function
7390 2007-10-06 Dan Williams <dcbw@redhat.com>
7392 * libnm-glib/nm-device-802-11-wireless.c
7393 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7394 on error when getting the active access point over D-Bus from NM
7396 2007-10-05 Dan Williams <dcbw@redhat.com>
7398 * libnm-util/nm-setting.c
7399 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7400 to the NMSettingWireless table; it's now a string array not an array
7403 2007-10-05 Dan Williams <dcbw@redhat.com>
7405 * libnm-glib/nm-device-802-11-wireless.c
7406 - Cache properties and update cached properties on D-Bus signals from NM
7408 2007-10-05 Dan Williams <dcbw@redhat.com>
7410 * src/nm-device-802-11-wireless.c
7411 - (set_current_ap): consolidate current_ap handling code into one place
7412 to ensure that PropertiesChanged signals are emitted in all cases
7413 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7414 nm_device_802_11_wireless_dispose): use set_current_ap()
7416 2007-10-05 Dan Williams <dcbw@redhat.com>
7418 * libnm-glib/nm-access-point.c
7419 libnm-glib/nm-access-point.h
7420 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7421 because the value is cached internally now. Callers should not
7422 free the internal value.
7423 - Make signal name defines private
7426 libnm-glib/libnm-glib-test.c
7427 - Don't free value returned from nm_access_point_get_hw_address()
7429 2007-10-04 Dan Williams <dcbw@redhat.com>
7431 * introspection/nm-device-802-11-wireless.xml
7432 src/nm-device-802-11-wireless.h
7433 src/nm-device-802-11-wireless.c
7434 - Add a PropertiesChanged signal for wireless device
7435 - Store currently associated access point
7436 - (periodic_update): generalize; update rate here too and emit the
7437 correct PropertiesChanged signal when stuff changes
7438 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7439 real_activation_cancel_handler): clear current_ap when device is
7441 - (link_to_specific_ap, get_ap_blacklisted,
7442 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7444 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7446 - (real_set_hw_address): emit property changed signal if the card's
7448 - (real_act_stage1_prepare): set the initial current_ap to the AP
7449 the card is supposed to be connecting to
7450 - (activation_success_handler): send out property updates on successful
7452 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7453 for ACTIVE_ACCESS_POINT property because sometimes there won't be
7454 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7455 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7456 is now boxed; add PropertiesChanged signal
7458 2007-10-04 Dan Williams <dcbw@redhat.com>
7460 * libnm-util/nm-connection.c
7461 libnm-util/nm-connection.h
7462 - (nm_connection_verify): new function
7464 2007-10-04 Dan Williams <dcbw@redhat.com>
7466 * libnm-util/nm-setting.c
7467 - (nm_settings_verify): use #defines when possible rather than strings
7468 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7469 - (setting_vpn_verify): tighter validity check on 'service_type'
7471 2007-10-04 Dan Williams <dcbw@redhat.com>
7473 * libnm-glib/nm-settings.c
7474 - (nm_connection_settings_class_init): provide correct type for argument
7475 to the Updated signal so that dbus-glib knows how to marshal it
7477 2007-10-03 Dan Williams <dcbw@redhat.com>
7479 * src/nm-device-802-3-ethernet.c
7480 - (real_get_best_connection): don't create automatic connections
7481 internally; clients should provide a setting that applies to
7482 the device with 'autoconnect: True'. Problem was that these
7483 internally auto-created connections don't have a proxy or service
7484 name becuase they weren't created by a settings daemon, and therefore
7485 clients have no idea what to do with them.
7487 2007-10-03 Dan Williams <dcbw@redhat.com>
7489 * src/nm-device-802-11-wireless.c
7490 src/nm-device-802-11-wireless.h
7491 introspection/nm-device-802-11-wireless.xml
7492 - GetActiveNetworks -> GetAccessPoints
7493 - ActiveNetwork -> ActiveAccessPoint
7494 - NetworkAdded -> AccessPointAdded
7495 - NetowrkRemoved -> AccessPointRemoved
7497 * libnm-glib/nm-device-802-11-wireless.c
7498 libnm-glib/nm-device-802-11-wireless.h
7499 - network-added signal -> access-point-added
7500 - network-removed signal -> access-point-removed
7501 - nm_device_802_11_wireless_get_active_network() ->
7502 nm_device_802_11_wireless_get_active_access_point()
7503 - nm_device_802_11_wireless_get_network_by_path() ->
7504 nm_device_802_11_wireless_get_access_point_by_path()
7505 - nm_device_802_11_wireless_get_networks() ->
7506 nm_device_802_11_wireless_get_access_points()
7508 * libnm-glib/libnm-glib-test.c
7510 src/NetworkManagerPolicy.c
7511 - Fixups for Network -> AccessPoint
7513 2007-10-03 Dan Williams <dcbw@redhat.com>
7515 Add a GetActiveConnections() method on the Manager object.
7519 introspection/nm-manager.xml
7520 - (connection_get_settings_cb): keep connection type around too
7521 - (impl_manager_get_active_connections, add_one_connection_element):
7522 implement; returns all active connections and what devices they
7525 * libnm-glib/nm-client.c
7526 libnm-glib/nm-client.h
7527 introspection/nm-manager-client.xml
7528 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7529 by the caller; free here to avoid memory leak
7530 - (nm_client_get_active_connections): implement; return the list of
7532 - (nm_client_free_active_connection_element): implement; free an element
7533 of the GSList returned by nm_client_get_active_connections()
7535 2007-10-03 Dan Williams <dcbw@redhat.com>
7537 * src/nm-device-802-11-wireless.c
7538 - (nm_device_802_11_wireless_update_bssid): remove
7539 - (get_active_ap): new function; find the AP in the scan list which
7540 matches the current BSSID and SSID of the wireless device
7541 - (nm_device_802_11_periodic_update): get current AP using
7542 get_active_ap() and print AP roam messages
7544 2007-10-01 Dan Williams <dcbw@redhat.com>
7546 * libnm-util/nm-setting.h
7547 - Add a 'timestamp' option to NMSettingConnection
7550 * libnm-util/nm-setting.c
7551 - (uint64_to_gvalue): new function
7552 - (nm_setting_populate_from_hash, nm_setting_hash,
7553 default_setting_clear_secrets): handle UINT64 type
7554 - con_table: add 'timestamp' member
7556 2007-10-01 Dan Williams <dcbw@redhat.com>
7559 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7560 value when the connection can be activated immediately
7562 2007-10-01 Dan Williams <dcbw@redhat.com>
7564 * libnm-glib/nm-device.c
7565 - (nm_device_class_init): actually tell glib about the carrier-changed
7568 2007-10-01 Dan Williams <dcbw@redhat.com>
7571 src/marshallers/Makefile.am
7572 src/marshallers/nm-marshal.list
7573 src/marshallers/nm-marshal-main.c
7574 - Consolidate glib marshallers into one place
7576 * src/dhcp-manager/Makefile.am
7577 src/dhcp-manager/nm-dhcp-manager.c
7578 src/supplicant-manager/Makefile.am
7579 src/supplicant-manager/nm-supplicant-manager.c
7580 src/supplicant-manager/nm-supplicant-interface.c
7581 src/ppp-manager/Makefile.am
7582 src/ppp-manager/nm-ppp-manager.c
7583 src/vpn-manager/Makefile.am
7584 src/vpn-manager/nm-vpn-connection.c
7586 - Use consolidated marshallers
7588 * src/dhcp-manager/nm-dhcp-marshal.list
7589 src/dhcp-manager/nm-dhcp-marshal-main.c
7590 src/supplicant-manager/nm-supplicant-marshal-main.c
7591 src/supplicant-manager/nm-supplicant-marshal.list
7592 src/nm-marshal-main.c
7594 src/ppp-manager/nm-ppp-marshal-main.c
7595 src/ppp-manager/nm-ppp-marshal.list
7596 src/vpn-manager/nm-vpn-marshal-main.c
7597 src/vpn-manager/nm-vpn-marshal.list
7600 2007-10-01 Dan Williams <dcbw@redhat.com>
7602 * include/NetworkManagerVPN.h
7603 - define VPN connection state change reason codes
7605 * src/vpn-manager/Makefile.am
7606 src/vpn-manager/nm-vpn-marshal.list
7607 src/vpn-manager/nm-vpn-marshal-main.c
7608 - Add marshallers for StateChanged signal
7610 * introspection/nm-vpn-connection.xml
7611 - New Banner property
7612 - StateChanged signal now includes a 'reason' argument
7614 * src/vpn-manager/nm-vpn-connection.c
7615 src/vpn-manager/nm-vpn-connection.h
7616 - Add a "Banner" property that contains the returned VPN server login
7617 banner (if any); valid only in the ACTIVATED state
7618 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7619 a 'reason' argument and emits that reason along with the
7620 state-changed signal
7621 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7622 - (nm_vpn_connection_ip4_config_get): save banner for later
7623 - (nm_vpn_connection_get_banner, get_property,
7624 nm_vpn_connection_class_init): implement Banner property
7626 * src/vpn-manager/nm-vpn-service.c
7627 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7628 connection list because elements may get added/removed from it
7629 while iterating over the list
7630 - (connection_state_changed): signal now includes the 'reason' argument
7632 * libnm-glib/nm-vpn-connection.c
7633 libnm-glib/nm-vpn-connection.h
7634 - (nm_vpn_connection_get_banner): new function
7635 - (state_changed_proxy): handle reason argument
7637 2007-09-28 Tambet Ingo <tambet@gmail.com>
7641 Implement device activation through NMManager.
7642 Implement "pending device activation" here - If the connection isn't found,
7643 we try to wait for up to 5 seconds for the connection to be provided.
7644 Add NMConnectionType argument to "connection-added" and "connection-removed"
7646 (nm_manager_get): Remove. Finally.
7648 * src/nm-activation-request.c:
7649 * src/nm-activation-request.h:
7650 Remove all the deferred activation code.
7652 * src/nm-device.c: Remove all the deferred activation code. Once the device
7653 activation is started, it's started. Update the activation virtual function
7656 * src/nm-device-interface.c:
7657 * src/nm-device-interface.h:
7658 Device activation now takes only NMActRequest argument.
7659 Don't expose device activation directly on dbus, it's supposed to go through
7662 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
7664 Use the new device activation methods through NMManager.
7666 * introspection/nm-manager-client.xml:
7667 * introspection/nm-manager.xml:
7668 * libnm-glib/nm-client.c:
7669 * libnm-glib/nm-client.h:
7670 Add device activation method.
7672 * libnm-glib/nm-device.c:
7673 * libnm-glib/nm-device.h:
7674 * introspection/nm-device.xml:
7675 Remove device activation method. It's done through NMManager now.
7677 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
7678 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
7680 2007-09-28 Dan Williams <dcbw@redhat.com>
7682 * libnm-glib/nm-vpn-connection.c
7683 - (nm_vpn_connection_get_state): try to update state if the current
7686 2007-09-27 Dan Williams <dcbw@redhat.com>
7688 Patch from Bill Nottingham
7690 * src/supplicant-manager/nm-supplicant-config.c
7691 - (ADD_STRING_VAL): use correct length for binary blobs when sending
7692 data to the supplicant
7694 2007-09-27 Dan Williams <dcbw@redhat.com>
7696 * src/NetworkManagerSystem.c
7697 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
7698 and all address manipulation here should be happening on the
7699 _VPN_ device, not the active device
7701 2007-09-26 Dan Williams <dcbw@redhat.com>
7705 src/nm-activation-request.c
7706 src/nm-activation-request.h
7707 - Move the GetSecrets stuff out of the NMManager instance because it
7708 doesn't really need to be there and complicates things
7711 - (connection_secrets_failed_cb, device_activation_go): connect to the
7712 connection-secrets-failed signal and deactivate the device if
7713 the GetSecrets call fails
7715 * src/nm-device-802-11-wireless.c
7716 - (link_timeout_cb, supplicant_connection_timeout_cb,
7717 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
7718 secrets and give correct hints about whether new secrets should be
7719 asked for by the client or not
7721 2007-09-26 Dan Williams <dcbw@redhat.com>
7723 * src/vpn-manager/nm-vpn-connection.c
7724 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
7725 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
7726 to the secrets-updated signal of the NMConnection since updating
7727 the secrets is done within the scope of the NMVPNConnection object
7729 - (get_connection_secrets): fix an uninialized variable usage error
7731 2007-09-26 Dan Williams <dcbw@redhat.com>
7733 * libnm-util/nm-setting.c
7734 - (setting_vpn_properties_update_secrets): implement so VPN secrets
7735 actually get updated when the user enters them
7737 2007-09-26 Dan Williams <dcbw@redhat.com>
7739 * libnm-glib/nm-vpn-plugin.c
7740 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
7742 2007-09-26 Dan Williams <dcbw@redhat.com>
7744 * include/NetworkManagerVPN.h
7745 - Add a NEED_AUTH state
7747 * src/vpn-manager/nm-vpn-connection.c
7748 - Implement the NEED_AUTH state. First ask the VPN service plugin if
7749 the connection needs secrets, and if so, then ask the settings
7750 service to fill in the secrets. Then start the connection.
7752 2007-09-26 Dan Williams <dcbw@redhat.com>
7754 * src/vpn-manager/nm-vpn-manager.c
7755 - (new_vpn_error, impl_vpn_manager_connect): set errors
7757 2007-09-26 Dan Williams <dcbw@redhat.com>
7759 * introspection/nm-vpn-plugin.xml
7760 libnm-glib/nm-vpn-plugin.c
7761 libnm-glib/nm-vpn-plugin.h
7762 - (impl_vpn_plugin_need_secrets): implement a call that should return
7763 the name of the NMSetting in an NMConnection that may require
7764 secrets specific to that VPN plugin
7766 2007-09-26 Dan Williams <dcbw@redhat.com>
7770 - (nm_manager_get_connection_secrets): make static, unused outside
7772 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
7774 2007-09-26 Tambet Ingo <tambet@gmail.com>
7776 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
7778 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
7779 unreference the connection.
7781 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
7782 passing properties hash and routes string list, pass NMConnection (in hashed form).
7784 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
7785 as GSList, no need to copy stuff around anymore.
7786 (nm_vpn_connection_activate): Update the plugin activation method.
7788 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
7789 routes argument to GSList.
7791 2007-09-26 Tambet Ingo <tambet@gmail.com>
7793 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
7794 state and try to get the secrets.
7796 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
7797 connections from NMManager and let the device to choose the best from the list.
7798 Since the connection list is sorted by system ones first and user ones later,
7799 the devices still prefer system connections like they did before.
7800 (deactivate_old_device): Implement. When a device starts activation, we have a
7801 policy (for now at least) to deactivate any other device that might be either
7802 active or still activating.
7804 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
7805 It's set on construction, there will be no other way to access it.
7807 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
7808 device events and drive the device, not the other way around.
7810 * src/nm-device-802-3-ethernet.c: Ditto.
7812 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
7813 sent along, pass it on to virtual functions.
7815 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
7816 for now, but should really be public instead of nm_device_get_iface() since iface
7817 is a property of the DeviceInterface, not Device.
7818 (impl_device_activate): Don't touch NMManager!
7820 2007-09-26 Jürg Billeter <j@bitron.ch>
7822 * initscript/paldo/NetworkManager.in:
7823 * initscript/paldo/NetworkManagerDispatcher.in:
7824 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
7825 (nm_system_flush_loopback_routes): update paldo backend
7827 2007-09-26 Tambet Ingo <tambet@gmail.com>
7829 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
7830 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
7831 which means none of the devices get brought down properly, which in turn leaves
7832 DHCP client running.
7834 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
7835 (supplicant_connection_timeout_cb): Ditto.
7837 2007-09-25 Dan Williams <dcbw@redhat.com>
7840 - (device_activation_go): small hack to work around race when
7841 activating deferred connections; should solve this in a better way
7843 2007-09-25 Dan Williams <dcbw@redhat.com>
7845 * introspection/nm-device.xml
7846 libnm-glib/nm-device.c
7847 libnm-glib/nm-device.h
7848 - Add 'Carrier' property to exported NMDevice objects
7850 * src/nm-device-interface.h
7851 src/nm-device-interface.c
7853 - Add a 'carrier' property to internal NMDevice objects
7855 2007-09-25 Dan Williams <dcbw@redhat.com>
7857 * src/nm-device-802-11-wireless.c
7858 - (ap_auth_enforced): also return the encryption status of the AP so
7859 that callers can differentiate easily between unencrypted APs
7860 and encrypted ones, in addition to whether the AP has an
7862 - (link_timeout_cb, supplicant_connection_timeout_cb,
7863 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
7864 previously would request secrets from unencrypted APs at times
7866 2007-09-25 Dan Williams <dcbw@redhat.com>
7869 - (nm_manager_update_state): new function; updates state and emits
7870 appropriate signals ensuring a state-change signal for the same state
7871 never gets emitted twice in a row.
7872 - (manager_device_state_changed): handle more device state to get a
7873 better picture of the overall NM state
7875 2007-09-25 Dan Williams <dcbw@redhat.com>
7877 * libnm-glib/nm-settings.c
7878 libnm-glib/nm-settings.h
7879 - (new_error -> nm_settings_new_error): make public so that subclasses
7880 can use the same error domain. Also pass a valid error code to
7881 g_error_new_literal() so that libdbus doesn't assert when converting
7882 the GError into a DBusError
7883 - (impl_settings_list_connections, impl_connection_settings_get_id,
7884 impl_connection_settings_get_settings,
7885 impl_connection_settings_get_secrets): use new error creator
7888 2007-09-25 Dan Williams <dcbw@redhat.com>
7890 * src/NetworkManager.c
7891 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
7893 2007-09-25 Dan Williams <dcbw@redhat.com>
7895 * src/supplicant-manager/nm-supplicant-manager.c
7896 - (poke_supplicant_cb, nm_supplicant_manager_init,
7897 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
7898 nm_supplicant_manager_startup): when the supplicant isn't running,
7899 try to start it periodically via system bus activation. Fixes
7900 a problem where if wpa_supplicant goes away, NM gets stuck waiting
7901 for the supplicant to come back
7903 2007-09-25 Dan Williams <dcbw@redhat.com>
7905 Ensure that old activation requests are forgotten about; previously
7906 hitting Cancel in the password dialog would deactivate whatever device
7907 that password was requested for, even if that wasn't the currently
7908 activating connection.
7912 - (nm_manager_get_connection_secrets): track the pending call
7913 object so it can be canceled later if needed
7914 - (nm_manager_cancel_get_connection_secrets): cancel a pending
7915 GetSecrets call for a particular connection
7917 * src/nm-activation-request.c
7918 - (dispose): cancel any outstanding GetSecrets calls on the
7921 2007-09-25 Dan Williams <dcbw@redhat.com>
7923 * src/NetworkManagerPolicy.c
7924 - (nm_policy_device_change_check): handle devices that have a
7925 deferred activation. These devices are not really active _yet_,
7926 but need to be treated as such here. Don't interrupt them
7929 * src/nm-device-interface.c
7930 - (impl_device_activate): handle devices that have a deferred activation
7931 like activating or active devices. When multiple active devices
7932 get committed, the device shouldn't be deactivated until the
7933 connection details are available to avoid DoS and such. Currently,
7934 any active, activating, or deferred activation device is deactivated
7935 here before starting the new activation request.
7937 2007-09-25 Dan Williams <dcbw@redhat.com>
7939 Properly re-query secrets from the settings daemon when stuff fails.
7941 * src/nm-device-802-11-wireless.c
7942 - (ap_auth_enforced): handle static WEP correctly here by differentiating
7943 between Shared Key and Open System auth modes
7944 - (link_timeout_cb, supplicant_connection_timeout_cb,
7945 real_act_stage4_ip_config_timeout): clear existing secrets and
7946 request new ones when something fails due to a suspected wrong key
7947 - (real_act_stage2_config): fix for new request_new argument to
7948 nm_manager_get_connection_secrets()
7952 - (nm_manager_get_connection_secrets): return error status; pass
7953 new request_new argument on to the settings daemon
7955 * introspection/nm-settings-connection.xml
7956 - New 'request_new' argument to the GetSecrets call that hints to the
7957 settings daemon to ask the user for completely new secrets
7959 * libnm-glib/nm-settings.c
7960 libnm-glib/nm-settings.h
7961 - (impl_connection_settings_get_secrets): handle new 'request_new'
7964 2007-09-25 Dan Williams <dcbw@redhat.com>
7966 * libnm-util/nm-connection.c
7967 libnm-util/nm-connection.h
7968 - (nm_connection_clear_secrets): new function; clear secrets out of
7969 each NMSetting in an NMConnection
7971 * libnm-util/nm-setting.h
7972 libnm-util/nm-setting.c
7973 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
7974 secrets out of an NMSetting
7975 - (nm_setting_connection_new, nm_setting_ip4_config_new,
7976 nm_setting_wired_new, nm_setting_wireless_new,
7977 nm_setting_wireless_security_new, nm_setting_ppp_new,
7978 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
7979 to default handler default_setting_clear_secrets()
7981 2007-09-25 Dan Williams <dcbw@redhat.com>
7983 * src/nm-activation-request.c
7984 src/nm-activation-request.h
7985 - (nm_act_request_is_deferred): new function
7987 2007-09-24 Dan Williams <dcbw@redhat.com>
7989 * src/nm-device-802-11-wireless.c
7990 - (activation_success_handler): update signal strength immediately
7993 2007-09-24 Dan Williams <dcbw@redhat.com>
7995 * libnm-util/nm-setting.c
7996 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
7998 2007-09-24 Dan Williams <dcbw@redhat.com>
8000 * src/NetworkManagerPolicy.c
8001 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8002 device by deactivating it because it doesn't have a "best connection".
8003 Since autoconnect=False connections aren't automatically chosen,
8004 NM would interrupt activation of such a connection because it
8005 would never be "best" due to autoconnect=False.
8007 2007-09-24 Dan Williams <dcbw@redhat.com>
8010 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8011 actually has some time to enter a key before the GetSecrets call
8014 2007-09-24 Dan Williams <dcbw@redhat.com>
8016 * introspection/nm-manager.xml
8018 - (impl_manager_legacy_state): fix 'state' method call return value
8020 2007-09-24 Matthias Clasen <mclasen@redhat.com>
8022 * test/Makefile.am: Install nm-tool
8024 2007-09-24 Dan Williams <dcbw@redhat.com>
8026 Patch from Ross Burton <ross@burtonini.com>
8029 callouts/nm-dhcp-client-action.c
8031 src/vpn-manager/nm-vpn-connection.c
8032 libnm-glib/libnm-glib-test.c
8035 2007-09-24 Dan Williams <dcbw@redhat.com>
8037 * libnm-util/nm-utils.h
8038 libnm-util/nm-utils.c
8039 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8042 2007-09-23 Dan Williams <dcbw@redhat.com>
8044 * vpn-daemons/vpnc/properties/nm-vpnc.c
8045 - Update for new VPN properties API bits; instead of passing around
8046 a lot of random things, everything goes into the NMConnection
8049 2007-09-23 Dan Williams <dcbw@redhat.com>
8051 * libnm-util/nm-setting.c
8052 - Correctly dispose of settings objects if creating them from a hash
8055 2007-09-23 Dan Williams <dcbw@redhat.com>
8057 * libnm-util/nm-setting.c
8058 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8059 the hash table in a standard manner. Clients of libnm-util should
8060 only call g_hash_table_remove_all(), never destroy the hash table
8063 2007-09-22 Dan Williams <dcbw@redhat.com>
8065 * src/nm-device-802-11-wireless.c
8066 - (real_bring_up): update signal strength every 6 seconds, not 2. No
8067 real reason to do it so often, and reduces wakeups for clients.
8069 2007-09-21 Dan Williams <dcbw@redhat.com>
8071 * src/nm-device-802-11-wireless.c
8072 - (build_supplicant_config): wpa_supplicant requires the option
8073 key_mgmt=NONE for unencrypted networks
8074 - (real_act_stage2_config): clarify log message on activation
8076 2007-09-21 Dan Williams <dcbw@redhat.com>
8078 * test/nm-supplicant-test.c
8080 - Remove supplicant test binary; no longer applicable
8082 2007-09-21 Dan Williams <dcbw@redhat.com>
8084 * src/supplicant-manager/nm-supplicant-manager.c
8085 - (nm_supplicant_manager_init): poke the supplicant at startup to
8086 activate it on the system bus
8088 2007-09-20 Dan Williams <dcbw@redhat.com>
8090 * initscript/RedHat/NetworkManager.in
8091 - dhcdbd is no longer used, so don't try to start it from the initscripts
8093 2007-09-20 Dan Williams <dcbw@redhat.com>
8096 - (nm_device_is_activating): work around a race between auto-activation
8097 and the user activating the same device that is being auto-activated
8099 2007-09-20 Dan Williams <dcbw@redhat.com>
8101 * src/nm-device-interface.c
8102 - (impl_device_activate): until multiple active device support lands,
8103 ensure only one device can be active at a time
8105 2007-09-20 Dan Williams <dcbw@redhat.com>
8107 * src/supplicant-manager/nm-supplicant-config.c
8108 src/supplicant-manager/nm-supplicant-config.h
8109 - (nm_supplicant_config_add_option): hide secrets from system logs
8111 2007-09-20 Dan Williams <dcbw@redhat.com>
8113 * src/NetworkManagerPolicy.c
8114 - (nm_policy_device_change_check): re-enable the wireless device change
8115 checking code; insted of checking for SSIDs, check for the same
8118 2007-09-20 Dan Williams <dcbw@redhat.com>
8120 * src/nm-device-802-11-wireless.c
8121 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8122 composite link state when determining when to start the disconnection
8123 timer; that link state is already based on the supplicant interface's
8124 status which is exactly what's already being examined, plus the link
8125 state is a conglomeration of various things that we don't want here
8127 2007-09-20 Dan Williams <dcbw@redhat.com>
8129 * libnm-glib/nm-access-point.c
8130 - (handle_property_changed): strength is a UCHAR
8132 2007-09-20 Dan Williams <dcbw@redhat.com>
8134 * src/supplicant-manager/nm-supplicant-config.c
8135 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8136 string list keywords too since that's what wpa_supplicant wants
8138 2007-09-20 Dan Williams <dcbw@redhat.com>
8140 * libnm-util/nm-setting.c
8141 - (convert_strv_to_slist): dupe the values in the list because since
8142 the list is a boxed value, it'll get destroyed when it's container
8143 (like a hash table or whatever) gets destroyed
8145 2007-09-20 Tambet Ingo <tambet@gmail.com>
8147 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8150 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8152 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8153 just use (g_object_set_data_full).
8155 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8156 that NMSettingVPN->routes is a GSList, convert it to char **.
8157 (nm_vpn_connection_ip4_config_get): Free routes when done.
8158 (nm_vpn_connection_activate): Ditto.
8160 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8161 (real_act_stage2_config): Use defined setting names.
8163 2007-09-20 Dan Williams <dcbw@redhat.com>
8165 * src/nm-device-802-11-wireless.c
8168 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8169 so that the device can be deactivated if secrets are wrong
8171 2007-09-20 Dan Williams <dcbw@redhat.com>
8173 * introspection/nm-settings-connection.xml
8174 libnm-glib/nm-settings.c
8175 libnm-glib/nm-settings.h
8176 - Make GetSecrets asynchronous on the server side
8178 2007-09-20 Dan Williams <dcbw@redhat.com>
8182 - (nm_device_activate): actually check if a given connection
8183 exists before assuming it doesn't
8185 2007-09-20 Tambet Ingo <tambet@gmail.com>
8187 * libnm-util/nm-connection.c (register_default_creators): Use defined
8188 setting names. Register NMSettingVPN and NMSettingVPNProperties.
8190 * libnm-util/nm-setting.c: Define property name strings, use them.
8191 Implement NMSettingVPN and NMSettingVPNProperties settings.
8192 Implement NM_S_TYPE_GVALUE_HASH.
8193 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8194 (setting_connection_verify): Rename 'devtype' property to 'type'.
8196 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8199 * src/vpn-manager/nm-vpn-service.c: Ditto.
8201 * src/vpn-manager/nm-vpn-connection.c: Ditto.
8203 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8204 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8206 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8207 names. NMSettingConnection->devtype got renamed to 'type'.
8209 * src/nm-device-802-3-ethernet.c (find_best_connection):
8210 (real_get_best_connection): Ditto.
8212 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8214 * libnm-glib/nm-vpn-manager.[ch]: Update.
8216 2007-09-19 Dan Williams <dcbw@redhat.com>
8218 * src/NetworkManagerAP.c
8219 src/NetworkManagerAP.h
8220 introspection/nm-access-point.xml
8221 - Change strength-changed signal into a properties-changed signal
8222 for all properties, not just strength. Export that signal over dbus
8223 so listeners don't have to poll NM for changes.
8224 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8225 get exported over D-Bus, so break up the logic and let other bits
8226 decided when to export the AP
8227 - (nm_ap_new_from_ap): remove, unused
8229 * src/nm-device-802-11-wireless.c
8230 - (merge_scanned_ap): only export APs that are actually on the device
8231 list, not every AP created internally
8233 * libnm-glib/nm-access-point.c
8234 libnm-glib/nm-access-point.h
8235 - Cache properties internally and only hit DBus when needed. Get
8236 property updates from NM signals
8238 2007-09-16 Dan Williams <dcbw@redhat.com>
8240 * libnm-util/nm-connection.c
8241 libnm-util/nm-connection.h
8242 - (nm_connection_for_each_setting_value): new function; iterate over
8243 each setting's value and call a user-provided function with details
8246 * libnm-util/nm-setting.c
8247 libnm-util/nm-setting.h
8248 - (nm_setting_enumerate_values): new function; enumerate the values
8249 of a specific NMSetting subclass for a user-provided function with
8250 details about that value
8251 - Change wep_tx_keyidx to a uint32
8252 - Create settings value tables for each setting defining their type,
8253 key name, offset into the NMSetting subclass' structure, and whether
8254 they are required and/or a secret
8255 - (nm_setting_populate_from_hash): generic function to populate an
8256 NMSetting from a GHash table, make all settings use it
8257 - (nm_setting_hash): generic function to derive a GHashTable from
8258 an NMSetting object, make all settings use it
8260 2007-09-14 Dan Williams <dcbw@redhat.com>
8262 Remove unused stuff in libnm-util
8265 libnm-util/Makefile.am
8266 libnm-util/cipher-private.h
8267 libnm-util/cipher-wep-ascii.c
8268 libnm-util/cipher-wep-ascii.h
8269 libnm-util/cipher-wep-hex.c
8270 libnm-util/cipher-wep-hex.h
8271 libnm-util/cipher-wep-passphrase.c
8272 libnm-util/cipher-wep-passphrase.h
8273 libnm-util/cipher-wpa-psk-hex.c
8274 libnm-util/cipher-wpa-psk-hex.h
8275 libnm-util/cipher-wpa-psk-passphrase.c
8276 libnm-util/cipher-wpa-psk-passphrase.h
8279 libnm-util/dbus-helpers.c
8280 libnm-util/dbus-helpers.h
8281 libnm-util/gnome-keyring-md5.c
8282 libnm-util/gnome-keyring-md5.h
8285 src/nm-device-802-11-wireless.c
8286 test/libnm-util/Makefile.am
8287 test/libnm-util/test-ciphers.c
8288 test/libnm-util/test-dbus-helpers.c
8289 test/libnm-util/test-inputs.h
8292 2007-09-14 Dan Williams <dcbw@redhat.com>
8294 * libnm-util/dbus-method-dispatcher.c
8295 libnm-util/dbus-method-dispatcher.h
8298 2007-09-14 Dan Williams <dcbw@redhat.com>
8300 Implement deferred activation support in the device class.
8302 * src/nm-device-interface.c
8303 src/nm-device-interface.h
8304 - (nm_device_interface_activate): take more arguments to support
8305 deferred activation; callers must pass one of (connection) OR
8306 (service_name, connection_path)
8307 - (impl_device_activate): connection validation is punted to the device
8308 to be able to handle deferred activation. Yes, this means errors
8309 don't get returned from the Activate() dbus call, and yes, that
8310 should be fixed somehow later.
8314 - (clear_act_request): clear additional deferred activation stuff too
8315 - (deferred_activation_timeout_cb): new function; clean up when
8316 deferred activation times out.
8317 - (deferred_activation_start_cb): new function; when the connection
8318 finally becomes available, start device activation
8319 - (nm_device_activate): attach to the right signals of the activation
8320 request if we need to defer activation until the connection is valid
8322 * src/NetworkManagerPolicy.c
8323 - (nm_policy_device_change_check): update for additional arguments
8324 required for nm_device_interface_activate(). Pass NULL for these
8325 though because this function already knows exactly which
8328 2007-09-14 Dan Williams <dcbw@redhat.com>
8330 Implement deferred activation handling in the NMActRequest class. When a
8331 client wants to activate a device but must create the NMConnection details
8332 on the fly, there likely hasn't been enough time yet for NM to receive the
8333 new connection signal and grab all the connection details. So the
8334 activation is deferred (and bounded by a timer) for a while, and if the
8335 connection appears within the window, it is activated.
8337 * src/nm-activation-request.c
8338 src/nm-activation-request.h
8339 - (nm_act_request_class_init): two new signals to support deferred
8340 activation, to allow the listener to handle both timeout and success
8341 - (nm_act_request_new_deferred): new function, starts the deferred
8342 activation timeout handler and listens to the NMManager for
8343 new-connection signals to notice when the connection comes in
8345 2007-09-14 Dan Williams <dcbw@redhat.com>
8349 - (nm_manager_get_connection_service_name,
8350 nm_manager_get_connection_dbus_path): get details about a connection
8351 known internally by the NMManager
8352 - (nm_manager_class_init): fix connection add/remove signal marshalers
8353 because NMConnection is now a GObject subclass
8354 - Use constant for the gobject data tag used on NMConnection objects for
8355 storing the associated DBusGProxy
8357 2007-09-14 Dan Williams <dcbw@redhat.com>
8362 src/supplicant-manager/Makefile.am
8363 src/dhcp-manager/Makefile.am
8364 src/backends/Makefile.am
8365 src/named-manager/Makefile.am
8366 src/ppp-manager/Makefile.am
8367 src/vpn-manager/Makefile.am
8368 test/libnm-util/Makefile.am
8369 test/test-common/Makefile.am
8370 - Remove utils/; it was unused
8372 2007-09-13 Dan Williams <dcbw@redhat.com>
8374 * libnm-glib/nm-vpn-manager.h
8375 libnm-glib/nm-vpn-manager.c
8376 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8378 2007-09-13 Dan Williams <dcbw@redhat.com>
8380 * src/nm-device-802-3-ethernet.c
8381 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8382 netlink monitor carrier signals on dispose, not bring down. The
8383 carrier signals should be handled over the entire lifetime of the
8384 device anyway, not created/destroyed on up or down.
8386 2007-09-13 Dan Williams <dcbw@redhat.com>
8388 * libnm-glib/nm-device.c
8389 libnm-glib/nm-device.h
8390 - (nm_device_activate): take a connection object path rather than an
8391 NMConnection because NMConnection isn't exported over D-Bus and
8392 therefore it dbus-glib can't automatically get an object path from it
8394 2007-09-13 Dan Williams <dcbw@redhat.com>
8396 * libnm-util/nm-setting.c
8397 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8399 2007-09-13 Tambet Ingo <tambet@gmail.com>
8401 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8403 2007-09-12 Tambet Ingo <tambet@gmail.com>
8405 * src/vpn-manager/nm-vpn-connection.[ch]:
8406 * src/vpn-manager/nm-vpn-manager.[ch]:
8407 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
8408 dbus-glib, GObjects, signals etc.
8410 * libnm-glib/nm-vpn-manager.[ch]:
8411 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8412 so much, rewrite these too.
8414 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8415 the new introspection files.
8417 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8419 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8420 the header with the same name from libnm-utils.
8422 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8424 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8426 * introspection/nm-vpn-plugin.xml: Implement.
8428 * introspection/nm-vpn-connection.xml: Implement.
8430 * introspection/nm-vpn-manager.xml: Implement.
8432 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8433 the named manager argument, it can just as easily get it as the caller.
8434 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8436 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8438 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8440 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8443 * libnm-util/nm-connection.c: Ditto.
8445 * src/NetworkManagerMain.h: Remove, it's finally empty.
8447 * configure.in: Remove utils/ from build.
8449 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8450 of hard-coded strings.
8452 * utils/: Move it over to libnm-util.
8454 * test/Makefile.am: Link against libnm-util now that util/ is gone.
8456 * dispatcher-daemon/Makefile.am: Ditto.
8458 * src/Makefile.am: Ditto.
8460 2007-09-12 Dan Williams <dcbw@redhat.com>
8462 Wireless connections can be made with config data from the applet now.
8466 * src/supplicant-manager/nm-supplicant-config.h
8467 src/supplicant-manager/nm-supplicant-config.c
8468 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8469 - (nm_supplicant_config_add_setting_wireless,
8470 nm_supplicant_config_add_setting_wireless_security): new functions;
8471 add key/value pairs from the settings objects to the supplicant
8474 * src/nm-device-802-11-wireless.c
8475 - (cull_scan_list): fix check to not prune currently associated AP
8476 - (build_supplicant_config, real_act_stage2_config): call the functions
8477 of the NMSupplicantConfig that parse settings objects rather than
8478 doing it manually here
8480 2007-09-12 Dan Williams <dcbw@redhat.com>
8482 * src/supplicant-manager/nm-supplicant-interface.c
8483 src/supplicant-manager/nm-supplicant-marshal.list
8484 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8485 "connection-error" signal arguments should be STRING not CHAR
8487 2007-09-12 Dan Williams <dcbw@redhat.com>
8489 * src/NetworkManagerUtils.c
8490 src/NetworkManagerUtils.h
8491 - (nm_utils_hexstr2bin): new function
8493 2007-09-11 Dan Williams <dcbw@redhat.com>
8496 - (connection_get_settings_cb): emit connection-added signal
8497 - (connection_removed_cb): uncomment bits for system settings service,
8498 send connection-removed when appropriate
8499 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8500 the stack by trying to g_object_set_data() on something that's
8501 not a GObject; handle case where settings service returns
8502 empty settings hash table
8504 2007-09-11 Dan Williams <dcbw@redhat.com>
8506 * src/NetworkManagerPolicy.c
8507 - (connection_added, connection_removed): trigger device change checks
8508 on connection changes
8510 2007-09-11 Dan Williams <dcbw@redhat.com>
8512 * src/nm-activation-request.c
8513 - (connection_secrets_updated_cb): fix c&p error in signal emission
8515 2007-09-11 Dan Williams <dcbw@redhat.com>
8517 * src/nm-device-802-11-wireless.c
8518 - (real_connection_secrets_updated): fix erroneous check
8520 2007-09-11 Dan Williams <dcbw@redhat.com>
8522 * introspection/nm-device.xml
8523 libnm-glib/nm-device.c
8524 libnm-glib/nm-device.c
8525 - Fix Activate call argument borkage; Activate takes 3 arguments
8527 2007-09-11 Dan Williams <dcbw@redhat.com>
8529 * libnm-glib/nm-access-point.c
8530 libnm-glib/nm-access-point.c
8531 - (nm_access_point_get_frequency): now returns guint32 to match
8532 property change on 2007-09-10
8534 2007-09-11 Dan Williams <dcbw@redhat.com>
8536 * src/nm-device-802-11-wireless.c
8537 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8538 somewhere defines 'index' and I missed this one when I fixed the
8539 shadow declaration errors earlier
8541 2007-09-11 Dan Williams <dcbw@redhat.com>
8543 * libnm-util/nm-connection.c
8544 - (nm_connection_update_secrets, need_secrets_check): move
8545 802-11-wireless-security need_secrets checks to the setting object
8546 itself, where it belongs
8548 * libnm-util/nm-setting.c
8549 libnm-util/nm-setting.h
8550 - (nm_setting_need_secrets): new function
8551 - (setting_wireless_security_verify,
8552 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8553 - (setting_wireless_security_need_secrets): mostly copy code over
8554 from nm-connection.c
8556 2007-09-11 Dan Williams <dcbw@redhat.com>
8558 * libnm-util/nm-setting.c
8559 libnm-util/nm-setting.h
8560 - (nm_setting_update_secrets): new function; add a virtual function that
8561 subclasses can implement to update their secrets
8562 - (setting_wireless_security_update_secrets): implement that function
8563 for the 802-11-wireless-security subclass
8565 * libnm-util/nm-connection.c
8566 libnm-util/nm-connection.h
8567 - (nm_connection_update_secrets): update secrets for a Setting and
8568 emit a signal on success
8573 - (connection_get_settings_cb): enable system settings bits
8574 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8575 to request secrets from the settings dbus service and to
8576 push those secrets to the NMConnection itself
8578 * src/nm-activation-request.c
8579 src/nm-activation-request.h
8580 - Attach to the 'secrets-updated' signal of the NMConnection that's
8581 currently being activated, and proxy that signal to other listeners.
8582 Goes through the activation request because the activation request
8583 is the thing that manages the lifetime of the NMConnection that's
8586 * src/nm-device-802-11-wireless.c
8587 - (real_connection_secrets_updated): implement the connection secrets
8588 updated notification and restart activation when secrets are
8590 - (real_act_stage2_config): request secrets from the settings dbus
8591 service if secrets are needed
8595 - (clear_act_request, nm_device_activation_cancel,
8596 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8597 where the activation request is cleared
8598 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8599 updated secrets signal of activation request and add a function
8600 that subclasses can override to handle it easily
8602 2007-09-11 Tambet Ingo <tambet@gmail.com>
8604 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8605 removal of NetworkManagerAPList.
8607 2007-09-10 Dan Williams <dcbw@redhat.com>
8609 * src/NetworkManagerAP.c
8610 src/NetworkManagerAP.h
8611 introspection/nm-access-point.xml
8612 - Change 'freq' property to a guint32 instead of a double since we
8613 weren't using the floating point bits anyway
8615 2007-09-10 Dan Williams <dcbw@redhat.com>
8617 * NetworkManagerAP.c
8619 NetworkManagerPolicy.c
8620 NetworkManagerSystem.c
8621 NetworkManagerUtils.c
8622 NetworkManagerUtils.h
8623 nm-device-802-11-wireless.c
8624 nm-device-802-3-ethernet.c
8627 vpn-manager/nm-dbus-vpn.c
8628 - Warning fixes; casts and removal of unused variables
8630 2007-09-10 Dan Williams <dcbw@redhat.com>
8632 * include/NetworkManager.h
8633 - Kill NMNetworkType; AP types don't matter any more
8635 * src/NetworkManagerAPList.c
8636 src/NetworkManagerAPList.h
8638 - Kill; NMAccessPointList has outlived it's usefulness
8640 * src/NetworkManagerAP.c
8641 src/NetworkManagerAP.h
8642 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8643 functions; check if an NMConnection object is compatible with the
8645 - (freq_to_channel, channel_to_freq): utility functions for
8646 channel <-> frequency conversion
8650 - (nm_device_get_best_connection): pass the specific object around
8651 (which might be the object path of a specific AP to connect to).
8652 The get_best_connection() call should populate this on return
8653 if needed (wireless does).
8655 * src/nm-device-802-3-ethernet.c
8656 - (real_get_best_connection): handle specific_object argument
8658 * src/NetworkManager.c
8659 src/NetworkManagerMain.h
8660 - Remove unused includes
8662 * src/nm-device-802-11-wireless.c
8663 src/nm-device-802-11-wireless.h
8664 - Convert the ap_list into a GSList from an NMAccessPointList
8665 - No need for caching the 'activation_ap' since this is now determined
8666 from the specific_object of the activation request, which is
8667 populated from the get_best_connection() call or from a user request
8668 - (nm_device_802_11_wireless_update_bssid): fix warning
8669 - (get_wireless_capabilities): fix error message format arguments
8670 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
8671 - (find_best_connection, real_get_best_connection): implement
8672 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
8673 move here from NetworkManagerAPList
8674 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
8675 - (real_act_stage1_prepare): just ensure an AP exists, connection is
8676 already verified earlier
8677 - (real_act_stage2_config): use nm_connection_need_secrets()
8679 * src/NetworkManagerPolicy.c
8680 - (nm_policy_auto_get_best_device): handle specific objects
8681 - (create_connection): remove; automatic connection creation functionality
8682 is handled by the Connection objects
8683 - (nm_policy_device_change_check): handle specific_object
8685 * libnm-util/nm-connection.c
8686 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
8688 2007-09-10 Dan Williams <dcbw@redhat.com>
8691 - (query_connections): fix uninitialized variable problem that caused
8693 - (nm_manager_add_device): take devices down on startup so that we can
8694 be assured that nm_device_is_up() won't short-circuit the init
8695 process. Hack until the is_up check gets split into two pieces
8696 that aren't behaviorally confusing.
8698 2007-09-09 Dan Williams <dcbw@redhat.com>
8700 * introspection/nm-device.xml
8701 - The 'Activate' method now takes 3 arguments, a service name for the
8702 settings service (user or system), the object path of the connection
8703 to activate, and the specific object to activate, if any
8705 * src/nm-device-interface.c
8706 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
8708 - (impl_device_activate): adapt to new Activate arguments; validate
8709 the service name and get the Connection object from the NMManager
8710 before starting to activate the device with the specified connection
8712 * src/nm-device-802-3-ethernet.c
8713 - (real_get_best_connection): find the best connection, or create a
8714 default one if no existing connections can be used
8716 * src/NetworkManagerPolicy.c
8717 - (nm_policy_auto_get_best_device): Get the device's best connection
8718 and only pick the device if it has one
8719 - (nm_policy_device_change_check): disable wireless bits for now until
8720 wireless get_best_connection() can be implemented (replacing "best_ap");
8721 don't create a default connection here as the device subclass will do
8726 - (nm_manager_get): make NMManager a singleton and expose the getter
8728 - Rework internal NMManager connection handling to use the same
8729 routines for both the system and user settings services. Most calls
8730 take a new NMConnectionType argument specifying either system or user
8732 - (nm_manager_get_connection_by_object_path): new function; get a
8733 connection keyed on its object path
8735 * src/NetworkManager.c
8736 - (main): use nm_manager_get()
8738 2007-09-09 Dan Williams <dcbw@redhat.com>
8742 - (nm_device_get_best_connection): new function; get best connection
8743 for the device at that time
8745 2007-09-09 Dan Williams <dcbw@redhat.com>
8747 * src/nm-device-interface.h
8748 - Add NMDeviceInterfaceError with an UnknownConnection error
8750 2007-09-09 Dan Williams <dcbw@redhat.com>
8752 Stupid mistake on my part; object path and interface for settings service
8753 and connection objects can be the same, only the service name must be
8754 different for the system and user settings services.
8756 * include/NetworkManager.h
8758 introspection/nm-settings-connection.xml
8759 introspection/nm-settings.xml
8760 libnm-glib/nm-settings.c
8761 - (nm_connection_settings_init, query_user_connections,
8762 new_connection_cb): Unify NetworkManagerSettings and Connection
8763 interface name and object path
8765 2007-09-06 Dan Williams <dcbw@redhat.com>
8767 * libnm-glib/nm-object.c
8768 - (nm_object_get_string_property, nm_object_get_object_path_property,
8769 nm_object_get_int_property, nm_object_get_uint_property,
8770 nm_object_get_boolean_property, nm_object_get_byte_property,
8771 nm_object_get_double_property, nm_object_get_byte_array_property):
8772 clear GValues after copying their contents, fixes memory leaks
8773 after every property access because dbus-glib copies the values
8774 from the DBusMessage into the GValue already.
8776 2007-09-06 Dan Williams <dcbw@redhat.com>
8778 * introspection/nm-access-point.xml
8779 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
8780 them to be. There's some magic property name parsing going on in
8781 dbus-glib that breaks up property names based on studly-caps and
8782 puts - between words.
8784 * libnm-glib/nm-access-point.c
8785 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
8788 2007-09-06 Dan Williams <dcbw@redhat.com>
8791 - (nm_manager_user_connections_destroy): clear the user connections hash
8792 table, don't destroy it
8793 - (finalize): only destroy the hash table on NMManager finalization
8795 2007-09-02 Dan Williams <dcbw@redhat.com>
8797 * include/NetworkManager.h
8798 libnm-glib/nm-settings.c
8799 - defines for the user settings daemon D-Bus bits
8801 * src/NetworkManager.c
8802 - Remove stuff that referred to the old NetworkManagerInfo service
8804 * src/vpn-manager/nm-dbus-vpn.h
8805 - Move old NMI defines to the only place they are used still
8807 * libnm-util/nm-connection.c
8808 libnm-util/nm-connection.h
8809 src/nm-activation-request.c
8810 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
8814 - Get connections and their settings from the user settings daemon
8815 at the appropriate times
8817 2007-09-02 Dan Williams <dcbw@redhat.com>
8819 * libnm-util/nm-setting.c
8820 - (nm_settings_verify): correct setting name is 'connection', not 'info'
8821 - (setting_wireless_hash): set the right value on the item
8823 2007-09-02 Dan Williams <dcbw@redhat.com>
8827 - Remove, no longer useful
8829 2007-08-30 Dan Williams <dcbw@redhat.com>
8832 src/NetworkManagerDbus.c
8833 src/NetworkManagerDbus.h
8834 src/vpn-manager/nm-dbus-vpn.c
8835 - Remove, no longer necessary. Move last bits to the only place its
8836 used, in nm-dbus-vpn.c
8838 * src/NetworkManagerAPList.c
8840 src/NetworkManager.c
8841 src/nm-device-802-11-wireless.c
8842 src/vpn-manager/nm-vpn-manager.c
8843 src/vpn-manager/nm-vpn-service.c
8844 src/NetworkManagerPolicy.c
8846 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
8847 that was message_is_error()
8849 2007-08-30 Dan Williams <dcbw@redhat.com>
8852 - Include config.h to get defines for endiannes (gnome.org #420216)
8854 2007-08-30 Dan Williams <dcbw@redhat.com>
8856 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
8858 * src/ppp-manager/Makefile.am
8859 - use -fPIC (gnome.org #471825)
8861 2007-08-29 Dan Williams <dcbw@redhat.com>
8863 * include/NetworkManager.h
8864 - Keep NMConnection object path in sync
8866 * libnm-glib/nm-settings.c
8867 libnm-glib/nm-settings.h
8868 - Break D-Bus object registration out of the init function, because
8869 every object that's exported over D-Bus needs to use the _same_
8870 DBusConnection. Otherwise, each object would get a different object
8871 path tree and wouldn't be callable.
8873 2007-08-29 Dan Williams <dcbw@redhat.com>
8875 * libnm-util/nm-setting.h
8876 libnm-util/nm-setting.c
8877 libnm-util/nm-connection.c
8878 src/NetworkManagerPolicy.c
8879 - 'info' settings object should be 'connection' says the spec
8880 at NetworkManagerConfigurationSpecification
8882 2007-08-29 Dan Williams <dcbw@redhat.com>
8884 * libnm-glib/nm-settings.c
8885 libnm-glib/nm-settings.h
8886 - make the dbus path a property of the object, and autogenerate it.
8887 It can't be composed of the 'id' field becuase that's not available
8888 yet during the GObject creation in nm_connection_settings_init()
8890 2007-08-29 Dan Williams <dcbw@redhat.com>
8892 * introspection/nm-settings-connection.xml
8893 introspection/nm-settings.xml
8894 - Service name -> NetworkManagerUserSettings because two services
8895 can't share part of the same path. I'm not really sure how we'll use
8896 the same code with the system-settings daemon...
8898 2007-08-28 Dan Williams <dcbw@redhat.com>
8900 * src/nm-device-interface.c
8901 src/nm-device-interface.h
8902 - Kill one more bit of NMData
8904 2007-08-28 Dan Williams <dcbw@redhat.com>
8906 * src/NetworkManagerSystem.h
8909 src/nm-hal-manager.c
8910 src/NetworkManager.c
8911 src/nm-device-802-11-wireless.c
8912 src/nm-hal-manager.h
8913 src/nm-device-802-3-ethernet.c
8914 src/vpn-manager/nm-vpn-service.h
8915 src/vpn-manager/nm-vpn-manager.c
8916 src/vpn-manager/nm-vpn-manager.h
8917 src/vpn-manager/nm-vpn-service.c
8918 src/nm-device-802-11-wireless.h
8919 src/NetworkManagerMain.h
8920 src/nm-device-802-3-ethernet.h
8921 src/backends/NetworkManagerGentoo.c
8922 src/backends/NetworkManagerPaldo.c
8923 src/backends/NetworkManagerFrugalware.c
8924 src/backends/NetworkManagerRedHat.c
8925 src/backends/NetworkManagerSlackware.c
8926 src/backends/NetworkManagerGeneric.c
8927 src/backends/NetworkManagerArch.c
8928 src/backends/NetworkManagerSuSE.c
8929 src/backends/NetworkManagerGeneric.h
8930 src/backends/NetworkManagerDebian.c
8933 2007-08-28 Dan Williams <dcbw@redhat.com>
8935 * src/NetworkManagerMain.h
8936 src/nm-device-802-11-wireless.c
8937 src/NetworkManager.c
8938 - Remove invalid AP list from NMData; need to rework this somewhat, but
8939 for now we should set the 'invalid' property on individual APs, and when
8940 we need to invalidate a whole ESS, set the 'invalid' on every member of
8943 2007-08-28 Dan Williams <dcbw@redhat.com>
8945 * src/NetworkManagerAP.c
8946 src/NetworkManagerAP.h
8947 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
8948 'autoconnect' property instead
8950 * src/NetworkManager.c
8951 src/NetworkManagerMain.h
8952 src/NetworkManagerPolicy.c
8953 src/NetworkManagerPolicy.h
8954 - Remove the 'allowed_ap_list', which should be replaced by
8955 NMConnection/NMSettings instead, since _those_ are the allowed
8956 things that NM can connect to
8958 * src/nm-device-802-11-wireless.c
8959 - Remove both allowed_ap_list usage and 'fallback' checking
8961 2007-08-28 Dan Williams <dcbw@redhat.com>
8964 src/named-manager/nm-named-manager.c
8965 src/named-manager/nm-named-manager.h
8966 src/NetworkManager.c
8967 src/vpn-manager/nm-vpn-manager.c
8968 src/NetworkManagerMain.h
8969 src/NetworkManagerSystem.c
8970 - Remove the named-manager object from NMData structure in preparation
8971 for NMData's timely death. Make the NMNamedManager the singleton that
8974 2007-08-28 Dan Williams <dcbw@redhat.com>
8976 Remove NMAPSecurity objects, they are replaced with flags on the APs for
8977 each AP's capabilities, and by NMConnection/NMSettings objects for user
8978 defined connections.
8980 * include/NetworkManager.h
8981 - Redefine 802.11 security properties. There are now device capabilities
8982 and AP flags and AP security flags. It was way to unclear before.
8985 src/nm-ap-security-leap.h
8986 src/nm-ap-security-leap.c
8987 src/nm-ap-security-wpa-eap.c
8988 src/nm-ap-security-wpa-eap.h
8989 src/nm-ap-security-private.h
8990 src/nm-ap-security-wpa-psk.c
8991 src/nm-ap-security-wpa-psk.h
8992 src/nm-ap-security-wep.c
8993 src/nm-ap-security-wep.h
8994 src/nm-ap-security.c
8995 src/nm-ap-security.h
8996 - Removed, to be replaced with NMConnection/NMSettings objects
9000 - Removed, to be replaced by code that talks to the new info daemon
9001 interface and gets NMConnection/NMSettings objects
9003 * src/backends/NetworkManagerSuSE.c
9004 - Remove usage of NMAPSecurity; should be replaced by a system-level
9005 info-daemon that does the same thing but talks the new info-daemon
9008 * src/NetworkManagerAP.h
9009 src/NetworkManagerAP.c
9010 src/NetworkManagerAPList.c
9011 libnm-glib/libnm-glib-test.c
9012 - Remove usage of NMAPSecurity objects and adjust to new flags for
9015 * libnm-glib/nm-access-point.c
9016 libnm-glib/nm-access-point.h
9017 introspection/nm-access-point.xml
9019 - Adjust to new flags for AP security
9023 src/vpn-manager/nm-dbus-vpn.c
9024 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9025 stuff which is the only place it's used
9027 * src/nm-device-interface.c
9028 src/nm-device-interface.h
9029 introspection/nm-device.xml
9030 src/nm-activation-request.c
9031 src/nm-activation-request.h
9033 - Add a new 'specific_object' argument that hints to NM what actual
9034 AP or other device-specific thing the connection should apply to.
9035 NMConnection objects can apply to more than one actual device/AP.
9037 * libnm-util/nm-connection.c
9038 * libnm-util/nm-connection.h
9039 - Add 'have_secrets" call stubs
9041 * libnm-util/cipher.h
9042 - Move NM_AUTH_TYPE_* defines here for now
9044 * src/nm-device-802-11-wireless.c
9045 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9048 * src/NetworkManagerDbus.c
9049 * src/NetworkManagerPolicy.c
9050 - Remove usage of update_allowed_networks, should be pushing data in
9053 2007-08-27 Tambet Ingo <tambet@gmail.com>
9055 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
9056 dbus-glib frees it when the call is done.
9058 2007-08-26 Dan Williams <dcbw@redhat.com>
9060 * introspection/nm-device.xml
9061 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9063 2007-08-26 Dan Williams <dcbw@redhat.com>
9065 * src/nm-device-802-3-ethernet.c
9066 - (constructor): move connection of interface-connected/disconnected
9067 signals here from real_bring_up(). Should be listening to netlink
9068 for carrier events no matter what the initial state of the device
9071 2007-08-26 Dan Williams <dcbw@redhat.com>
9073 * src/nm-netlink-monitor.c
9074 - (nm_netlink_monitor_class_init): fix marshalling types for
9075 interface-connected/interface-disconnected
9076 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9079 2007-08-26 Dan Williams <dcbw@redhat.com>
9081 Convert to using interface indexes as the primary method of identifying
9082 devices inside NetworkManager. Indexes are (?) stable, but devices can
9083 be renamed at any time. Device object paths now refer to the device
9084 index rather than the name, and you can map those two manually if you like
9085 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
9086 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9087 to use interface indexes rather than names.
9089 2007-08-26 Dan Williams <dcbw@redhat.com>
9091 * src/nm-netlink-monitor.h
9092 - Remove one last bit of wireless-event signal
9094 2007-08-26 Dan Williams <dcbw@redhat.com>
9096 * src/nm-netlink-monitor.c
9097 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9098 don't need the 'wireless-event' signal anymore since that's all
9099 handled by wpa_supplicant
9101 2007-08-25 Dan Williams <dcbw@redhat.com>
9103 It's 2007. Remove support for drivers that don't support wireless scanning.
9106 include/NetworkManager.h
9107 src/NetworkManagerUtils.c
9108 src/NetworkManagerPolicy.c
9109 src/nm-device-802-11-wireless.c
9110 - Remove special handling for non-scanning devices and mark them
9111 as unsupported/unhandled
9113 2007-08-20 Dan Williams <dcbw@redhat.com>
9115 * src/nm-device-802-11-wireless.c
9116 src/nm-device-802-3-ethernet.c
9117 - (real_is_up): move device-specific tests before generic IFF_UP test,
9118 because when the card is pulled or the module removed, the device
9119 is already !IFF_UP and then device-specific cleanup (removing
9120 the supplicant interface, periodic checks, etc) never gets done
9122 2007-08-20 Dan Williams <dcbw@redhat.com>
9125 - (nm_manager_remove_device): bring device down before disconnecting
9126 signal handlers, so that the 'state' signal will get broadcast when
9127 the device enters the DOWN state
9128 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9129 of states that cause the NMManager to recheck its state
9131 2007-08-20 Dan Williams <dcbw@redhat.com>
9133 * src/supplicant-manager/nm-supplicant-interface.c
9134 - (interface_disconnect_done): don't try to dispose of the net proxy
9135 when it may already have been disposed of
9137 2007-08-20 Dan Williams <dcbw@redhat.com>
9139 * src/nm-device-802-11-wireless.c
9140 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9141 the SSID isn't available; this can happen when the card is pulled
9142 or the module unloaded, during the post-removal deactivation
9143 paths, when the ioctl returns ENODEV
9145 2007-08-20 Dan Williams <dcbw@redhat.com>
9147 * src/nm-device-802-11-wireless.c
9148 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9149 frequency, and mode match. Applets are now responsible for grouping
9152 2007-08-20 Dan Williams <dcbw@redhat.com>
9154 * src/NetworkManagerAP.c
9155 * src/NetworkManagerAP.h
9156 - (nm_ap_print_self): new function
9158 * src/NetworkManagerAPList.c
9159 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9162 2007-08-17 Dan Williams <dcbw@redhat.com>
9164 * src/nm-device-802-3-ethernet.c
9165 - (real_bring_down): don't try to dispose of stuff that might not
9168 2007-08-17 Dan Williams <dcbw@redhat.com>
9170 * src/NetworkManagerAP.c
9171 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9172 applet. This ensures that the case between the seen-bssids and
9173 the bssids reported by the driver match.
9175 2007-08-17 Dan Williams <dcbw@redhat.com>
9177 * src/nm-device-802-11-wireless.c
9178 - (device_cleanup): disconnect the interface in wpa_supplicant before
9179 we dispose of the interface proxy in NM
9181 2007-08-16 Dan Williams <dcbw@redhat.com>
9183 * libnm-glib/nm-client.c
9184 - (nm_client_init): create VPN connections hash table with key free
9186 - (proxy_vpn_connection_added): VPN connections hash table key should
9187 be a duplicated value, not the same memory address as the VPN
9188 connection name. This is because the VPN connection name could
9189 potentially be freed and set to something else during the lifetime
9190 of the NMVPNConnection object.
9192 2007-08-16 Tambet Ingo <tambet@gmail.com>
9194 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9195 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9196 with the file descriptors. Send a child setup function to change the pppd
9199 2007-08-15 Dan Williams <dcbw@redhat.com>
9201 * src/supplicant-manager/nm-supplicant-interface.c
9202 - (try_remove_iface): new function, ask wpa_supplicant to remove
9204 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9205 disposing of the NMSupplicantInterface. Otherwise weird stuff
9206 happens on hotplug if wpa_supplicant doesn't tear down and readd
9207 the interface internally
9209 2007-08-15 Dan Williams <dcbw@redhat.com>
9211 * src/nm-device-802-11-wireless.c
9212 - (real_bring_down): move most of this function into device_cleanup()
9213 so that it can be called from elsewhere
9214 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9215 and stuff on dispose. These would normally get cleaned up when
9216 the device is marked down and deactivated, but when the device is
9217 hot-unplugged, it's already down and real_down() never gets run
9219 2007-08-15 Dan Williams <dcbw@redhat.com>
9222 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9223 caused a reference leak on device for which NM requested a key
9225 2007-08-15 Dan Williams <dcbw@redhat.com>
9227 * libnm-glib/nm-client.c
9228 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9230 2007-08-15 Tambet Ingo <tambet@gmail.com>
9232 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9233 nothing is using it at the moment, but it'll be all useful and stuff later on.
9235 * libnm-util/nm-setting.h: Define NMSettingPPP.
9237 * libnm-util/nm-setting.c: Implement NMSettingPPP.
9239 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9241 * src/Makefile.am: Add ppp-manager to SUBDIRS.
9243 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9245 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9247 2007-08-14 Tambet Ingo <tambet@gmail.com>
9249 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9251 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9252 an issue with dbus-glib bindings generator. The issue is, the generated C caller
9253 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9254 name and different arguments and it won't compile anymore. To fix this, we now have
9255 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9256 that is new API + compatibility API and used by the daemon. The other,
9257 nm-manager-client.xml is only the new API without compatibility bits and is used
9258 by libnm-glib to make it compile.
9260 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9262 * src/nm-manager.c (impl_manager_legacy_sleep)
9263 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9264 interface functions for 0.6 branch.
9266 2007-08-14 Dan Williams <dcbw@redhat.com>
9268 * src/NetworkManagerAP.c
9269 - (nm_ap_new_from_properties): fix mistaken check of return value
9270 from memcmp (should expect 0)
9272 2007-08-14 Dan Williams <dcbw@redhat.com>
9274 (force-commit to fix wrong comment and partial commit of r2685; this
9275 commit actually applies to r2685)
9277 * src/NetworkManagerUtils.c
9278 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9279 ignores trailing nulls in the SSID to work around mismatches in
9280 expectations between WEXT and what the info-daemon passes back. The
9281 info-daemon would pass back the correct length, but due to the
9282 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9283 the device would always have an SSID + 1 depending on what versions
9284 of wpa_supplicant, the kernel, and NM you have. This was most often
9285 visible by just quitting the applet and relaunching, which caused
9286 NM to reassociated to the same network over again when reloading
9289 * src/NetworkManagerPolicy.c
9290 src/NetworkManagerUtils.h
9291 src/nm-device-802-11-wireless.c
9292 - Update for new parameter to nm_utils_same_ssid()
9294 2007-08-14 Dan Williams <dcbw@redhat.com>
9296 * src/NetworkManagerAP.c
9297 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
9298 I encountered a BSS that wasn't just hiding it's ESSID, it was
9299 setting the BSSID to all 0s. That confused the heck out of NM,
9300 plus it's useless and probably out-of-spec.
9302 2007-08-14 Dan Williams <dcbw@redhat.com>
9304 * callouts/Makefile.am
9305 src/dhcp-manager/nm-dhcp-manager.c
9306 src/dhcp-manager/nm-dhcp-manager.h
9307 src/dhcp-manager/Makefile.am
9308 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9310 2007-08-14 Dan Williams <dcbw@redhat.com>
9312 * src/dhcp-manager/nm-dhcp-manager.c
9313 - (dhclient_run): don't pass -x to dhclient until we figure out if
9314 it's really needed, get rid of unused xtra_args parameter
9316 2007-08-14 Dan Williams <dcbw@redhat.com>
9318 * include/NetworkManagerVPN.h
9319 src/vpn-manager/nm-dbus-vpn.c
9320 src/vpn-manager/nm-dbus-vpn.h
9321 src/vpn-manager/nm-vpn-act-request.c
9322 src/vpn-manager/nm-vpn-act-request.h
9323 src/vpn-manager/nm-vpn-service.c
9324 src/vpn-manager/nm-vpn-service.h
9325 libnm-glib/nm-vpn-connection.c
9326 libnm-glib/nm-vpn-connection.h
9327 libnm-glib/nm-client.h
9328 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
9329 NMVPNServiceState to clarify what they apply to
9330 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9331 NMVPNActStage -> NMVPNConnectionState for the same reason
9333 * libnm-glib/nm-client.c
9334 - Constant + type renames from above
9335 - Properly handle NameOwnerChanged/manager_running signals
9336 for NM service; only emit when state really changes
9337 - Use hash tables correctly so that the key (which was previously owned
9338 by the D-Bus message) now has the same lifetime as the value, since
9339 the key is now taken from the the NMVPNConnection itself. This
9340 really fixes the double-VPN names in the applet
9342 2007-08-13 Dan Williams <dcbw@redhat.com>
9344 Patch from Michael Biebl <biebl@debian.org>
9348 - Update for vpn-properties move
9350 2007-08-13 Dan Williams <dcbw@redhat.com>
9352 * libnm-glib/nm-client.c
9353 - Convert internal VPN connection tracking from a list to a hash table
9354 to easily avoid duplicates
9355 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9356 must be freed by the caller, like nm_client_get_devices()
9357 - (nm_client_remove_vpn_connection): don't let the removal signal
9358 leak through for NMVPNConnection objects that aren't actually
9360 - (manager_running): throw away VPN connection list when NM goes away,
9361 like with the device list
9363 2007-08-13 Dan Williams <dcbw@redhat.com>
9365 * src/dhcp-manager/nm-dhcp-manager.c
9366 - Stop any dhclient instance that might be already running for a
9367 particular interface before starting an NM spawned dhclient. Fixes
9368 dhclient processes left over if NM crashes, stuff like that.
9370 2007-08-13 Dan Williams <dcbw@redhat.com>
9372 * src/NetworkManagerAP.c
9373 - (finalize): don't try to g_array_free (NULL, ...), which happened
9374 when the AP wasn't broadcasting it's SSID
9376 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
9378 * include/NetworkManager.h: added DBus path for connection settings.
9380 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9381 nm_connection_settings_signal_updated,
9382 nm_connection_settings_signal_removed): new functions to wrap the
9384 (nm_connection_settings_init): register GObject with DBus.
9385 (nm_connection_settings_get_dbus_object_path): new function.
9387 * libnm-glib/Makefile.am: added libnmutil to link flags.
9389 2007-08-13 Tambet Ingo <tambet@gmail.com>
9391 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9393 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9394 libnm_glib directory got merged with libnm-glib/.
9396 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9398 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9399 Rename the library from libnm-glib to libnm_glib to maintain the library API
9400 compatibility with 0.6 branch.
9402 * Makefile.am: Remove gnome/ SUBDIR.
9404 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9406 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9408 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9410 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9412 Remove checks for wpa_supplicant binary, it's used over dbus.
9413 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9415 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9416 Link the binaries with libnm_glib.la.
9418 2007-08-12 Dan Williams <dcbw@redhat.com>
9420 * src/NetworkManagerPolicy.c
9421 - (nm_policy_device_change_check): fix policy to deactivate old device
9422 before activating new one, at least until the multiple active
9423 device support lands
9425 2007-08-12 Dan Williams <dcbw@redhat.com>
9427 * src/NetworkManagerPolicy.c
9428 - (nm_policy_new): hook up to connection-added / connection-removed
9429 signals instead of connections-changed
9431 2007-08-12 Dan Williams <dcbw@redhat.com>
9433 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
9434 Robert Frank <rfrank@redhat.com>
9436 * src/dhcp-manager/nm-dhcp-manager.c
9437 src/dhcp-manager/nm-dhcp-manager.c
9439 - Spawn and communicate with dhclient directly, through means of a
9440 custom dhclient callout script. Process callout D-Bus signals
9441 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
9442 sent via gobject signals rather than being driven by the dhcp manager
9445 2007-08-12 Dan Williams <dcbw@redhat.com>
9447 * callouts/nm-dhcp-client-action.c
9448 - (build_message): ignore non-DHCP-related environment variables
9450 2007-08-12 Dan Williams <dcbw@redhat.com>
9454 callouts/Makefile.am
9455 callouts/nm-dhcp-client-action.c
9456 callouts/nm-dhcp-client.conf
9457 - Add dhclient-executed callout that takes the place of dhclient-script
9458 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9461 2007-08-09 Tambet Ingo <tambet@gmail.com>
9463 [Based on patch by Helmut Schaa <hschaa@suse.de>]
9465 * libnm-glib/nm-client.h:
9466 * libnm-glib/nm-object.h:
9467 * libnm-glib/nm-vpn-connection.h:
9468 * libnm-glib/nm-settings.h:
9469 * libnm-glib/nm-device.h:
9470 * libnm-glib/nm-ip4-config.h:
9471 * libnm-glib/nm-access-point.h:
9472 * libnm-glib/nm-device-802-3-ethernet.h:
9473 * libnm-util/nm-setting.h:
9474 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9476 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9478 * libnm-glib/nm-access-point.c: Strength has type char.
9480 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9481 to fix build. GnomeDruid is deprecated in recent libgnomeui.
9483 * introspection/nm-access-point.xml: Strength property is char, not int.
9485 * src/NetworkManagerAP.c (set_property): Set strength from char.
9486 (get_property): Handle hidden APs (with empty SSID).
9487 Get strength value from char.
9488 (nm_ap_class_init): Strength property has char type.
9490 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
9492 * introspection/Makefile.am:
9493 * introspection/nm-settings.xml:
9494 * introspection/nm-settings-connection.xml: added Settings interfaces.
9496 * libnm-glib/nm-settings.[ch]:
9497 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9498 containing the DBus implementation.
9500 2007-07-26 Dan Williams <dcbw@redhat.com>
9502 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9504 * src/NetworkManagerSystem.c
9505 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9506 same subnet (#437396)
9508 2007-07-26 Dan Williams <dcbw@redhat.com>
9510 Patch from Kelemen Gábor <kelemeng@gnome.hu>
9512 * gnome/vpn-properties/nm-vpn-properties.c
9513 - Fix translatable strings (#445865)
9515 2007-07-26 Dan Williams <dcbw@redhat.com>
9517 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9520 - Remove useless junk (#412530)
9522 2007-07-10 Christopher Aillon <caillon@redhat.com>
9524 Patch from Robert Buchholz <rbu@gentoo.org>:
9528 * introspection/Makefile.am:
9529 Make make distcheck work again.
9531 2007-06-27 Dan Williams <dcbw@redhat.com>
9533 * Make SSIDs GByteArrays everywhere
9534 * Rename "essid" -> "ssid" everywhere that's appropriate
9535 * Refcount activation_ap member of the 802.11 wireless device class
9537 2007-06-27 Tambet Ingo <tambet@ximian.com>
9539 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9541 2007-06-22 Tambet Ingo <tambet@ximian.com>
9543 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9544 that we got a new AP when we just update existing AP properties.
9546 2007-06-21 Tambet Ingo <tambet@ximian.com>
9548 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9550 * nm-utils.[ch]: Remove.
9552 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9553 objects for easy property access and dbus connection handling.
9555 * libnm-glib/nm-client.c: Derive from NMObject.
9557 * libnm-glib/nm-device.c: Ditto.
9559 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9561 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9563 * libnm-glib/nm-ip4-config.c: Ditto.
9565 * libnm-glib/nm-access-point.c: Ditto.
9567 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9568 comparision. Currently used by the device activation code to determine if the new
9569 activation is the same as the old one.
9571 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9572 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9573 able to ask password for the AP.
9575 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9576 up if the device is already connected, tear down it's connection (if it isn't the
9577 same as new one) and start the activation.
9579 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9581 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9582 the issue where all APs are always listed as encrypted.
9584 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9585 their own registered paths.
9587 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9588 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9590 2007-06-13 Tambet Ingo <tambet@ximian.com>
9592 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9595 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9596 because the handling code will cause the next state change and signal listeners
9597 get the signals in wrong order.
9599 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9600 correctly in case of pending activation.
9602 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9603 Convert the essid byte array to string correctly, including the terminating NULL.
9605 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9606 mode with correct types.
9608 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9609 constructed info to dbus call instead of the activation request.
9611 2007-06-11 Christopher Aillon <caillon@redhat.com>
9613 Patch from Christian Persch <chpe@gnome.org>
9615 * libnm-glib/Makefile.am:
9616 * dispatcher-daemon/Makefile.am:
9617 Use the correct variables, the correct paths, and correct ordering. (446315)
9619 2007-06-11 Tambet Ingo <tambet@ximian.com>
9621 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9622 argument. The activation request is easy to retrieve.
9624 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9625 just to be a convenient location for devices to store random stuff.
9627 2007-06-11 Christopher Aillon <caillon@redhat.com>
9629 Patch from Alex Smith <alex@alex-smith.me.uk>
9631 * src/backends/NetworkManagerFrugalware.c:
9632 Update the FrugalWare backend to fix a few segfaults. (#392642)
9634 2007-06-08 Tambet Ingo <tambet@ximian.com>
9636 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9638 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9640 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9642 2007-06-06 Tambet Ingo <tambet@ximian.com>
9644 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9646 Implement NMSettingIP4Config.
9647 Finish NMSettingWired by adding all known members.
9648 (setting_wired_verify): Implement.
9649 Finish NMSettingWireless by adding all known members.
9650 (setting_wireless_verify): Implement.
9652 * libnm-util/nm-connection.c: Register "ipv4" setting.
9653 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9654 dump function, we can introspect the GHashTable which is used for sending connections
9657 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9658 Take GByteArray for essid, it's really not a string.
9660 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9661 Start DHCP request if setting is not passed or if it states that DHCP should be used.
9662 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9663 means overriding the values we got from DHCP.
9664 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
9665 (nm_device_deactivate_quickly): Ditto.
9667 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
9670 2007-05-07 Tambet Ingo <tambet@ximian.com>
9672 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
9675 * libnm-glib/nm-device-802-11-wireless.c:
9676 (nm_device_802_3_ethernet_activate): Remove.
9678 * libnm-glib/nm-device-802-3-ethernet.c
9679 (nm_device_802_3_ethernet_activate): Remove.
9681 * libnm-glib/nm-device.c (nm_device_activate): Implement.
9683 * src/nm-device-802-3-ethernet.c: Implement the new activation using
9686 * src/nm-device-802-11-wireless.c: Store an activation AP once the
9687 activation has started.
9688 Implement the new activation using NMConnection.
9690 * src/nm-activation-request.c: Store a generic connection object instead
9691 of a wireless-specific AP.
9693 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
9694 on device type, create a device specific connection object suitable for
9697 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
9698 specific check to validate the connection and on success start the
9701 * src/nm-device-interface.h: Add a activate virtual function to the
9702 interface definition.
9704 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
9705 (impl_device_activate): Implement.
9707 * introspection/nm-device.xml: Add a generic device activation interface
9708 that accepts an abstract NMConnection structure that has device-specific
9711 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
9712 activation interface.
9714 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
9715 activation interface.
9717 * libnm-util/nm-connection.c:
9718 * libnm-util/nm-connection.h:
9719 * libnm-util/nm-setting.c:
9720 * libnm-util/nm-setting.h: Add.
9722 * libnm-util/Makefile.am: Build the added files.
9724 * src/nm-dbus-manager.c
9725 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
9726 DbusConnection argument from 'name-owner-changed' signal. The manager
9727 is already passed as a first argument to the signal and the connection
9728 is easy enough to get from it.
9730 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
9731 Update the signature of the function.
9733 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
9736 * src/NetworkManager.c: Ditto.
9738 * src/named-manager/nm-named-manager.c
9739 (nm_named_manager_name_owner_changed): Ditto.
9741 * src/supplicant-manager/nm-supplicant-manager.c
9742 (nm_supplicant_manager_name_owner_changed): Ditto.
9744 * src/nm-hal-manager.c (name_owner_changed): Ditto.
9746 * src/dhcp-manager/nm-dhcp-manager.c
9747 (nm_dhcp_manager_name_owner_changed): Ditto.
9749 * src/nm-hal-manager.c: Add a list of device detectors and creators
9750 to make it easier to add new devices. Each device type has it's own
9751 entry in the table so adding new device types is only a matter of
9752 implementing a couple of functions, one for device detection and the
9753 other for device creation.
9755 2007-04-25 Dan Williams <dcbw@redhat.com>
9757 * initscript/RedHat/NetworkManager.in: remove trailing backslash
9760 2007-03-30 Dan Williams <dcbw@redhat.com>
9762 * src/NetworkManagerSystem.c
9763 - (nm_system_device_set_ip4_route): clean up and fix argument
9764 to nm_dev_sock_open()
9766 2007-03-28 Tambet Ingo <tambet@ximian.com>
9768 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
9769 data to correct types instead of always using string.
9771 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
9772 _not_ have NM_802_11_CAP_PROTO_NONE.
9773 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
9776 2007-03-27 Tambet Ingo <tambet@ximian.com>
9778 * libnm-glib/Makefile.am: Fix the build issue.
9780 2007-03-26 Tambet Ingo <tambet@ximian.com>
9782 * libnm-glib/nm-vpn-connection.h:
9783 * libnm-glib/nm-vpn-connection.c: Implement.
9785 * libnm-glib/nm-client.c: Add VPN support.
9787 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
9790 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
9793 2007-03-26 Dan Williams <dcbw@redhat.com>
9795 * src/NetworkManagerAPList.c
9796 * src/nm-device-802-11-wireless.c
9797 * src/NetworkManagerAP.c:
9798 - Store last seen as glong instead of GTimeVal.
9799 - Fix the upper bound of capabilities, it's a bitfield.
9801 2007-03-16 Tambet Ingo <tambet@ximian.com>
9803 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
9805 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
9806 "manager-running" signal that notifies the appearance/disappearance of NM.
9807 (nm_client_sleep): Implement.
9809 * libnm-glib/nm-device.c:
9810 * libnm-glib/nm-device-802-11-wireless.c:
9811 * libnm-glib/nm-device-802-3-ethernet.c:
9813 Don't inherit from DBusGProxy, add a proxy to private
9814 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
9815 for anything but their own dbus interface. DBusGProxy objects support only one
9816 interfaces and to work around this, NMDevice has spearate proxy for each dbus
9817 interface. The nice side effect of this change is that we do not create a new
9818 DBusGProxy object for each property access.
9820 2007-03-15 Tambet Ingo <tambet@ximian.com>
9822 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
9823 with zeroes before passing them to functions - the functions never do that and
9824 reading the values back may produce wrong values.
9825 (real_bring_up): Store the signal handler id ...
9826 (real_bring_down): ... So that it can be removed here.
9827 Disconnect the supplicant interface here as well.
9828 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
9829 from the access point instead of old $device/Networks/$essid.
9831 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
9832 device state is connected (instead of just having link/carrier).
9834 * src/nm-activation-request.c: Don't store NMData in activation request, it's
9835 already easily accessible through the device.
9837 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
9838 store it within the object.
9839 (nm_ap_get_dbus_path): Export it to public as well.
9841 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
9844 2007-03-12 Dan Williams <dcbw@redhat.com>
9846 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
9847 for non-carrier-detect capable devices, and useless for carrier-detect
9848 devices since we get notifications from netlink about carrier status anyway.
9850 * src/nm-device-802-3-ethernet.c
9851 - remove 'link_source_id' member from private data
9852 - (probe_link): remove and collapse into real_update_link()
9853 - (nm_device_802_3_periodic_update): remove
9854 - (real_is_up): check for sup_iface rather than link_source_id
9855 - (real_bring_up): return gboolean for success/fail; require that
9856 sup_iface be valid for device bringup to succeed
9857 - (real_bring_down): zero out link signal ids
9860 - (nm_device_activate_stage2_device_config): fail activation if device
9862 - (real_act_stage4_get_ip4_config): fail activation if device bringup
9864 - (nm_device_bring_up): return success/fail
9867 - bring_up now returns success/fail
9869 * src/nm-device-802-11-wireless.c
9870 - (real_bring_up): return success from bringup
9872 2007-03-07 Dan Williams <dcbw@redhat.com>
9874 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
9875 * src/nm-ap-security-wpa-psk.c
9876 - (real_write_supplicant_config): work with PSKs that may contain
9877 zeros in the binary format rather than treating it as a string
9879 2007-03-02 Tambet Ingo <tambet@ximian.com>
9881 * libnm-glib/nm-device-802-11-wireless.c
9882 (nm_device_802_11_wireless_get_capabilities): Implement.
9884 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
9886 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
9888 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
9889 reply only if it's not NULL. Not sure why this started happening right now.
9891 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
9892 code paths for when devices get removed on shutdown or when a device is just
9894 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
9895 gets freed so any signal from a device (disconnected for instance) would invoke
9896 NMState update which would crash.
9897 (nm_manager_remove_device): Bring the device down when it gets removed.
9899 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
9900 the unused dev_type.
9902 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
9903 reference to the added device, NMManager will own it (if it wants).
9905 * test/nm-tool.c: Rewrite using libnm-glib.
9907 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
9908 We get signalled when it changes.
9910 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
9913 * libnm-glib/nm-device.c: Cache the device state property.
9915 * libnm-glib/nm-access-point.c: Cache the strength property.
9917 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
9918 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
9919 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
9920 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
9921 the device is down, activating, or activated (in case of A/B/G cards).
9922 Remove some old dead ifdef'ed out code that used to configure wireless devices,
9923 it's all done through supplicant now.
9925 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
9926 counting issues with pending calls which caused leaks and crashes when
9927 interface was removed (now that the interface actually gets removed).
9929 * src/nm-call-store.c: Make a copy of data before running a foreach
9930 with user callback on it - The most common usage pattern is to cancel
9931 (and thus remove) all pending calls with foreach which would modify
9932 the hash table we're iterating over.
9934 * src/nm-manager.c: When a device is added, make sure it is "up". When
9935 it's removed or disabled due to disabling wireless or networking, bring
9938 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
9940 * src/nm-device-802-11-wireless.c:
9941 * src/nm-device-802-3-ethernet.c:
9943 - Remove "init" virtual function, all gobjects have a place for that
9944 already (constructor).
9945 - Replace "start" virtual function with "bring_up", devices can be
9946 brought up and down more than just on startup now.
9947 - Add "is_up" virtual function.
9948 - Implement one way to bring a device down instead of previous 4 different
9949 ways, each of witch did something different.
9951 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
9952 all it needs is the device interface.
9954 Get rid of NMData.dev_list (3 members to go).
9955 Get rif of NMData in a lot of places.
9957 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
9959 2007-02-23 Dan Williams <dcbw@redhat.com>
9961 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
9963 * src/NetworkManagerAP.c
9964 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
9965 OR-ing rather than AND-ing
9967 2007-02-20 Tambet Ingo <tambet@ximian.com>
9969 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
9970 "network-removed" signals.
9972 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
9974 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
9975 when receiving the signal from dbus.
9977 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
9980 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
9981 deactivation of the previously activated device working again.
9983 * src/nm-activation-request.c: Remove NMActStage property and it's getter
9986 * src/nm-device.c (nm_device_is_activated): Remove.
9987 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
9989 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
9990 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
9991 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
9992 NM_DBUS_SIGNAL_STATE_CHANGE signal.
9993 Remove NMNetworkStatus and NMActStage enums.
9995 2007-02-19 Tambet Ingo <tambet@ximian.com>
9997 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
9998 Handle device state changes and disconnect VPN if it's device deactivates.
10000 * src/nm-dbus-nm.c:
10001 * src/nm-dbus-nm.h:
10002 * src/nm-dbus-device.c:
10003 * src/nm-dbus-device.c:
10004 * src/nm-dbus-net.c:
10005 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10007 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10009 * src/nm-device.c (nm_device_get_by_udi):
10010 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10011 implemented in the correct location (NMManager).
10012 Rip out all the test_device stuff.
10014 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10015 failure handlers, it's all done by NMDevice already.
10017 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10018 Remove the iochannel hack to route the unix signals to the main thread since
10019 we're not threaded anymore.
10021 * src/NetworkManagerAP.c: Implement HWAddress property.
10023 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10024 automatically with dbus-glib.
10026 * src/nm-netlink-monitor.c:
10027 * src/nm-netlink-monitor.h:
10028 - Move it low in the class hierarchy, don't reference any NM types.
10029 - Remove private data from the header.
10030 - Use type safe checks in public API methods.
10031 - Make it a singleton so we don't have to pass the single reference around.
10033 2007-02-16 Tambet Ingo <tambet@ximian.com>
10035 * introspection/nm-ip4-config.xml: Implement.
10037 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10039 * libnm-glib/nm-ip4-config.c:
10040 * libnm-glib/nm-ip4-config.c: Implement.
10042 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10043 securities. APs reference security.
10045 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10046 be exported over DBUS.
10048 * src/nm-device-802-3-ethernet.c: Ditto.
10050 * src/NetworkManagerAP.c:
10051 * src/NetworkManagerAP.h:
10052 - Convert to GObject, export over DBUS.
10054 * src/nm-ip4-config.h:
10055 * src/nm-ip4-config.h:
10056 - Convert to GObject, export over DBUS.
10058 2007-02-12 Dan Williams <dcbw@redhat.com>
10060 Patch from Helmut Schaa <hschaa@suse.de>
10062 * vpn-daemons/pptp/configure.in
10063 vpn-daemons/pptp/Makefile.am
10064 vpn-daemons/openvpn/configure.in
10065 vpn-daemons/openvpn/Makefile.am
10066 vpn-daemons/vpnc/configure.in
10067 vpn-daemons/vpnc/Makefile.am
10068 - Add --without-gnome switch which disables building gnome bits
10070 2007-02-12 Tambet Ingo <tambet@ximian.com>
10072 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10074 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10076 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10079 * introspection/nm-device.xml: Remove 'UseDhcp' property.
10081 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10083 Totally break NetworkManager. Please use 0.6 branch until futher notice.
10086 - Remove old low-level dbus interface implementations and replace them
10087 with dbus-glib one.
10090 - Require dbus-glib >= 0.72.
10091 - Plug in new sources to build.
10094 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10095 to make it more convenient to use from GObject based programs.
10098 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10100 2007-02-09 Tambet Ingo <tambet@ximian.com>
10102 * src/nm-device-802-11-wireless.c:
10103 - Add "network-added" and "network-removed" signals.
10104 - Use gobject boilerplate macros to define the GObject.
10105 - Implement wireless device activation.
10106 - Remove activation_failure_handler and activation_success_handler
10107 and instead listen on state-changed signals and run the same code
10111 - Implment NMDeviceInterface::deactivate.
10112 - Remove activation_failure_handler and activation_success_handler
10113 virtual methods. Each device which is interested in these events
10114 can just listen on it's state changed signals.
10116 * src/NetworkManagerPolicy.c:
10117 - Move a bit more NMData usage to NMManager.
10118 - Remove activation scheduling bits.
10119 - Add listeners for wireless device's "network-added" and
10120 "network-removed" signals.
10121 - Listen device changed signals and deactivate currently activated
10122 device when another device start activating (for now).
10123 - Remove (nm_policy_schedule_device_change_check): There's never a need
10124 for calling this, the policy code knows exactly when this should happen,
10125 by listening on events from NMManager and NMDevices.
10127 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10130 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10131 method on the specific device instead of going to through policy code
10132 and determining the device type by passed in AP's existance.
10134 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10135 abstract NMDevice deactivation.
10137 2007-02-08 Tambet Ingo <tambet@ximian.com>
10139 * src/NetworkManager.c:
10140 - Set up all the shiny new managers.
10142 * src/NetworkManagerPolicy.c:
10143 - Add the beginnings of new NMPolicy code. Instead of requireing all
10144 classes to call into policy code, make the policy code kind of like
10145 a supervisor that monitors what's going on and drives the whole NM.
10147 * src/nm-hal-manager.c:
10148 * src/nm-hal-manager.h:
10149 - Collect all libhal code scattered around NM to this one class.
10150 - Listen libhal and NMManager events and add/remove devices to
10153 * src/nm-manager.c:
10154 * src/nm-manager.h:
10155 - Implment a replacement for NMData. NMData is now officially
10158 2007-02-05 Tambet Ingo <tambet@ximian.com>
10160 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
10161 * src/supplicant-manager/nm-supplicant-interface.h
10162 * src/supplicant-manager/nm-supplicant-interface.c
10163 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10164 argument to boolean from enum.
10166 Make NMDevice abstract class, remove almost all references to it's
10167 subclasses (the last place gets removed with new policy manager). Add
10168 NMDeviceInterface (which NMDevice implements) so that when we have
10169 NMDevice exported over DBUS, there's a common NMDevice interface which
10170 all instances have, plus there's a device specific interface for each
10172 Remove functions (nm_device_is_802_3_ethernet) and
10173 (nm_device_is_802_11_wireless). There are already standard GObject macros
10174 for type safe checks.
10175 Use the updated supplican manager API.
10177 * src/nm-device-interface.h:
10178 * src/nm-device-interface.c:
10179 * src/nm-call-store.h:
10180 * src/nm-call-store.c: Implement.
10182 * src/supplicant-manager/nm-supplicant-interface.c:
10183 * src/supplicant-manager/nm-supplicant-interface.h:
10184 * src/supplicant-manager/nm-supplicant-manager.c:
10185 * src/supplicant-manager/nm-supplicant-manager.h:
10186 - Remove all private data type references from public header files.
10187 - Remove all references to other NM classes, this class is just a
10188 proxy between wpa_supplicant and NM so it doesn't have to know
10190 - Convert to dbus-glib bindings.
10191 - Type safe checks for public methods' arguments.
10192 - Store pending DBUS call ids to NMCallStore.
10194 * src/supplicant-manager/nm-supplicant-config.c:
10195 - Store config values in a GHashTable instead of GSList.
10197 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10199 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10202 * src/nm-device.c: Use the new DHCP manager API.
10204 * src/nm-activation-request.c:
10205 * src/nm-activation-request.h:
10206 - Remove all dhcp related properties and methods.
10208 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10210 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10212 * src/dhcp-manager/nm-dhcp-manager.c:
10213 * src/dhcp-manager/nm-dhcp-manager.h:
10214 - Convert it to GObject since we need to signal state changes.
10215 - Remove all references to other NM classes, this class is one
10216 of the lowest classes in our hierarchy.
10217 - One less class to use NMActRequest.
10218 - Make it singleton, one less user of NMData.
10219 - Remove a couple of sleep() calls.
10220 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10221 One less class to use the NM's custom tailored signal handlig.
10223 * Makefile.am: Generate marshallers, add them to build.
10225 2007-02-02 Dan Williams <dcbw@redhat.com>
10231 - Remove last bits referencing gnome applet
10233 2007-02-02 Dan Williams <dcbw@redhat.com>
10235 * src/vpn-manager/nm-vpn-service.c
10236 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10237 and NBNS server addresses
10239 2007-02-02 Tambet Ingo <tambet@ximian.com>
10241 * src/nm-dbus-manager.c:
10242 * src/nm-dbus-manager.h:
10243 - Convert all internal DBUS code to use dbus-glib bindings.
10244 - Remove GObject properties, we don't need them here.
10245 - Don't explicitly set things to NULL after freeing, glib is
10246 happy to do it if asked nicely (G_DEBUG=gc-friendly).
10247 - Make public API argument checks type safe.
10248 - Remove unnecessary (and wrong) cast to GObject for the first
10249 argument to g_signal_* calls - The first argument is a gpointer.
10250 - Export DBusGConnection to other cool classes that (are going to)
10253 2007-01-26 Dan Williams <dcbw@redhat.com>
10255 * libnm-util/dbus-dict-helpers.c
10256 libnm-util/dbus-dict-helpers.h
10257 - Coordinate style with wpa_supplicant version to minimize diff
10258 - Add uint32 array support
10259 - (nmu_dbus_dict_append_uint32_array): new function
10260 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10261 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10262 version; allow adding string array elements individually
10264 * test/libnm-util/test-dbus-dict-helpers.c
10265 - Test uint32 arrays
10267 2007-01-27 Jürg Billeter <j@bitron.ch>
10269 * src/backends/NetworkManagerPaldo.c
10270 - (nm_system_update_dns): clear nscd hosts cache
10272 2007-01-04 Dan Williams <dcbw@redhat.com>
10274 Threading removal related cleanups:
10276 - Use the glib default main context. Remove the device main context
10277 member from NMDevice, and the main_context member from NMData. Change
10278 all the idle and timeout scheduler functions to use plain
10279 g_idle_add() and g_timeout_add().
10281 - As a side-effect of the first change, nm_dbus_manager_get() no longer
10282 takes an argument; fix that up too.
10284 - Remove all locking, which is useless since we no longer use threads. For
10285 example, nm_get_device_by_iface_locked() has been removed. The global
10286 device list lock, the AP List lock, and all static locks in
10287 NetworkManagerPolicy.c have been removed. The locking utility functions
10288 in NetworkManagerUtils.c have also been removed.
10290 - Other cleanups in spacing and code style
10292 2007-01-01 Dan Williams <dcbw@redhat.com>
10294 Found by Bill Moss:
10296 * src/supplicant-manager/nm-supplicant-interface.c
10297 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10298 the supplicant interface wasn't already disconnected. Always
10299 call removeNetwork and disconnect unless the supplicant interface
10300 is in the DISCONNECTED or INACTIVE state.
10302 2006-12-28 Dan Williams <dcbw@redhat.com>
10304 Use a single thread for everything. With the move to wpa_supplicant
10305 and communication over D-Bus, there's no reason for multiple threads.
10306 Almost all of the blocking code has been removed, with one exception in
10307 the DHCP manager and a few in the VPN manager. This commit removes the
10308 per-device worker thread and fixes activation cancellation in the absence
10309 of threads. Further removal of thread-related code would be removing
10310 any locking code (like the device list lock) and simplification of logic
10311 around areas of code or data structures that are currently locked.
10314 dhcp-manager/nm-dhcp-manager.c
10315 nm-device-802-11-wireless.c
10316 nm-device-802-3-ethernet.c
10319 - Remove usage of multiple threads
10321 2006-12-19 Dan Williams <dcbw@redhat.com>
10323 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10324 plus a few other patches from wpa_supplicant bugzilla.
10327 src/NetworkManagerPolicy.c
10328 src/NetworkManagerUtils.c
10329 src/NetworkManagerUtils.h
10330 src/nm-ap-security-leap.c
10331 src/nm-ap-security-wep.c
10332 src/nm-ap-security-wpa-eap.c
10333 src/nm-ap-security-wpa-psk.c
10334 src/nm-ap-security.c
10335 src/nm-ap-security.h
10336 src/nm-device-802-11-wireless.c
10337 src/nm-device-802-11-wireless.h
10338 src/supplicant-manager/nm-supplicant-config.c
10339 src/supplicant-manager/nm-supplicant-config.h
10340 src/supplicant-manager/nm-supplicant-interface.c
10341 src/supplicant-manager/nm-supplicant-interface.h
10342 src/supplicant-manager/nm-supplicant-marshal.list
10343 src/supplicant-manager/nm-supplicant-settings-verify.c
10344 src/supplicant-manager/nm-supplicant-settings-verify.h
10345 - Move all connection management and association handling to
10346 wpa_supplicant over dbus, rather than spawning a private copy
10348 2006-12-19 Dan Williams <dcbw@redhat.com>
10350 * src/NetworkManagerPolicy.c
10351 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10352 better locking of the device change check handler ID. Incorrect
10353 locking was causing lost device change requests
10355 2006-12-18 Dan Williams <dcbw@redhat.com>
10357 * libnm-util/dbus-dict-helpers.c
10358 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10359 _nmu_dbus_dict_entry_get_byte_array): replace usage of
10360 dbus_message_iter_get_array_len() (Gnome.org #382898)
10362 2006-12-18 Dan Williams <dcbw@redhat.com>
10364 * gnome/libnm_glib/libnm_glib.c
10365 - Change dbus_connection_close() -> dbus_connection_unref()
10367 2006-12-11 Dan Williams <dcbw@redhat.com>
10369 * src/supplicant-manager/nm-supplicant-interface.c
10370 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10371 wpa_supplicant interface state
10372 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10373 state before transitioning to READY state
10375 2006-12-04 Dan Williams <dcbw@redhat.com>
10377 * src/nm-device-802-11-wireless.c
10378 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10379 odd length of ESSID returned from ieee80211 stack-based drivers
10381 2006-12-04 Dan Williams <dcbw@redhat.com>
10383 * src/nm-device-802-11-wireless.c
10384 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10385 IE handling blocks that cause mis-parsing of the IE
10387 2006-12-04 Dan Williams <dcbw@redhat.com>
10389 * src/nm-device-802-11-wireless.c
10390 - (init_supplicant_interface): new function; pull supplicant interface
10391 setup code out into standalone function since it must be called from
10392 two different places
10393 - (real_init): sup_mgr is now in private object data; get and track
10394 the supplicant manager object over the NMDevice subclass' lifetime
10395 and register a signal handler for its state signals; only try to
10396 initialize the supplicant interface if the supplicant manager is in
10397 the IDLE state (and therefore is ready for requests)
10398 - (request_wireless_scan): reschedule the scan request if (a) there is
10399 no supplicant interface yet (meaning wpa_supplicant isn't running
10400 or isn't ready yet), or (b) if the supplicant interface isn't ready
10402 - (supplicant_iface_connection_state_cb): new function; stub for
10403 handling supplicant interface connection state signals
10404 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10406 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10407 supplicant manager object that's being tracked starting with this
10410 2006-12-04 Dan Williams <dcbw@redhat.com>
10412 * src/supplicant-manager/nm-supplicant-interface.c
10413 - (nm_supplicant_interface_set_property): track signal handler ID
10414 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10416 2006-12-04 Dan Williams <dcbw@redhat.com>
10418 * src/supplicant-manager/nm-supplicant-interface.[ch]
10419 - (nm_supplicant_interface_get_state): new function
10421 2006-12-04 Dan Williams <dcbw@redhat.com>
10423 * src/supplicant-manager/nm-supplicant-interface.c
10424 - (bssid_properties_cb): don't treat DBus errors as valid
10425 scanned AP messages
10427 2006-12-04 Dan Williams <dcbw@redhat.com>
10429 * src/supplicant-manager/nm-supplicant-interface.[ch]
10430 - (nm_supplicant_interface_get_connection_state): new function
10431 - define new supplicant connection states
10432 - send a signal when the supplicant connection state changes
10434 2006-12-03 Dan Williams <dcbw@redhat.com>
10436 * src/supplicant-manager/Makefile.am
10437 src/supplicant-manager/nm-supplicant-connection.h
10438 src/supplicant-manager/nm-supplicant-connection.c
10439 src/supplicant-manager/nm-supplicant-config.h
10440 src/supplicant-manager/nm-supplicant-config.c
10441 src/supplicant-manager/nm-supplicant-types.h
10442 src/supplicant-manager/nm-supplicant-interface.h
10443 src/supplicant-manager/nm-supplicant-interface.c
10444 - Rename NMSupplicantConnection -> NMSupplicantConfig
10446 2006-12-03 Dan Williams <dcbw@redhat.com>
10448 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
10452 - Move VPN-related translatables to .skip
10454 * vpn-daemons/pptp/po/POTFILES.in
10455 - Update with new translatables
10457 2006-12-02 Dan Williams <dcbw@redhat.com>
10459 Patch from Christian Persch <chpe@gnome.org>
10461 * gnome/applet/Makefile.am
10462 gnome/applet/applet-dbus-devices.c
10463 gnome/applet/applet-notifications.c
10464 gnome/applet/applet.c
10465 gnome/applet/applet.h
10466 gnome/applet/main.c
10467 - Be a GtkStatusIcon on GTK+ >= 2.10
10469 2006-12-02 Dan Williams <dcbw@redhat.com>
10471 * gnome/applet/applet.c
10472 - (nma_update_info): fix two unecessary allocations
10474 2006-12-02 Dan Williams <dcbw@redhat.com>
10476 Patch from Michael Biebl <biebl@teco.edu>
10478 man/NetworkManager.1.in
10479 man/NetworkManagerDispatcher.1.in
10480 man/NetworkManager.8.in
10481 man/NetworkManagerDispatcher.8.in
10482 - Add .SH NAME stanzas
10483 - Move NM & NM Dispatcher manpages to section 8 (admin)
10485 2006-12-02 Dan Williams <dcbw@redhat.com>
10487 Patch from Christian Persch <chpe@gnome.org>
10490 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10492 2006-11-29 Tambet Ingo <tambet@ximian.com>
10494 Patch by Timo Hoenig <thoenig@suse.de>:
10495 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10498 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10499 we can't use the one from the main source directory.
10501 2006-11-27 Dan Williams <dcbw@redhat.com>
10503 Patch from Christian Persch <chpe@gnome.org>
10505 * gnome/applet/applet-dbus-devices.c
10506 - (hal_info_product_cb): fix memleak; free duped string.
10509 2006-11-27 Dan Williams <dcbw@redhat.com>
10511 Patch from Christian Persch <chpe@gnome.org>
10513 * gnome/applet/menu-items.c
10514 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10515 as gtk_progress_set_percentage is deprecated. Should
10516 work as far back as GTK+ 2.4. Gnome.org #379780
10518 2006-11-26 Dan Williams <dcbw@redhat.com>
10520 Scan using wpa_supplicant over DBus.
10522 * src/nm-device-802-11-wireless.c
10523 - remove wireless extensions netlink event handler bits
10524 (wireless_event_helper, nm_device_802_11_wireless_event)
10525 - remove wireless extensions scan event handler bits
10526 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10527 hex2byte, hex2num, request_and_convert_scan_results,
10528 free_process_scan_cb_data, scan_results_timeout,
10529 schedule_scan_results_timeout, cancel_scan_results_timeout)
10530 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10531 and request scans from the supplicant interface rather than directly
10532 - Move functionality of convert_scan_results() to cull_scan_list() and
10533 supplicant_iface_scanned_ap_cb()
10534 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10535 at the scan interval when the current scan has finished
10536 - (supplicant_iface_state_cb): start scanning when the supplicant
10537 interface enters the READY state, and stop scanning when it
10538 enters the DOWN state
10539 - (cull_scan_list): weed out old access points from the scan list
10540 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10541 point into an NMAccessPoint and merge it into the device's scan list
10543 * src/supplicant-manager/nm-supplicant-interface.c
10544 src/supplicant-manager/nm-supplicant-interface.h
10545 - Add a new signal "scan-result" which is issued when the supplicant
10546 notifies NM that a scan has completed
10547 - Add a new signal "scanned-ap" that notifies listeners of a new access
10548 point found in the scan. Called once for each access point that
10549 the supplicant interface object receives from the supplicant as a
10550 result of the "scanResults" method call
10551 - (wpas_iface_query_scan_results): don't wait 4s before querying
10552 for the initial scan results
10553 - (scan_request_cb): new function; send listeners the result
10554 (success, error) of a wireless scan request
10555 - (nm_supplicant_interface_request_scan): new function; ask the
10556 supplicant to perform an immediate wireless scan
10558 2006-11-25 Dan Williams <dcbw@redhat.com>
10560 * src/supplicant-manager/Makefile.am
10561 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10562 add HAL cflags/includes and named-manager includes directory
10564 * src/supplicant-manager/nm-supplicant-interface.h
10565 - New state STARTING to handle transition from INIT to READY where
10566 the addInterface pending call is still outstanding
10568 * src/supplicant-manager/nm-supplicant-interface.c
10569 - track pending calls differently since we may have more than one
10570 going on at any given time
10571 - request scan results from wpa_supplicant; but don't do it more often
10572 than every 4 seconds. Drivers that do background scanning
10573 (like the 'ipw' drivers) send a continuous stream of scan completion
10574 notifications, so we don't want to hammer the supplicant or dbus
10575 with requests for all scan results every time we get a completion
10578 2006-11-25 Dan Williams <dcbw@redhat.com>
10580 * src/supplicant-manager/nm-supplicant-types.h
10581 - new file; move all supplicant manager object typedefs here for
10584 * src/supplicant-manager/nm-supplicant-interface.c
10585 src/supplicant-manager/nm-supplicant-interface.h
10586 - new file; an object that interfaces an NMDevice object to the
10587 supplicant and handles signals from the supplicant. This object
10588 does all necessary DBus communication with wpa_supplicant.
10590 * src/supplicant-manager/nm-supplicant-manager.c
10591 src/supplicant-manager/nm-supplicant-manager.h
10592 - Actually do something. Track the state of the wpa_supplicant service
10593 and deal with its comings & goings. Handle life events of
10594 supplicant interfaces too.
10595 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10597 * src/supplicant-manager/nm-supplicant-connection.h
10598 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10600 * src/supplicant-manager/Makefile.am
10601 - Add new files to build, and add libnm-util to includes
10603 * src/nm-marshal.list
10604 - New marshaler type: VOID:UINT,UINT
10606 * src/nm-device-802-3-ethernet.c
10607 - (real_init): grab a supplicant interface
10608 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10609 - (supplicant_iface_state_cb): new function, stub for handling
10610 supplicant interface state changes
10612 * src/nm-device-802-11-wireless.c
10613 - (real_init): grab a supplicant interface
10614 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10615 - (supplicant_iface_state_cb): new function, stub for handling
10616 supplicant interface state changes
10618 * src/NetworkManager.c
10619 - (main): create and keep the supplicant manager around for the lifetime
10623 - Link to the supplicant manager sub-library and use the supplicant
10626 2006-11-25 Dan Williams <dcbw@redhat.com>
10628 Rework DBus manager signal handling to be more flexible. Previously,
10629 only one signal handler could be registered for a particular interface.
10630 The DBus manager now reference counts DBus bus matches and allows multiple
10631 clients to register signal handlers for the same interface and sender.
10633 * src/NetworkManager.c
10634 - (main): track NMI signal handler ID and remove it when we quit
10636 * src/NetworkManagerMain.h
10637 - Keep track of NMI signal handler ID
10639 * src/nm-dbus-manager.c
10640 src/nm-dbus-manager.h
10641 - rework signal handling; each signal handler references one signal
10642 match, but a signal match may be referenced by one or more
10643 signal handlers. Matches are refcounted and are destroyed when the
10644 last signal handler that references the match is removed. This is
10645 necessary because two signal handlers may end up requiring the same
10646 dbus bus match, so the match must live until the last signal handler
10647 is destroyed (for example, with the wpa_supplicant network interface
10650 * src/dhcp-manager/nm-dhcp-manager.c
10651 - (nm_dhcp_manager_new): track DHCP signal handler id
10652 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10654 * src/vpn-manager/nm-vpn-service.c
10655 - (nm_vpn_service_add_watch): track VPN service signal handler id
10656 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10658 2006-11-25 Dan Williams <dcbw@redhat.com>
10660 Suggested by Helmut Schaa <hschaa@suse.de>
10662 * src/vpn-daemons/nm-vpn-service.c
10663 - (supplicant_child_setup): new function
10664 - (supplicant_exec): make child process use a new process group id
10666 * src/nm-device-802-11-wireless.c
10667 - (nm_vpn_service_child_setup): new function
10668 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
10671 2006-11-19 Dan Williams <dcbw@redhat.com>
10673 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
10674 * gnome/vpn-properties/nm-vpn-properties.c
10675 - clean up after renamed VPN connection
10677 2006-11-19 Dan Williams <dcbw@redhat.com>
10679 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
10680 * gnome/applet/applet-dbus-vpn.c
10681 - (nma_dbus_vpn_properties_cb): sort VPN connections
10683 * gnome/vpn-properties/nm-vpn-properties.c
10684 - (init_app): sort VPN connections
10686 2006-11-09 Dan Williams <dcbw@redhat.com>
10688 * src/NetworkManagerAPList.c
10689 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
10690 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
10691 from the nm_ap_list_get_ap_by_address() call was incorrect and
10692 broke hidden SSID matching. Found by Bill Moss.
10694 2006-10-25 Dan Williams <dcbw@redhat.com>
10697 - (nm_dbus_nm_set_active_device): return an empty success message on
10698 success, rather than falling through to the error case.
10700 2006-10-25 Dan Williams <dcbw@redhat.com>
10702 * src/NetworkManagerUtils.c
10703 - (nm_utils_supplicant_request_with_check): suppress messages for the
10706 2006-10-24 Dan Williams <dcbw@redhat.com>
10708 Reduce the number of times the Gnome applet wakes up, especially when
10709 it's doing absolutely nothing and is hidden. Initial patch by
10712 * gnome/applet/applet-dbus.c
10713 - (nma_dbus_filter): when NM isn't around, or when it goes away,
10714 kill the redraw timeout. When NM starts up, start the redraw
10715 timeout. Also, if we get kicked off the bus for some reason,
10716 start the reconnection timeout if one's not already running.
10717 - (nma_dbus_init): better handling of error conditions, don't leak
10718 a half-initialized dbus connection
10719 - (nma_dbus_connection_watcher): consolidate places we reinitialize
10720 the applet's data, just call nm_dbus_init_helper()
10721 - (nma_start_dbus_connection_watch): new function, starts a periodic
10722 timeout that calls nma_dbus_connection_watcher()
10723 - (nma_dbus_init_helper): if we get a successful connection, kill the
10724 reconnection timeout, and don't start the reconnection timeout
10725 unconditionally anymore
10727 * gnome/applet/applet-dbus.h
10728 - Expose nma_start_dbus_connection_watch()
10730 * gnome/applet/applet.c
10731 - (nma_update_state): no longer static, called from applet-dbus.c for
10732 immediate UI updates on certain events
10733 - (nma_set_running): new function; take over setting applet->running,
10734 when not running (ie, NM is not active), don't activate the redraw
10735 timeout because we're not showing the applet anyway. When we are
10736 running (ie, NM is active), and only when we're running, start the
10738 - (nma_destroy): kill the redraw timeout by setting 'not running', and
10739 kill any reconnection timeout
10740 - (nma_get_instance): move one-off dbus initialization code here since
10741 nm_dbus_init_helper() gets called more than once, possibly by the
10742 reconnection timeout function too. And, when we start up, if we
10743 can't get a connection to the bus, start the reconnection timeout.
10744 But don't start the redraw timeout yet, only do that when we get
10745 NM's state and find out if it's running or not.
10747 * gnome/applet/applet.h
10748 - Add the reconnection GSource ID
10749 - Add prototypes for nma_set_running() and the no-longer-static
10752 2006-10-24 Dan Williams <dcbw@redhat.com>
10754 * src/vpn-daemons/nm-dbus-vpnc.c
10755 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
10756 pending call tracker
10757 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
10758 pending call tracker; register one-vpn-connection update pending
10759 call in pending call tracker
10760 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
10761 update pending call in pending call tracker
10762 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
10763 update pending call in pending call tracker; don't block waiting
10766 2006-10-19 Robert Love <rml@novell.com>
10768 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
10771 2006-10-14 Dan Williams <dcbw@redhat.com>
10773 * src/dhcp-manager/nm-dhcp-manager.c
10774 - (get_ip4_string, get_ip4_uint32s): have the caller pass
10775 the dbus connection and the device object path rather than
10776 constructing it inside both functions. Saves a bit of memory
10777 and clarifies a failure path.
10778 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
10779 and allocate device path here rather than each of the two
10782 2006-10-13 Dan Williams <dcbw@redhat.com>
10784 * src/NetworkManager.c
10785 - (nm_name_owner_changed_handler): handle NMI coming and going,
10786 this somehow droppout in the refactor
10788 2006-10-13 Dan Williams <dcbw@redhat.com>
10790 * Huge DBus refactor:
10791 - Create a "DBus Manager" object which manages the connection and
10792 sends signals on NameOwnerChanged and connection/disconnection events,
10793 handles reconnection to the bus if NM gets kicked off, and abstracts
10795 - Remove DBusConnection members from places where they are no
10796 longer needed due to the refactor, like the dbus-connection
10797 property of the named manager, and from NMData
10798 - Reformats a bunch of the code to gnome style
10799 (8-space tabs, braces on same line as statement, 80-col width).
10800 Consider it open season to reformat any bits to gnome style.
10801 style that aren't already.
10803 2006-10-13 Dan Williams <dcbw@redhat.com>
10805 * src/supplicant-manager/Makefile.am
10808 * src/supplicant-manager/nm-supplicant-manager.[ch]:
10809 - Make it a minimal GObject
10811 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
10812 - Verify settings destined for wpa_supplicant
10814 * src/supplicant-manager/nm-supplicant-connection.[ch]:
10815 - Minimal GObject to track wpa_supplicant controlled device
10818 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
10820 * gnome/applet/applet.c: (nma_update_info),
10821 (nma_act_stage_to_pixbuf), (nma_update_state):
10822 Mark missing strings for translation. Fixes bug #343306.
10824 2006-10-01 Dan Williams <dcbw@redhat.com>
10826 * src/vpn-manager/nm-vpn-manager.c
10827 - (nm_vpn_manager_load_services): split and clean up
10828 for readability and correctness. Restrict VPN service
10829 files to ending in ".name", as was meant from the
10830 beginning (but not coded in). Better error reporting.
10832 2006-10-01 Dan Williams <dcbw@redhat.com>
10835 - Clean up formatting of debug/info/warning log messages
10837 2006-09-27 Robert Love <rml@novell.com>
10839 Patch by Tambet Ingo <tambet@ximian.com>:
10840 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
10843 2006-09-07 Dan Williams <dcbw@redhat.com>
10846 test/libnm-util/Makefile.am
10847 test/nm-supplicant-test.c
10848 - Add test program emulating the way NM drives wpa_supplicant
10849 to help debug supplicant issues
10851 2006-08-24 Dan Williams <dcbw@redhat.com>
10855 src/supplicant-manager/Makefile.am
10856 src/supplicant-manager/nm-supplicant-manager.c
10857 src/supplicant-manager/nm-supplicant-manager.h
10858 - Add skeleton bits of the wpa_supplicant manager
10860 2006-08-24 Dan Williams <dcbw@redhat.com>
10862 Patch from Ed Catmur:
10863 * src/NetworkManagerUtils.c
10864 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
10865 if netmask is 0 (Gnome #352634)
10867 2006-08-17 Robert Love <rml@novell.com>
10869 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
10870 package is now DBUS-enabled and listens for the NM signals.
10872 2006-08-14 Dan Williams <dcbw@redhat.com>
10874 * Patch from Christian Persch <chpe gnome org>
10877 vpn-daemons/openvpn/po/LINGUAS
10878 vpn-daemons/openvpn/configure.in
10879 vpn-daemons/pptp/po/LINGUAS
10880 vpn-daemons/pptp/configure.in
10881 vpn-daemons/vpnc/po/LINGUAS
10882 vpn-daemons/vpnc/configure.in
10883 - Convert to LINGUAS method so translators don't have to modify
10884 configure.in, just stuff in po/. Gnome #343132, requires intltool
10887 2006-08-14 Dan Williams <dcbw@redhat.com>
10889 Patch from Alex Smith <alex.extreme2@gmail.com>
10891 src/backends/Makefile.am
10892 src/backends/NetworkManagerFrugalware.c
10893 - Add support for Frugalware
10895 2006-08-13 Dan Williams <dcbw@redhat.com>
10897 Patch from Valentine Sinitsyn <e_val@inbox.ru>
10898 * src/nm-device-802-11-wireless.c
10899 - (supplicant_exec): spawn wpa_supplicant without debug spew
10902 2006-08-13 Dan Williams <dcbw@redhat.com>
10904 Patch from Valentine Sinitsyn <e_val@inbox.ru>
10905 * src/nm-ap-security.c
10906 src/nm-ap-security.h
10907 - Add authentication_required bits for subclasses to specify whether
10908 or not real authentication is required for connections, i.e. whether
10909 the AP rejects us when an encryption key is wrong or not.
10911 * src/nm-ap-security-wep.c
10912 src/nm-ap-security-wpa-eap.c
10913 src/nm-ap-security-wpa-psk.c
10914 src/nm-ap-security-leap.c
10915 - Implement authentication_required appropriately for each method
10917 * src/nm-device-802-11-wireless.c
10918 - Be smarter about when to request a key; for example, using a wrong key
10919 in WEP shared key mode previously just timed out and did not request
10922 2006-08-13 Dan Williams <dcbw@redhat.com>
10924 * gnome/libnm_glib/libnm_glib.c
10925 - dbus_connection_disconnect() -> dbus_connection_close() for
10928 2006-08-07 Dan Williams <dcbw@redhat.com>
10930 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10931 * src/NetworkManagerSystem.c
10932 - Respect specified MTU. Gnome #344967
10934 2006-08-07 Dan Williams <dcbw@redhat.com>
10936 * src/vpn-manager/nm-vpn-service.c
10937 - Simplify print_vpn_config() arguments
10939 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10940 * src/vpn-manager/Makefile.am
10941 src/vpn-manager/nm-vpn-service.c
10942 - Add new API for passing VPN config options as a dict. Gnome #344967
10944 2006-08-06 Dan Williams <dcbw@redhat.com>
10946 * gnome/applet/applet-dbus-devices.c
10947 gnome/applet/applet-dbus-vpn.c
10948 gnome/applet/applet-dbus.c
10949 gnome/applet/applet-dbus.h
10953 - Make pending call tracking code generic,
10954 so we can use it in NM as well as the applet
10956 2006-08-06 Dan Williams <dcbw@redhat.com>
10958 * src/nm-activation-request.c
10959 - Refcount pending call objects
10961 2006-08-06 Dan Williams <dcbw@redhat.com>
10963 Patch from Christan Chiesa <christanc@gmail.com>
10965 - Tell sha1.c to use bigendian mode on PPC
10967 2006-08-04 Robert Love <rml@novell.com>
10969 Glib Memory Slices!
10970 * configure.in: Require glib 2.10 or later.
10971 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
10972 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
10973 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
10974 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
10975 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
10976 Memory Slices are the greatest thing since bread slices.
10977 * src/NetworkManagerAP.c: Also, fix memory leak.
10979 2006-08-01 Robert Love <rml@novell.com>
10981 * gnome/applet/main.c: Shutdown all VPN connections on logout.
10983 2006-07-31 Robert Love <rml@novell.com>
10985 * src/backends/interface_parser.c: Declarations must begin the block.
10987 2006-07-24 Dan Williams <dcbw@redhat.com>
10989 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
10990 * src/backends/Makefile.am
10991 src/backends/NetworkManagerArch.c
10992 src/backends/NetworkManagerDebian.c
10993 src/backends/NetworkManagerGeneric.c
10994 src/backends/NetworkManagerGeneric.h
10995 src/backends/NetworkManagerGentoo.c
10996 src/backends/NetworkManagerPaldo.c
10997 src/backends/NetworkManagerRedHat.c
10998 src/backends/NetworkManagerSlackware.c
10999 src/backends/NetworkManagerSuSE.c
11000 - Genericize common backend functions
11002 2006-07-18 Robert Love <rml@novell.com>
11004 * configure.in: Add "--with-notify" option to allow disabling of
11007 2006-07-13 Dan Williams <dcbw@redhat.com>
11009 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11010 * gnome/applet/applet.glade
11011 gnome/applet/Makefile.am
11012 gnome/applet/nm-gconf-wso.c
11013 gnome/applet/nm-gconf-wso-leap.c
11014 gnome/applet/nm-gconf-wso-leap.h
11015 gnome/applet/wireless-security-manager.c
11016 gnome/applet/wso-leap.c
11017 gnome/applet/wso-leap.h
11018 include/NetworkManager.h
11019 libnm-util/dbus-helpers.c
11020 libnm-util/dbus-helpers.h
11022 src/NetworkManagerAP.c
11023 src/nm-ap-security.c
11024 src/nm-ap-security-leap.c
11025 src/nm-ap-security-leap.h
11026 - Add LEAP authentication support
11028 2006-07-13 Dan Williams <dcbw@redhat.com>
11030 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11032 src/backends/NetworkManagerArch.c
11033 src/backends/NetworkManagerDebian.c
11034 src/backends/NetworkManagerGentoo.c
11035 src/backends/NetworkManagerPaldo.c
11036 src/backends/NetworkManagerRedHat.c
11037 src/backends/NetworkManagerSlackware.c
11038 src/backends/NetworkManagerSuSE.c
11039 - Convert hardcoding of 'ip' path to configure-time
11042 2006-07-12 Leonid Kanter <leon@asplinux.ru>
11044 * configure.in: added ru to ALL_LINGUAS
11046 2006-07-10 Dan Williams <dcbw@redhat.com>
11048 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11050 - (real_act_stage3_ip_config_start): don't infinite loop when
11051 dhcdbd isn't running (Gnome #346845)
11053 2006-07-09 Dan Williams <dcbw@redhat.com>
11055 * gnome/applet/applet.c
11056 - (nma_destroy): don't pass NULL to notify_notification_close
11059 2006-07-09 Dan Williams <dcbw@redhat.com>
11061 * gnome/applet/applet.c
11062 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11064 2006-07-04 Tor Krill <tor@krill.nu>
11066 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11067 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11068 (nm_system_restart_mdns_responder), (ArchReadConfig),
11069 (nm_system_device_get_system_config):
11070 - Explicitly check for DHCP configuration
11071 - Check if daemons are running before starting them
11073 2006-06-25 Dan Williams <dcbw@redhat.com>
11075 * libnm-util/dbus-dict-helpers.[ch]
11076 test/libnm-util/test-dbus-dict-helpers.c
11077 - Add string array support
11079 2006-06-24 Dan Williams <dcbw@redhat.com>
11081 * src/dhcp-manager/nm-dhcp-manager.c
11082 - (nm_dhcp_manager_process_signal): clean up spacing
11084 2006-06-21 Dan Williams <dcbw@redhat.com>
11086 * src/nm-dbus-device.c
11087 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11090 2006-06-21 Raivis Dejus <orvils@gmail.com>
11092 * configure.in: Added 'lv' to ALL_LINGUAS
11094 2006-06-19 Dan Williams <dcbw@redhat.com>
11096 * src/NetworkManagerAP.c
11097 - Clarify usage of user_created
11099 * src/nm-ap-security-wep.c
11100 src/nm-ap-security-wpa-eap.c
11101 src/nm-ap-security-wpa-psk.c
11102 src/nm-ap-security.c
11103 src/nm-ap-security.h
11104 - s/user_created/adhoc, because we really do mean adhoc
11106 Patch from Bernard Blackham <bernard@blackham.com.au>
11107 * src/nm-device-802-11-wireless.c
11108 - (supplicant_send_network_config): instead of user_created,
11109 use adhoc, and do AP_SCAN 2 for adhoc networks
11111 2006-06-18 Robert Love <rml@novell.com>
11113 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11114 we have a value to set. Gconf generates a warning if `val' is NULL.
11115 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11116 unless we actually received a valid private key file passphrase or
11117 password. Otherwise, we don't know to later ask the applet to pull
11118 the key from the keyring.
11120 2006-06-17 Dan Williams <dcbw@redhat.com>
11122 * libnm-util/dbus-dict-helpers.[ch]
11123 test/libnm-util/test-dbus-dict-helpers.c
11124 - Fixes for zero-length byte arrays
11125 - Replace return values of 0 with FALSE for clarity
11126 - Test zero-length byte arrays
11128 2006-06-17 Dan Williams <dcbw@redhat.com>
11130 * libnm-util/dbus-dict-helpers.[ch]
11131 test/libnm-util/test-dbus-dict-helpers.c
11132 - Add helpers for byte arrays
11133 - Rework bits of the testcase
11135 2006-06-16 Dan Williams <dcbw@redhat.com>
11137 * libnm-util/Makefile.am
11138 * libnm-util/dbus-dict-helpers.[ch]
11139 - Add some helpers to take the pain out of using dict types in
11142 * test/libnm-util/Makefile.am
11143 * test/libnm-util/test-dbus-dict-helpers.c
11144 - Test cases for the dict helper functions
11146 2006-06-15 Robert Love <rml@novell.com>
11148 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11149 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
11150 if there is no key to pass.
11151 * libnm-util/dbus-helpers.c: Given the above, we can trust always
11152 receiving a non-NULL key.
11154 2006-06-14 Robert Love <rml@novell.com>
11156 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11160 2006-06-14 Dan Williams <dcbw@redhat.com>
11162 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
11163 * src/nm-device-802-11-wireless.c
11164 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11165 or ones where the driver is unknown
11166 - (supplicant_exec): don't wait for supplicant startup here
11167 - (supplicant_interface_init): finer grained polling for supplicant
11170 2006-06-13 Robert Love <rml@novell.com>
11172 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11173 if it is currently set to TRUE. Otherwise, we will reset the value
11174 when we connect normally.
11175 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11176 the old BSSID is valid, too. The recently added ESSID check may not be
11177 sufficient (we can remove it?). What we really want to catch is the
11178 case of going from all-zeros to the BSSID of some other network, which
11179 happens on failure.
11181 2006-06-09 Dan Williams <dcbw@redhat.com>
11183 * src/NetworkManagerSystem.[ch]
11184 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11185 it was unused and pointless
11186 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11187 fix for set_up_down_with_iface change
11189 * src/vpn-manager/nm-vpn-connection.c
11190 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11192 * src/backends/NetworkManagerPaldo.c
11193 src/backends/NetworkManagerRedHat.c
11194 src/backends/NetworkManagerSuSE.c
11195 src/backends/NetworkManagerArch.c
11196 src/backends/NetworkManagerDebian.c
11197 src/backends/NetworkManagerGentoo.c
11198 - (nm_system_enable_loopback): use set_up_down_with_iface where
11200 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11203 2006-06-09 Dan Williams <dcbw@redhat.com>
11205 Patch from Peter Jones:
11206 * src/nm-device-802-11-wireless.c
11207 - (nm_device_802_11_wireless_update_bssid): make sure that the
11208 SSID hasn't changed from what we expect before automatically
11209 updating the saved BSSID from a new AP
11211 2006-06-08 Robert Love <rml@novell.com>
11213 Add 'fallback' support. NetworkManager will attempt to brute-force
11214 connect to networks marked as fallback if there are no better wireless
11215 connections available. This is useful as a method of last resort, to
11216 work around driver problems, and for use with hidden networks.
11217 * gnome/applet/applet-dbus-devices.c,
11218 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11219 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11220 pass it on via DBUS.
11221 * gnome/applet/applet.c: No fallback by default.
11222 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11223 Update other-network-dialog to add UI checkbox toggling fallback.
11224 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11225 propery from AP object. Add "fallback" property to AP object.
11226 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11227 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11228 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11229 separate function. Add get_best_fallback_ap() for returning an AP
11230 on which to attempt fallback.
11231 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11232 * test/nm-set-fallback: New file. Sets a given network as fallback.
11234 2006-06-07 Robert Love <rml@novell.com>
11236 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11237 checked that the return type was GCONF_VALUE_STRING, not the correct
11238 GCONF_VALUE_BOOL, and thus it never worked.
11239 * src/NetworkManagerAPList.c: Before concluding that two networks are
11240 identical based on their BSSID, make sure that the BSSID in question
11241 is actually valid. Specifically, an empty or all zero BSSID does not
11243 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11244 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11245 similar invariant clean up.
11247 2006-06-02 Robert Love <rml@novell.com>
11249 * gnome/applet/applet.c: Update copyright years. Add Novell.
11251 2006-05-28 Dan Williams <dcbw@redhat.com>
11253 * gnome/applet/applet.glade
11254 gnome/vpn-properties/nm-vpn-properties.glade
11255 - Set window icons on dialogs (Gnome.org #333420)
11257 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
11259 * gnome/vpn-properties/nm-vpn-properties.glade:
11260 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11261 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11262 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11263 - Make the VPN properties pages prettier and more HIG
11264 compliant. Gnome Bug #336913.
11266 2006-05-28 Dan Williams <dcbw@redhat.com>
11268 Patch from Christian Persch <chpe@gnome.org>
11269 * gnome/vpn-properties/nm-vpn-properties.c
11270 * gnome/vpn-properties/nm-vpn-properties.glade
11271 - HIG-ification love (Gnome.org #336846)
11273 2006-05-28 Dan Williams <dcbw@redhat.com>
11275 Patch from Christian Persch <chpe@gnome.org>
11277 gnome/vpn-properties/nm-vpn-properties.c
11278 - (main): Fix option parsing. Gnome.org #336847
11280 2006-05-28 Dan Williams <dcbw@redhat.com>
11282 * gnome/vpn-properties/nm-vpn-properties.c
11283 - (find_vpn_ui_by_service_name): protect against NULL service names
11284 - (update_edit_del_sensitivity): protect against NULL service names
11287 2006-05-28 Dan Williams <dcbw@redhat.com>
11289 Patch from Chris Fuller <crf@grandecom.net>:
11290 * src/nm-device-802-11-wireless.c
11291 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11292 don't dispose of wireless-specific stuff unless it is actually
11293 initialized. Gnome.org #341263
11295 2006-05-28 Dan Williams <dcbw@redhat.com>
11297 * src/NetworkManagerPolicy.c
11298 - (nm_policy_device_change_check): don't switch devices if the "best"
11299 AP is essentially the same as the current activation request, but
11300 the current activation request isn't done activating yet. Fixes
11301 multiple requests for keyring password on startup for Gnome applet.
11304 2006-05-26 Nicolas Trangez <eikke@eikke.com>
11306 * src/NetworkManager.c: use GOptions instead of getopt
11307 * configure.in: bump glib required version to >= 2.6 for GOption
11310 2006-05-25 Robert Love <rml@novell.com>
11312 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11313 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
11314 instead of dumping ifdef's throughout the code.
11315 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11316 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11317 use nm_ioctl_info() in lieu.
11319 2006-05-25 Robert Love <rml@novell.com>
11321 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11322 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11323 not using gcrypt. Otherwise, we get a linker error.
11325 2006-05-25 Robert Love <rml@novell.com>
11327 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11328 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11329 configure flag to disable building of the GNOME-based applet.
11331 2006-05-25 Robert Love <rml@novell.com>
11333 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11334 parameter from link, because it shadows a global variable with some
11335 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
11336 should never have exported to the entire system a common four letter
11337 word. But we here at NetworkManager are team players. Fixes
11340 2006-05-25 Arangel Angov <ufo@linux.net.mk>
11342 * configure.in: Added mk.po, Macedonian translation.
11344 2006-05-24 Robert Love <rml@novell.com>
11346 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11347 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11348 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11350 2006-05-24 Robert Love <rml@novell.com>
11352 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11353 libnm-util/Makefile.am, src/Makefile.am,
11354 vpn-daemons/openvpn/auth-dialog/Makefile.am,
11355 vpn-daemons/openvpn/properties/Makefile.am,
11356 vpn-daemons/pptp/auth-dialog/Makefile.am,
11357 vpn-daemons/pptp/properties/Makefile.am,
11358 vpn-daemons/vpnc/auth-dialog/Makefile.am,
11359 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11360 user passed for --datadir, if anything, when setting the GNOME locale
11361 directory. It should be a function of the specified datadir and not
11364 2006-05-24 Robert Love <rml@novell.com>
11366 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11367 src/NetworkManager.c: Take care to call bindtextdomain with the
11368 location of msgid files.
11369 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11372 2006-05-22 Robert Love <rml@novell.com>
11374 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11375 stage4_timeout on failure unless the wireless network is Ad-Hoc.
11376 99% of the time there is a real problem with wireless, and a
11377 seemingly successful connection via Zeroconf just confuses the user.
11378 And that 1% of the time the network is probably Ad-Hoc, anyhow.
11380 2006-05-22 Robert Love <rml@novell.com>
11382 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11383 autofs on interface up if NIS is configured. On interface down, do
11386 2006-05-22 Robert Love <rml@novell.com>
11388 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11389 to avoid calling g_object_unref() on stale pointers on error in
11390 nma_icons_free(). This happens because we short-circuit loaded the
11391 icons on the first failure but then free all icons. Normally we have
11392 no issue because the icons were zero'ed out malloc, but we have stale
11393 pointer data after nma_icon_theme_changed().
11394 * gnome/applet/main.c: Return error code if nma_new() failed.
11396 2060-05-21 Dan Williams <dcbw@redhat.com>
11398 * initscript/NetworkManager.in
11399 - Ensure both dhcdbd and named are started before NM
11401 2006-05-21 Dan Williams <dcbw@redhat.com>
11404 - Bump version to 0.7 to signify we are in 0.7 development
11406 2006-05-21 Dan Williams <dcbw@redhat.com>
11408 Patch from Adam Schreiber <sadam@clemson.edu>
11409 * gnome/vpn-properties/nm-vpn-properties.c
11410 - (main): correct Gnome program name (gnome.org #342498)
11412 2006-05-21 Dan Williams <dcbw@redhat.com>
11414 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11416 * src/NetworkManagerDbus.[ch]
11417 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11418 clarify that function's argument should be an escaped dbus object
11419 path, and look for path segment end before returning a match
11420 * src/nm-dbus-nm.c:
11421 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11423 2006-05-17 Robert Love <rml@novell.com>
11425 Functionality to differentiate Ad-Hoc networks from infrastructure
11426 networks in the applet, by displaying a special icon:
11427 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11428 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11429 * gnome/applet/menu-items.c: Set a special icon in the scan list for
11430 ad-hoc networks. TODO: Add a third icon representing "encrypted and
11431 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
11432 networks, encrypted or not.
11433 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11434 accessor functions to get and set the mode of a given network,
11435 wireless_network_get_mode() and wireless_network_set_mode().
11437 2006-05-17 Robert Love <rml@novell.com>
11439 Functionality to automatically add BSSIDs to the allowed-MAC list as
11440 one roams from access point to access point on a given network:
11441 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11442 helper function to compare two ether_addr structures and return TRUE
11443 if they contain the same MAC address.
11444 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11446 * src/nm-device-802-11-wireless.c: New function to update the BSSID
11447 stored with the current AP. If the BSSID has indeed changed, we
11448 send it out to the applet, allowing the allowed-MAC list to grow
11449 automatically in response to roaming.
11451 2006-05-16 Robert Love <rml@novell.com>
11453 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11454 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11456 2006-05-13 Dan Williams <dcbw@redhat.com>
11458 * src/nm-device-802-3-ethernet.c
11459 - (real_get_generic_capabilities): Don't ignore devices that can't do
11460 carrier detect (Debian bug #366373)
11462 2006-05-11 Dan Williams <dcbw@redhat.com>
11464 Patch from Michael Biebl <biebl@teco.edu>
11465 * src/backends/NetworkManagerDebian.c
11466 - Debian backend fixups
11468 2006-05-10 Robert Love <rml@novell.com>
11470 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11472 2006-05-09 Robert Love <rml@novell.com>
11474 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11475 private certificate passphrase, if any, in the GNOME Keyring.
11476 * libnm-utils/dbus-helpers.c: Update.
11478 2006-05-05 Dan Williams <dcbw@redhat.com>
11480 * src/nm-device-802-11-wireless.c
11481 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11482 nm_device_802_11_wireless_disable_encryption() since that's all
11483 we use it for anymore; we don't ever set WEP keys ourselves.
11484 - (real_deactivate_quickly): reset SSID and encryption keys
11485 - (real_deactivate): move SSID and encryption key reset to
11486 real_deactivate_quickly(), which gets run before us anyway
11488 2006-05-05 Robert Love <rml@novell.com>
11490 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11491 root has a wacky default of its own (or, more common, a user has a
11492 bad umask and uses su/sudo to restart NetworkManager). Anything
11493 other than 0022 does not do what we want with, for example,
11494 resolv.conf. This problem is amplified by our judicious use of
11495 fopen(), which uses mode 0666 -- implying that the only way to get
11496 the permissions we want is with a umask of 0022.
11498 2006-05-05 Dan Williams <dcbw@redhat.com>
11500 * gnome/libnm_glib/libnm_glib.c
11501 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11502 to reconnect; instead wait a bit more with each reconnect attempt
11503 up to a max of one minute.
11505 2006-05-04 Ryan Lortie <desrt@desrt.ca>
11507 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11508 the WirelessNetwork structure using the proper function instead of
11509 just casting it directly to (const char *) (gnome.org #336991)
11511 2006-05-03 Robert Love <rml@novell.com>
11513 * src/backends/NetworkManagerSuSE.c: Respect the variable
11514 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11515 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11516 to dynamically update /etc/resolv.conf.
11518 2006-05-02 Peter Jones <pjones@redhat.com>
11520 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11522 2006-05-02 Robert Love <rml@novell.com>
11524 Patch by Timo Hoenig;
11525 * tests/nm-online.c: Print pretty status indicator as timeout winds
11526 down. Also fix possible race between DBUS startup and failure
11529 2006-05-01 Robert Love <rml@novell.com>
11531 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11534 2006-04-27 Jeremy Katz <katzj@redhat.com>
11536 * src/nm-device.c (discover_device_type): Actually use the hal
11537 device type instead of ioctl poking
11539 2006-04-26 Robert Love <rml@novell.com>
11541 * tests/nm-online.c: New file. Simple utility that returns exit status
11542 noting whether the connection is offline or online. If offline on
11543 start, it waits 30 seconds (or a command-line given value) for an
11544 online signal. If it times out, it again returns offline. This is
11545 useful for scripts that want to wait for network connections.
11547 2006-04-25 Robert Love <rml@novell.com>
11549 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11550 key mode (the authentication algorithm), e.g. open or shared, when we
11551 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
11552 only shared was broken. If the user specified a shared key, set it
11553 explicitly, otherwise let wpa_supplicant go with the default.
11555 2006-04-24 Dan Williams <dcbw@redhat.com>
11557 * src/nm-device-802-11-wireless.c
11558 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11560 2006-04-24 Dan Williams <dcbw@redhat.com>
11562 Commit the async scanning patch
11564 * src/nm-device-802-11-wireless.c
11565 - get rid of scan_mutex
11566 - (wireless_event_helper): act on wireless scan events
11567 - (real_start): schedule a pending scan
11568 - (link_to_specific_ap): fake the link to the AP during a scan
11569 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11570 strength during scans
11571 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11572 nm_device_set_bitrate): unused with new scanning code, disable
11573 - (nm_device_wireless_schedule_scan): removed
11574 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11575 - (request_and_convert_scan_results): new function; retrieve scan
11576 results from the driver and schedule the processing function
11577 - (scan_results_timeout): timeout triggered when card doesn't send
11578 a scan results wireless event during a certain interval
11579 - (schedule_scan_results_timeout): new function; schedule the scan
11581 - (cancel_scan_results_timeout): new function; cancel the scan
11583 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11584 to do the scanning. Otherwise, just request a scan but don't
11585 grab results here; instead schedule a timeout for scan results and
11586 let netlink notify us of scan completion events
11587 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11588 - (cancel_pending_scan): new function; cancel a pending wireless scan
11589 - (supplicant_status_cb): ignore disconnect events while scanning
11590 - (supplicant_exec): wait a bit longer for the supplicant to start up
11591 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11593 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11595 2006-04-24 Dan Williams <dcbw@redhat.com>
11597 * gnome/applet/applet-dbus.c
11598 - Disable the pending call debug stuff, seems under control now
11600 2006-04-20 Robert Love <rml@novell.com>
11602 Fix bug where hidden ESSID's would not show up in the applet, even
11603 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
11604 because nm_policy_device_list_update_from_allowed_list() would merge
11605 the data, putting a name to the hidden networks, but never notify NMI
11606 of the changes. Simple fix is to invoke the function
11607 nm_dbus_signal_wireless_network_change() if we make a mapping.
11608 * src/NetworkManagerAPList.c: Call the function
11609 nm_dbus_signal_wireless_network_change() if we made a successful
11610 BSSID to ESSID mapping, notifying the applet of the "new" network.
11611 * src/NetworkManagerAPList.h: Update the prototypes for both
11612 nm_ap_list_copy_essids_by_address() and
11613 nm_ap_list_copy_one_essid_by_address().
11615 2006-04-20 Robert Love <rml@novell.com>
11617 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11618 not set. Just return zero.
11620 2006-04-20 Robert Love <rml@novell.com>
11622 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11623 only one copy of nm-vpn-properties is running at a time via the 'ol
11624 X selection trick. This prevents the user from opening two "VPN
11625 Connections" windows from within the applet, which leads to mass
11627 * clipboard.c: New file, implementing simple X selection logic.
11628 * clipboard.h: New file.
11629 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11631 2006-04-18 Nicolas Trangez <eikke@eikke.com>
11633 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11635 initscript/Gentoo/Makefile.am
11636 initscript/Gentoo/NetworkManagerDispatcher.in
11638 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11641 2006-04-16 Dan Williams <dcbw@redhat.com>
11643 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11645 initscript/Slackware/Makefile.am
11646 initscript/Slackware/rc.networkmanager-dispatcher.in
11647 initscript/Slackware/rc.networkmanager.in
11648 - Update slackware initscripts
11650 2006-04-10 Robert Love <rml@novell.com>
11652 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11653 the "delete_event" signal on the druid's parent window and handle it
11654 our way, lest using the WM to close the druid results in a series of
11655 bloody and ultimately lethal errors.
11657 2006-04-10 Robert Love <rml@novell.com>
11659 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11660 'Back' too or else the 'Forward' option is initially disabled despite
11663 2006-04-06 Robert Love <rml@novell.com>
11665 Fix bad but simple bug where an active modem connection did not update
11666 NM's connection state, breaking any app that did online/offline:
11667 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
11668 represented whether a dial up connection is active, or not.
11669 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
11670 to modem activation and deactivation.
11671 * src/NetworkManagerDbus.c: When asked our state, do not return
11672 disconnected if the modem is active.
11674 2006-04-04 Robert Love <rml@novell.com>
11676 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
11677 applet. It just confuses the crap out of people and does not make a
11678 lot of sense, as the daemon still runs.
11680 2006-04-02 Tor Krill <tor@krill.nu>
11682 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
11683 in start of service.
11684 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
11685 get Archlinux backend up to date.
11687 2006-03-29 Robert Love <rml@novell.com>
11689 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
11690 to add support for per-route MSS and improve support for per-interface
11692 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
11693 optionally take an MSS parameter and set it for the given route.
11694 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
11695 NMIP4Config's stored MSS, if any.
11696 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
11697 the interface's MTU and the route's MSS, respectively. Add functions
11698 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
11699 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
11701 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
11702 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
11703 nm_ip4_config_set_mss.
11704 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
11706 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
11707 Change the retval of nm_system_get_mtu to guint32.
11708 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
11709 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
11710 servers can specify MTU's, we should set it here if the MTU was not
11713 2006-03-27 Jürg Billeter <j@bitron.ch>
11716 * initscript/Makefile.am:
11717 * initscript/paldo/Makefile.am:
11718 * initscript/paldo/NetworkManager.in:
11719 * initscript/paldo/NetworkManagerDispatcher.in:
11720 * src/backends/Makefile.am:
11721 * src/backends/NetworkManagerPaldo.c:
11722 - Add paldo support
11724 2006-03-27 Dan Williams <dcbw@redhat.com>
11726 Patch from Christian Persch <chpe@gnome.org>
11727 * gnome/applet/applet.glade
11728 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
11730 2006-03-27 Dan Williams <dcbw@redhat.com>
11732 Patch from Diffe <diffie@blazebox.homeip.net>
11733 * src/backends/NetworkManagerSlackware.c
11734 - Don't restart howl, since it's been replaced by Avahi
11735 in most distributions
11737 2006-03-27 Dan Williams <dcbw@redhat.com>
11739 Patch from Tor Krill <bugzilla@krill.nu>
11741 initscript/Makefile.am
11742 src/backends/Makefile.am
11743 src/backends/NetworkManagerArch.c
11744 initscript/Arch/Makefile.am
11745 initscript/Arch/networkmanager-dispatcher.in
11746 initscript/Arch/networkmanager.in
11747 - Add Arch Linux support, fixes gnome.org #335147
11749 2006-03-27 Dan Williams <dcbw@redhat.com>
11751 Patch from Diffe <diffie@blazebox.homeip.net>
11752 * initscript/Slackware/rc.networkmanager
11753 - update, fixed gnome.org #333368
11755 2006-03-27 Robert Love <rml@novell.com>
11757 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
11758 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
11760 2006-03-27 Robert Love <rml@novell.com>
11762 Patch by Jürg Billeter <j@bitron.ch>:
11763 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
11765 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
11766 as we prefer glibc over kernel headers, if possible.
11768 2006-03-27 Robert Love <rml@novell.com>
11770 Patch by Jon Escombe <list@dresco.co.uk>:
11771 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
11772 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
11773 fail, don't bail out. We don't expect all of the various WPA-EAP
11774 values to be present.
11775 * src/nm-ap-security.c: We need to match all capabilities for each
11776 encryption type, not any one of them.
11778 2006-03-27 Robert Love <rml@novell.com>
11780 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
11781 restart, not reload, ypbind. Unfortunately there is no superior
11784 2006-03-24 Christopher Aillon <caillon@redhat.com>
11786 * gnome/applet/applet-notifications.c:
11787 When displaying a notification, make sure to get rid of the
11788 previous notification so as to not have competing bubbles,
11789 and stop leaking the old one.
11791 * gnome/applet/applet.c:
11792 * gnome/applet/applet.h:
11793 Add a new 'notification' member to the applet, and zero it out
11794 and free it appropriately.
11796 2006-03-23 Robert Love <rml@novell.com>
11798 Patch by j <j@bootlab.org>:
11799 * gnome/applet/applet.glade: Don't set the invisible_char property,
11800 which simply overrides the GTK default. By and by, this behavior
11801 ought to be fixed in Glade.
11803 2006-03-22 Robert Love <rml@novell.com>
11805 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
11807 2006-03-22 Robert Love <rml@novell.com>
11809 Bug fix by Timo Hoenig <thoenig@suse.de>:
11810 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
11811 disconnect. Otherwise, we have the daemon surviving DBUS restarts
11812 and the applet going AWOL.
11814 2006-03-22 Robert Love <rml@novell.com>
11816 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
11817 preprocessor define and use it instead of open-coded the DHCP
11818 timeout, which is currently 25 seconds, everywhere.
11820 2006-03-22 Robert Love <rml@novell.com>
11822 Implement "Dynamic WEP", which is basically WPA authentication and WEP
11823 key exchange via WPA, ostensibly providing good security without
11824 requiring hardware that supports full WPA. Also, add UI elements to
11825 allow the user to select the pairwise & group cipher for WPA Enterprise
11827 * gnome/applet/applet.glade: Update glade file.
11828 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
11829 key type, too, to and from gconf.
11830 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
11831 wso_wpa_create_key_type_model(), noting whether we are handling PSK
11832 or EAP configuration, and in the latter case add in "Dynamic WEP" if
11833 the capabilities match.
11834 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
11836 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
11837 serialize from UI to DBUS.
11838 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
11840 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
11841 nmu_security_serialize_wpa_eap_with_cipher(), and
11842 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
11843 serialize/deserialize the key type via DBUS as the new third DBUS
11845 * libnm-util/dbus-helpers.h: Update prototypes.
11846 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
11847 too. If the key type is WEP104, do Dynamic WEP, which means
11848 "IEEE8021X" for "key_mgmt". Also add support for user-specified
11849 pairwise and group ciphers (fixes a FIXME).
11851 2006-03-21 Robert Love <rml@novell.com>
11853 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
11854 nm_system_get_mtu(), which returns a user-provided or system-mandated
11855 MTU value for a given device, if any, or zero if no such value
11856 exists. Add nm_system_set_mtu() to set the MTU for a given device
11857 if we have a provided value.
11858 * src/nm-device.c: Set the MTU of devices.
11859 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
11860 * src/backends/NetworkManagerDebian.c,
11861 src/backends/NetworkManagerGentoo.c,
11862 src/backends/NetworkManagerRedHat.c,
11863 src/backends/NetworkManagerSlackware.c: Implement stub functions.
11865 2006-03-21 Robert Love <rml@novell.com>
11867 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
11868 configuration file.
11870 2006-03-17 Robert Love <rml@novell.com>
11872 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
11873 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
11874 it, in case it is not running in the first place. We just want its
11875 configuration reloaded. Also, do not "rcypbind stop" on device down.
11877 2006-03-15 Robert Love <rml@novell.com>
11879 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
11880 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
11881 label "WEP 40/128-bit" is inconsistent because the physical key size
11882 is 40 or 104-bits, to which a 24-bit initialisation vector is
11883 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
11884 to read "40/104" or "64/128". I do not care much which, but most
11885 users think of "silver" and "gold" encryption as 64 and 128-bits, so
11886 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
11887 WEP passphrase support only handles 128-bit keys, and any future
11888 64-bit passphrase support will require a new option (no way to auto-
11889 detect the target key size), explicitly label our passphrase support
11890 "WEP 128-bit Passphrase".
11892 2006-03-15 Robert Love <rml@novell.com>
11894 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
11895 the system init scripts (or some other mechanism) starting it (or a
11896 compatible DBUS service) before NetworkManager runs. This means that
11897 distributions might need to update their init scripts. This fixes
11898 possible races and is quite a bit cleaner.
11899 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
11900 starting the NetworkManager daemon.
11903 2006-03-14 Robert Love <rml@novell.com>
11905 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
11906 before adding anything.
11908 2006-03-13 Robert Love <rml@novell.com>
11910 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
11911 widgets, too, if they exist, in case the user hit the back button.
11912 Fixes a bug where the details page contains the widgets of multiple
11913 VPN modules (Novell bug #157048).
11915 2006-03-13 Robert Love <rml@novell.com>
11917 Patch by Timo Hoenig <thoenig@suse.de>:
11918 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
11919 daemon survive DBUS restarts, too.
11921 2006-03-10 Robert Love <rml@novell.com>
11923 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
11925 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
11926 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
11927 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
11928 in response to "toggled" signal on new toggle.
11930 2006-03-10 Robert Love <rml@novell.com>
11932 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
11933 serialization if strings are NULL, lest DBUS get angry.
11935 2006-03-10 Robert Love <rml@novell.com>
11937 * src/nm-ap-security-wpa-eap.c: Don't log the password.
11939 2006-03-09 Robert Love <rml@novell.com>
11941 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
11944 2006-03-09 Dan Williams <dcbw@redhat.com>
11946 Track pending call requests in the applet, and report how many are
11947 outstanding, and how long each completed one takes.
11949 * gnome/applet/applet-dbus-devices.c
11950 gnome/applet/applet-dbus-vpn.c
11951 - Track pending calls
11953 * gnome/applet/applet-dbus.[ch]
11954 - Remove some unused enums
11955 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
11956 new functions to track dbus pending calls and spit out some
11957 statistics about them
11959 2006-03-09 Robert Love <rml@novell.com>
11961 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
11962 nm_ap_set_timestamp() take the second and micro-second parameters as
11963 direct arguments, which avoids both a dynamic memory allocation and a
11964 structure-to-structure copy! Add a new interface, the aptly named
11965 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
11966 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
11967 the return from nm_ap_get_timestamp(). New users should use the new
11968 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
11969 the extreme benefit to performance.
11970 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
11971 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
11973 2006-03-08 Robert Love <rml@novell.com>
11975 * gnome/applet/applet.glade: Hide the password entry text with
11978 2006-03-08 Robert Love <rml@novell.com>
11980 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
11981 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
11982 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
11983 a second argument, NMData.
11984 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
11985 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
11986 config files as trusted.
11988 2006-03-06 Robert Love <rml@novell.com>
11990 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
11991 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
11992 to exit the applet. As a sweet side-effect, idea courtesy of Chris
11993 Rivera, detect if the applet was auto-started. If so, ask the user
11994 if he or she would like to stop automatically running the applet on
11995 login. If so, disable autostart.
11997 2006-03-06 Robert Love <rml@novell.com>
11999 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
12000 directory in CFLAGS so developers can actually use NetworkManager.h.
12002 2006-03-06 Robert Love <rml@novell.com>
12004 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12005 open-coded integer constants. Add state_to_string() to map a given
12006 state to a textual description, and provide that when notifying of
12008 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12009 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
12010 this header directly, but it is currently not installed on most
12013 2006-03-05 Dan Williams <dcbw@redhat.com>
12015 Process netlink messages in device subclasses rather than in
12016 NetworkManager.c. Also add support for recognizing Wireless Events.
12019 - Find GLIB_GENMARSHAL
12022 - Since we're marshalling custom types for wireless event signals,
12023 we get to create our own marshallers using GLIB_GENMARSHAL
12025 * src/NetworkManager.c
12026 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12027 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12028 cut down somewhat. We no longer process signals here.
12029 - (nm_data_new): create the netlink monitor here, and remove a
12030 useless call to nm_policy_schedule_device_change_check()
12031 - (nm_data_free): get rid of the netlink monitor here
12032 - (nm_device_link_activated, nm_device_link_deactivated): removed
12033 - (main): don't create the netlink monitor here, let nm_data_new
12034 do that. Call nm_policy_schedule_device_change_check() right
12035 before we jump to the mainloop to figure out which device
12038 * src/NetworkManagerSystem.[ch]
12039 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12040 convert back and forth from interface names to interface
12043 * src/nm-device-802-11-wireless.c
12044 - (real_init): connect to wireless-event signals from the netlink
12046 - (nm_device_802_11_wireless_event): new function, schedule handler
12047 for wireless event signals from the netlink monitor object. We
12048 want the handler to run in the device's context
12049 - (wireless_event_helper): handle wireless-event signals from netlink
12050 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12053 * src/nm-device-802-11-wireless.h
12054 - remove unused prototype for nm_device_802_11_wireless_new
12056 * src/nm-device-802-3-ethernet.c
12057 - (real_init): new function; set up signal handlers for link events
12058 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12059 handler for netlink link activated events on device's main loop
12060 - (link_activated_helper): when we get a link activated event, set
12061 the device's link to be active
12062 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12063 handler for netlink link deactivated events on device's main loop
12064 - (link_deactivated_helper): when we get a link deactivated event, set
12065 the device's link to be inactive
12066 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12069 * src/nm-device-802-3-ethernet.h
12070 - remove unused prototype for nm_device_802_3_ethernet_new
12072 * src/nm-device.[ch]
12073 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12074 but locks the device list
12075 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12077 * src/nm-netlink-monitor.[ch]
12078 - (nm_netlink_monitor_class_install_signals): New signal
12080 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12082 - (nm_netlink_monitor_event_handler): expand for wireless events too
12084 * src/nm-marshal-main.c
12085 - Include generated nm-marshal.c and nm-marshal.h
12087 * src/nm-marshal.list
12088 - List of custom marshal functions
12090 2006-03-05 Dan Williams <dcbw@redhat.com>
12092 * gnome/applet/applet-notifications.h
12093 - Protect prototype of nma_send_event_notification() because it
12094 includes libnotify-specific types
12095 - Include libnotify/libnotify.h too, since we technically need it
12097 * gnome/applet/applet.c
12098 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12099 - (nma_show_vpn_login_banner_dialog): add some error checking
12101 2006-03-04 Dan Williams <dcbw@redhat.com>
12103 Clean up activation cancellation. Should be a lot faster now. Observed
12104 an issue with wireless devices between stage 2 and 3 of activation, where
12105 activation would be cancelled, but the device thread wouldn't notice until
12106 the supplicant association timed out. Reorganize activation such that
12107 a cancellation handler gets immediately scheduled in the device's thread,
12108 and devices have a chance to perform any custom cleanup too.
12110 * src/nm-device.[ch]
12111 - (activation_cancel_handler): new device-type-specific function
12112 for cleaning up device-type-specific stuff on cancellation
12113 - (cancel_activation): removed
12114 - (nm_device_activation_cancel): subsume functionality of
12115 real_cancel_activation, but instead of doing anything, punt
12116 operation to a handler that's run in device-thread context
12117 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12119 - (activation_handle_cancel_helper): cancellation handler run in
12120 device-thread context, calls device-type-specific cancelation,
12121 then tears down the activation request
12122 - (real_activation_cancel_handler): generic cancellation handler,
12123 deals with cancelling any in-process DHCP request
12124 - (nm_device_activate_stage1_device_prepare,
12125 nm_device_activate_stage2_device_config,
12126 nm_device_activate_stage3_ip_config_start,
12127 nm_device_activate_stage4_ip_config_get,
12128 nm_device_activate_stage4_ip_config_timeout,
12129 nm_device_activate_stage5_ip_commit): don't call
12130 nm_device_schedule_activation_handle_cancel() any more, since
12131 cancellation will have been already scheduled for us by
12132 nm_device_activation_cancel(). Just exit the function and
12133 assume that the cancel handler will be called next.
12135 * src/nm-device-802-3-ethernet.c
12136 - (real_act_stage2_config): remove; didn't do anything anyway
12138 * src/nm-device-802-11-wireless.c
12139 - (supplicant_status_cb): ensure we don't do anything if the activation
12141 - (real_activation_cancel_handler): implement; cancel user key request
12142 on activation cancellation
12144 2006-03-04 Dan Williams <dcbw@redhat.com>
12146 * src/nm-device-802-11-wireless.c
12147 - (supplicant_send_network_config): assume that drivers that don't
12148 support WPA pretty much suck, and can't handle NM scanning
12149 along with wpa_supplicant.
12151 2006-03-03 Robert Love <rml@novell.com>
12153 * configure.in: Bump version to 0.6.0.
12156 2006-03-03 Robert Love <rml@novell.com>
12158 * configure.in: Require DBUS 0.60 or later.
12160 2006-03-03 Dan Williams <dcbw@redhat.com>
12162 Fix a crash if an "Other wireless network" was chosen, failed, then
12163 chosen again from the applet's menu. If the other network wasn't
12164 noticed in a scan, it wouldn't have any capabilities, but would still
12165 be listed because the user forced the network. To fix this, we set
12166 sensible capabilities on the forced network, which will get overwritten
12167 with the correct ones if the network shows up later in a scan.
12169 * src/nm-ap-security.h
12170 - Add a new "get_default_capabilities_func" member to the
12173 * src/nm-ap-security.c
12174 - (nm_ap_security_get_default_capabilities): new function
12176 * src/nm-ap-security.c
12177 src/nm-ap-security-wep.c
12178 src/nm-ap-security-wpa-psk.c
12179 src/nm-ap-security-wpa-eap.c
12180 - Implement get_default_capabilities_func() for all, which
12181 uses the information contained in a specific NMAPSecurity
12182 object to determine default AP capabilites necessary
12183 to support that object
12185 As a secondary measure, we now prune artificial access points that fail
12186 to be activated right away. The thing failed, and we have no scan data for
12187 it, so it's pretty much useless since security information is only saved
12188 in the applets when a connection is successful.
12190 * src/NetworkManagerAPList.c
12191 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12192 not artificial. If we see it, it's no longer a figment of the
12193 user's imagination :)
12195 * src/NetworkManagerPolicy.c
12196 - (nm_policy_activation_failed): send along the failed AP if we
12199 * src/nm-device-802-11-wireless.c
12200 - (real_activation_failure_handler): remove artificial APs from
12201 the device list, because activation failed
12203 2006-03-02 Robert Love <rml@novell.com>
12205 Add support for retrieving both the per-device speed and the
12206 per-network maximum supported rate. Then change the getProperties
12207 DBUS API for both networks and devices to report this informaiton.
12208 Finally, display the information via both nm-applet and nm-tool:
12209 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12211 * gnome/applet/applet.c: Display the device's speed in the 'Connection
12212 Information' dialog.
12213 * gnome/applet/applet.glade: Update the UI to show per-device speed.
12214 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12215 network_device_get_speed() and network_device_set_speed() for
12216 retrieving and setting, respectively, a network device's current
12218 * src/nm-dbus-device.c: Send the device's speed on getProperties.
12219 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12220 in the function nm_device_802_11_wireless_get_bitrate() -- it does
12221 not matter (yet) what the units are, because we only feed it its own
12222 output. Implement SIOCGIRATE and set the per-network maximum
12223 supported rate during scanning.
12224 * src/nm-device-802-11-wireless.h: Export the function
12225 nm_device_802_11_wireless_get_bitrate().
12226 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12227 function nm_device_802_3_ethernet_get_speed() for returning an
12228 802.3's current speed, in Mb/s.
12229 * test/nm-tool.c: Display the per-device current speed, if available,
12230 and the per-network maximum rate.
12232 2006-03-02 Dan Williams <dcbw@redhat.com>
12234 * src/nm-device-802-11-wireless.c
12235 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12236 card when it gets initialized. Since devices don't get added to
12237 the scan list until they are initialized, this function wasn't
12238 setting the intitial scan interval correctly, and was leaving
12239 it at 0. This caused cards to get many scan requests in a short
12240 amount of time when they were initialized
12242 2006-03-02 Robert Love <rml@novell.com>
12244 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12245 active device. But do not do what we used to do and override the
12246 state, which caused the dreaded icon race of '05.
12248 2006-03-02 Robert Love <rml@novell.com>
12250 Commit Dan's update of my previous commit:
12251 * src/nm-device-802-11-wireless.c: Always set the mode, because the
12252 set_mode() function itself does the check. But do only set the
12253 frequency if in Ad-Hoc mode.
12255 2006-03-02 Robert Love <rml@novell.com>
12257 Patch by Brian Magnuson <magnuson@rcn.com>:
12258 * src/nm-device-802-11-wireless.c: During scanning, only set the
12259 wireless mode to infrastructure if it is not currently in
12260 infrastructure mode. For some driver, setting the mode is a costly
12261 operation, apparently.
12263 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
12265 * Makefile.am: use the correct dir for autostart mechanism.
12267 2006-02-28 Dan Williams <dcbw@redhat.com>
12269 Patch from Brian Magnuson <magnuson@rcn.com>
12270 * gnome/applet/applet.c
12271 - (nma_show_vpn_failure_dialog): fix errors left over from
12272 libnotify support changes
12274 2006-02-28 Dan Williams <dcbw@redhat.com>
12276 * src/vpn-manager/nm-vpn-act-request.[ch]
12277 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12279 - (nm_vpn_act_request_is_failed): new function; return whether or
12280 not the vpn activation request has failed
12282 * src/vpn-manager/nm-vpn-manager.c
12283 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12284 daemon to kill the connection when the activation request fails.
12285 Fixes issue where NM would get confused if the VPN activation
12286 request timed out, and would not allow further VPN connections
12289 2006-02-28 Dan Williams <dcbw@redhat.com>
12291 * gnome/applet/applet.c
12292 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12293 overlapping connection requests, disable all VPN menu items
12294 but the active VPN connection
12296 2006-02-28 Dan Williams <dcbw@redhat.com>
12298 * src/vpn-manager/nm-vpn-connection.c
12299 - (nm_vpn_connection_set_parent_device): fix C&P error which
12300 called g_object_unref() on the connection's parent device
12301 when it should have been ref-ed instead. Fixes crash with
12302 repeated vpn connect requests
12304 2006-02-28 Christopher Aillon <caillon@redhat.com>
12306 * gnome/applet/applet.glade:
12307 Mark a few strings non-translatable, since they shouldn't be.
12309 2006-02-28 Dan Williams <dcbw@redhat.com>
12311 * src/vpn-manager/nm-vpn-service.c
12312 - (nm_vpn_service_start_connection): if the vpn service daemon is
12313 already running, don't blindly ask it to connect, but wait until
12314 it's in the STOPPED state first. Fixes an assertion when user
12315 starts a second vpn connection without stopping the first.
12316 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12317 dbus service exists before continuing with the connection
12318 process, and reduce latency while waiting for it to become
12320 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12321 waiting for the vpn service daemon to become available
12322 - General log message cleanups; show progress via "Stage x of 4"
12323 rather than not telling anyone how many stages there are
12325 2006-02-28 Robert Love <rml@novell.com>
12327 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12328 * src/backends/NetworkManagerSuSE.c: Implement the interface
12329 nm_system_should_modify_resolv_conf() for SUSE.
12330 * src/backends/NetworkManagerDebian.c,
12331 src/backends/NetworkManagerGentoo.c,
12332 src/backends/NetworkManagerRedHat.c,
12333 src/backends/NetworkManagerSlackware.c: Add stub.
12334 * src/named-manager/Makefile.am: Grab includes from src.
12335 * src/named-manager/nm-named-manager.c: Allow backends to disable the
12336 automatic updating of resolv.conf. This is useful for testing,
12337 broken static configurations, and administrator lock-down.
12339 2006-02-28 Dan Williams <dcbw@redhat.com>
12341 * src/nm-device-802-11-wireless.c
12342 - Move all the wpa_supplicant-related management stuff into its
12343 own struct, just for oranization's sake
12344 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12345 to a GIOChannel/GSource
12346 - (supplicant_log_stdout): new function; grab output from the
12347 wpa_supplicant stdout pipe and write it to our logs.
12349 2006-02-27 Christopher Aillon <caillon@redhat.com>
12351 * src/nm-device-802-11-wireless.c:
12352 Err, fix thinko in my previous commit.
12354 2006-02-28 Robert Love <rml@novell.com>
12356 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12358 2006-02-28 Robert Love <rml@novell.com>
12360 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12361 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12362 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12363 deserializers are responsible for freeing the returned DBUS strings.
12365 2006-02-27 Christopher Aillon <caillon@redhat.com>
12367 * src/nm-device-802-11-wireless.c:
12368 The scan list is being pruned prematurely. We should prune after
12369 the device has gone MIA for three scans, not one. Split out the
12370 interval to realtime seconds function to better serve this.
12372 2006-02-27 Robert Love <rml@novell.com>
12374 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12375 Open the pid file O_TRUNC, so if it already exists we truncate it to
12376 zero length. Also, be more verbose about warnings generated during
12377 writing out the pid file. Finally, always write out the pid file if
12378 in daemon mode. Use "--pid-file" to override the default.
12380 2006-02-27 Robert Love <rml@novell.com>
12382 Patch by R. Vinay <rvinay@novell.com>:
12383 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12384 'last_attempt_success' when removing a VPN connection, too. (Fixes
12385 Novell bug #153628).
12387 2006-02-27 Robert Love <rml@novell.com>
12389 * gnome/applet/applet.glade: Set "activates_default" on passphrase
12390 entry so user can hit <ENTER> after entering passphrase (Novell bug
12393 2006-02-27 Dan Williams <dcbw@redhat.com>
12396 - Mass search/replace of:
12398 NMWirelessApplet -> NMApplet
12399 NM_*_WIRELESS_APPLET -> NM_*_APPLET
12400 (it ain't just for wireless anymore, ma!)
12401 - Fix duplicate function name printing when using nm_warning
12402 - wireless-applet.glade -> applet.glade
12404 2006-02-27 Dan Williams <dcbw@redhat.com>
12406 * dispatcher-daemon/NetworkManagerDispatcher.c
12407 - Accept --pid-file with a path to a pidfile, write it out on
12408 startup, and delete it on shutdown
12410 * src/NetworkManager.c
12411 - Accept --pid-file with a path to a pidfile, write it out on
12412 startup, and delete it on shutdown
12413 - Move nm_print_usage() lower
12415 * initscripts/RedHat/NetworkManager.in
12416 - Use new --pid-file option
12417 - Fix service stopping to wait a bit for NM to quit
12419 * initscripts/RedHat/NetworkManagerDispatcher.in
12420 - Use new --pid-file option
12422 2006-02-26 Dan Williams <dcbw@redhat.com>
12425 - make and install nm-crash-logger
12427 * src/nm-logging.[ch]
12428 - New files; consolidate logging and crash handling
12430 * src/nm-crash-logger.c
12432 - Standalong crashlogger for NM, grab a backtrace
12435 * src/NetworkManager.[ch]
12436 - Remove signal handling and put it into nm-logging.c
12438 2006-02-26 Dan Williams <dcbw@redhat.com>
12441 gnome/applet/Makefile.am
12442 - Conditionalize all the notify stuff
12444 Merge most of Chris Aillon's notification patch:
12446 * gnome/applet/applet-notifications.[ch]
12447 - New files; show a notification
12449 * gnome/applet/applet-dbus-devices.[ch]
12450 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12451 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12452 new functions, do the right thing when a device change occurs
12454 * gnome/applet/applet-dbus.c
12455 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12456 signals, so we can handle them specially
12458 * gnome/applet/applet.[ch]
12459 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12460 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12461 - (nmwa_notify_state): remove
12462 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12463 notification work is now done when the appropriate dbus signals
12465 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12466 defer execution of the notification/dialog stuff. That was an
12467 artifact of the previous multi-threaded nature of the applet
12468 and is now pointless.
12469 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12470 no longer needed. Function folded into applet-notifications.c
12472 * src/NetworkManagerPolicy.c
12473 - (nm_policy_activation_finish): send the AP along with the device
12474 status change signal, if the connection is wireless. Should
12475 fix the race where applet would show a connection to "unknown"
12477 2006-02-25 Robert Love <rml@novell.com>
12479 Add WPA Enterprise support:
12480 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12481 nm-gconf-wso-wpa-eap.h.
12482 * gnome/applet/nm-gconf-wso-wpa-eap.c,
12483 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
12484 serialization and deserialization.
12485 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12486 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12487 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12488 * gnome/applet/wireless-applet.glade: Add UI for configurating security
12489 settings related to WPA Enterprise.
12490 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12491 instantiate WPA Enterprise wireless-security-option.
12492 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12493 Implement WPA Enterprise wireless-security-option object.
12494 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12496 * libnm-util/cipher-wpa-psk-hex.c,
12497 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12498 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12499 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12500 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12501 including the cipher to DBUS method, and
12502 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12504 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12505 nm-ap-security-wpa-eap.h
12506 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12507 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12508 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12509 files. Implement NMAPSecurityWPA_EAP object.
12510 * src/nm-ap-security-wpa-psk.c: Cleanup.
12511 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12512 an NMAPSecurityWPA_EAP object via the method
12513 nm_ap_security_wpa_eap_new_deserialize().
12514 * src/nm-dbus-nm.c: Cleanup.
12515 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12516 WPA Enterprise support.
12518 2006-02-24 Robert Love <rml@novell.com>
12520 Patch from Timo Hoenig <thoenig@suse.de>:
12521 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12523 2006-02-24 Robert Love <rml@novell.com>
12525 Patch from Dan Winship <danw@novell.com>:
12526 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
12527 area to transparent.
12529 2006-02-21 Dan Williams <dcbw@redhat.com>
12531 * gnome/applet/applet.[ch]
12532 gnome/applet/applet-dbus.c
12533 - Implement notification support for VPN messages too
12535 2006-02-21 Dan Williams <dcbw@redhat.com>
12537 * gnome/applet/applet-dbus-info.c
12538 - Clean up warning messages to not double-print the function
12540 2006-02-21 Dan Williams <dcbw@redhat.com>
12542 * gnome/applet/applet-compat.c
12543 - (convert_one_entry): accept entries without a key_type and
12544 convert them to unencrypted networks
12546 2006-02-21 Dan Williams <dcbw@redhat.com>
12548 * gnome/libnm_glib/libnm_glib.c
12549 - Use __func__ everywhere we can
12551 - Use dbus pending calls rather than blocking
12552 - Reduce busywaits for our thread to start and stop
12553 (gnome.org #330562)
12554 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12555 stomp on others using the default shared dbus connection.
12556 Fixes #rh177546# and gnome.org #326572
12558 2006-02-21 Dan Williams <dcbw@redhat.com>
12560 Patch from Rodney Dawes <dobey@novell.com>
12562 gnome/applet/Makefile.am
12563 gnome/applet/applet.c
12564 - Add libnotify support if '--enable-notify=yes' is passed
12567 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
12569 * configure.in (ALL_LINGUAS): ko added. (Korean)
12571 2006-02-15 Robert Love <rml@novell.com>
12573 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12574 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12575 and WPA_SUPPLICANT_CONTROL_SOCKET.
12577 2006-02-15 Robert Love <rml@novell.com>
12579 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12580 information about what connection stage we are at, provide the total
12581 number of stages, e.g. "Stage 2 of 5", so users know how far along
12582 they are if they experience problems.
12584 2006-02-15 Robert Love <rml@novell.com>
12586 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12587 define to $sysconfdir.
12588 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12589 editing dialog, vpn_edit_widget, which fixes a bug where editing one
12590 type of VPN and then editing another results in a mangled dialog
12591 box containing the widgets from both VPNs (fixes Novell #150854).
12592 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12594 2006-02-14 Robert Love <rml@novell.com>
12596 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12597 syslog's file descriptor.
12599 2006-02-14 Robert Love <rml@novell.com>
12601 Fix bug around since the change to "deal with APs changing settings on
12602 us," checked in on the fifth of February in the year of the dog,
12603 wherein connecting to non-broadcast encrypted networks always fails
12604 because nm_ap_get_encrypted() always returns FALSE, even when the user
12605 provided a key, because the newly-created fake AP does not have any
12606 capabilities set, which is a sypmtom of security settings not matching
12607 capabilities (Novell bug #150784):
12608 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12609 nm_ap_add_capabilities_from_security(), which sets the given AP's
12610 capabilities off the given security settings. Also improve our
12611 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12612 NM_AUTH_CIPHER_AUTO.
12613 * src/nm-device-802-11-wireless.c: Call the function
12614 nm_ap_add_capabilities_from_security() to ensure that capabilities
12615 match newly updated security settings.
12617 2006-02-14 Robert Love <rml@novell.com>
12619 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12620 error as a string, not an integer, if possible; do not print the
12621 function name twice; always give the interface, if possible; misc.
12624 2006-02-12 Dan Williams <dcbw@redhat.com>
12626 Patch from Tom Parker <palfrey@tevp.net>
12627 * src/NetworkManagerSystem.h
12628 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12631 * src/backends/NetworkManagerDebian.c
12632 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12635 2006-02-12 Dan Williams <dcbw@redhat.com>
12637 * vpn-daemons/openvpn/intltool-extract.in
12638 vpn-daemons/openvpn/intltool-merge.in
12639 vpn-daemons/openvpn/intltool-update.in
12640 vpn-daemons/pptp/intltool-extract.in
12641 vpn-daemons/pptp/intltool-merge.in
12642 vpn-daemons/pptp/intltool-update.in
12643 - Remove from CVS, they should get created by intltoolize,
12646 2006-02-12 Dan Williams <dcbw@redhat.com>
12648 * vpn-daemons/pptp/src/pppd/patchlevel.h
12649 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12650 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12651 Makefile-defined VERSION
12653 2006-02-09 Dan Williams <dcbw@redhat.com>
12655 Patch from: Vinay A R <rvinay@novell.com>
12656 * src/vpn-manager/nm-vpn-act-request.[ch]
12657 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12658 IPSec VPNs require them for std gateway.
12659 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12660 and 'user_routes_count'
12661 - (nm_vpn_act_request_get_user_routes): new function; gets user
12662 defined routes from NMVPNActRequest object, returns the string
12665 * src/vpn-manager/nm-vpn-manager.[ch]
12666 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
12667 for 'user_routes' and 'user_routes_count'
12669 * src/vpn-manager/nm-dbus-vpn.c
12670 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
12671 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
12673 * src/vpn-manager/nm-vpn-service.c
12674 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
12677 Modifications by Dan:
12678 * src/vpn-manager/nm-vpn-service.c
12679 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
12682 * vpn-daemons/vpnc/src/nm-vpnc-service.c
12683 * vpn-daemons/pptp/src/nm-pptp-service.c
12684 * vpn-daemons/openvpn/src/nm-openvpn-service.c
12685 - Grab user routes from dbus message
12686 - Free all string arrays we got from dbus
12688 2006-02-07 Robert Love <rml@novell.com>
12690 Patch by Stefan Seyfried <seife@suse.de>:
12691 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
12693 2006-02-06 Robert Love <rml@novell.com>
12695 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
12697 2006-02-06 Robert Love <rml@novell.com>
12699 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
12700 test ">=" is never false. If no newline is found, we loop forever.
12701 We can just check for ">" because the following if() will see the
12702 zero-th argument if the while() gets that far.
12704 2006-02-05 Dan Williams <dcbw@redhat.com>
12706 Refine handling of non-broadcast networks.
12708 * src/NetworkManagerAPList.c
12709 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
12710 property from scanned AP to the AP from the device list
12712 * src/nm-device-802-11-wireless.c
12713 - (supplicant_send_network_config): use ap_scan=1 for all networks
12714 except non-SSID-broadcasting and Ad-Hoc networks. Use
12715 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
12716 networks since those don't have APs.
12717 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
12718 AP as non-SSID-broadcasting
12719 - (process_scan_results): don't handle non-SSID-broadcasting here
12721 2006-02-05 Dan Williams <dcbw@redhat.com>
12723 * src/nm-device-802-11-wireless.c
12724 - (get_supplicant_timeout): new function; return
12725 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
12726 14 channels. These are likely a/b/g cards, like Atheros, and
12727 slow as hell to scan.
12728 - (supplicant_timeout_cb, supplicant_monitor_start): use
12729 get_supplicant_timeout()
12731 2006-02-05 Dan Williams <dcbw@redhat.com>
12733 * src/dhcp-manager/nm-dhcp-manager.c
12734 - Loose a commit race with Robert; make sure size check
12735 uses size of DHCP_SERVICE_LEN, not hardcoded 15
12737 2006-02-05 Robert Love <rml@novell.com>
12739 Patch by Christoph Brill <chrisbrill@gmx.net>:
12740 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
12741 with DHCP_SERVICE_NAME.
12743 2006-02-05 Dan Williams <dcbw@redhat.com>
12745 Remove anything having to do with device_setup_func from the
12746 AP security objects, since it's no longer used.
12748 * src/nm-ap-security.h
12749 - Kill device_setup_func and nm_ap_security_device_setup()
12751 * src/nm-ap-security-wep.c
12752 src/nm-ap-security-wpa-psk.c
12753 - (real_device_setup): remove
12755 * src/nm-ap-security.c
12756 - (real_device_setup): remove
12757 - (nm_ap_security_device_setup): remove
12759 * src/nm-device-802-11-wireless.[ch]
12760 - (nm_device_802_11_wireless_set_wep_enc_key): make static
12761 - (set_wireless_config, wireless_configure_adhoc): remove; unused
12762 and done by wpa_supplicant now anyway
12764 2006-02-05 Dan Williams <dcbw@redhat.com>
12766 * src/nm-device-802-11-wireless.c
12767 - (ap_need_key, real_act_stage2_config): deal with APs changing
12768 settings on us. Previously NM would loop asking for the
12769 key but getting the same one back. Now, if the NMI-supplied
12770 cipher doesn't overlap with the scanned AP capabilities,
12771 we request a completely new key from the user.
12773 2006-02-05 Dan Williams <dcbw@redhat.com>
12775 * src/NetworkManagerUtils.c
12776 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
12777 Handle newline killing better
12779 2006-02-05 Dan Williams <dcbw@redhat.com>
12781 * gnome/applet/nm-gconf-wso.c
12782 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
12783 of unencrypted access point security info.
12785 2006-02-03 Robert Love <rml@novell.com>
12787 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
12788 user's encryption key, so we print the err_msg_cmd not the command,
12789 if available. So long as SUPPLICANT_DEBUG is default, this makes
12792 2006-02-03 Christopher Aillon <caillon@redhat.com>
12794 * initscript/RedHat/NetworkManagerDispatcher.in:
12795 * initscript/RedHat/NetworkManager.in: modify the pidfile location
12796 Patch from Dan Walsh <dwalsh@redhat.com>
12798 2006-02-03 Robert Love <rml@novell.com>
12800 * dispatcher-daemon/NetworkManagerDispatcher.c,
12801 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
12802 but use the sysconfdir.
12804 2006-02-03 Robert Love <rml@novell.com>
12806 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
12807 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
12809 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
12810 nm_ip4_config_get_hostname() and
12811 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
12812 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
12813 leak g_strdup() result.
12815 2006-02-03 Robert Love <rml@novell.com>
12817 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
12818 broadcast == TRUE. Also, copy broadcast and artificial properties
12819 from source network to destination in nm_ap_copy().
12820 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
12821 since we now default new networks to non-hidden.
12823 2006-02-03 Dan Williams <dcbw@redhat.com>
12825 * gnome/applet/main.c
12826 - (main): change the NEVER->ALWAYS so we start at the
12827 beginning of the session, if being session-managed
12829 2006-02-03 Dan Williams <dcbw@redhat.com>
12831 * gnome/applet/main.c
12832 - (main): in a variation on Robert's patch, change
12833 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
12836 2006-02-02 Robert Love <rml@novell.com>
12838 * src/Makefile.am: If we aren't going to create the run directory at,
12839 uh, run-time, create it during install. Then users just doing
12840 'make install' are cool, too. While we are here, create the
12841 dispatcher.d directory, too.
12842 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
12843 the exact run directory.
12844 * Makefile.am: Install nm-applet.desktop.
12846 2006-02-02 Robert Love <rml@novell.com>
12848 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
12849 structure, which denotes whether or not the AP is hidden. This is a
12850 superset of 'artificial' -- we need 'broadcast' because a hidden AP
12851 can show up in the scan list. Add nm_ap_get_broadcast() and
12852 nm_ap_set_broadcast() accessor interfaces.
12853 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
12854 nm_ap_set_broadcast().
12855 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
12856 "getProperties" method, which denotes whether or not the given
12858 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
12859 an artificial network. Set broadcast to TRUE when scanning returns
12860 an ESSID and FALSE when not.
12861 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
12862 from "getProperties" method on a network. Possible TODO is to
12863 somehow display this.
12864 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
12866 2006-02-02 Dan Williams <dcbw@redhat.com>
12868 * src/nm-device-802-11-wireless.c
12869 - (supplicant_interface_init): don't try to create
12870 /var/run/NetworkManager, since that should be done by
12871 the distro package. Causes problems for stuff like SELinux
12873 2006-02-02 Robert Love <rml@novell.com>
12875 Patch by Sureshkumar T <tsureshkumar@novell.com>:
12876 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
12877 Check for and handle empty string for iface.
12879 2006-02-01 Robert Love <rml@novell.com>
12881 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
12884 2006-01-31 Dan Williams <dcbw@redhat.com>
12886 * nm-applet.desktop
12887 - Add --sm-disable to Exec arguments, presuming that when
12888 using autostart, we don't want session management
12890 2006-01-31 Robert Love <rml@novell.com>
12892 * src/NetworkManagerAP.c: Add two new manufacturer default network
12893 names: linksys-a and linksys-g. These are found (at least) on the
12894 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
12897 2006-01-31 Robert Love <rml@novell.com>
12899 * src/NetworkManagerAP.c: Optimize the function
12900 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
12901 machine code. This is the first in a series of code tweaks aiming to
12902 generate better machine code and make NetworkManager all the better.
12903 Just kidding. Who has time to go through the assembly generated for
12904 every function? I certainly don't. I have a wife, a kid, a job,
12905 a mortgage, a mistress. But this function was so bad, I was called
12906 to arms. Like the book.
12908 2006-01-31 Robert Love <rml@novell.com>
12910 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
12911 AP is not broadcasting, to scan with probe request frames. Required
12912 for non-broadcast networks.
12914 2006-01-31 Robert Love <rml@novell.com>
12916 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
12917 preprocessor define (still 20s). Fix message text in nm_info()
12918 s/too too/took too/.
12920 2006-01-30 Dan Williams <dcbw@redhat.com>
12922 * src/nm-device-802-11-wireless.c
12923 - (supplicant_monitor_start): increase connect/auth timeout to
12924 20 seconds from 10 seconds
12926 2006-01-30 Dan Williams <dcbw@redhat.com>
12929 - Define LOCALSTATEDIR
12931 * src/nm-device-802-11-wireless.c
12932 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
12933 socket where we want it to
12935 * src/wpa_ctrl.[ch]
12936 - (wpa_ctrl_open): accept location to put local control socket
12938 2006-01-30 Robert Love <rml@novell.com>
12940 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
12941 get_ip4_string() for "domain_name".
12943 2006-01-30 Robert Love <rml@novell.com>
12945 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12946 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
12947 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
12948 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
12949 support for "Automatic" pairwise and group cipher configuration by
12950 letting wpa_supplicant handle the details. Add UI elements, new
12951 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
12952 charm. Note this does more than add a nice feature, it fixes a bug.
12953 Apparently, some people have AP's where the pairwise cipher does not
12954 match the group cipher. Insane, but true.
12956 2006-01-30 Dan Williams <dcbw@redhat.com>
12958 * gnome/applet/applet-dbus-devices.c
12959 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
12960 functions, grab device driver name from NetworkManager
12961 - (nmwa_dbus_device_properties_cb): call functions to get driver
12963 * gnome/applet/applet.c
12964 - (nmwa_update_info): show driver name in Connection Information
12967 * gnome/applet/nm-device.[ch]
12968 - (network_device_get_driver, network_device_set_driver): add
12969 accessors for driver name
12971 * gnome/applet/wireless-applet.glade
12972 - Add line for driver name to Connection Information dialog
12974 * src/nm-dbus-device.c
12975 - (nm_dbus_device_get_driver): new function to return driver name
12976 - (nm_dbus_device_methods): hook up driver name function to dbus
12979 - (get_driver_name): new function
12980 - (detail_device): grab and show driver name
12982 2006-01-30 Robert Love <rml@novell.com>
12984 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
12985 does not parse the markup if it is not part of the format.
12987 2006-01-30 Robert Love <rml@novell.com>
12989 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
12990 FALSE, we have no security options for this dialog, so we throw up
12991 an error dialog instead of a broken passphrase dialog. Fixes
12993 * gnome/applet/wireless-security-manager.c,
12994 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
12995 does not add any security options, not even NONE, print a warning
12996 and return FALSE. This let's functions constructing a dialog bail
12997 out if the device's capabilities and the network's requirements have
13000 2006-01-27 Robert Love <rml@novell.com>
13002 * configure.in: Require wpa_supplicant. Detect location of binary and
13003 use it. Override with "--with-wpa_supplicant=foo".
13004 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13005 path to wpa_supplicant but use the auto-detected or user-provided
13006 value from configure.
13008 2006-01-27 Robert Love <rml@novell.com>
13010 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13011 but the DHCP server did not return a hostname, try to look up our
13012 name via DNS and set the system hostname to that.
13014 2006-01-27 Dan Williams <dcbw@redhat.com>
13016 * src/backends/NetworkManagerRedHat.c
13017 - Add NM_CONTROLLED system network script support for RH/Fedora
13019 2006-01-27 Dan Williams <dcbw@redhat.com>
13021 * src/backends/NetworkManagerGentoo.c
13022 - (nm_system_device_get_disabled): add missing function.
13025 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
13027 * configure.in: Added vi in ALL_LINGUAS line.
13029 2006-01-26 Robert Love <rml@novell.com>
13031 * src/Makefile.am, src/kernel-types.h: Now that two different source
13032 files are feeling the crack-addled leakage of kernel types such as
13033 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13034 types in user-space -- define a header and include it as needed.
13035 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13036 * src/nm-device-802-3-ethernet.h: Remove defines.
13037 * src/wpa.c: Remove defines and include kernel-types.h.
13039 2006-01-26 Robert Love <rml@novell.com>
13041 * TODO: Update. WPA support is in the bag and HAL restarts (should)
13044 2006-01-26 Robert Love <rml@novell.com>
13046 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13047 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13048 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13049 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13050 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13051 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13052 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13053 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13054 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13055 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13056 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13057 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13058 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13059 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13060 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13061 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13062 Kill unused variables, labels, and static functions. Don't pass
13063 string literals as the format string for printf-like functions.
13065 2006-01-25 Dan Williams <dcbw@redhat.com>
13067 * gnome/applet/wireless-applet.glade
13068 - Remove WPA2 Checkbox
13070 * gnome/applet/wireless-security-manager.c
13071 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13072 This means the Wireless Security menu now has two WPA options,
13073 one for "WPA Personal" and one for "WPA2 Personal"
13075 * gnome/applet/wso-wpa-psk.[ch]
13076 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13077 'wpa2' argument to determine WPA version to use
13078 - (append_dbus_params_func): pass stored WPA version to cipher
13079 rather than using the (removed) checkbox
13081 2006-01-24 Robert Love <rml@novell.com>
13083 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13084 before we g_strdup(), not the ultimate string.
13086 2006-01-23 Dan Williams <dcbw@redhat.com>
13088 * src/NetworkManagerAP.[ch]
13089 - (nm_ap_new_from_ap): copy original essid too
13090 - (nm_ap_unref): free original essid
13091 - (nm_ap_get_orig_essid): new function
13092 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13093 but keep original essid around too
13095 * src/nm-device-802-11-wireless.c
13096 - (supplicant_send_network_config): send wpa_supplicant the
13097 _original_ essid, and not as a string, but in hex. Should
13098 allow us to connect to more APs that use wierd character
13099 encodings for their essids
13101 * utils/nm-utils.[ch]
13102 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13103 to UTF-8. If it's not already valid UTF-8, we check LANG and
13104 use the current locale as a hint for what encoding the essid
13105 might be in. Obviously not 100% accurate, but the idea here is
13106 that if a user's locale is ex. ja_JP, they are more likely than
13107 not to be in Japan, where access points will likely be in some
13110 2006-01-23 Dan Williams <dcbw@redhat.com>
13112 * libnm-util/cipher-private.h
13113 libnm-util/cipher.c
13114 libnm-util/cipher.h
13115 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13117 2006-01-23 Robert Love <rml@novell.com>
13119 Patch by Timo Hoenig <thoenig@suse.de>:
13120 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13121 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13122 by DHCP and pass it to the backends, allowing distribution-specific
13123 behavior with respect to the DHCP-supplied hostname (if nothing else,
13124 some distributions might not want to set the hostname).
13125 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13126 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13127 Also update our NIS behavior.
13128 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13129 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13130 Add stub functions.
13132 2006-01-23 Robert Love <rml@novell.com>
13134 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13135 gnome-session does autostart. TODO: We need to install this to
13136 $prefix/share/autostart/.
13138 2006-01-22 Dan Williams <dcbw@redhat.com>
13140 * src/NetworkManagerAP.[ch]
13142 src/nm-device-802-11-wireless.c
13143 - Make nm_ap_get_essid return "const char *"
13145 2006-01-22 Dan Williams <dcbw@redhat.com>
13147 * src/NetworkManagerAP.[ch]
13148 - (nm_ap_get_matched, nm_ap_set_matched): remove
13150 * src/NetworkManagerAPList.[ch]
13151 - (nm_ap_list_diff): removed
13152 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13153 deal with access points changing essids on us
13155 * src/nm-device-802-11-wireless.c
13156 - (add_new_ap_to_device_list): move AP dbus signal logic to
13157 src/NetworkManagerAPList.c
13158 - (real_can_interrupt_activation): new function; allow interruption
13159 of device activation if we are waiting for a network key
13161 * src/NetworkManagerPolicy.c
13162 - (nm_policy_device_change_check): allow interruption of currently
13163 activating devices if the device allows it. Previous behavior
13164 would refuse to activate a just-plugged wired device if a
13165 wireless device was waiting for a key.
13167 * src/nm-device.[ch]
13168 - (nm_device_can_interrupt_activation): new function; ask devices
13169 whether their activation can be interrupted
13171 2006-01-20 Robert Love <rml@novell.com>
13173 * Makefile.am, configure.in: Add new man subdirectory.
13174 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13175 man/Makefile.am: Add man pages for NetworkManager and its
13176 crime-solving bumbling buddy, NetworkManagerDispatcher.
13177 * man/.cvsignore: Add.
13178 * initscript/Debian/NetworkManager,
13179 initscript/Gentoo/NetworkManager.in,
13180 initscript/RedHat/NetworkManager.in,
13181 initscript/RedHat/NetworkManagerDispatcher.in,
13182 initscript/SUSE/networkmanager-dispatcher.in,
13183 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13185 2006-01-20 Robert Love <rml@novell.com>
13187 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13188 instead of queuing. This prevents the running of multiple NM
13189 daemons concurrently, which does not work whatsoever and results in
13190 neither daemon working correctly. Also, we don't handle queuing and
13191 name-owner-changes, anyhow.
13193 2006-01-20 Robert Love <rml@novell.com>
13195 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13196 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13199 2006-01-19 Robert Love <rml@novell.com>
13201 * configure.in: Require hal 0.5.0 or later.
13203 2006-01-18 Robert Love <rml@novell.com>
13205 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13206 Allow backends to flag a device (in whatever distro-dependent way
13207 they so desire) as disabled. NM will ignore any such device.
13208 * src/backends/NetworkManagerDebian.c,
13209 src/backends/NetworkManagerRedHat.c,
13210 src/backends/NetworkManagerSlackware.c: Add stub function
13211 nm_system_device_get_disabled() that always returns FALSE (enabled).
13212 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13213 SUSE-specific configuration structure. Fill it in from the
13214 NM_CONTROLLED variable in the system networking scripts. If this var
13215 exists and is "no", we ignore the device.
13217 2006-01-17 Robert Love <rml@novell.com>
13219 * configure.in: Remove 'no' language. Replaced by 'nb', which is
13220 identical for NM. For a full discussion, see the thread at
13221 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13223 2006-01-17 Dan Williams <dcbw@redhat.com>
13226 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13227 function. Fixes crash when wired DHCP fails.
13229 2006-01-16 Robert Love <rml@novell.com>
13231 * src/Makefile.am: Don't install NMLoadModules
13232 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13233 from src/ to test/ as no one uses it anymore. Note that I would be
13234 fine with removing it altogether.
13236 2006-01-16 Robert Love <rml@novell.com>
13238 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13239 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13240 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13241 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13242 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13243 src/nm-netlink-monitor.c: Don't miss any initializers on structure
13244 declarations, ever.
13245 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13246 NM_STATE_DISCONNECTED is zero).
13248 2006-01-16 Robert Love <rml@novell.com>
13250 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
13251 uninitialized parameter and buffer overflow. Novell #143496.
13253 2006-01-16 Dan Williams <dcbw@redhat.com>
13255 Apply the PtP Address bits of a patch from Tim Niemueller
13257 * src/nm-ip4-config.[ch]
13258 - Add ip4_ptp_address member to object
13259 - (nm_ip4_config_copy): copy ptp address too
13260 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13262 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13263 rather than local tunnel ip address
13265 * src/vpn-manager/nm-vpn-service.c
13266 - (print_vpn_config): update for PtP address
13267 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13268 DBusMessageIters in preparation for getting routes from the VPN
13269 service daemons too
13271 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13272 - (send_config_info): update for PtP address, clean up code
13273 - (main): update for PtP address, clean up code, fix typo
13275 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13276 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13278 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13279 - (pptp_ip_up): update for PtP address
13281 * vpn-daemons/pptp/src/nm-pptp-service.c
13282 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13284 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13285 - (print_vpn_config): update for PtP address
13286 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13288 2006-01-16 Dan Williams <dcbw@redhat.com>
13290 * gnome/applet/applet.c
13291 - (nmwa_add_networks_helper): don't indicate an active network
13292 if NM is disconnected or asleep
13294 2006-01-16 Dan Williams <dcbw@redhat.com>
13296 * src/NetworkManagerPolicy.c
13297 - (nm_policy_device_change_check): switch devices if we lose the link
13298 on an ethernet device.
13300 2006-01-16 Dan Williams <dcbw@redhat.com>
13302 * gnome/applet/wso-wpa-psk-hex.[ch]
13303 - Renamed -> wso-wpa-psk.[ch]
13305 * gnome/applet/wso-wpa-psk.[ch]
13308 * gnome/applet/wso-wpa-psk-passphrase.[ch]
13309 - Removed, rolled into wso-wpa-psk.[ch]
13311 * gnome/applet/Makefile.am
13312 - Updated for above changes
13314 * gnome/applet/wireless-applet.glade
13315 - Consolidate WPA-PSK options into one notebook
13316 widget, and make dialogs invisible by default
13317 to fix screen oddities
13319 * gnome/applet/wireless-security-manager.c
13320 - (wsm_set_capabilities): create the new wpa-psk widget rather
13321 than both the old hex & passphrase ones
13323 2006-01-16 Dan Williams <dcbw@redhat.com>
13325 * gnome/applet/other-network-dialog.c
13326 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13328 2006-01-16 Dan Williams <dcbw@redhat.com>
13330 * gnome/applet/applet.c
13331 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13332 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13333 prevention to realize window before trying to get server
13336 * gnome/applet/other-network-dialog.c
13337 - (nmwa_other_network_dialog_run): fix up focus-stealing
13338 prevention to realize window before trying to get server
13341 * gnome/applet/passphrase-dialog.c
13342 - (nmi_passphrase_dialog_new): fix up focus-stealing
13343 prevention to realize window before trying to get server
13346 2006-01-16 Robert Love <rml@novell.com>
13348 Patch from Timo Hoenig <thoenig@suse.de:
13349 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13350 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13351 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13352 libnm-util/dbus-helpers.h: add checks whether headers are used
13353 within a C++ build.
13355 2006-01-16 Dan Williams <dcbw@redhat.com>
13357 * gnome/applet/wireless-security-option.c
13358 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13360 2006-01-16 Dan Williams <dcbw@redhat.com>
13362 * libnm-util/cipher-wpa-psk-passphrase.c
13363 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13364 be 8 - 63 characters inclusive
13366 2006-01-16 Dan Williams <dcbw@redhat.com>
13369 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13371 2006-01-13 Robert Love <rml@novell.com>
13373 Patch by T Sureshkumar <tsureshkuman@novell.com>:
13374 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13375 modules that do not use an interface.
13377 2006-01-13 Dan Williams <dcbw@redhat.com>
13381 - Allow subclasses to implement deactivate_quickly()
13382 - (nm_device_deactivate_quickly): call subclass
13383 deactivate_quickly() methods
13384 - (nm_device_set_active_link): small cleanups, and don't
13385 deactivate the device right away because we risk a deadlock
13386 when called from device thread, waiting for the device
13387 thread to cancel activation
13389 * src/nm-device-802-11-wireless.c
13390 - (real_deactivate_quickly): new function
13391 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13392 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13393 so that we kill the supplicant when we sleep too
13394 - (supplicant_interface_init): work around naive naming attempts of
13395 wpa_ctrl when naming sockets
13397 2006-01-13 Dan Williams <dcbw@redhat.com>
13399 * src/nm-device-802-11-wireless.c
13400 - (supplicant_cleanup): delete old device control sockets too
13401 - (supplicant_get_device_socket_path): new function to consolidate
13402 locations that need a path to a device's control socket
13404 2006-01-12 Robert Love <rml@novell.com>
13406 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13407 description so that the description is unique for each
13408 pair (device,provider). Fixes Novell #142773.
13410 2006-01-12 Dan Williams <dcbw@redhat.com>
13412 * src/nm-device-802-11-wireless.c
13413 - (supplicant_exec): ensure GError is correctly initialized
13414 Reported by Diego González (gnome.org #326708)
13416 2006-01-11 Robert Love <rml@novell.com>
13418 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13419 define if_mii(), open code the same results, and do so without any
13422 2006-01-11 Robert Love <rml@novell.com>
13424 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13425 that wso_foo_new() returned non-NULL. Instead, only append the new
13426 wso to wsm->options if the wso is non-NULL. The crux is that we
13427 assume that the relevant key types are implied by WEP and WPA as
13428 appropriate. To be sure, they should be, but we should not expect
13429 drivers to not be oozing piles of wolf fecal matter.
13431 2006-01-11 Robert Love <rml@novell.com>
13433 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13434 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13435 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13436 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13437 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13438 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13439 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13440 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13441 comparing values within DBL_EPSILON. Also fix shadowed variable
13444 2006-01-11 Dan Williams <dcbw@redhat.com>
13446 Add options for WPA2 and WPA1+CCMP (AES).
13448 * gnome/applet/wireless-applet.glade
13449 - Add UI bits for WPA+CCMP
13451 * gnome/applet/other-network-dialog.c
13452 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13453 and don't allow creation of WPA2 Ad-Hoc networks since
13454 wpa_supplicant doesn't support them
13456 * gnome/applet/wireless-security-manager.c
13457 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13458 on to the specific wireless security option being created
13460 * gnome/applet/wireless-security-option.[ch]
13461 - (wso_wpa_create_key_type_model): new utility function to create
13462 the model required for WPA Key Type combo box
13464 * gnome/applet/wso-private.h
13465 gnome/applet/wireless-security-option.h
13466 - Move private function prototypes into wso-private.h
13468 * gnome/applet/wso-wpa-psk-hex.[ch]
13469 gnome/applet/wso-wpa-psk-passphrase.[ch]
13470 - (append_dbus_params_func): get WPA version from checkbox and pass
13471 it to the dbus serialization helper
13472 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13473 key type combo changes
13474 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13477 * libnm-util/cipher-wpa-psk-hex.c
13478 libnm-util/cipher-wpa-psk-passphrase.c
13479 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13480 new function; allow the cipher to be changed after object creation
13482 * src/nm-ap-security-wpa-psk.c
13483 - (set_description): Do WPA2 descriptions too
13485 * src/nm-ap-security.c
13486 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13488 2006-01-11 Robert Love <rml@novell.com>
13490 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13491 is defined in <linux/mii.h> to return the mii_ioctl_data structure
13492 from the ifreq structure in lieu of an open coded solution. Removes
13493 a life-threatening type-punning.
13494 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13495 types, ever, whatsoever, baby.
13497 2006-01-11 Robert Love <rml@novell.com>
13499 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13500 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13501 assignments to applet->nm_state into a new nmwa_set_state() function
13502 for both cleanliness and to help debugging.
13504 2006-01-10 Robert Love <rml@novell.com>
13506 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
13507 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13508 seconds, exclusive. That is, we want to sleep x seconds such that
13511 2006-01-10 Robert Love <rml@novell.com>
13513 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13514 the attr fields according to the example in the email available at
13515 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13516 Conversely, we do have to free 'name', so we do so, fixing a leak.
13518 2006-01-10 Robert Love <rml@novell.com>
13520 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13521 sure that we close the socket!
13523 2006-01-10 Robert Love <rml@novell.com>
13525 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13526 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13527 src/nm-device.c: Fix a FIXME! Reimplement the function
13528 nm_device_update_hw_address() in device subclass variants,
13529 nm_device_802_3_ethernet_set_address() and
13530 nm_device_802_11_wireless_set_address(), hook them up, and use them.
13531 This fixes the existing bug where MAC addresses are all zeros.
13533 2006-01-10 Robert Love <rml@novell.com>
13535 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13536 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13537 option to give users ability to globally disconnect and put NM to
13538 sleep. This is useful as a 'lockdown mode' for flying, security, and
13541 2006-01-09 Robert Love <rml@novell.com>
13543 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
13544 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13545 User-space does not supply these types, so we have to define them
13546 ourselves. The relevant kernel maintainer refused to accept a patch
13547 switching these headers to the proper C99 types.
13549 2006-01-09 Dan Williams <dcbw@redhat.com>
13551 Apply Robert's 'tray icon redo' patch with fixes
13552 * gnome/applet/applet.c
13553 gnome/applet/applet.h
13554 - Instead of using a menu bar + menu item, simulate menu
13555 behavior using a popup menu. Highlight the area around
13556 the icon more like a menu too, by playing with the
13557 applet's size requisition
13559 2006-01-09 Timo Hoenig <thoenig@suse.de>
13560 * libnm-util/dbus-helpers.c
13561 libnm-util/dbus-helpers.h
13562 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13563 to 'exception_namespace' (:namespace is a keyword in
13566 2006-01-09 Dan Williams <dcbw@redhat.com>
13568 * src/NetworkManagerPolicy.c
13569 - (nm_policy_device_change_check): don't autoswitch away from
13570 Ad-Hoc networks, since there's really no concept of
13574 - (nm_dbus_nm_create_wireless_network): mark created networks
13577 * src/nm-device-802-11-wireless.c
13578 - (real_activation_success_handler): add user-created Ad-Hoc
13579 networks to the device's scan list
13581 2006-01-08 Dan Williams <dcbw@redhat.com>
13583 We now require a patch for wpa_supplicant to support Ad-Hoc
13585 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13587 * src/nm-device-802-11-wireless.c
13588 - (supplicant_send_network_config): turn off wpa_supplicant's
13589 scanning. Fixes Ad-Hoc networks.
13591 2006-01-08 Dan Williams <dcbw@redhat.com>
13593 * src/nm-ap-security.c
13594 src/nm-ap-security.h
13595 - Add a user_created argument to the write_supplicant_config
13598 * src/nm-ap-security-wep.c
13599 src/nm-ap-security-wpa-psk.c
13600 src/nm-device-802-11-wireless.c
13601 - Make Ad-Hoc mode somewhat work, at least write the
13602 correct options to wpa_supplicant
13604 2006-01-08 Dan Williams <dcbw@redhat.com>
13606 * src/nm-device-802-11-wireless.c
13607 - Remove unused code from the old device activation path
13609 2006-01-08 Dan Williams <dcbw@redhat.com>
13611 * libnm-util/dbus-helpers.c
13612 - (nmu_security_serialize_wpa_psk): pass a blank key through
13613 dbus when key == NULL
13615 2006-01-08 Dan Williams <dcbw@redhat.com>
13617 * gnome/applet/nm-gconf-wso-wpa-psk.c
13618 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13619 correct arguments to nmu_security_deserialize_wpa_psk()
13621 * src/nm-ap-security-wpa-psk.c
13622 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13623 arguments to nmu_security_deserialize_wpa_psk()
13625 2006-01-08 Dan Williams <dcbw@redhat.com>
13627 * gnome/applet/wso-wpa-psk-hex.c
13628 gnome/applet/wso-wpa-psk-passphrase.c
13629 - Hook up the append_dbus_params_func() function
13631 2006-01-08 Dan Williams <dcbw@redhat.com>
13633 * src/nm-device-802-11-wireless.c
13634 - (get_wireless_capabilities): correctly detect driver WPA
13637 2006-01-08 Dan Williams <dcbw@redhat.com>
13639 * gnome/applet/Makefile.am
13640 gnome/applet/wso-wpa-psk-hex.c
13641 gnome/applet/wso-wpa-psk-hex.h
13642 - New files, implement WPA-PSK Hex key input
13644 * gnome/applet/wireless-applet.glade
13645 - Change existing wpa-psk stuff to wpa-psk-hex
13646 - Add new widgets for wpa-psk-passphrase
13648 * gnome/applet/wireless-security-manager.c
13649 - (wsm_set_capabilities): enable WPA options
13651 * gnome/applet/wso-wpa-psk-passphrase.c
13652 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13653 for WPA-PSK passphrase
13655 2006-01-08 Dan Williams <dcbw@redhat.com>
13657 * include/NetworkManager.h
13658 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13659 applet/info-daemons
13661 * gnome/applet/passphrase-dialog.c
13662 - Use the constant. Fixes a bug where the arguments to
13663 dbus_message_new_error() were incorrect
13665 * src/nm-dbus-nmi.c
13668 2006-01-07 Dan Williams <dcbw@redhat.com>
13670 * src/nm-device-802-11-wireless.c
13671 - Add a link timeout so we allow the supplicant time to
13672 reassociate if it can, before we deactivate the card
13673 - Fix up link status and link updating so things work better
13675 2006-01-07 Dan Williams <dcbw@redhat.com>
13677 * src/nm-device-802-11-wireless.c
13678 - Switch over to using wpa_supplicant
13679 - Add a timeout of 10s for association of the supplicant
13680 - Start the monitor callback of the supplicant
13682 2006-01-07 Dan Williams <dcbw@redhat.com>
13684 * src/NetworkManagerUtils.c
13685 - (nm_utils_supplicant_request,
13686 nm_utils_supplicant_request_with_check):
13687 pass correct buffer length to wpa_ctrl_request()
13689 2006-01-07 Dan Williams <dcbw@redhat.com>
13691 * src/nm-device-private.h
13693 - (nm_device_activate_schedule_stage3_ip_config_start): make
13694 this function available to subclasses
13696 2006-01-06 Robert Love <rml@novell.com>
13698 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
13699 user plugging in a network cable signals their preference for to
13700 switch, unless the user explicitly selected a wireless network and
13701 therefore signaled their preference for said wireless network over
13702 wired. In other words, do exactly what makes sense.
13704 2006-01-06 Robert Love <rml@novell.com>
13706 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
13707 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
13708 src/NetworkManagerWireless.h: Remove, no longer used and they keep
13709 showing up in my greps.
13711 2006-01-06 Robert Love <rml@novell.com>
13713 * gnome/applet/applet-dbus-devices.c,
13714 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
13715 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
13716 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
13717 New Network' both failed in the non-encrypted case because we were
13718 not appending the security options to the DBUS message. And
13719 'Connect to Other' was also failing in the encrypted case because
13720 we were not incrementing to the next DBUS parameter. All fixed.
13721 Thanks to dcdw for some debugging help.
13723 2006-01-06 Robert Love <rml@novell.com>
13725 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
13726 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
13727 hangup code and add per-device hangup. Tie last commit into the
13728 GNOME applet. TODO: Save, understand, and respond to the state of
13729 each dialup device.
13731 2006-01-06 Robert Love <rml@novell.com>
13733 Patch by Timo Hoenig <thoenig@suse.de>:
13734 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
13735 hangup specific dialup devices.
13736 * src/backends/NetworkManagerDebian.c,
13737 src/backends/NetworkManagerGentoo.c,
13738 src/backends/NetworkManagerRedHat.c,
13739 src/backends/NetworkManagerSlackware.c: Add stub backend.
13740 * src/backends/NetworkManagerRedHat.c,
13741 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
13742 hangup specific dialup devices.
13744 2006-01-04 Robert Love <rml@novell.com>
13746 * gnome/applet/applet-dbus-devices.c,
13747 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
13748 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
13751 2006-01-04 Dan Williams <dcbw@redhat.com>
13753 First dump of wpa_supplicant-related code. It's not hooked up to
13754 anything yet though. Thanks to Kay Sievers for
13755 wpa_supplicant_wrapper.c, which formed the basis for this work,
13756 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
13760 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
13762 * src/NetworkManagerUtils.[ch]
13763 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
13764 Add convenience functions for talking to wpa_supplicant
13766 * src/nm-ap-security.[ch]
13767 src/nm-ap-security-wep.c
13768 src/nm-ap-security-wpa-psk.[ch]
13769 - Update and implement real_write_supplicant_config functions
13770 in all security types
13771 - (nm_ap_security_wpa_psk_new_from_ap): implement in
13772 nm-ap-security-wpa-psk.c
13774 * src/nm-device-802-11-wireless.c
13775 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
13776 wpa_supplicant_start, wpa_supplicant_interface_init,
13777 wpa_supplicant_send_network_config): add functions to talk to
13778 wpa_supplicant and write network config to it
13780 2006-01-04 Robert Love <rml@novell.com>
13782 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
13783 values so that distribution-backends can differentiate between the
13784 various types (modem, ISDN, et cetera) of dialup device that they
13786 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
13789 2006-01-03 Dan Williams <dcbw@redhat.com>
13791 * src/NetworkManagerPolicy.c
13793 src/nm-device-802-11-wireless.c
13794 - Move wireless-specific activation failure and success code
13795 into wireless device class
13797 2006-01-03 Robert Love <rml@novell.com>
13799 Patch by Preggna S:
13800 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
13801 IPsec does not require that a VPN client be bound to an interface,
13802 due to the use of the in-kernel IPSec bits. So make the tunnel
13805 2006-01-03 Dan Williams <dcbw@redhat.com>
13807 * src/NetworkManagerAP.c
13808 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
13809 the WPA IE specifies that WEP is supported
13811 * src/nm-device-802-11-wireless.c
13812 - (process_scan_results): don't mark an AP as supporting WEP
13813 if there's already other encryption capability info
13815 2006-01-03 Dan Williams <dcbw@redhat.com>
13817 * src/dhcp-manager/nm-dhcp-manager.c
13818 - Recognize activation cancellation when waiting for DHCP
13819 configuration from dhcdbd
13820 - Ignore non-dhcdbd messages
13823 - (real_act_stage3_ip_config_start): return to correct behavior
13824 of letting the dhcp-manager notify us of failure or
13825 success rather than incorrectly doing that ourselves
13826 - (nm_device_activate_stage4_ip_config_get): deal with
13827 activation cancellation a bit earlier
13829 2006-01-03 Dan Williams <dcbw@redhat.com>
13831 * src/nm-device-802-11-wireless.c
13833 - Add hooks to subclasses for stage3_ip_config_start and
13834 stage4_ip_config_timeout
13836 * src/nm-device-802-3-ethernet.c
13837 - (real_get_generic_capabilities): make devices NM-supported
13840 2006-01-03 Robert Love <rml@novell.com>
13842 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
13843 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
13844 latter cannot differentiate between error and the address -1; misc.
13847 2006-01-03 Dan Williams <dcbw@redhat.com>
13849 * src/NetworkManager.c
13850 - Move link-checking/probing into the device subclasses
13853 * src/nm-device.[ch]
13854 src/nm-device-802-11-wireless.c
13855 src/nm-device-802-3-ethernet.c
13856 - Do periodic link checking in device subclasses rather
13857 than being triggered from NetworkManager.c
13858 - discover_wireless_capabilities -> get_wireless_capabilities
13859 - discover_generic_capabilities -> get_generic_capabilities
13860 - Device subclass activation routines now return a value of type
13861 NMActStageReturn to indicate what step to perform next
13862 - Devices now override stage4_get_ip4_config if they choose
13864 2006-01-01 Dan Williams <dcbw@redhat.com>
13866 * src/nm-device-802-11-wireless.c
13867 - (real_init): don't chain up to parent init because we don't
13868 need to do that anymore
13871 - (discover_device_type): fix arguments to ioctl() to correctly
13872 pass interface name
13873 - (nm_device_new): consolidate generic device initialization into
13875 - (real_init): remove, consolidated to nm_device_new()
13876 - (nm_device_deactivate, real_deactivate): consolidate
13878 2006-01-01 Dan Williams <dcbw@redhat.com>
13880 * src/nm-activation-request.c
13881 - Change dhcp_state member of the NMActRequest structure
13882 from guint8 to guint32
13884 * src/dhcp-manager/nm-dhcp-manager.[ch]
13885 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
13886 than guint8 to match the dbus argument. Turns out we were
13887 overwriting memory since we were passing in only a guint8
13889 2005-12-31 Dan Williams <dcbw@redhat.com>
13891 * refactor NMDevice into a GObject-based framework with separate
13892 objects for wired and wireless. The following files are no
13893 longer used but should stick around for a bit so we don't
13894 loose code through the cracks:
13895 NetworkManagerDevice.c
13896 NetworkManagerDevice.h
13897 NetworkManagerWireless.c
13898 NetworkManagerWireless.h
13900 The intent here is to allow each device type to manage its own
13901 connection & activation life-cycle, ie to allow wireless devices
13902 to interface with wpa_supplicant, etc. There's a fair bit of
13903 encapsulation breakage right now that should gradually get pulled
13904 back into each device, along with things like periodic property
13905 updates and link probing.
13907 2005-12-29 Dan Williams <dcbw@redhat.com>
13909 * include/NetworkManager.h
13910 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
13911 between networks that don't have any encryption at all
13913 2005-12-29 Dan Williams <dcbw@redhat.com>
13915 * test/test-common.c
13918 - Move to a test-common subdirectory
13920 * test/libnm-util/test-ciphers.c
13921 - Move test data to test-inputs.h
13922 - Test WPA ciphers too
13924 * test/libnm-util/test-dbus-helpers.c
13925 - Test serialization/deserialization of ciphers
13927 2005-12-29 Dan Williams <dcbw@redhat.com>
13929 * gnome/applet/applet-dbus-devices.c
13930 - Replace 'enc' parameter with 'capabilities' for wireless networks
13931 in dbus calls to NM
13932 - Set capabilities on WirelessNetwork objects
13933 - Receive and save type-specific device capabilities too
13935 * gnome/applet/applet-dbus-info.c
13936 gnome/applet/applet-dbus.c
13937 - Passphrase dialog no longer a singleton; new instance gets created
13938 on each request. Updates to deal with that.
13940 * gnome/applet/applet.c
13941 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
13942 than single 'encrypted' flag
13943 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
13945 - Passphrase dialog updates per above
13947 * gnome/applet/menu-items.c
13948 - (network_menu_item_update): use AP capabilities to determine
13951 * gnome/applet/nm-device.[ch]
13952 - Add accessors for type-specific device capabilities
13954 * gnome/applet/other-network-dialog.c
13955 - Rework to respect device capabilities. i.e., if the device doesn't
13956 support WPA, remove that option from the security dropdown
13958 * gnome/applet/passphrase-dialog.c
13959 - Massive rework so that a new instance is created each time
13960 it's used, to support wireless network capabilities
13962 * gnome/applet/wireless-network.[ch]
13963 - Add accessors and members for wireless network capabilities
13965 * gnome/applet/wireless-security-manager.[ch]
13966 - (wsm_set_capabilities): called after creation to set which
13967 security options get shown to the user
13969 2005-12-29 Dan Williams <dcbw@redhat.com>
13971 * libnm-util/cipher-wpa-psk-passphrase.c
13972 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
13975 2005-12-23 Dan Williams <dcbw@redhat.com>
13977 * gnome/applet/applet-dbus-info.c
13978 - (nmi_dbus_get_key_for_network): if there's no entry in
13979 GConf for a network, assume we want a new key
13980 - (nmi_save_network_info): serialize wireless security info
13981 into GConf so its saved
13984 - Fix warning as we may not be passed security info when
13985 connecting to a wireless network
13987 2005-12-23 Dan Williams <dcbw@redhat.com>
13989 * gnome/applet/applet-compat.c
13990 - Fix bugs in GConf entry conversion
13992 * gnome/applet/applet-dbus-info.c
13993 - (nmi_dbus_get_network_properties): handle case of the BSSID
13994 list being zero-length
13996 * libnm-util/cipher-*
13997 libnm-util/dbus-helpers.c
13998 - All ciphers must now return hashed keys as UTF-8 valid
13999 hexadecimal strings, ie "8f3dae4023". They are pushed
14000 through dbus as strings too.
14001 - Consolidate various functions that do bin->hex and hex->bin
14002 conversion into cipher.c
14004 * src/nm-ap-security-wep.c
14005 src/nm-ap-security-wpa-psk.c
14006 - Handle NULL keys since we may not know keys right away
14008 * src/nm-dbus-nmi.c
14009 - (nm_dbus_get_network_data_cb): actually advance to the start
14010 of the wireless security info before we try to deserialize it
14012 * libnm-util/test-ciphers.c
14013 - Update cipher tests for the change to UTF-8 hexadecimal strings
14015 2005-12-22 Dan Williams <dcbw@redhat.com>
14017 * gnome/applet/applet-compat.[ch]
14018 - Convert old-format GConf and keyring entries
14019 when the applet starts up.
14021 * gnome/applet/applet.c
14022 - (nmwa_get_instance): Call the conversion function
14023 on startup before dbus is initialized
14025 2005-12-22 Dan Williams <dcbw@redhat.com>
14027 * gnome/applet/applet-dbus-info.c
14028 - Remove nmi_dbus_create_error_message() in favor of
14029 nmu_create_dbus_error_message()
14030 - (nmi_dbus_get_network_properties): Error message cleanups
14031 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14032 gconf key rather than 'addresses', since they really are BSSIDs
14033 - (nmi_dbus_get_network_properties): Dispose of the security
14034 object when we're done with it
14036 2005-12-21 Dan Williams <dcbw@redhat.com>
14038 * Consolidate the info-daemon's "updateNetworkInfo" and
14039 "addNetworkAddress" calls into just "updateNetworkInfo"
14041 2005-12-21 Dan Williams <dcbw@redhat.com>
14043 * Make connection after key retrieval work again
14045 2005-12-21 Dan Williams <dcbw@redhat.com>
14047 * gnome/applet/nm-gconf-wso*
14048 - Make the serialize functions return gboolean
14051 * gnome/applet/nm-gconf-wso.c
14052 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14053 parent class handling so we don't segfault
14055 * src/NetworkManagerAP.[ch]
14056 - (nm_ap_get_capabilities): new function, return capabilities
14057 now that something can use them
14058 - (nm_ap_set_encrypted): assume that an access point supports
14059 both WEP104 and WEP40 if its set encrypted. FIXME: can
14060 we even tell whether it just supports WEP40?
14062 * src/NetworkManagerDevice.c
14063 - (ap_need_key): resurrect and update for the New World Order
14064 - (nm_device_wireless_get_activation_ap): if we're not given
14065 security info to use, create some based on access point
14068 * src/nm-ap-security-wep.c
14069 - (nm_ap_security_wep_new_from_ap): create a new object
14070 based on a certain access point's capabilities
14072 * src/nm-ap-security.c
14073 - (nm_ap_security_new_from_ap): delegate creation of a new
14074 object based on access point capabilities to a subclass
14075 - (nm_ap_security_copy_properties): don't segfault if we
14076 don't have a key yet
14079 - (nm_dbus_nm_set_active_device): provide more informative
14080 output when errors occur. Also construct security info
14081 for a given access point if we weren't given any
14083 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
14085 * configure.in: Added Lithuanian to ALL_LINGUAS.
14087 2005-12-21 Dan Williams <dcbw@redhat.com>
14090 - Add some testcases for WEP ciphers
14092 2005-12-17 Dan Williams <dcbw@redhat.com>
14096 2005-12-17 Dan Williams <dcbw@redhat.com>
14098 * include/NetworkManager.h
14099 - Finally kill NMEncKeyType
14101 * gnome/applet/applet-dbus-info.c
14102 - (nmi_save_network_info): convert to NMGConfWSO
14104 * gnome/applet/nm-gconf-wso-*.c
14105 - Implement gconf serialization functions
14107 * src/NetworkManagerPolicy.c
14108 - (nm_policy_activation_finish): fix up meaning of
14109 automatic/user_requested
14111 2005-12-17 Dan Williams <dcbw@redhat.com>
14114 - More applet cleanups
14115 - Use the dbus-method-dispatcher
14117 * libnm-util/dbus-method-dispatcher.[ch]
14118 - Generalize the implementation from NM in
14119 NetworkManagerUtils.c
14121 2005-12-16 Dan Williams <dcbw@redhat.com>
14124 - Fix up the passphrase dialog to use all the
14125 WirelessSecurityOption stuff (untested)
14127 2005-12-16 Dan Williams <dcbw@redhat.com>
14129 * Move nm_gconf_get_*_helper() functions to separate files,
14130 gconf-helpers.c & gconf-helpers.h
14132 * New NMGConfWSO objects for managing the gconf side of things.
14133 Eventually these should be merged with the
14134 WirelessSecurityOption objects and a common base (that can
14135 serialize/deserialize from dbus & gconf) should be
14136 refactored out, but for now they are separate.
14138 2005-12-16 Robert Love <rml@novell.com>
14140 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14141 binaries unless they exist (nm_spawn_process() emits a warning if
14142 asked to spawn a non-existant process).
14144 2005-12-16 Dan Williams <dcbw@redhat.com>
14146 * gnome/applet/applet-dbus-info.c
14147 - Clean up lots of gconf-related code
14149 2005-12-16 Robert Love <rml@novell.com>
14151 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14153 2005-12-16 Dan Williams <dcbw@redhat.com>
14155 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14157 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14158 bits still to be done)
14160 2005-12-16 Dan Williams <dcbw@redhat.com>
14162 * Finally move info-daemon related stuff out of
14163 NetworkManagerDbus.c to nm-dbus-nmi.c
14165 2005-12-16 Dan Williams <dcbw@redhat.com>
14167 * Kill auth_method for access points, since that's now done
14168 by NMAPSecurity objects
14170 * Add a copy-constructor of sorts to NMAPSecurity
14171 (how do you do this properly in glib???)
14173 2005-12-15 Dan Williams <dcbw@redhat.com>
14175 * Exorcise encryption key hashing on APs
14176 * Use libnm-util's serialization/deserialization in both the
14178 * Random other stuff
14180 2005-12-15 Robert Love <rml@novell.com>
14182 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14183 is being added to the icon naming spec, so let's use that (Tango CVS
14184 has the icon). Because it is new, however, we fall back to the
14185 current "gnome-lockscreen" if the new icon is not around, thus
14186 behavior is the same.
14187 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
14190 2005-12-15 Robert Love <rml@novell.com>
14192 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14193 well, help to give. Couple other misc. bits.
14195 2005-12-15 Dan Williams <dcbw@redhat.com>
14197 * libnm-util/dbus-helpers.[ch]
14198 - Make this the one-stop-shop for serializing/deserializing
14199 AP & connection security settings over dbus. Both NM
14200 and applets should use this to ensure consistent dbus
14201 API going forwared.
14203 2005-12-15 Robert Love <rml@novell.com>
14205 Patch by Timo Hoenig <thoenig@suse.de>:
14206 * src/NetworkManagerDbus.c
14207 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14208 if HAL jumps off the system bus. Otherwise libdbus
14209 (dbus_connection_dispatch) will try to run the filter
14210 function of our libhal context which is already freed.
14212 2005-12-15 Alexander Shopov <ash@contact.bg>
14214 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14216 2005-12-14 Dan Williams <dcbw@redhat.com>
14218 * include/NetworkManager.h
14219 src/NetworkManagerWireless.c
14220 - Rearrange 802.11 wireless-specific capabilities again
14223 - Forgot to add wpa.c/wpa.h to the makefiles
14225 * src/NetworkManagerAP.[ch]
14226 - Implement access point capabilities and parse the
14227 WPA/RSN IEs into the capability bitfield
14228 - Switch the "encrypted" attribute to utilize the bitfield
14229 and capabilities rather than being independent
14231 * src/NetworkManagerDevice.c
14232 - (nm_device_wireless_get_activation_ap): break it horribly
14233 until we can push NMAPSecurity objects into access point
14234 objects and through the activation chain
14235 - Stuff WPA & RSN IEs into AP capabilities
14238 - Take a shot at actually making setActiveDevice work
14241 - Make the API a bit saner
14243 2005-12-14 Dan Williams <dcbw@redhat.com>
14245 * include/NetworkManager.h
14246 - Add 802.11-specific capability for 802.1x key
14250 - Pull in WPA IE and RSN IE parsing code from
14251 wpa_supplicant so we can determine access point
14253 - Move WPA-related constants here from NetworkManagerAP.h
14254 and NetworkManagerDevice.c
14256 * src/NetworkManagerDevice.c
14257 src/NetworkManagerAP.[ch]
14258 - Use WPA-related constants from wpa.h
14260 2005-12-14 Dan Williams <dcbw@redhat.com>
14262 * include/NetworkManager.h
14263 - Update and split 802.11 wireless-specific capabilities from
14264 generic device capabilities
14266 * src/NetworkManagerDevice.c
14267 src/NetworkManagerDevicePrivate.h
14268 - (nm_device_wireless_discover_capabilities): Move 802.11
14269 wireless-specific capability checks to
14270 NetworkManagerWireless.c
14271 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14272 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14274 * src/NetworkManagerWireless.[ch]
14275 - (nm_802_11_wireless_discover_capabilities): Check extended
14276 802.11 wireless-specific capabilities of the driver
14278 2005-12-14 Robert Love <rml@novell.com>
14280 Patch from Stefan Scheler <sscheler@suse.de>:
14281 * src/NetworkManagerDevice.c: call backend code to activate and
14283 * src/NetworkManagerSystem.h: add new NIS interfaces.
14284 * src/backends/NetworkManagerDebian.c,
14285 src/backends/NetworkManagerGentoo.c,
14286 src/backends/NetworkManagerRedHat.c,
14287 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14289 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14291 2005-12-14 Dan Williams <dcbw@redhat.com>
14293 * src/nm-ap-security*.[ch]
14294 - Add AP security abstractions to NetworkManager
14296 * src/nm-dbus-device.c
14297 - Begin to parse new format dbus messages from the applet
14298 and construct an AP security object from the message
14300 * libnm-util/dbus-helpers.c
14301 - Use message iters so we can append the key as a fixed
14302 array of bytes, which actually works rather than
14303 using dbus_message_append_args() as we were before
14305 2005-12-14 Dan Williams <dcbw@redhat.com>
14307 * src/NetworkManagerDbus.c
14308 gnome/applet/applet-dbus.c
14309 - Fix up dbus service replacement options. The applet
14310 should allow replacement, NM itself should not.
14312 2005-12-13 Robert Love <rml@novell.com>
14314 * src/named-manager/nm-named-manager.c: Revert earlier commit.
14315 Instead, fail silently if config is NULL by not asserting and not
14316 returning FALSE. Also, make sure we always fclose() the file.
14318 2005-12-13 Robert Love <rml@novell.com>
14320 Patch by Stefan Scheler <sscheler@suse.de>:
14321 * src/nm-ip4-config.h, src/nm-ip4-config.c,
14322 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14323 via DHCP. Still need the backends to commit the NIS domain name and
14324 and servers to yp.conf as needed.
14326 2005-12-13 Robert Love <rml@novell.com>
14328 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14329 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14331 2005-12-13 Robert Love <rml@novell.com>
14333 * src/named-manager/nm-named-manager.c: Don't unref the config until
14334 after we call rewrite_resolv_conf(), because get_last_default_domain()
14335 needs to access the config. Fixes "rewrite_resolv_conf: assertion
14336 `config != NULL' failed" assertion failures and "Could not commit DNS
14339 2005-12-12 Dan Williams <dcbw@redhat.com>
14341 * libnm-util/dbus-helpers.[ch]
14342 libnm-util/Makefile.am
14343 - new helper calls to consolidate locations where
14344 NM's setDevice method is called
14346 * gnome/applet/applet-dbus-devices.c
14347 gnome/applet/wireless-security-option.c
14349 - Implement dbus message param append function for
14350 all wireless security options
14352 2005-12-12 Robert Love <rml@novell.com>
14354 * libnm-util/cipher-wep-passphrase.c,
14355 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14356 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14357 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14358 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14359 When handling keys, we don't care what the sign is. The compiler
14360 guarantees us that we get our 8-bits, which is all we care about.
14361 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
14363 2005-12-12 Dan Williams <dcbw@redhat.com>
14365 * gnome/applet/applet-dbus-devices.[ch]
14366 gnome/applet/applet.c
14367 gnome/applet/other-network-dialog.c
14368 gnome/applet/wireless-security-manager.[ch]
14369 gnome/applet/wireless-security-option.[ch]
14371 - Push the wireless security options further into the applet
14373 2005-12-12 Robert Love <rml@novell.com>
14375 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14376 return any name servers. That is perfectly valid. (Novell #134369).
14378 2005-12-11 Dan Williams <dcbw@redhat.com>
14380 * gnome/applet/wso-*
14381 gnome/applet/wireless-security-option.*
14382 gnome/applet/Makefile.am
14383 - split each security option out so we can eventually
14384 have each one build up their own dbus message
14385 arguments to send to NM
14387 2005-12-11 Dan Williams <dcbw@redhat.com>
14389 * Make validation of the key work correctly
14391 2005-12-11 Dan Williams <dcbw@redhat.com>
14393 * Hook more bits of the Other Network Dialog up to the
14394 wireless security manager stuff, and restructure
14395 bits of the dialog so there's less code.
14397 2005-12-10 Dan Williams <dcbw@redhat.com>
14399 * gnome/applet/Makefile.am
14400 - Add libnm-util to includes
14401 - Add libnm-util to link list
14402 - Add wireless-security-common.* to compile list
14404 * gnome/applet/other-network-dialog.c
14405 - Convert to using the WirelessSecurityManager code and
14408 * gnome/applet/passphrase-dialog.c
14409 - Comment out references to stuff in the glade file that
14410 cause runtime errors until it can be fixed up
14411 to use the WirelessSecurityManager code
14413 * gnome/applet/wireless-applet.glade
14414 - Rename some widgets
14415 - Add widgets for the WirelessSecurityManager code
14416 - Remove passphrase-related stuff since that's now
14417 handled by the WirelessSecurityManager code
14419 2005-12-10 Dan Williams <dcbw@redhat.com>
14421 * gnome/applet/applet-dbus-devices.c
14422 - Print out error message details for dbus pending call callbacks
14423 - Move nmwa_dbus_update_devices() up
14425 * gnome/applet/applet-dbus-vpn.c
14426 - Print out error message details for dbus pending call callbacks
14428 2005-12-10 Dan Williams <dcbw@redhat.com>
14432 - Remove cipher-manager.* because we don't need it
14433 - Forgot to add gnome-keyring-md5 files to compile list
14435 2005-12-09 Dan Williams <dcbw@redhat.com>
14440 - Add a utility library for clients of NetworkManager. It's
14441 only targetted at applets for the moment, and contains
14442 a generalized 802.11 cipher framework for different
14443 types of keys (WEP & WPA Hex, ASCII, Passphrase)
14445 2005-12-09 Robert Love <rml@novell.com>
14447 * src/NetworkManagerDevice.c: handle error better in
14448 nm_device_set_mode().
14450 2005-12-08 Robert Love <rml@novell.com>
14452 * include/NetworkManager.h: add WPA capabilities constants
14453 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14454 or WPA2 and add the capabilities bits as appropriate.
14456 2005-12-08 Robert Love <rml@novell.com>
14458 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14459 NetworkManagerDispatcher.
14460 * configure.in, initscript/SUSE/.cvsignore,
14461 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14464 2005-12-08 Robert Love <rml@novell.com>
14466 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14468 2005-12-08 Robert Love <rml@novell.com>
14470 * src/NetworkManagerDevice.c: We want to fall back on and default to
14471 IW_MODE_AUTO, not -1, which is more in line with our previous
14472 behavior. Otherwise, we try to set the wireless mode to -1 in
14473 nm_device_set_mode().
14475 2005-12-07 Robert Love <rml@novell.com>
14477 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14478 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14479 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14480 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14481 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14482 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
14485 2005-12-07 Robert Love <rml@novell.com>
14487 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14488 supplied IP is invalid, fall back to DHCP.
14490 2005-12-07 Dan Williams <dcbw@redhat.com>
14492 * Convert NETWORK_MODE_* constants to IW_MODE_*
14493 * Make all the get_mode/set_mode functions take and return 'int'
14494 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14496 2005-12-07 Robert Love <rml@novell.com>
14498 * src/NetworkManagerDevice.c: strncpy() buffer check.
14499 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14501 2005-12-06 Dan Williams <dcbw@redhat.com>
14503 * gnome/applet/applet-dbus.c
14504 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14506 * gnome/applet/applet-dbus-vpn.c
14507 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14508 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14509 to TRUE here if stage was ACTIVATED
14511 2005-12-06 Dan Williams <dcbw@redhat.com>
14513 * Change nm_device_is_* functions to better names:
14514 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14515 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14517 2005-12-06 Dan Williams <dcbw@redhat.com>
14519 * Change naming of NMDeviceType to something more sensible:
14520 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14521 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14522 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14524 2005-12-06 Dan Williams <dcbw@redhat.com>
14526 * Move NetworkManager.h -> include/NetworkManager.h
14527 * Split out VPN stuff into include/NetworkManagerVPN.h
14528 * Fix up makefiles to include new location
14529 * Fix up sources to include NetworkManagerVPN.h
14531 2005-12-06 Dan Williams <dcbw@redhat.com>
14533 Various changes in the applet to move VPN connection "state" -> "stage",
14534 which it actually is. I'd like to change the signal as well when we
14535 break compat in the near future.
14537 2005-12-06 Dan Williams <dcbw@redhat.com>
14539 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14540 * initscript/Slackware/rc.networkmanager
14543 * src/backends/NetworkManagerSlackware.c
14544 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14547 2005-12-05 Robert Love <rml@novell.com>
14549 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14550 to free, particularly here as it just barfs.
14552 2005-12-05 Dan Williams <dcbw@redhat.com>
14554 * gnome/applet/applet-dbus.c
14555 - Work with dbus 0.6 too
14557 2005-12-03 Dan Williams <dcbw@redhat.com>
14559 * src/NetworkManagerUtils.[ch]
14560 src/nm-ip4-config.c
14561 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14562 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14564 2005-12-01 Robert Love <rml@novell.com>
14566 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14567 need a NULL for the '...' parameter, too, to fill the so-called
14570 2005-12-01 Robert Love <rml@novell.com>
14572 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14573 interface is already gone, so don't call rtnl_link_change() to down
14574 it (which will segfault, anyhow).
14576 2005-11-22 Robert Love <rml@novell.com>
14578 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14579 gateway is not set, just print a little note. Configurations without
14580 gateways are valid.
14582 2005-11-22 Robert Love <rml@novell.com>
14586 2005-11-20 Ilkka Tuohela <hile@iki.fi>
14588 * configure.in: Added Finnish translation to ALL_LINGUAS
14590 2005-11-14 Robert Love <rml@novell.com>
14592 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14593 Niemueller <tim@niemueller.de>.
14595 2005-11-08 Dan Williams <dcbw@redhat.com>
14597 Patch from Bill Moss <bmoss@clemson.edu>
14598 * src/NetworkManagerDevice.c
14599 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14600 of nm_policy_schedule_activation_finish() to prevent a
14601 race condition that causes the link to be dropped
14603 2005-11-08 Dan Williams <dcbw@redhat.com>
14605 Patch from Bill Moss <bmoss@clemson.edu>
14606 * src/NetworkManagerAPList.c
14607 src/NetworkManagerDevice.c
14608 src/NetworkManagerDbus.c
14609 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14610 we get more readable ether/mac addresses
14612 2005-11-02 Christopher Aillon <caillon@redhat.com>
14614 * gnome/applet/main.c: Don't set the restart command. This fixes
14615 the issue where the restart command was getting copies of all its
14616 arguments for each time the applet was restarted.
14618 2005-11-02 Robert Love <rml@novell.com>
14620 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14621 if the widget state differs from our saved state. This ensures we
14622 do not enter an endless loop of death and destruction. Also, this
14623 guarantees us that we enforce the widget state.
14625 2005-11-02 Robert Love <rml@novell.com>
14627 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14628 * gnome/applet/applet-dbus-devices.c: invoke the new function
14629 nmwa_enable_wireless_set_active() to ensure that the state of the
14630 'Enable Wireless' checkbox matches the daemon's state. This is a
14631 concern because the daemon remembers the state.
14633 2005-11-02 Robert Love <rml@novell.com>
14635 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14636 Enabled", as checkboxes should be actions/commands not positive
14637 statements, otherwise they are confusing in the unselected case. See
14638 examples in GNOME HIG, Chapter 6.
14640 2005-11-02 Robert Love <rml@novell.com>
14642 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
14643 show a list of wireless networks or the wireless devices or the
14644 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
14645 a bad bug: If wireless is disabled and the user picks a wireless
14646 network, NM will switch to the network, only to immediately switch
14647 back, as wireless is disabled. This also reassures people that NM
14648 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
14650 2005-11-02 Christopher Aillon <caillon@redhat.com>
14652 * gnome/applet/applet.c:
14653 * gnome/applet/applet.h:
14654 Partial backout of Dan's timeout animation patch.
14655 Timeout IDs cannot legally be 0, so revert the code in place to handle
14656 a timeout ID of 0 to denote the timeout isn't running.
14658 2005-11-02 Christopher Aillon <caillon@redhat.com>
14660 * src/NetworkManagerPolicy.c:
14661 (nm_policy_device_change_check) Clarify wireless switch nm_info text
14663 2005-10-28 Robert Love <rml@novell.com>
14665 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
14666 "Import Saved Configuration..." to make it clear that importing is
14667 not the next step, but an option. As an aside, a nice TODO would be
14668 to move Importing out of the vpn-specific dialog and into the main
14669 property editor, as Importing goes with Adding, but that will require
14670 some rearchitecting of the VPN stuff I suspect.
14672 2005-10-27 Dan Williams <dcbw@redhat.com>
14674 Start using libnl. You need 1.0-pre3 or higher. Eventually
14675 we should replace most of the distro-specific backend code
14678 Get it here: http://people.suug.ch/~tgr/libnl/
14682 - Add checks for libnl pkgconfig file
14683 - Use LIBNL_LIBS & LIBNL_CFLAGS
14685 * src/NetworkManagerSystem.c
14686 src/nm-ip4-config.[ch]
14687 - Use libnl rather than ioctl() for most things
14688 - Remove unused functions
14690 2005-10-27 Robert Love <rml@novell.com>
14692 * src/backends/NetworkManagerSuSE.c: fix warning message text
14694 2005-10-27 Christopher Aillon <caillon@redhat.com>
14696 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
14698 2005-10-27 Christopher Aillon <caillon@redhat.com>
14700 * gnome/applet/applet.c: The applet's about dialog can advertise our
14701 project page <http://www.gnome.org/projects/NetworkManager/>
14703 2005-10-26 Christopher Aillon <caillon@redhat.com>
14705 * gnome/applet.c: Also use translator credits if we don't have
14706 the new GtkAboutDialog (older versions of GTK+)
14708 2005-10-26 Robert Love <rml@novell.com>
14710 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
14711 failure; correct usage text for "--no-daemon"
14713 2005-10-25 Dan Williams <dcbw@redhat.com>
14715 * src/NetworkManagerDevice.c
14716 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
14718 - (free_process_scan_cb_data): unref the device when freeing results
14719 - (nm_device_wireless_process_scan_results): free scan results a bit later
14720 so we don't unref the device underneath ourselves
14722 2005-10-25 Dan Williams <dcbw@redhat.com>
14724 * Back out 2005-10-24 commit from Tor Krill. Patch
14725 causes nameservers never to be removed from named.
14727 2005-10-24 Dan Williams <dcbw@redhat.com>
14729 Clean up wireless scanning and wireless link probing.
14731 * src/NetworkManagerDevice.c
14732 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
14733 just see if there's an activation request on the device, and check the
14734 current link against the activation request access point's ESSID.
14735 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
14736 - (nm_device_wireless_process_scan_results): actually free our scan data, and
14737 don't call process_scan_results() on zero-length data
14738 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
14739 15 seconds (from 10)
14741 2005-10-24 Dan Williams <dcbw@redhat.com>
14743 Cleanup some applet stuff:
14745 - Animation timeouts. If NM died while the applet was animating,
14746 the applet would not hide itself. This is now fixed.
14748 - Remove some dead code
14750 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
14751 to nmi_passphrase_dialog_cancel() since we no longer use threads.
14753 - Track animation timeout using a gboolean rather than the timeout's
14754 ID, since timeout IDs can legally be 0.
14756 2005-10-24 Dan Williams <dcbw@redhat.com>
14758 * src/backends/interface_parser.c
14759 - Add void to function declarations that need it
14760 to match patch from Engin AYDOGAN
14762 * src/backends/interface_parser.h
14763 - Remove unused prototype for ifparser_interfaces()
14765 Patch from Engin AYDOGAN <engin@bzzzt.biz>
14766 * src/backends/interface_parser.h:
14767 - Compile fixes for gcc 4.0.2 (add void)
14769 2005-10-24 Dan Williams <dcbw@redhat.com>
14771 Patch from Tor Krill <tor@krill.nu>
14772 * src/named-manager/nm-named-manager.c
14773 - Write more than just the first nameserver to /etc/resolv.conf
14774 - Write out valid /etc/resolv.conf on exit
14776 2005-10-21 Christopher Aillon <caillon@redhat.com>
14778 * gnome/applet/applet-dbus-vpn.c:
14779 Get rid of spurious newlines in debug console output
14781 2005-10-21 Christopher Aillon <caillon@redhat.com>
14783 * src/backends/NetworkManagerGentoo.c:
14784 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
14786 2005-10-20 Robert Love <rml@novell.com>
14788 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
14789 direct comparison of floating point values, which is never correct.
14790 Also some misc. cleanup.
14792 2005-10-19 Robert Love <rml@novell.com>
14794 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
14796 2005-10-19 Robert Love <rml@novell.com>
14798 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
14799 sensitivity of the buttons. Specificaly, do the right thing if
14800 there are no entries.
14802 2005-10-19 Christopher Aillon <caillon@redhat.com>
14804 * configure.in: Update check for adequate wireless-tools
14805 with an AC_TRY_COMPILE for the new symbols we use.
14807 2005-10-19 Dan Williams <dcbw@redhat.com>
14809 * src/NetworkManagerDevice.c
14810 - (process_scan_results): don't drop the last (or only)
14811 access point we see
14813 2005-10-19 Christopher Aillon <caillon@redhat.com>
14815 * src/backends/NetworkManagerSlackware.c:
14816 Patch from Nico <lordllucifer@gmail.com>
14817 - Update the Slackware backend.
14819 2005-10-18 Christopher Aillon <caillon@redhat.com>
14821 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
14822 if we've got GLib 2.8.0
14824 2005-10-18 Robert Love <rml@novell.com>
14826 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
14827 function nm_schedule_state_change_signal_broadcast() when we
14828 deactivate a device, too.
14830 2005-10-18 Robert Love <rml@novell.com>
14832 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
14833 be used uninitialized.
14835 2005-10-18 Christopher Aillon <caillon@redhat.com>
14837 * test/libnm_glib_test.c: Test unregistering, too.
14839 2005-10-17 Christopher Aillon <caillon@redhat.com>
14841 * configure.in: Bump to 0.5.0
14843 2005-10-17 Dan Williams <dcbw@redhat.com>
14846 - Remove WPA-related constants so they aren't part of the
14849 2005-10-17 Christopher Aillon <caillon@redhat.com>
14851 * gnome/applet/applet.c:
14852 * gnome/applet/applet.h:
14853 Desensitize the 'Connection Information' menu item when there is
14854 no active connection.
14856 2005-10-17 Christopher Aillon <caillon@redhat.com>
14858 * gnome/libnm_glib/libnm_glib.c:
14859 Make libnm_glib_unregister_callback () actually unregister the callback
14861 2005-10-17 Robert Love <rml@novell.com>
14863 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
14864 two seconds -- tries is updated every 1/10 of a second, not every
14867 2005-10-17 Christopher Aillon <caillon@redhat.com>
14869 * gnome/applet/applet-dbus-info.c:
14870 Let D-BUS know that we haven't handled a message when we haven't.
14872 2005-10-17 Robert Love <rml@novell.com>
14874 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
14875 in order to remain 64-bit clean.
14877 2005-10-17 Christopher Aillon <caillon@redhat.com>
14879 * gnome/applet/applet-dbus-info.c:
14880 Find network encryption keys asynchronously
14882 2005-10-17 Robert Love <rml@novell.com>
14884 * src/backends/NetworkManagerDebian.c,
14885 src/backends/NetworkManagerRedHat,
14886 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
14889 2005-10-17 Robert Love <rml@novell.com>
14891 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
14894 2005-10-17 Christopher Aillon <caillon@redhat.com>
14896 * src/NetworkManagerDevice.c: (process_scan_results)
14897 Fix logic that checks to see whether we have an ESSID.
14899 2005-10-15 Dan Williams <dcbw@redhat.com>
14901 Move scanning code into NetworkManager rather than use iwlib's
14902 iw_scan() function, so that we can figure out AP capabilities.
14905 - Add AP capability bits
14907 * src/NetworkManagerAP.[ch]
14908 - Add capability field to NMAccessPoint structure
14909 - Add WPA & RSN Information Element fields and accessor
14910 functions to NMAccessPoint
14912 * src/NetworkManagerDevice.c
14913 - Remove usage of iw_scan
14914 - Add scanning code to NetworkManager rather than use
14915 iw_scan() from iwlib
14917 * src/NetworkManagerUtils.[ch]
14918 - (nm_dispose_scan_results): remove, unused
14920 2005-10-14 Christopher Aillon <caillon@redhat.com>
14922 * gnome/libnm_glib/libnm_glib.c:
14923 * gnome/libnm_glib/libnm_glib.h:
14924 Use guint instead of gint for callback IDs.
14926 2005-10-12 Christopher Aillon <caillon@redhat.com>
14928 * gnome/applet/applet.c:
14929 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
14930 every 1000ms. It will unconditionally call nmwa_update_state which
14931 kills the existing animation timeout and registers a new one with a
14932 callback to draw a new frame every 100ms. There are 11 connecting
14933 icon frames, so the last 2 frames kept getting dropped. Only reset
14934 the animation timeout if we aren't animating.
14936 2005-10-11 Dan Williams <dcbw@redhat.com>
14938 * gnome/applet/applet-dbus-devices.c
14939 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
14940 We want to grab the product & vendor from net.physical_dev
14941 rather than info.parent.
14943 2005-10-11 Dan Williams <dcbw@redhat.com>
14945 * src/NetworkManagerDevice.c
14946 - Use the driver's WE version for scanning rather than
14947 the WE version NM was compiled with. Fixes random
14948 crashes in iw_scan () in iwlib.
14950 2005-10-10 Dan Williams <dcbw@redhat.com>
14952 * Remove nm_system_load_device_modules() from backend files
14953 and from NetworkManager.c
14955 2005-10-10 Dan Williams <dcbw@redhat.com>
14957 * src/NetworkManagerPolicy.c
14958 - Fix some bugs introduced by the capabilities patch
14960 2005-10-10 Dan Williams <dcbw@redhat.com>
14962 * gnome/applet/applet-dbus-info.c
14963 - (nmi_dbus_get_network_key): hide the menu when putting up
14964 the keyring dialog. (not sure if the code is right...)
14966 2005-10-09 Dan Williams <dcbw@redhat.com>
14968 Patch from Bill Moss <bmoss@clemson.edu>
14969 * src/NetworkManagerDevice.c
14970 - (nm_device_set_user_key_for_network): don't try to set auth
14971 mode on the AP from the allowed list if it's NULL
14973 2005-10-09 Dan Williams <dcbw@redhat.com>
14975 * Replace the "driver support level" stuff with capabilities. The
14976 capability field is a bitfield that is more flexible than the
14977 old driver support level thing. It's mostly so we can easily
14978 figure out what supports WPA and what doesn't, but should be
14979 quite useful later.
14981 2005-10-09 Dan Williams <dcbw@redhat.com>
14988 - Added new "nm-tool" tool that gives quite a bit more
14991 2005-10-07 Robert Love <rml@novell.com>
14993 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
14994 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
14995 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
14996 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
14999 2005-10-07 Robert Love <rml@novell.com>
15001 * configure.in: Change our compile flags for the betterment of mankind.
15002 Add "-Wstrict-prototypes" because we comply anyhow and missing a
15003 prototype is very bad on 64-bit platforms as types default to int but
15004 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15005 "-Wmissing-declarations" to warn if we define an exported function
15006 but fail to put it in a header.
15008 2005-10-07 Robert Love <rml@novell.com>
15010 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15011 by the name nm_update_device_wireless_timeouts() and once tried,
15012 without success, to steal my pet turtle.
15014 2005-10-07 Robert Love <rml@novell.com>
15016 * Cleanup prototypes: put some functions in header files and mark
15017 others as 'static' -- feel free to invert
15018 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15019 nm_vpn_manager_vpn_connection_list_copy()
15020 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15021 nm_vpn_service_get_dbus_connection()
15022 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15023 nm_vpn_manager_vpn_connection_list_copy()
15024 * src/vpn-manager/nm-vpn-service.c: make
15025 nm_vpn_service_act_request_failed() and
15026 nm_vpn_service_stage2_daemon_wait() static
15027 * src/vpn-manager/nm-vpn-service.h: add prototype for
15028 nm_vpn_service_get_dbus_connection()
15030 2005-10-06 Christopher Aillon <caillon@redhat.com>
15032 * gnome/applet/applet.c:
15033 * gnome/applet/applet.h:
15034 * gnome/applet/icons/Makefile.am:
15035 Convey information about the current connection stage in the
15036 icons themselves instead of creating a separate progress bar.
15038 2005-10-04 Robert Love <rml@novell.com>
15040 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15041 convert an ether_addr structure's MAC into a string, because the
15042 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15043 versus 07:3B:04, while the former will not.
15045 2005-10-04 Robert Love <rml@novell.com>
15047 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15048 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15049 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15050 default route in the 'Connection Information' dialog, send primary
15051 and secondary name servers in in "getProperties" DBUS method, add
15052 network_device_{get,set}_{primary,secondary}_dns(), The primary and
15053 secondary domain name servers are crucial pieces of information
15054 that a user might need in debugging a network problem.
15056 2005-10-04 Robert Love <rml@novell.com>
15058 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15059 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15060 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15061 default route in the 'Connection Information' dialog, send default
15062 route in "getProperties" DBUS method, add network_device_set_route(),
15063 and network_device_get_route(). The Gateway is a crucial piece of
15064 connection-related information that a user might need in debugging a
15067 2005-10-03 Robert Love <rml@novell.com>
15069 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15072 2005-10-02 Dan Williams <dcbw@redhat.com>
15074 * Shorten time taken to sleep by fastpathing bits of device deactivation
15075 necessary for sleep.
15077 * Fix issue where deactivating a device might deactivate the active
15078 VPN connection, even if the VPN was not using the device.
15080 2005-10-02 Dan Williams <dcbw@redhat.com>
15082 * gnome/applet/applet.c
15083 - Adjust signal strength -> icon mapping values slightly
15084 (so that 51% signal doesn't show a 75% icon) by adding
15085 5% to the values. ex: > 5% now shows 25% icon, > 30%
15086 shows 50% icon, etc.
15088 2005-09-29 Robert Love <rml@novell.com>
15090 * src/NetworkManager.c: removed unused variable.
15092 2005-09-28 Dan Williams <dcbw@redhat.com>
15094 Support for named + DBus, using Red Hat DBus patches for named. You
15095 can find those patches here, with "dbus" in the patch's filename:
15097 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15099 Don't forget the named dbus service file either.
15101 Instead of writing a config file and spawing a named process, NM will
15102 use an already-running dbus-enabled named if it finds one. NM will
15103 update named's forwarder configuration on the fly using dbus.
15105 If there is no dbus-enabled named running, NM will automatically fall
15106 back to writing the most-recent DNS server information to /etc/resolv.conf
15107 and calling nm_system_update_dns() to kick the system's resolver.
15109 Accordingly, all named-related configure-time options have been removed.
15111 2005-09-26 Robert Love <rml@novell.com>
15113 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15115 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15116 bug in error path if "ASKPASSWORD" is "no".
15118 2005-09-26 Robert Love <rml@novell.com>
15120 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15121 comment in /etc/resolv.conf -- ';' is not.
15123 2005-09-19 Dan Williams <dcbw@redhat.com>
15125 * src/backends/NetworkManagerRedHat.c:
15126 * src/backends/NetworkManagerDebian.c:
15127 * src/backends/NetworkManagerSlackware.c:
15128 * src/backends/NetworkManagerGentoo.c:
15129 * src/backends/NetworkManagerSUSE.c:
15130 Fix invocations of "/sbin/ip address" to use short form instead
15132 2005-09-19 Christopher Aillon <caillon@redhat.com>
15134 * src/nm-dbus-device.c: Don't assert when getting
15135 addresses of a not yet connected interface.
15137 * gnome/applet/applet.c: Free icons if loading fails.
15138 Use translator-credits so translators can make themselves known.
15140 2005-09-15 Christopher Aillon <caillon@redhat.com>
15142 * src/NetworkManagerAP.c:
15143 * src/NetworkManagerAP.h:
15144 * src/NetworkManagerDevice.c:
15145 Set a blacklist for certain common manufacturer default ESSIDs:
15146 APs with these ESSIDs are extremely likely to be completely
15147 different networks: connecting to one should not make NM
15148 auto-connect to every other AP with the same default ESSID.
15150 2005-09-12 Christopher Aillon <caillon@redhat.com>
15152 * gnome/applet/wireless-applet.glade:
15153 The passphrase entry should also activate the default
15155 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15157 * gnome/applet/applet-dbus-devices.c:
15158 * gnome/applet/applet.c:
15159 * gnome/applet/nm-device.c:
15160 * gnome/applet/nm-device.h:
15161 * src/NetworkManagerUtils.c:
15162 * src/NetworkManagerUtils.h:
15163 * src/nm-dbus-device.c:
15164 I've got a fever, and the only cure for it is less ioctl.
15165 Make NM push IP data rather than make the applet open a socket
15168 2005-09-10 Christopher Aillon <caillon@redhat.com>
15170 * gnome/applet/applet.c:
15171 * gnome/applet/applet-dbus-devices.c:
15172 * gnome/applet/applet-dbus-info.c:
15173 * gnome/applet/passphrase-dialog.c:
15174 * gnome/libnm_glib/libnm_glib.c:
15175 * gnome/vpn-properties/nm-vpn-properties.c:
15177 * src/backends/NetworkManagerRedHat.c:
15178 * src/named-manager/nm-named-manager.c:
15179 * src/NetworkManagerAPList.c:
15180 * src/NetworkManager.c:
15181 * src/NetworkManagerDbus.c:
15182 * src/NetworkManagerDevice.c:
15183 * src/NetworkManagerPolicy.c:
15184 * src/NetworkManagerSystem.c:
15185 * src/nm-dbus-device.c:
15186 * src/nm-dbus-nm.c:
15187 * src/vpn-manager/nm-vpn-manager.c:
15188 * src/vpn-manager/nm-vpn-service.c:
15189 * test/libnm_glib_test.c:
15190 * test/nminfotest.c:
15191 * test/nmtestdevices.c:
15192 Fix a bunch of 'unused variable' compiler warnings
15194 * NetworkManager.h:
15195 * gnome/applet/applet-dbus-info.c:
15196 * gnome/applet/applet-dbus-info.h:
15197 * gnome/applet/applet.c:
15198 * gnome/applet/applet.h:
15199 * src/NetworkManager.c:
15200 * src/NetworkManagerDbus.c:
15201 * src/NetworkManagerDbus.h:
15202 * src/NetworkManagerDevice.c:
15203 * src/NetworkManagerDevice.h:
15204 * src/NetworkManagerMain.h:
15205 * src/NetworkManagerWireless.c:
15206 * src/NetworkManagerWireless.h:
15207 * src/nm-dbus-nm.c:
15208 Make NetworkManager be smart about how frequently to scan
15209 based on its current state. Remove the UI for choosing when
15210 to scan. Scanning still may disabled completely by the user
15211 via the "Wireless Enabled" menu item.
15213 2005-09-09 Christopher Aillon <caillon@redhat.com>
15215 * gnome/applet/applet.c:
15216 Also overlay the vpn connecting icons onto the wired icon,
15219 * gnome/vpn-properties/nm-vpn-properties.glade:
15220 Clean up a few strings to use better grammar and proper casing.
15222 2005-09-08 Christopher Aillon <caillon@redhat.com>
15224 * gnome/applet/vpn-connection.c:
15225 * gnome/applet/vpn-connection.h:
15226 Add nmwa_vpn_connection_is_activating ()
15228 * gnome/applet/applet.c:
15229 * gnome/applet/applet.h:
15230 * gnome/applet/icons/nm-vpn-connecting*.png:
15231 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15232 the user know something's happening between clicking the VPN item and it
15233 actually being connected.
15235 2005-09-07 Christopher Aillon <caillon@redhat.com>
15237 * gnome/applet/applet-dbus-info.c: need to free attributes in the
15238 failure case as well.
15240 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
15242 * gnome/panel/eggtrayicon.[ch]:
15243 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15245 2005-09-07 Dan Williams <dcbw@redhat.com>
15247 Patch from Bill Moss <bmoss@clemson.edu>
15248 * src/applet-dbus.c
15249 - (nmwa_dbus_filter): strip whitespace from beginning
15250 and end of VPN login banner
15252 2005-09-07 Dan Williams <dcbw@redhat.com>
15254 * The great VPN Manager rewrite of 2005
15256 2005-09-07 Christopher Aillon <caillon@redhat.com>
15258 * gnome/applet/menu-items.c:
15259 * gnome/applet/nm-device.c:
15260 * gnome/applet/wireless-network.c:
15261 * gnome/libnm_glib/libnm_glib.c:
15262 * src/NetworkManagerDbusUtils.c:
15263 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15264 g_malloc0 doesn't return NULL
15266 2005-09-06 Dan Williams <dcbw@redhat.com>
15268 Patch from Tomislav Vujec <tvujec@redhat.com>
15269 * src/NetworkManagerDevice.c
15270 - (nm_get_device_by_udi): don't return a device when we
15271 actually didn't find what we were looking for
15273 2005-09-06 Christopher Aillon <caillon@redhat.com>
15275 * gnome/applet/applet-dbus-devices.c:
15276 * gnome/applet/applet-dbus-devices.h:
15277 * gnome/applet/applet-dbus.c:
15278 * src/NetworkManagerDbus.c:
15279 * src/NetworkManagerDbus.h:
15280 * src/NetworkManagerDevice.c:
15281 * src/nm-dbus-device.c:
15282 Make NM push updates about active device strength when it changes,
15283 rather than having the applet poll every 2s.
15285 2005-09-05 Christopher Aillon <caillon@redhat.com>
15287 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15288 network_device_set_strength
15290 2005-09-04 Dan Williams <dcbw@redhat.com>
15292 Patch from Bill Nottingham <notting@redhat.com>
15293 * src/NetworkManagerDevice.c
15294 - (nm_device_activation_cancel): reset the quit_activation flag
15296 2005-09-04 Dan Williams <dcbw@redhat.com>
15298 * src/nm-activation-request.c
15299 - (nm_act_request_unref): actually free the structure,
15300 which we didn't seem to be doing before
15302 2005-09-04 Dan Williams <dcbw@redhat.com>
15304 Patch from John Palmieri <johnp@redhat.com>
15305 * gnome/applet/applet-dbus-devices.c
15306 - Fix up unreffing of DBusMessage objects
15308 2005-09-04 Dan Williams <dcbw@redhat.com>
15310 Patch from John Palmieri <johnp@redhat.com>
15311 * gnome/applet/nm-device.c
15312 - (nm_device_unref): clear network_device's memory _before_ freeing it
15314 2005-09-02 Christopher Aillon <caillon@redhat.com>
15316 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15318 2005-09-02 Bill Nottingham <notting@redhat.com>
15320 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15322 2005-09-01 Dan Williams <dcbw@redhat.com>
15324 * src/NetworkManager.c
15325 - (nm_remove_device_from_list): rename to nm_remove_device
15326 - (nm_hal_device_removed): call nm_remove_device()
15328 * src/NetworkManagerDevice.c
15329 - Change the NMWirelessScanCB member 'reschedule' which
15330 wasn't used to 'force' to indicate that we need to
15331 force a scan when adding a device
15334 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15335 from the device list
15336 - (nm_dbus_nm_wake): Re-add all devices to the device list
15338 2005-09-01 Robert Love <rml@novell.com>
15340 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15341 and the check "!iface" in the error case is probably never true.
15343 2005-09-01 Dan Williams <dcbw@redhat.com>
15345 Patch from Bill Nottingham <notting@redhat.com>
15346 * src/backends/NetworkManagerRedHat.c
15347 - Add initial dialup support to Red Hat/Fedora backend
15349 2005-09-01 Dan Williams <dcbw@redhat.com>
15351 * gnome/applet/applet-dbus-devices.c
15352 - Sort both wireless networks and devices again, which got
15353 broken when removing threading
15355 2005-09-01 Christopher Aillon <caillon@redhat.com>
15357 * gnome/applet/applet.c:
15358 Only show the "Stop/Start All Wireless Devices" menuitem
15359 if we actually have wireless devices.
15361 * gnome/applet/applet-dbus-info.c:
15362 * gnome/applet/applet.c:
15363 * gnome/applet/other-network-dialog.c:
15364 * gnome/applet/vpn-password-dialog.c:
15365 Drop the gtk_dialog_run () calls in favor of connecting to
15366 "response" signals, needed now that the applet is not threaded.
15368 2005-08-31 Dan Williams <dcbw@redhat.com>
15370 Patch from Bill Moss <bmoss@clemson.edu>
15371 * src/NetworkManagerDevice.c
15372 - (nm_device_wireless_scan): fix scan timeout values
15374 2005-08-30 Dan Williams <dcbw@redhat.com>
15376 * gnome/applet/wireless-applet.glade
15377 - HIG-ify the Other Wireless Networks dialog a bit more
15378 - Fix some potential segfaults in the info dialog
15380 2005-08-30 Dan Williams <dcbw@redhat.com>
15382 * gnome/applet/applet-dbus-devices.c
15383 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15385 2005-08-30 Dan Williams <dcbw@redhat.com>
15387 * gnome/applet/applet-dbus.[ch]
15388 - Remove all the nmwa_dbus_call_method_xxxx functions since
15389 they weren't being used anyway
15391 2005-08-30 Bastien Nocera <hadess@hadess.net>
15393 * test/nmtestdevices.c: (print_usage), (main):
15394 Check the number of arguments, and fix a typo
15396 2005-08-29 Dan Williams <dcbw@redhat.com>
15398 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15399 * gnome/applet/applet.c
15400 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15402 2005-08-29 Dan Williams <dcbw@redhat.com>
15405 - Don't use threads any more. Anything that blocks
15406 (like gtk_dialog_run()) will have to get fixed up which
15407 should happen quickly. We really only had threads to make
15408 the animation smooth, and when everything got converted over
15409 to DBus Pending Calls, the need for threads kind of went away
15411 2005-08-29 Christopher Aillon <caillon@redhat.com>
15413 * gnome/applet/applet.c: Draw VPN connections as radio items
15414 since we don't yet support multiple VPNs.
15415 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15416 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15418 2005-08-29 Dan Williams <dcbw@redhat.com>
15420 Patch from j@bootlab.org
15421 - Make --without-named work
15422 - Make --with-dhcdbd work correctly
15424 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
15426 * configure.in: Added "ca" to ALL_LINGUAS.
15428 2005-08-26 Christopher Aillon <caillon@redhat.com>
15430 * Fix up VPN state handling between the applet and NetworkManager,
15431 so that the applet doesn't show a VPN as connected when one
15433 - The applet no longer has a pointer to the active VPN's
15434 name, but tracks each VPNs state individually
15435 - NM no longer has a "getActiveVPNConnection" method
15436 - NM no longer broadcasts the "VPNConnectionChange" signal
15437 - NM now broadcasts a "VPNConnectionStateChange" signal
15438 whenever the state of a VPN changes
15440 2005-08-26 Dan Williams <dcbw@redhat.com>
15442 * gnome/applet/applet-dbus-devices.c
15443 gnome/applet/applet-dbus-vpn.c
15444 - Remove calls to dbus_pending_call_ref() because we already
15445 "own" the pending call
15446 - Remove calls to dbus_pending_call_get_completed() because
15447 when we are in the callback, the pending call is completed
15450 2005-08-22 Dan Williams <dcbw@redhat.com>
15452 Patch by Bill Moss <bmoss@clemson.edu>
15453 * src/dhcp-manager/nm-dhcp-manager.c
15454 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15455 some time to send out a RELEASE if they like
15457 2005-08-22 Dan Williams <dcbw@redhat.com>
15459 Noticed by Bill Moss <bmoss@clemson.edu>
15460 * src/NetworkManagerDbus.c
15461 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15462 instead of just cancelling its activation
15464 * src/NetworkManagerDevice.c
15465 - (nm_device_deactivate): some small cleanups
15466 - (nm_device_set_user_key_for_network): deactivate the device
15467 instead of just cancelling its activation
15469 2005-08-22 Dan Williams <dcbw@redhat.com>
15471 Noticed by Bill Moss <bmoss@clemson.edu>
15472 * src/NetworkManagerDevice.c
15473 - (nm_device_wireless_scan): fix scan timeout, we were
15474 waiting way too long for scans to complete
15476 2005-08-22 Dan Williams <dcbw@redhat.com>
15478 Patch from j@bootlab.org:
15479 * src/backends/NetworkManagerDebian.c
15480 - Make the Debian backend work for static IP again
15482 2005-08-20 Christopher Aillon <caillon@redhat.com>
15484 * gnome/applet/other-network-dialog.c:
15485 The "Create New Network" and "Connect to Other Network"
15486 dialogs share alot of code, but shouldn't share a window
15487 title. Give them different ones.
15489 * gnome/applet/wireless-applet.glade:
15490 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15491 Some more minor UI tweaks.
15493 2005-08-19 Christopher Aillon <caillon@redhat.com>
15495 * gnome/applet/other-network-dialog.c:
15496 * gnome/applet/wireless-applet.glade:
15497 Also need mnemonic widgets, and underline enabled.
15499 2005-08-19 Dan Williams <dcbw@redhat.com>
15501 * vpn-daemons/vpnc/nm-vpnc-service.c
15502 - (vpnc_watch_cb): remove no-longer-relevant comment
15503 - (write_config_option): new function, helper to write
15504 config options to vpnc's stdin
15505 - (nm_vpnc_config_write): use the new helper, make the
15508 2005-08-19 Christopher Aillon <caillon@redhat.com>
15510 * gnome/applet/passphrase-dialog.c:
15511 * gnome/applet/wireless-applet.glade:
15512 Make the passphrase dialog response based, and treat
15513 responses other than OK (such as Esc, [X]) as a cancel.
15515 2005-08-18 Christopher Aillon <caillon@redhat.com>
15517 * initscript/Gentoo/NetworkManager:
15518 * initscript/RedHat/NetworkManager:
15519 * initscript/RedHat/NetworkManagerDispatcher:
15520 * initscript/SUSE/networkmanager:
15521 CVS remove these in place of .in replacements
15524 * initscript/Gentoo/NetworkManager.in:
15525 * initscript/RedHat/NetworkManager.in:
15526 * initscript/RedHat/NetworkManagerDispatcher.in:
15527 * initscript/SUSE/networkmanager.in:
15528 These scripts now are generated so they work still when
15529 NM is built using a bindir other than /usr/bin
15531 2005-08-18 Dan Williams <dcbw@redhat.com>
15533 * gnome/applet/main.c
15534 - Revert previous change for --no-session since
15535 --sm-disable does the same thing
15537 2005-08-18 Dan Williams <dcbw@redhat.com>
15539 * gnome/applet/applet-dbus-info.c
15540 - (nmi_dbus_create_error_message): new function
15541 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15542 functions. Also don't check for both device _and_ network before
15543 asking for a user's key, because we may not have gotten all our
15544 networks back from NM quite yet (due to the dbus pending calls
15545 coming in later). Fixes a hang in NM/nm-applet.
15547 * src/NetworkManagerDbus.c
15548 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15549 slightly more sane manner, even though we are still broken for
15550 certain other error conditions.
15551 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15552 to the info-daemon too
15554 * src/NetworkManagerDevice.c
15555 - Fix some debug messages to be info messages instead
15557 2005-08-18 Dan Williams <dcbw@redhat.com>
15559 * gnome/applet/main.c
15560 - Add new "--no-session" parameter that disables applet
15561 session management, ie for testing
15563 2005-08-18 Christopher Aillon <caillon@redhat.com>
15565 * gnome/applet/other-network-dialog.c:
15566 * gnome/applet/wireless-applet.glade: More mnemonics
15568 2005-08-17 Robert Love <rml@novell.com>
15570 * initscript/SUSE/networkmanager: update
15572 2005-08-17 Dan Williams <dcbw@redhat.com>
15574 * Tag NM_0_4_1_RELEASE
15576 2005-08-17 Christopher Aillon <caillon@redhat.com>
15578 * gnome/applet/applet.c: More translatable string cleanup
15581 2005-08-17 Dan Williams <dcbw@redhat.com>
15583 * gnome/applet/applet-dbus-info.c
15584 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15585 from the dbus message, which tells us to unconditionally
15586 ask the user for a new key. Otherwise, we pull the key from
15587 the keyring and return it. If we fail to get the key from the
15588 keyring, we ask the user for a new key.
15589 - (nmi_dbus_get_network_key): new function to grab the key for
15590 an essid from the keyring.
15591 - (nmi_dbus_get_network_properties): don't access the keyring here.
15592 Also, don't return any key in the dbus message.
15594 * src/NetworkManagerDbus.[ch]
15595 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15596 indicate that we unconditionally want a new key. This function
15597 is now also used to get keys from the info-daemon which are
15598 pre-stored, not just for asking the user for a new key. The
15599 "new_key" parameter indicates whether or not we wish to ask the
15600 user for a new key.
15601 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15602 info-daemon in the return message, so use NULL instead. The
15603 key will be filled in at connect time by calling
15604 nm_dbus_get_user_key_for_network()
15606 * src/NetworkManagerDevice.c
15607 - (nm_device_wireless_configure): update for "new_key" param to
15608 nm_dbus_get_user_key_for_network(). We initially set new_key
15609 to FALSE to see if we have a stored key in the info-daemon, but
15610 if the connection is unsuccessful at this stage we request a
15613 2005-08-17 Dan Williams <dcbw@redhat.com>
15615 * gnome/applet/icons/nm-no-connection.png
15616 gnome/applet/icons/nm-device-wired.png
15617 - Use Diana's new RJ45 connector icons
15619 2005-08-17 Dan Williams <dcbw@redhat.com>
15621 * src/NetworkManagerPolicy.c
15622 - (nm_policy_device_change_check): clarify switching rules if
15623 both new and old devices are valid; mainly, don't switch
15624 away from user-requested wireless connection back to a wired
15627 2005-08-17 Dan Williams <dcbw@redhat.com>
15629 * gnome/applet/Makefile.am
15630 - Relocate the applet to /usr/bin since it is no longer
15631 executed by anything, but directly by the user
15633 2005-08-17 Dan Williams <dcbw@redhat.com>
15635 Patch from Bill Moss <bmoss@clemson.edu>
15637 * gnome/applet/applet-dbus-info.[ch]
15638 - (nmi_save_network_info): save timestamp for network if it
15639 was a change requested by the user
15640 - (nmi_dbus_update_network_info): get user_requested from dbus
15641 message and pass to nmi_save_network_info()
15643 * gnome/applet/applet.c
15644 - (nmwa_update_network_timestamp): remove
15645 - (nmwa_menu_item_activate): don't set timestamp on networks
15646 here, only after a successful connect in nmi_save_network_info()
15648 * src/NetworkManagerDbus.[ch]
15649 - (nm_dbus_update_network_info): pass user_requested into the
15652 * src/NetworkManagerPolicy.c
15653 - (nm_policy_activation_finish): pass user_requested to
15654 nm_dbus_update_network_info()
15656 2005-08-16 Robert Love <rml@novell.com>
15658 * gnome/applet/applet.c: Better "Dial Up" menu item.
15660 2005-08-16 Robert Love <rml@novell.com>
15662 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15663 "Connection Information" menu item.
15665 2005-08-16 Dan Williams <dcbw@redhat.com>
15667 Patch from j@bootlab.org
15668 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
15670 * configure.in: allow specifying the path to dhcdbd
15672 2005-08-16 Robert Love <rml@novell.com>
15674 Patch from j@bootlab.org
15675 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
15676 src/backends/interface_parser.h: Debian dialup support.
15678 2005-08-16 Christopher Aillon <caillon@redhat.com>
15680 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
15681 * gnome/applet/applet.c: Add some mnemonics for VPNC
15683 * vpn-daemons/.cvsignore: fix this up a little bit
15685 2005-08-16 Robert Love <rml@novell.com>
15687 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
15690 2005-08-16 Christopher Aillon <caillon@redhat.com>
15692 * gnome/applet/applet.c: Split markup out of translatable strings
15693 and clean up logic a little bit. (fixes #309012)
15695 2005-08-15 Christopher Aillon <caillon@redhat.com>
15697 * gnome/vpn-properties/nm-vpn-properties.c:
15698 * gnome/vpn-properties/nm-vpn-ui-interface.h:
15699 * vpn-daemons/vpnc/properties/nm-vpnc.c:
15700 Makeshift fix to remove newlines from translatable strings.
15701 Note that we now return an allocated string, so callers of
15702 get_confirmation_details () must now call g_free () on the
15703 result. (fixes #309033).
15705 2005-08-12 Robert Love <rml@novell.com>
15707 * gnome/applet/applet-dbus.c: remove newlines from translatable
15708 strings--not needed here anyway. (fix b.g.o #309011)
15709 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
15711 2005-08-11 Robert Love <rml@novell.com>
15713 * gnome/applet/applet.c: mark string as translatable.
15715 2005-08-11 Robert Love <rml@novell.com>
15717 * initscript/SUSE/networkmanager: update.
15719 2005-08-11 Dan Williams <dcbw@redhat.com>
15721 * src/nm-dhcp-manager.c
15722 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
15723 an gateway returned from DHCP, try to use the address of the DHCP
15724 server as the gateway instead. Found by Ralf Ertzinger.
15726 2005-08-10 Robert Love <rml@novell.com>
15728 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
15729 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
15731 2005-08-10 Dan Williams <dcbw@redhat.com>
15733 Patch from Bill Moss <bmoss@clemson.edu>
15734 * Consolidate writes of access point information updates to the info daemon
15735 so that we only do it when the connection to the access point was
15736 successful. Also consolidates updates to GConf in the Gnome applet.
15738 * src/nm-netlink-monitor.c
15739 - Silence compile warning when calling g_object_new()
15741 2005-08-08 Dan Williams <dcbw@redhat.com>
15743 Patch from Steev <steev@steev.net>:
15744 * src/backends/NetworkManagerGentoo.c
15745 - Stub new dialup backend functions
15747 2005-08-08 Dan Williams <dcbw@redhat.com>
15749 Patch from Colin Slater:
15750 * src/backends/NetworkManagerGentoo.c
15751 - (nm_system_update_dns): Fix exit status check for restarting
15754 2005-08-05 Robert Love <rml@novell.com>
15756 * NetworkManager.h,
15757 gnome/applet/applet-dbus-devices.c,
15758 gnome/applet/applet-dbus-devices.h,
15759 gnome/applet/applet-dbus.c,
15760 gnome/applet/applet.c,
15761 gnome/applet/applet.h,
15762 src/NetworkManager.c,
15763 src/NetworkManagerMain.h,
15764 src/NetworkManagerSystem.h,
15765 src/backends/NetworkManagerRedHat.c,
15766 src/backends/NetworkManagerSuSE.c,
15767 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
15769 2005-08-05 Robert Love <rml@novell.com>
15771 * gnome/applet/other-network-dialog.c: default the adhoc network to the
15772 machine's hostname to make adhoc creation idiot-proof.
15774 2005-08-04 Robert Love <rml@novell.com>
15776 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
15779 2005-08-04 Dan Williams <dcbw@redhat.com>
15781 * gnome/applet/applet-dbus-info.c
15782 gnome/applet/applet-dbus-info.h
15783 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
15784 to store key, key type, and auth method rather than just auth method
15785 - (nmi_dbus_update_network_info): new function
15786 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
15788 * gnome/applet/passphrase-dialog.c
15789 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
15790 of saving the info ourselves
15792 * gnome/libnm_glib/libnm_glib.c
15793 - Remove the stupid version check for dbus
15795 * src/NetworkManagerAP.c
15796 src/NetworkManagerAP.h
15797 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
15799 * src/NetworkManagerDbus.c
15800 src/NetworkManagerDbus.h
15801 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
15802 more than just the auth method
15804 * src/NetworkManagerDevice.c
15805 - Update network info at the appropriate times
15807 2005-07-29 Ray Strode <rstrode@redhat.com>
15809 * src/NetworkManager.c (nm_info_handler): don't use input as format
15810 string (Spotted by Ian Jackson).
15812 2005-07-27 Dan Williams <dcbw@redhat.com>
15816 - Random cleanups of spacing
15818 * gnome/applet/applet.h
15819 gnome/applet/other-network-dialog.c
15820 gnome/applet/passphrase-dialog.c
15821 - Conslidate usage of NMWAEncryptionKeyTypes enum
15823 Patch from Bill Moss:
15824 - Make Other Wireless Networks work again with encryption keys
15826 2005-07-26 Dan Williams <dcbw@redhat.com>
15828 Patch from Steev <steev@steev.net>:
15829 * src/backends/NetworkManagerGentoo.c
15830 src/backends/Makefile.am
15831 - Fix up Gentoo backend
15833 2005-07-26 Robert Love <rml@novell.com>
15835 * src/backends/NetworkManagerSuSE.c: misc. cleanup
15837 2005-07-25 Robert Love <rml@novell.com>
15839 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
15840 in the same group as the wireless networks, since they are all
15841 mutually exclusive.
15843 2005-07-24 Ray Strode <rstrode@redhat.com>
15845 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
15846 remove unneeded NULL arg from g_object_new(). Any
15847 warnings caused by not having the extra NULL are just a
15848 result of a bug in glib 2.7.0 - 2.7.2.
15850 2005-07-22 Robert Love <rml@novell.com>
15852 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
15854 2005-07-22 Robert Love <rml@novell.com>
15856 * src/nm-netlink-monitor.c: g_object_new() needs at least three
15857 parameters (gcc 4.0.2 warning fix).
15859 2005-07-18 Robert Love <rml@novell.com>
15861 Suggested by Aaron Bockover (abockover@novell.com)
15862 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
15864 * gnome/applet/passphrase-dialog.c: ditto
15865 * gnome/applet/wireless-applet.glade: ditto
15867 2005-07-13 Dan Williams <dcbw@redhat.com>
15869 Patch from Ray Strode <halfline@gmail.com>
15870 * vpn-daemons/vpnc/nm-vpnc-service.c
15871 - Don't let vpnc daemonize, fixes some races with PID file reading
15873 2005-07-13 Dan Williams <dcbw@redhat.com>
15875 Patch from Ray Strode <halfline@gmail.com>
15876 * Random cleanups for strict CFLAGS
15878 2005-07-07 Dan Williams <dcbw@redhat.com>
15880 Patch from Derek Atkins <warlord@MIT.EDU>
15881 * src/nm-dbus-net.c:
15882 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
15884 2005-07-07 Dan Williams <dcbw@redhat.com>
15886 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
15887 * src/backends/NetworkManagerGentoo.c
15888 - Gentoo backend Static IP nameserver fixes
15889 - General Gentoo backend goodness
15891 2005-07-07 Dan Williams <dcbw@redhat.com>
15893 Patch from Bastien Nocera:
15894 * gnome/applet/applet.c
15895 - Fix up error reporting when icons or glade files are missing
15897 2005-07-07 Robert Love <rml@novell.com>
15899 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
15900 are not any VPN connections above it.
15902 2005-07-07 Robert Love <rml@novell.com>
15904 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
15906 2005-07-05 Robert Love <rml@novell.com>
15908 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
15911 2005-07-05 Robert Love <rml@novell.com>
15913 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
15914 on wired or unencrypted wireless.
15916 2005-07-01 Robert Love <rml@novell.com>
15918 * src/NetworkManagerSystem.c: Print the error via strerror().
15920 2005-06-30 Robert Love <rml@novell.com>
15922 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
15923 then exit if the glade file is not found. currently the application
15926 2005-06-30 Robert Love <rml@novell.com>
15928 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
15929 explicitly up all interfaces on wake from sleep.
15931 2005-06-30 Robert Love <rml@novell.com>
15933 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
15934 with information about the currently active connection.
15935 * gnome/applet/applet.h: (ditto)
15936 * gnome/applet/wireless-applet.glade: (ditto), new file
15938 2005-06-30 Robert Love <rml@novell.com>
15940 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
15941 * src/nm-dbus-nm.c: print when we sleep and wake up.
15942 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
15943 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
15944 in /sbin unless D-BUS is, folks).
15945 * README: update to reflect nm-applet replacing NetworkManagerInfo.
15947 2005-06-27 Robert Love <rml@novell.com>
15949 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
15952 2005-06-27 Robert Love <rml@novell.com>
15954 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
15957 2005-06-26 Robert Love <rml@novell.com>
15959 * src/NetworkManagerDevice.c: be specific about which device in
15962 2005-06-23 Adam Weinberger <adamw@gnome.org>
15964 * src/nm-netlink-monitor.c: correct spelling error.
15966 2005-06-23 Robert Love <rml@novell.com>
15968 * gnome/applet/applet-dbus-info.c: gnome keyring support!
15969 * gnome/applet/passphrase-dialog.c: more of that keyring!
15971 2005-06-23 Robert Love <rml@novell.com>
15973 * configure.in: remove extraneous GNOMEKEYRING directives.
15974 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
15975 * gnome/applet/applet.c: nmwa_icons_init: make style local.
15976 * gnome/applet/passphrase-dialog.c: whitespace.
15978 2005-06-23 Robert Love <rml@novell.com>
15980 * src/NetworkManagerDevice.c: division in assignment was flipped.
15982 2005-06-23 David Zeuthen <david@fubar.dk>
15984 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
15985 signal to the child to indicate that we got what we wanted when we
15986 see two new-lines right after each other.
15987 (nmwa_vpn_request_password): Pass a structure with several members
15988 instead of just the passwords
15990 2005-06-23 Dan Williams <dcbw@redhat.com>
15992 * src/NetworkManager.c
15993 src/NetworkManagerMain.h
15994 - (nm_get_hal_ctx): new function, move Hal initialization code here
15995 - (nm_hal_init): new function, init libhal context then add devices
15996 - (nm_hal_deinit): new function, clean up libhal context
15997 - (nm_data_free): Move Hal cleanup here
15998 - (main): check whether Hal is running, and if so, get a list of
15999 network devices from it
16001 * src/NetworkManagerDbus.c
16002 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16003 and when it appears, get a list of network devices from it. If
16004 Hal goes away, clean up the libhal context
16006 2005-06-22 Robert Love <rml@novell.com>
16008 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16009 permissions of scripts before executing.
16011 2005-06-21 Robert Love <rml@novell.com>
16013 * initscript/SUSE/networkmanager: update.
16014 * src/backends/NetworkManagerSuSE.c: cleanup.
16016 2005-06-21 Robert Love <rml@novell.com>
16018 * gnome/applet/applet.c: use menu mnemonics.
16019 * gnome/applet/menu-items.c: (ditto)
16021 2005-06-21 Robert Love <rml@novell.com>
16023 * applet/applet-dbus-devices.c: mark non-static functions static.
16024 * applet/applet-dbus-vpn.c: (ditto)
16025 * applet/applet.c: (ditto)
16026 * applet/nm-device.h: (ditto)
16027 * applet/other-network-dialog.c: (ditto)
16028 * applet/passphrase-dialog.c: (ditto)
16029 * NetworkManager.c: (ditto)
16030 * NetworkManagerDbus.c: (ditto)
16031 * NetworkManagerDevice.c: (ditto)
16032 * NetworkManagerPolicy.c: (ditto)
16033 * NetworkManagerUtils.c: (ditto)
16034 * NetworkManagerWireless.c: (ditto)
16035 * NetworkManagerWireless.h: (ditto)
16036 * nm-netlink-monitor.c: (ditto)
16037 * applet/applet-dbus-info.c: (ditto), add FIXME's.
16038 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16039 * autoip.c: include autoip.h.
16040 * autoip.h: new file. define get_autoip().
16041 * nm-netlink-monitor.h: define nm_netlink_close_connection().
16042 * NetworkManagerDbus.h: remove duplicate definitions.
16044 2005-06-20 Robert Love <rml@novell.com>
16046 * Makefile.am: Add missing intltool-foo.in generated files to
16047 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
16048 with the start of stuff to cleanup on 'distclea'.
16049 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16050 stuff right and 'distcheck' works.
16051 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
16052 we keep it, we need to add all of examples/* to EXTRA_DIST and do
16053 Makefile.am for each. And systray/Makefile needs to be redone.
16055 2005-06-19 Dan Williams <dcbw@redhat.com>
16057 * src/NetworkManagerDevice.c
16058 - (nm_device_wireless_process_scan_results): scan every 20s when
16059 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16061 2005-06-19 Dan Williams <dcbw@redhat.com>
16063 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16065 2005-06-18 Ray Strode <rstrode@redhat.com>
16067 * src/nm-netlink-monitor.c
16068 (nm_netlink_monitor_event_handler): check for the presence
16069 of either error condition not both.
16071 (nm_netlink_monitor_error_handler): emit error signal if
16074 (nm_netlink_monitor_event_handler),
16075 (nm_netlink_monitor_error_handler),
16076 (nm_netlink_monitor_disconnect_handler): if an
16077 assertion fails disconnect the event handler to prevent
16080 * src/nm-netlink-monitor.h: add new error condition
16081 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16083 2005-06-18 Ray Strode <rstrode@redhat.com>
16085 * src/nm-netlink-monitor.c
16086 (nm_netlink_monitor_event_handler): remove bogus < 0
16087 check on unsigned value and return early if the kernel
16088 didn't send any bytes.
16090 2005-06-17 Robert Love <rml@novell.com>
16092 * initscript/SUSE/networkmanager: Change the Provides and default
16095 2005-06-16 Dan Williams <dcbw@redhat.com>
16097 Patch from Robert Love:
16098 * gnome/applet/applet.c
16099 - Beautify some applet menu item names
16101 2005-06-17 David Zeuthen <davidz@redhat.com>
16103 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16104 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16105 Also add new methods can_export, import_file and export.
16107 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16110 * gnome/vpn-properties/nm-vpn-properties.c:
16111 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16112 nm-vpn-ui-interface.h.
16113 (update_edit_del_sensitivity): Also update "Export" sensitivity
16114 (add_vpn_connection): Also add new SVC_NAME column
16115 (import_settings): New function
16116 (retrieve_data_from_selected_connection): New function
16117 (edit_cb): Use retrieve_data_from_selected_connection to simplify
16119 (export_cb): New function
16120 (init_app): Also setup the "export" widget
16121 (main): Support the --import-service and --import-file commandline
16124 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16127 2005-06-16 Dan Williams <dcbw@redhat.com>
16129 Patch from Robert Love:
16130 * gnome/applet/menu-items.c
16131 - (network_menu_item_new): pass -1 as wireless network
16132 menu items height size request rather than ascent / 2
16134 2005-06-16 Dan Williams <dcbw@redhat.com>
16136 * Clean up wording in Wireless Scan Methods menu items and constants
16138 2005-06-16 Robert Love <rml@novell.com>
16141 - remove gtkcell* files
16143 2005-06-15 Dan Williams <dcbw@redhat.com>
16145 Patch from Robert Love: make the applet stetic
16147 * gnome/applet/Makefile.am
16148 - Don't compile the gtkcellview and gtkcellrendererprogress files
16150 * gnome/applet/gtkcellview.h
16151 gnome/applet/gtkcellview.c
16152 gnome/applet/gtkcellrendererprogress.h
16153 gnome/applet/gtkcellrendererprogress.c
16156 * gnome/applet/menu-items.c
16157 - Progress bars are 5:1 size ratio
16158 - Use GTK progress bars rather than internal ones
16160 2005-06-15 Dan Williams <dcbw@redhat.com>
16162 Patch from Robert Love:
16163 * initscript/SUSE/networkmanager
16166 2005-06-15 Dan Williams <dcbw@redhat.com>
16168 * src/backends/NetworkManagerSuSE.c
16169 src/backends/NetworkManagerRedHat.c
16170 src/backends/NetworkManagerDebian.c
16171 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16173 2005-06-15 Dan Williams <dcbw@redhat.com>
16175 * src/backends/NetworkManagerDebian.c
16176 - Add nm_system_device_get_use_dhcp() to debian backend
16178 Patch from Kay Sievers:
16179 * src/backends/NetworkManagerSuSE.c
16180 - Update debian backend for static IP nameservers
16182 * src/NetworkManagerDevice.c
16183 - Actually set the device to use static IP or DHCP rather
16186 2005-06-15 Dan Williams <dcbw@redhat.com>
16188 Patch from Thom May:
16189 * src/backends/NetworkManagerDebian.c
16190 - Update debian backend for static IP nameservers
16192 2005-06-15 Dan Williams <dcbw@redhat.com>
16194 Patches from Robert Love:
16195 * gnome/applet/wireless-applet.glade
16196 - Tighten up wording
16198 * src/NetworkManagerDevice.c
16199 - Remove misplaced ';'
16202 initscript/Makefile.am
16203 initscript/SUSE/Makefile.am
16204 initscript/SUSE/networkmanager
16205 - Add SUSE initscript
16207 2005-06-12 David Zeuthen <davidz@redhat.com>
16209 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16211 * gnome/vpn-properties/nm-vpn-properties.glade: New file
16213 * gnome/vpn-properties/nm-vpn-properties.c: New file
16215 * gnome/vpn-properties/Makefile.am: New file
16217 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16220 * src/vpn-manager/nm-vpn-manager.c
16221 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16222 instead of just a single one
16224 * src/vpn-manager/nm-dbus-vpn.c:
16225 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16227 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16229 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
16230 Change the interface here to give a list of passwords. Also, don't
16231 require username, but do require service
16233 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16234 the binary for the auth-dialog and use that instead of putting up a
16235 dialog asking for a single password
16237 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16238 however do remember the service
16240 * gnome/applet/main.c (main): Setup i18n
16242 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16243 connection to '%s'" to the tooltip if we are connected using VPN
16244 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16245 key to determine whether we the auth-dialog needs to
16246 reprompt. Also cope with the fact that the auth-dialog now returns
16247 an array of passwords.
16248 (nmwa_menu_configure_vpn_item_activate): New handler for
16249 "Configure VPN..." menu item
16250 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16251 (is_vpn_available): New function to determine if we got any
16252 NM-compatible VPN software installed
16253 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16254 items only if we have NM-compatible VPN software installed
16255 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16256 logic for detecting when VPN connections are removed
16258 * gnome/applet/applet-dbus.h: Removed the prototypes for
16259 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16260 since these are defined elsewhere
16262 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16263 function used to keep track of whether the last attempt succeded
16264 (nmwa_dbus_filter): Update last_attempt according to whether the
16265 VPN connection could be established or not
16267 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
16268 Change prototype to take an array of passwords, not just a single
16271 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16272 update service, not user
16273 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16274 dbus_active_vpn_name is not NULL before using it
16275 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16276 string array instead of assuming a single password
16278 * gnome/applet/applet-dbus-info.c:
16279 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16280 user name; don't read from gconf
16282 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
16285 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16287 * configure.in: Add checks for gmodule-2.0.
16288 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16289 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16290 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
16293 * vpn-daemons/Makefile.am: Removed
16295 * vpn-daemons/README: New file to describe extensions points for VPN
16298 2005-06-10 Dan Williams <dcbw@redhat.com>
16300 * src/backends/NetworkManagerRedHat.c
16301 - (get_current_profile_name): new function, grab current network profile name from
16302 /etc/sysconfig/network
16303 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16304 update an IP4 Config structure's settings from it
16305 - (nm_system_device_get_system_config): if we're using static IP on this device,
16306 get DNS info from current network profile
16308 2005-06-09 Dan Williams <dcbw@redhat.com>
16310 Patch from Robert Love:
16311 * src/NetworkManagerDevice.c
16312 src/NetworkManagerUtils.c
16313 - 64-bit build fixes
16315 2005-06-09 Dan Williams <dcbw@redhat.com>
16317 Patch from Kay Sievers and Robert Love:
16319 src/backends/Makefile.am
16320 src/backends/NetworkManagerSuSE.c
16323 2005-06-09 Dan Williams <dcbw@redhat.com>
16326 - Add NMWirelessScanMethod enum for scan methods
16328 * gnome/applet/applet-dbus-devices.c
16329 - (nmwa_dbus_update_scanning_enabled_cb): remove
16330 - (nmwa_dbus_update_scanning_enabled): remove
16331 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16332 since it got removed
16333 - (nmwa_dbus_enable_scanning): remove
16335 * gnome/applet/applet-dbus-info.c
16336 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16337 update the wireless scanning method from NMI
16338 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16339 method value to NetworkManager
16340 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16342 * gnome/applet/applet-dbus-info.h
16343 - Add prototype for nmi_dbus_signal_update_scan_method
16345 * gnome/applet/applet.c
16346 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16347 Wireless Scanning menu based on current wireless scan method
16348 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16349 signal for Wireless Scanning menu items, tell NetworkManager the new method
16350 and update our menu items to make sure the right one is checked
16351 - (nmwa_set_scanning_enabled_cb): remove
16352 - (nmwa_context_menu_update): remove references to pause_scanning_item
16353 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16355 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16357 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16358 so we get notified of preference values too
16359 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16361 * gnome/applet/applet.h
16362 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16363 - Add wireless scan method member to applet data
16364 - Remove pause_scanning_item, add Wireless Scanning submenu
16366 * src/NetworkManager.c
16367 - (nm_data_new): default to NM_SCAN_METHOD_ON
16368 - (main): grab scanning method from NMI if we can
16370 * src/NetworkManagerDbus.c
16371 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16372 nm_dbus_update_wireless_scan_method()
16373 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16375 - (nm_dbus_nmi_is_running): redundant function, removed
16376 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16377 when NMI comes back
16379 * src/NetworkManagerDevice.c
16380 - (nm_device_is_activated): return TRUE if the device is activated
16381 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16382 and we are activated
16385 - (nm_dbus_nm_set_scanning_enabled): removed
16386 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16387 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16389 2005-06-09 Dan Williams <dcbw@redhat.com>
16392 src/vpn-manager/nm-vpn-service.c
16393 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16395 2005-05-27 Dan Williams <dcbw@redhat.com>
16397 * vpn-daemons/vpnc/nm-vpnc-service.c
16398 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16399 Should fix the bug where the VPN connection terminates the first time.
16401 2005-05-20 Dan Williams <dcbw@redhat.com>
16404 - Differentiate VPN config signals between bad VPN config options
16407 * gnome/applet/applet-dbus-info.h
16408 - Add prototypes for wireless network and vpn connection update functions
16410 * gnome/applet/applet-dbus.c
16411 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16413 * gnome/applet/applet.c
16414 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16416 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16417 propogation to NetworkManager
16418 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16419 notify propogation to NetworkManager
16421 * src/NetworkManagerDbus.c
16422 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16423 are updating so a network can be removed from it if necessary
16425 * src/vpn-manager/nm-vpn-manager.c
16426 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16428 * vpn-daemons/vpnc/nm-vpnc-service.c
16429 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16430 - (nm_vpnc_dbus_signal_launch_failed): remove
16431 - (nm_vpnc_dbus_signal_connect_failed): remove
16432 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16433 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16434 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16435 for new generalized error signal function, remove config file stuff
16436 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16437 we can write configuration options to it
16438 - (nm_vpnc_config_file_generate): removed
16439 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16440 - (nm_vpnc_config_options_validate): validate the config options we receive
16441 from NetworkManager to block potential exploits
16442 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16444 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16447 2005-05-16 Dan Williams <dcbw@redhat.com>
16449 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16450 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16453 2005-05-16 Dan Williams <dcbw@redhat.com>
16455 Patch from Tomislav Vujec <tvujec@redhat.com>
16456 * gnome/applet/applet-dbus-info.c
16457 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16458 GConf and pass them to NetworkManager. New key is 'routes' under
16459 the VPN connection, and should be a string list
16461 * src/NetworkManagerSystem.c
16462 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16463 set them on the device when we set the rest of the VPN config. Ensure
16464 they are in the correct format since they are passed directly to the
16467 * src/backends/NetworkManagerRedHat.c
16468 src/backends/NetworkManagerDebian.c
16469 - (nm_system_device_add_route_via_device_with_iface): new function
16471 * src/vpn-manager/nm-dbus-vpn.c
16472 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16474 * src/vpn-manager/nm-vpn-manager.c
16475 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16476 them into the IP4 config functions
16478 2005-05-15 Dan Williams <dcbw@redhat.com>
16480 From Filip Miletic:
16484 - Serbian translation added
16486 2005-05-15 Dan Williams <dcbw@redhat.com>
16488 * dispatcher-daemon/NetworkManagerDispatcher.c
16489 - (main): sync arguments with NetworkManager and the applet, now use
16490 "--no-daemon" rather than "daemon=no"
16491 - (nmd_print_usage): Fix script path in usage message
16493 2005-05-15 Dan Williams <dcbw@redhat.com>
16495 * src/NetworkManagerDevice.[ch]
16496 src/NetworkManagerPolicy.c
16497 src/NetworkManager.c
16499 - Remove the "just_added" parameter from nm_device_deactivate(). We no
16500 longer send the DeviceNoLongerActive signal unconditionally, but only
16501 when the device is actually active.
16503 * dispatcher-daemon/NetworkManagerDispatcher.c
16504 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16505 and simplify the logic
16506 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16507 we free it later on
16509 * initscript/RedHat/Makefile.am
16510 initscript/RedHat/NetworkManagerDispatcher
16511 - Add initscript for NetworkManagerDispatcher
16514 Patch from Bill Moss:
16515 * dispatcher-daemon/NetworkManagerDispatcher.c
16516 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16518 * src/NetworkManagerDbus.c
16519 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
16520 and DeviceNowActive gets signaled, then the device has a new IP address
16521 anyway. There's no need for a separate signal.
16523 * src/NetworkManagerDevice.c
16524 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16526 * src/NetworkManagerPolicy.c
16527 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16528 activates successfully. This kind of went missing when I reworked the
16531 2005-05-15 Dan Williams <dcbw@redhat.com>
16534 - Check for dhcdbd and error if its not found
16536 * src/dhcp-manager/Makefile.am
16537 src/dhcp-manager/nm-dhcp-manager.c
16538 - Use path to dhcdbd that configure found
16540 2005-05-14 Dan Williams <dcbw@redhat.com>
16542 * gnome/applet/nm-device.c
16543 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16544 sort wireless networks alphabetically
16546 * gnome/applet/applet-dbus-devices.c
16547 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16548 before copying them over to the GUI
16550 2005-05-14 Dan Williams <dcbw@redhat.com>
16552 * src/NetworkManager.c
16553 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16554 fixes a deadlock on shutdown with a VPN connection active. This function locks
16555 the device list, as does nm_get_active_device() which is called from
16556 nm_vpn_manager_deactivate_vpn_connection().
16558 2005-05-14 Dan Williams <dcbw@redhat.com>
16561 - Add signals for VPN Launch and Connect failures
16563 * gnome/applet/applet-dbus.c
16564 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16566 * gnome/applet/applet.c
16567 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16568 function to handle all VPN failure messages
16569 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
16570 function to hanlde all VPN failure messages
16571 - (show_warning_dialog): work around focus-stealing prevention
16573 * gnome/applet/other-network-dialog.c
16574 gnome/applet/passphrase-dialog.c
16575 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16576 problem where it never enabled for ASCII Key and Hex Key types
16578 * gnome/applet/wireless-applet.glade
16579 - Add window title to Other Wireless Network Dialog
16581 * src/vpn-manager/nm-dbus-vpn.c
16582 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16583 function to handle all VPN failure messages
16585 * src/vpn-manager/nm-vpn-manager.c
16586 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16588 * vpn-daemons/vpnc/nm-vpnc-service.c
16589 - (nm_vpnc_dbus_signal_launch_failed): new function
16590 - (nm_vpnc_dbus_signal_connect_failed): new function
16591 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16592 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16593 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16594 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16596 2005-05-11 Dan Williams <dcbw@redhat.com>
16598 * vpn-daemons/vpnc/nm-vpnc-service.c
16599 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16600 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16601 file exists before trying to write it out.
16603 2005-05-10 Dan Williams <dcbw@redhat.com>
16605 * gnome/applet/applet-dbus-device.c
16606 - (nmwa_dbus_set_device): remove check for valid key and key type, which
16607 prevented just entering ESSID and leaving key and key type up to
16608 NetworkManager (which should have them already cached)
16610 2005-05-08 Dan Williams <dcbw@redhat.com>
16612 * src/NetworkManagerPolicy.c
16613 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16614 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16615 fix a situation where NM is told to terminate and the device stops activation,
16616 but the main thread isn't aware of that because it would never have run
16617 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16620 * src/NetworkManagerDevice.c
16621 - (nm_device_probe_wired_link_state): cosmetic fixes
16622 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16623 we've failed to activate or been canceled.
16624 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16626 2005-05-08 Dan Williams <dcbw@redhat.com>
16628 * src/NetworkManagerWireless.c
16629 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16630 value of WEXT quality structures, and add a debug message when we cannot
16631 determine any quality % at all
16633 2005-05-08 Dan Williams <dcbw@redhat.com>
16635 * src/dhcp-manager/nm-dhcp-manager.c
16636 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16639 2005-05-06 Dan Williams <dcbw@redhat.com>
16641 * gnome/applet/applet-dbus-device.c
16642 gnome/applet/applet-dbus-info.c
16643 gnome/applet/applet-dbus.c
16644 gnome/applet/applet.c
16645 gnome/applet/applet.h
16646 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16648 * gnome/applet/applet-dbus.c
16649 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16650 so we notice when wired device's carriers come back on. Should
16651 fix issue with wired devices being grayed out even if the cable
16652 is in, for devices that support carrier detection.
16654 * gnome/applet/applet.c
16655 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16656 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16658 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16659 Fix situation where applet wouldn't respond to menu selections
16661 * src/NetworkManager.c
16662 src/NetworkManagerDevice.c
16663 src/NetworkManagerDbus.c
16664 src/NetworkManagerDbus.h
16665 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
16667 * src/NetworkManagerDbus.c
16668 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
16669 Remove, no longer used or relevant
16670 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
16671 - (nm_dbus_schedule_device_status_change_signal): add
16673 * src/NetworkManagerDevice.c
16674 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
16675 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
16676 ie don't deactivate them unless explicitly told to by the user. Also send
16677 CARRIER_OFF / CARRIER_ON signals when link changes
16678 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
16679 Don't print error message when device is no longer around
16680 - (nm_device_deactivate): kill any current DHCP process attached to this device,
16681 not just during activation
16683 * src/NetworkManagerPolicy.c
16684 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
16685 auto-device-selection.
16686 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
16688 * src/NetworkManagerSystem.c
16689 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
16690 is no longer present (Bill Moss)
16692 * src/backends/shvar.c
16693 - (svOpenFile): Open read-only to make SELinux happy
16695 * src/backends/NetworkManagerRedHat.c
16696 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
16697 the path to the ifcfg-* files
16699 2005-05-05 Dan Williams <dcbw@redhat.com>
16701 * Expose activation stages to NetworkManager clients, like the applet
16702 * Add Diana's progress icons to the applet, cued off NM activation stage
16703 * Use more descriptive tooltips, cued off NM activation stage
16705 2005-05-05 Ray Strode <rstrode@redhat.com>
16707 * src/nm-netlink-monitor.c:
16708 - Use clear_event_source instead of g_nullify_pointer() again.
16710 2005-05-05 Dan Williams <dcbw@redhat.com>
16712 * gnome/applet/main.c
16713 - Fix session management so the applet is actually managed now
16715 * gnome/applet/passphrase-dialog.c
16716 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
16718 2005-05-05 Dan Williams <dcbw@redhat.com>
16720 Patch from Bill Moss:
16721 * gnome/libnm_glib/libnm_glib.c
16722 - Fix for dbus-0.33
16724 2005-05-05 Dan Williams <dcbw@redhat.com>
16726 Suggestion from Bill Moss:
16727 * src/NetworkManagerSystem.c
16728 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
16731 * src/NetworkManager.c
16732 - (nm_data_free): move destruction of the various managers after
16733 release of device list, because deactivating and freeing a device
16734 requires at least the named manager
16735 - (nm_poll_and_update_wireless_link_state):
16736 (nm_device_link_activated):
16737 (nm_device_link_deactivated):
16738 don't grab the device list lock when actually updating device
16739 link status or strength, since nm_device_set_link_active()
16740 needs to call nm_get_active_device(), which also locks the device list.
16742 * src/NetworkManagerDevice.c
16743 - (nm_device_set_link_active): if a device's link switches from off->on,
16744 and it's wired, and the active device is wireless (or there is no
16745 active device), activate the new device whose link just came on
16746 - (link_to_specific_ap): try to smooth over intermittency in wireless links
16747 my only calling the link to the current ap "failed" when more than 2
16748 consecutive link checks have failed
16750 2005-05-04 Dan Williams <dcbw@redhat.com>
16752 * src/NetworkManagerDevice.c
16753 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
16754 but let link_to_specific_ap() do the locking where it needs
16756 Patch from Bill Moss:
16757 * src/NetworkManagerSystem.c
16758 - Set MTU of VPN devices to 1412
16760 2005-05-04 Dan Williams <dcbw@redhat.com>
16762 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
16764 * Fix some holes in device activation and retaining the currently connected
16767 2005-05-03 Dan Williams <dcbw@redhat.com>
16769 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
16770 This means that NetworkManager shouldn't have DHCP issues anymore. It also
16771 means you need dhcdbd, which you can get here (get the latest one):
16773 http://people.redhat.com/jvdias/dhcdbd/
16775 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
16776 interface as dhcdbd.
16778 * Rewrite device activation to facilitate the new DHCP infrastructure and
16779 future improvements. Its now "activation request" based, ie there is a single
16780 activation request composed of the device, access point, and other info which
16781 follows the entire activation process. There are 5 stages of the activation
16782 process which correspond to:
16784 1) Device preparation
16785 2) Device configuration (bring it up, set ESSID/Key/etc)
16786 3) IP Config Start (fire off DHCP if we're using it)
16787 4) IP Config Get (grab config from DHCP or static config files)
16788 5) IP Config Commit (set device's IP address, DNS, etc)
16790 Note that there is no longer a "scanning" step, since the access point must
16791 be known _before_ activation starts. If the access point drops out or does
16792 not exist for some reason, the entire activation process fails and must be
16793 restarted for a different access point or device.
16795 Patch from Bill Moss:
16796 * gnome/applet/applet.c
16797 - Fix type of vpn_failure dialog -> vpn_banner dialog
16799 2005-04-27 Dan Williams <dcbw@redhat.com>
16801 * gnome/applet/applet-dbus-vpn.c
16802 gnome/applet/applet.c
16803 gnome/applet/applet.h
16804 - Fix up active VPN handling so that we reliably know when a VPN
16805 connection has been deactivated
16807 * src/vpn-manager/nm-vpn-manager.c
16808 - Remove duplicate VPNConnectionChange signal
16810 2005-04-27 Dan Williams <dcbw@redhat.com>
16812 Patch from Peter Jones:
16813 * Remove usage of varargs to fix crashes on PPC (RH #154336)
16815 Patch from Bill Moss:
16816 * src/NetworkManagerSystem.c
16817 - Fix checking of return value from ioctl()
16819 2005-04-27 Dan Williams <dcbw@redhat.com>
16821 * Fix choosing of wireless networks and "Other wireless network..." from the applet
16822 * Warn and exit if icons cannot be found
16824 2005-04-27 Dan Williams <dcbw@redhat.com>
16826 Patch from Tom Parker:
16827 * Update debian backend
16829 2005-04-27 Dan Williams <dcbw@redhat.com>
16831 * Merge the applet and the info-daemon, and move the converged
16832 applet under gnome/applet
16833 * Move libnm_glib to gnome/libnm_glib
16834 * Convert most dbus calls between the applet, info-daemon, and NM
16836 * Fix a few things valgrind noticed
16837 * Make NM broadcast state more reliably
16839 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
16841 * configure.in: Added ne in ALL_LINGUAS
16843 2005-04-15 Dan Williams <dcbw@redhat.com>
16845 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
16846 code for dbus 0.2x versions
16848 2005-04-15 Dan Williams <dcbw@redhat.com>
16850 Patches from Tom Parker:
16852 - Join with worker thread rather than polling for its exit
16854 Patch from Bill Moss:
16855 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
16857 2005-04-15 Dan Williams <dcbw@redhat.com>
16859 - Fixes to pass 'make distcheck'
16861 2005-04-15 Dan Williams <dcbw@redhat.com>
16863 Initial VPN Support
16865 - reworks device IP configuration, backend files have changed and will need
16866 to be updated for all distributions. I will try to do what I can for
16867 them, but I cannot test them.
16869 - Move named directory to src/named-manager
16870 - Make backends directory self-contained
16872 2005-04-06 Dan Williams <dcbw@redhat.com>
16874 Add debug code for socket/file descriptor leaks. We register every socket
16875 that we open (except for stuff in dhcpcd/) for tracking, and print out the
16876 list of sockets that we forgot to close on shutdown. This also consolidates
16877 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
16879 2005-04-06 Dan Williams <dcbw@redhat.com>
16882 - (dhcp_interface_free): fix a file descriptor leak that may have
16883 caused network drivers to not unload due to refcounts > 0
16885 2005-04-04 Dan Williams <dcbw@redhat.com>
16887 * panel-applet/NMWirelessAppletDbus.c
16888 - (nmwa_dbus_call_nm_method): remove some commented code
16890 * src/NetworkManagerAPList.[ch]
16891 - (nm_ap_list_remove_ap_by_essid): new function
16893 * src/NetworkManagerDevice.c
16894 - (nm_device_wireless_force_use): remove access points from the ignore list
16895 when the user forces them
16897 * src/nm-dbus-device.c
16898 - (nm_dbus_device_get_active_network): fix up escaping of object paths
16900 2005-04-04 Dan Williams <dcbw@redhat.com>
16902 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
16904 2005-04-04 Dan Williams <dcbw@redhat.com>
16906 * src/NetworkManagerDevice.c:
16907 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
16908 of only erroring after the second consecutive scan times out. Also
16909 don't exit when the card requires more time than we can give it, just
16910 log the event and continue.
16912 2005-04-01 Steve Murphy <murf@e-tools.com>
16914 * configure.in: Added "rw" to ALL_LINGUAS.
16916 2005-04-01 Dan Williams <dcbw@redhat.com>
16918 Perform scans during device activation, if needed. Both activation
16919 and scans run in the same GMainContext. Therefore, if an access point
16920 is not found by the time the device starts activation, it will not
16921 be available until after activation. We now try to scan during
16922 activation (in nm_wa_test) every 15s so that all available access
16923 points are more likely to be found and available for the activation
16926 Also change nm_wireless_link_state_handle() to only update the "best"
16927 AP if we are not forcing a device and if we are not about to change
16928 state. This attempts to work around a race when forcing a device,
16929 where the forced AP would get cleared out too soon by the link state
16930 checking timeout in the main thread, and the activation attempt with
16931 that AP would fail.
16933 2005-04-01 Dan Williams <dcbw@redhat.com>
16936 - Update with new translatables
16938 2005-03-31 Dan Williams <dcbw@redhat.com>
16940 * panel-applet/NMWirelessAppletDbus.c
16941 - Fix device names now that hal has changed device parenting for
16944 2005-03-31 Dan Williams <dcbw@redhat.com>
16946 Tighten up handling of wireless devices that don't support wireless
16947 scanning (ie, Orinoco). Due to restructuring of code, these devices
16948 hadn't been doing pseudo-scanning for a while either and would just
16949 spin waiting for an access point. They are now manual devices where
16950 the user must choose the access point from the menu every time. All
16951 "allowed" access points are listed in the applet's menu regardless
16952 of whether or not they can be seen by the card, since it can't scan
16955 * src/NetworkManager.c
16956 - (nm_wireless_link_state_handle): new function, but only update
16957 the "best" ap for non-scanning devices when its not activating,
16958 and when no device is being forced on the card
16959 - (nm_link_state_monitor): split wireless link state handling out
16960 into separate function
16962 * src/NetworkManagerDevice.c
16963 - (nm_device_copy_allowed_to_dev_list): new function
16964 - (nm_device_new): populate non-scanning cards' AP lists with
16965 access points from the "allowed" list
16966 - (nm_device_new): don't start a scanning timeout for devices that
16968 - (nm_device_activation_schedule_finish): new parameter, should be
16969 the AP that failed to be connected to, pass it on to the
16970 activation finish function in NetworkManagerPolicy.c
16971 - (nm_device_activate_wireless): don't ever try to get a new AP
16972 for non-scanning devices, just fail. The user must choose
16973 a new access point manually.
16974 - (nm_device_activate): grab the AP that failed connection and
16976 - (nm_device_update_best_ap): Clear the best AP if we don't have
16977 a link to it, user must manually choose a new one
16978 - (nm_device_do_pseudo_scan): remove function
16979 - (nm_device_wireless_process_scan_results): remove bits for non-
16980 scanning cards since they never get here
16981 - (nm_device_wireless_scan): remove bits for non-scanning devices,
16982 and fake the scan list for test devices a bit earlier
16984 * src/NetworkManagerPolicy.c
16985 - (nm_policy_activation_finish): use the failed_ap that we get
16986 passed rather than getting the best_ap from the card, which
16987 may have changed since we were scheduled
16988 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
16989 update their scan list directly from the allowed list when
16990 we get updates to the allowed list from NetworkManagerInfo
16992 * src/NetworkManagerPolicy.h
16993 - New member for failed access point in NMActivationResult
16995 -------------------------------------
16997 Driver Notification patch: notifies the user when their driver
16998 sucks. Gives them the option to ignore further insertions
16999 of the card that has the sucky driver.
17002 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17003 enum and replace it with NO_CARRIER_DETECT and
17006 * panel-applet/NMWirelessApplet.[ch]
17007 - Merge essid.glade -> wireless-applet.glade
17008 - Implement the "Your driver sucks" notification dialog
17010 * panel-applet/NMWirelessAppletDbus.c
17011 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17012 - Grab hardware address for each device from NM too
17013 - Check whether the driver for each device sucks or not whenever
17014 a new device is noticed
17016 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17017 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17019 * src/NetworkManager.c
17020 - Fix a double-unref on device removal
17022 * src/NetworkManagerUtils.c
17023 - Set appropriate driver support level on a device that doesn't
17024 support scanning or carrier detection
17026 * src/nm-dbus-device.c
17027 - New "getHWAddress" dbus method on devices
17028 - getSupportsCarrierDetect -> getDriverSupportLevel
17030 2005-03-31 Dan Williams <dcbw@redhat.com>
17032 * src/NetworkManagerDevice.c
17033 - (nm_device_wireless_scan): Fix leak of scan results in some
17036 2005-03-29 Dan Williams <dcbw@redhat.com>
17038 * src/NetworkManager.c
17039 - (nm_poll_and_update_wireless_link_state): make code less indented
17041 Patch from Bill Moss:
17042 * src/NetworkManager.c
17043 - (nm_device_update_link_state): Update signal strength on wireless
17044 devices every time we update link state too.
17046 2005-03-29 Dan Williams <dcbw@redhat.com>
17048 * src/NetworkManagerDevice.c
17049 - (nm_device_set_essid): Work around Orinoco cards which need
17050 extra time after setting the ESSID
17052 2005-03-29 Dan Williams <dcbw@redhat.com>
17054 * src/NetworkManagerDevice.c
17055 - Merge one more bit of Peter Jones' completion patch
17057 2005-03-29 Dan Williams <dcbw@redhat.com>
17059 * src/NetworkManagerDevice.c
17060 - (nm_device_force_use): Fix possible segfault
17062 2005-03-29 Dan Williams <dcbw@redhat.com>
17064 * src/NetworkManagerDevice.c
17065 - Use iw_get_ext() where we should rather than iw_set_ext()
17067 2005-03-29 Dan Williams <dcbw@redhat.com>
17069 * src/NetworkManagerDevice.c
17070 - (nm_device_set_up_down): remove check for unsupported devices
17071 that caused NM to not bring devices up when they were
17072 added to the device list.
17074 2005-03-28 Dan Williams <dcbw@redhat.com>
17076 * src/NetworkManagerDevice.c
17077 - (mdio_read): Fix two bugs that caused all devices to fail
17078 the MII carrier detection support checks
17080 2005-03-26 Dan Williams <dcbw@redhat.com>
17082 * src/NetworkManagerDevice.c
17083 - (nm_device_wireless_scan): Remove duplicated scanning code
17085 2005-03-25 Dan Williams <dcbw@redhat.com>
17087 * panel-applet/NMWirelessApplet.c
17088 - (nmwa_about_cb): Add some more contributors
17089 - (nmwa_update_state): show the applet when there's no connection
17090 - Enable the "Stop/Resume all wireless devices" option in the
17092 - New "no connection" icon
17094 * src/NetworkManager.c
17095 - (nm_poll_and_update_wireless_link_state): don't do anything if
17096 wireless is disabled or we're asleep
17098 * src/NetworkManagerDHCP.c
17099 - Remove trailing "\n" on debug messages
17101 * src/NetworkManagerDbus.c
17102 - (nm_dbus_network_status_from_data): new state "asleep"
17104 * src/NetworkManagerDevice.c
17105 - Merge most of Peter Jones' "completion" patch that greatly reduces
17106 latency and wait times for most operations
17107 - (nm_device_wireless_scan): Don't scan when asleep
17109 * src/NetworkManagerPolicy.c
17110 - (nm_policy_get_best_device): return no device when asleep
17111 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17112 for all wireless devices on update, not just active device
17114 * src/NetworkManagerUtils.c
17115 - Merge Peter Jones' "completion" patch
17118 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17119 we're told to disable them
17120 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17123 - New variants of the warn/info/error/debug print functions that can take
17124 variables rather than static strings
17126 2005-03-24 Dan Williams <dcbw@redhat.com>
17128 * src/NetworkManagerUtils.c
17129 - (nm_get_device_driver_name): driver names are now on the parents of
17130 "Network Interface" objects, so look for them there
17132 2005-03-24 Dan Williams <dcbw@redhat.com>
17135 - Escape some forgotten object paths before we shove them through dbus
17137 2005-03-24 Dan Williams <dcbw@redhat.com>
17139 * dhcpcd/dhcpcd.[ch]
17140 src/NetworkManagerDHCP.c
17141 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17142 (ie, dhcp_option_record_len -> dhcp_option_element_len)
17144 * src/NetworkManagerDbus.c
17147 * src/nm-dbus-dhcp.c
17148 - Make the API suck less. There is now only 1 type of each function,
17149 ie only "getInteger" and no longer also "getIntegerv". All types
17150 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17151 that will never have more than 1 element. This should simplify
17154 * test/nm-dhcp-opt-test.c
17155 - Make the tool not segfault
17156 - adapt to new DHCP Options API
17158 2005-03-22 Dan Williams <dcbw@redhat.com>
17160 * src/NetworkManager.c
17161 - (nm_wired_link_deactivated): actually ignore netlink events from
17164 2005-03-22 Dan Williams <dcbw@redhat.com>
17166 * src/NetworkManager.c
17167 - (nm_wired_link_activated): actually ignore netlink events from
17170 2005-03-17 Dan Williams <dcbw@redhat.com>
17172 Patch from Tom Parker:
17173 * src/nm-netlink-monitor.c
17175 * info-daemon/NetworkManagerInfoDbus.c
17176 - (nmi_dbus_update_network_auth_method): free GConf values
17178 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17179 * src/NetworkManagerDevice.c
17180 - (nm_device_set_wireless_config): wait for successful
17181 association longer for some cards (Atheros a/b/g)
17183 2005-03-15 Ray Strode <rstrode@redhat.com>
17185 * src/NetworkManager.c:
17186 (sigterm_pipe_handler):
17189 2005-03-15 Ray Strode <rstrode@redhat.com>
17191 * src/NetworkManagerDbus.c:
17192 Fix some sign weirdness that gcc4 doesn't like,
17193 and add a header file so PPC can hopefully find
17196 2005-03-14 Ray Strode <rstrode@redhat.com>
17198 Fourth (probably working) cut at porting to
17199 dbus 0.30 api and new hal. This cut adds
17200 some new logging macros to make debugging
17203 * dispatcher-daemon/NetworkManagerDispatcher.c:
17204 * info-daemon/NetworkmanagerInfo.c:
17205 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17206 * info-daemon/NetworkManagerInfoVPN.c:
17207 * src/NetworkManager.c:
17208 * src/NetworkManagerAP.c:
17209 * src/NetworkManagerAPList.c:
17210 * src/NetworkManagerDHCP.c:
17211 * src/NetworkManagerDbus.c:
17212 * src/NetworkManagerDevice.c:
17213 * src/NetworkManagerPolicy.c:
17214 * src/NetworkManagerSystem.c:
17215 * src/NetworkManagerUtils.c:
17216 * src/NetworkManagerWireless.c:
17218 * src/nm-dbus-nm.c:
17219 * src/backends/NetworkManagerDebian.c:
17220 * src/backends/NetworkManagerGentoo.c:
17221 * src/backends/NetworkManagerRedHat.c:
17222 * src/backends/NetworkManagerSlackware.c:
17223 use new logging macros.
17225 * dispatcher-daemon/NetworkManagerDispatcher.c:
17226 (nmd_dbus_filter): s/dbus_free/g_free/
17228 * info-daemon/Makefile.am: link in utils library.
17229 * info-daemon/NetworkmanagerInfo.c: use new logging
17231 (nmi_dbus_get_network): don't assume enumerations
17233 (nmi_dbus_nmi_message_handler): don't free what
17234 doesn't belong to us.
17236 * libnm_glib/libnm_glib.c:
17237 (libnm_glib_get_nm_status):
17238 (libnm_glib_init): don't free what doesn't
17240 (libnm_glib_dbus): strdup result, so it doesn't get
17241 lost when message is unref'd.
17243 * panel-applet/NMWirelessAppletDbus.c:
17244 (nmwa_dbus_update_devices): s/dbus_free/g_free/
17246 * src/NetworkManager.c:
17247 (nm_monitor_wired_link_state): request initial status
17248 dump of all cards when we start up, instead of relying
17249 on /sys/.../carrier.
17250 (nm_info_handler), (nm_set_up_log_handlers):
17251 log handlers to specify what syslog priorites
17252 the logging macros default to.
17254 * src/NetworkManagerAPList.c:
17255 (nm_ap_list_populate_from_nmi):
17256 s/dbus_free_string_array/g_strfreev/
17258 * src/NetworkManagerDbus.c:
17259 (nm_dbus_get_network_object):
17260 validate d-bus message argument types.
17261 Advance message iterator after reading argument,
17262 prepend instead of append to GSList.
17264 * src/NetworkManagerDevice.c:
17265 (nm_device_probe_wired_link_status):
17266 remove redundant /sys in /sys path. remove wrong
17267 contents == NULL means has carrier assumption.
17269 * src/nm-netlink-monitor.c
17270 (nm_netlink_monitor_request_status): implement
17271 function to ask kernel to dump interface link
17272 status over netlink socket.
17274 * test/*.c: s/dbus_free/g_free/
17276 * utils/nm-utils.h:
17277 (nm_print_backtrace): new macro to print backtrace.
17278 (nm_get_timestamp): new macro to get sub-second precise
17280 (nm_info), (nm_debug), (nm_warning), (nm_error):
17281 new logging functions. nm_info just prints,
17282 nm_debug includes timestamp and function,
17283 nm_warning includes function, nm_error includes
17284 backtrace and sigtrap.
17286 2005-03-11 Ray Strode <rstrode@redhat.com>
17288 Third (unfinished, partially working) cut at porting to
17289 dbus 0.30 api and new hal.
17291 * info-daemon/NetworkManagerInfoDbus.c:
17292 don't free null arrays.
17294 * panel-applet/NMWirelessAppletDbus.c:
17295 * src/nm-dbus-device.c:
17296 * src/nm-dbus-net.c:
17297 * src/NetworkManagerDbus.c: more
17298 STRING -> OBJECT_PATH fun
17299 * src/NetworkManagerDevice.c:
17300 * src/NetworkManagerDevice.h:
17301 (rename nm_device_get_link_active): rename to
17302 nm_device_has_active_link
17303 (nm_device_wireless_link_active): rename to
17304 nm_device_probe_wireless_link_state
17305 (nm_device_wired_link_active): rename to
17306 nm_device_probe_wired_link_state. Rewrite to
17307 use carrier file since hal doesn't maintain
17308 link state anymore.
17309 (nm_device_update_link_active): rename to
17310 nm_device_update_link_state
17311 * src/NetworkManagerPolicy.c
17312 (nm_policy_activation_finish): check for NULL
17316 * src/NetworkManagerMain.h:
17317 * src/NetworkManager.c:
17318 * src/nm-netlink-monitor.c:
17319 * src/nm-netlink-monitor.h: New class to support
17320 monitoring wired ethernet link status, since HAL
17321 doesn't export that information anymore.
17323 2005-03-09 Ray Strode <rstrode@redhat.com>
17325 Second (unfinished, unworking) cut at porting to
17328 * dispatcher-daemon/NetworkManagerDispatcher.c:
17329 * info-daemon/NetworkManagerInfoDbus.c:
17330 * panel-applet/NMWirelessAppletDbus.c:
17331 * src/NetworkManagerDbusUtils.c:
17332 * src/NetworkManagerDbusUtils.h:
17333 * src/nm-dbus-device.c:
17334 * src/nm-dbus-nm.c:
17335 * test/nmtest.c: support dbus "object path" type
17339 * info-daemon/Makefile.am:
17340 * libnm_glib/Makefile.am:
17341 * panel-applet/Makefile.am:
17342 * dispatcher-daemon/Makefile.am
17344 * test/Makefile.am:
17345 * utils/Makefile.am:
17346 * utils/nm-utils.c:
17347 * utils/nm-utils.h: new utils static lib
17349 2005-03-07 Ray Strode <rstrode@redhat.com>
17351 * info-daemon/NetworkManagerInfoDbus.c:
17352 * libnm_glib/libnm_glib.c:
17353 * panel-applet/NMWirelessAppletDbus.c:
17354 * src/NetworkManager.c:
17355 * src/NetworkManagerDbus.c:
17356 * src/NetworkManagerDevice.c:
17357 * src/NetworkManagerUtils.c:
17358 * src/nm-dbus-device.c:
17359 * src/nm-dbus-dhcp.c:
17360 * src/nm-dbus-net.c:
17361 * src/nm-dbus-nm.c:
17362 * test/nminfotest.c:
17363 First (unfinished, unworking) cut at porting to dbus 0.30 api.
17365 2005-03-04 Dan Williams <dcbw@redhat.com>
17370 2005-03-04 Dan Williams <dcbw@redhat.com>
17372 Patch from Peter Jones:
17373 - Make stuff work with gcc 4.0
17375 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
17377 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17379 2005-02-27 Jim Huang <jserv@kaffe.org>
17381 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17383 2005-02-27 Dan Williams <dcbw@redhat.com>
17385 Patch from Bill Moss:
17386 * panel-applet/NMWirelessAppletDbus.c
17387 - Make sure strength for current access point is up-to-date when we
17388 update the gui data model
17390 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
17392 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17394 2005-02-27 Dan Williams <dcbw@redhat.com>
17396 * src/backends/NetworkManagerRedHat.c
17397 - (nm_system_init): Kill any dhclient processes lying around as well
17398 as stopping 'nifd' if its already been started. NetworkManager
17399 subsumes the functions of nifd (kicking mDNSResponder, autoip)
17401 2005-02-27 Dan Williams <dcbw@redhat.com>
17403 * panel-applet/NMWirelessApplet.c
17404 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17405 dbus data model, not the GUI data model twice.
17407 2005-02-27 Dan Williams <dcbw@redhat.com>
17409 * panel-applet/NMWirelessApplet.[ch]
17410 panel-applet/NMWirelessAppletDbus.[ch]
17411 - Move to incremental network updates. Instead of blowing away our list
17412 of devices every time we get a signal from NetworkManager, we now
17413 incrementally add/remove networks when NetworkManager notifies us that
17414 a new network has appeared or disappered. Strength updates now happen
17415 on-the-fly for each access point as well. There are now two copies of
17416 data from NetworkManager: one for the dbus side, and one for the gui side.
17417 When the dbus side data is modified, it is copied over to the gui side
17418 so we don't have to hold the data_mutex for long periods of time (and
17419 therefore block animation of the applet's icon).
17420 - Clean up some memleaks too
17422 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17423 - Minor code beautification
17425 * src/NetworkManagerAPList.c
17426 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17427 completely new and whether or not an existing one's strength was updated.
17428 Try to fix multiple access points and signal strength by using the highest
17429 signal strength in each scan for any given ESSID.
17431 * src/NetworkManagerDbus.[ch]
17432 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17433 wireless networks; now we have only WirelessNetworkUpdate which includes
17434 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17435 - Kill usage of DbusMessageIter
17437 * src/NetworkManagerDevice.c
17438 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17439 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
17440 AP rather than all-at-once. Also don't ever remove the AP a card is
17441 currently associated with from the network list.
17442 - Update for new signals during scan, send out Appeared, Disappeared, or
17443 StrengthChanged when necessary.
17445 2005-02-25 Dan Williams <dcbw@redhat.com>
17448 - Line break the README
17450 2005-02-25 Dan Williams <dcbw@redhat.com>
17452 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17453 - Remove usage of gtk_window_set_default_size()
17455 * panel-applet/essid.glade
17456 - Stick default size here
17457 - Add in random crap that current glade wants to add in now
17459 2005-02-25 Dan Williams <dcbw@redhat.com>
17461 * src/backends/NetworkManagerRedHat.c
17462 - For non-caching-nameserver/non-named case, ensure that nscd is running
17463 and that we actually tell nscd to reload the hosts cache when it changes
17465 2005-02-25 Dan Williams <dcbw@redhat.com>
17467 * info-daemon/NetworkManagerInfoDbus.c
17468 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17470 * test/nminfotest.c
17471 - Whack usage of DbusMessageIter
17472 - Clean up DbusError and DbusMessage handling and freeing
17473 - Remove unused unregister handler
17476 - Whack usage of DbusMessageIter
17478 * test/nmtestdevices.c
17479 - Whack usage of DbusMessageIter
17481 2005-02-25 Dan Williams <dcbw@redhat.com>
17484 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17487 2005-02-25 Dan Williams <dcbw@redhat.com>
17489 * named/nm-named-manager.c
17490 - Ensure that pid and watch variables for child named process get cleared out
17491 when the child goes away.
17493 2005-02-22 Dan Williams <dcbw@redhat.com>
17495 * src/NetworkManagerPolicy.c
17496 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17497 and NULL out data->active_device so that we have to choose another one.
17498 This may make NetworkManager keep attempting to connect to a wired network
17499 if it fails, but if it keeps failing the wired network has more problems than
17500 just NetworkManager.
17502 * src/backends/NetworkManagerRedHat.c
17503 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17506 * named/nm-named-manager.c
17507 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17508 named so that the distro can flush whatever name service caching
17511 2005-02-21 Dan Williams <dcbw@redhat.com>
17513 * src/NetworkManagerDHCP.[ch]
17514 - (nm_device_dhcp_remove_timeouts): new function
17516 * src/NetworkManagerDevice.c
17517 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17518 remove the DHCP timeouts.
17520 2005-02-21 Dan Williams <dcbw@redhat.com>
17522 * panel-applet/NMWirelessApplet.[ch]
17523 panel-applet/menu-info.[ch]
17524 - Give the panel applet some major love: menu items are no longer
17525 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17526 This allows the applet to actually reflect theme changes correctly,
17527 since themeing of subclassed items in GTK _sucks_.
17529 2005-02-18 Dan Williams <dcbw@redhat.com>
17531 * libnm_glib/libnm_glib.[ch]
17532 test/libnm_glib_test.c
17533 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17534 and its data, and doesn't have to free the callback data anymore
17536 2005-02-18 Dan Williams <dcbw@redhat.com>
17538 * panel-applet/NMWirelessApplet.c
17539 - Revert 2005-02-18 William Jon McCann fix for standard
17540 copyright string until it passes 'make distcheck'.
17541 With standard copyright string, xgettext complains
17542 about "Non-ASCII string at ...".
17544 2005-02-18 Dan Williams <dcbw@redhat.com>
17546 * panel-applet/essid.glade
17547 panel-applet/NMWirelessAppletOtherNetworksDialog.c
17548 - Correct spelling of "adaptor"->"adapter"
17550 2005-02-18 William Jon McCann <mccann@jhu.edu>
17552 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17553 (nmwa_about_cb): Use standard copyright string. Update comment
17554 text to reflect that it is a notification area applet. Remove
17555 leading newline in authors list.
17556 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17557 instead of on parent menu item activation. Fixes #167550.
17559 2005-02-18 William Jon McCann <mccann@jhu.edu>
17561 * panel-applet/essid.glade: Capitalize items as per HIG.
17564 2005-02-16 William Jon McCann <mccann@jhu.edu>
17566 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17567 files for GTK 2.4 or lower, since now public in GTK 2.6.
17569 * panel-applet/essid.glade: Don't specify window size.
17571 2005-02-17 Dan Williams <dcbw@redhat.com>
17573 Caught by Bill Moss:
17575 - Time remaining for DHCP transaction calculation was incorrectly
17576 inside a #ifdef DEBUG
17578 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
17580 * configure.in: Added fr (French) to ALL_LINGUAS.
17582 2005-02-14 Dan Williams <dcbw@redhat.com>
17584 * src/NetworkManagerDHCP.c
17585 - (set_domain_searches): Fix free of invalid pointer
17587 2005-02-14 Dan Williams <dcbw@redhat.com>
17589 Patch from Peter Jones:
17591 - Ensure we return RET_DHCP_CEASED everywhere we should
17592 * dhcpcd/udpipgen.c
17593 - Use faster TOS for IP packets
17594 - Don't set ip_id since we're UDP
17596 Patch from Tomislav Vujec:
17597 * src/nm-dbus-dhcp.c
17598 test/nm-dhcp-opt-test.c
17599 - Clean up warnings to enable cvs tree compilation.
17601 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
17605 - Add the Croatian locale.
17607 2005-02-14 Colin Walters <walters@verbum.org>
17609 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17610 list of domains to search.
17612 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17614 2005-02-13 Dan Williams <dcbw@redhat.com>
17617 - Debug output cleanups of DHCP option printing and parsing.
17619 2005-02-13 Dan Williams <dcbw@redhat.com>
17621 Patch from Dan Reed: DHCP options D-BUS API
17622 Exposes the DHCP options that a device receives to clients over D-BUS.
17628 - Correct names, option length, and types for DHCP options
17630 * dhcpcd/dhcpcd.[ch]
17631 - Clarify function names that access DHCP options & data
17633 * src/NetworkManagerDHCP.c
17634 - Use new DHCP data access functions
17636 * src/NetworkManagerDbus.c
17637 - Message handler for DHCP functions
17639 * src/nm-dbus-dhcp.[ch] (new)
17640 - DHCP dbus methods
17642 * test/nm-dhcp-opt-test.c
17643 - Test DHCP D-BUS API and return all present DHCP options
17645 2005-02-12 Dan Williams <dcbw@redhat.com>
17648 test/nmclienttest.c
17650 - Move nmclienttest.c -> nmtest.c
17652 2005-02-12 Dan Williams <dcbw@redhat.com>
17654 * dhcpcd/buildmsg.c
17655 - Pad DHCP packets until they are at least 300 bytes in size.
17657 2005-02-11 Dan Williams <dcbw@redhat.com>
17660 - (dhcp_init): only print out client ID and class ID if they are specified
17662 * src/NetworkManagerDbus.[ch]
17663 src/nm-dbus-nm.[ch]
17664 src/nm-dbus-device.[ch]
17665 src/nm-dbus-net.[ch]
17666 - Move NM, Device, and Net functions to separate files and use the
17667 dbus method list stuff in NetworkManagerDbusUtils.c to do
17670 * src/NetworkManagerDbusUtils.c
17671 - Add new validate_method called before each dispatch (if present)
17672 that can validate the method call
17674 * src/NetworkManagerWireless.c
17675 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
17676 levels never to be evaluated
17678 Patch from j@bootlab.org
17679 * src/NetworkManagerDevice.c
17680 - Add typedef for "u64"
17682 * src/backends/NetworkManagerDebian.c
17683 - Copy in Dave Woodhouse's fixes for IPv6
17685 2005-02-11 Dan Williams <dcbw@redhat.com>
17687 Patch from Dave Woodhouse for IPv6:
17688 * src/NetworkManagerUtils.c
17689 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
17690 and multicast addresses
17692 * src/NetworkManagerDevice.c
17693 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
17694 after bringing up a card.
17696 2005-02-10 Dan Williams <dcbw@redhat.com>
17698 Patch from Dave Woodhouse:
17699 * src/NetworkManagerSystem.h
17700 src/backends/NetworkManagerDebian.c
17701 src/backends/NetworkManagerGentoo.c
17702 src/backends/NetworkManagerSlackware.c
17703 - New nm_system_device_add_ip6_link_address() function to add link-local
17704 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
17706 * src/backends/NetworkManagerRedHat.c
17707 - (nm_system_device_add_ip6_link_address): implement
17708 - (nm_system_device_flush_addresses): revert to previous behavior of
17709 flushing all addresses
17711 2005-02-10 Dan Williams <dcbw@redhat.com>
17713 Patch from Tom Parker:
17714 * src/NetworkManagerDevice.c
17715 - Remove the "#include <pci/types.h>" since both the ethtool.h and
17716 mii.h headers are broken, and instead use our own typedefs
17718 2005-02-10 Dan Williams <dcbw@redhat.com>
17720 * dhcpcd/buildmsg.c
17721 - (fill_host_and_class_id): only fill in client and class IDs if
17722 they are set by callers.
17725 - (class_id_setup): don't autogenerate a class ID, only use one
17726 we're given, if any.
17727 - (client_id_setup): don't autogenerate a client ID, only use one
17728 we're given, if any.
17731 - (dhcp_interface_init): ensure that client options are correctly
17734 * src/NetworkManagerDHCP.c
17735 - (nm_device_dhcp_request): pass hostname to dhcp library
17737 2005-02-10 Dan Williams <dcbw@redhat.com>
17740 - #rh147661# Don't send kernel version in DHCP requests
17742 * src/NetworkManagerSystem.h
17743 src/backends/NetworkManagerDebian.c
17744 src/backends/NetworkManagerGentoo.c
17745 src/backends/NetworkManagerRedHat.c
17746 src/backends/NetworkManagerSlackware.c
17747 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
17748 functions, they are no longer used anyway
17750 * src/backends/NetworkManagerRedHat.c
17751 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
17752 addresses in an attempt to keep IPv6 local-scope addresses around
17754 2005-02-10 Dan Williams <dcbw@redhat.com>
17756 * src/NetworkManager.c
17757 - (nm_create_device_and_add_to_list): change the add message slightly
17759 * src/NetworkManagerUtils.c
17760 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
17761 Return driver name to calling function
17762 - (nm_get_driver_support_level): print out the driver a device is using
17763 during the support check
17765 Patch from Dave Woodhouse:
17766 * dhcpcd/udpipgen.c
17767 - (in_cksum): copy last byte of odd-sized packets into a
17768 'u_short' rather than a 'u_char', should fix wrong checksums
17769 on big-endian platforms
17771 2005-02-09 Dan Williams <dcbw@redhat.com>
17773 * Clean up usage of GSList objects and looping through their members
17774 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
17776 * Fix problem where even if scanning was turned off, card would still
17777 cycle through frequencies.
17779 2005-02-08 Dan Williams <dcbw@redhat.com>
17781 * panel-applet/NMWirelessApplet.c
17784 2005-02-08 Dan Williams <dcbw@redhat.com>
17786 Patch from Bill Moss
17787 * panel-applet/NMWirelessApplet.c
17788 - Restore correct ESSID in tooltips
17790 2005-02-07 Dan Williams <dcbw@redhat.com>
17792 * panel-applet/NMWirelessApplet.[ch]
17793 - Add a context menu that contains:
17794 Pause/Resume Wireless Scanning
17795 Stop/Start All Wireless Devices
17797 - Grab active device strength off active device,
17800 * panel-applet/NMWirelessAppletDbus.[ch]
17801 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
17802 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
17803 - Update active device strength every 2 seconds, not every 1 second
17805 * panel-applet/menu-info.c
17806 - Only disable wired devices in the menu when they support carrier detection,
17807 and don't currently have a link. Non-carrier-detect devices will always
17811 src/NetworkManagerDbusUtils.[ch]
17812 - Add new new dbus utils sources
17814 * src/NetworkManager.c
17815 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
17816 with the boolean parameter
17817 - Set scanning_enabled & wireless_enabled to TRUE
17819 * src/NetworkManagerDbus.c
17820 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
17821 - Implement scanning & wireless enable/disable calls
17822 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
17824 * src/NetworkManagerDevice.c
17825 - New link detection stuff again...
17826 o Create device's mainloop earlier (but don't run it earlier)
17827 o Hook up new carrier-detect support stuff
17828 o Add in the ethtool & mii support detection code
17829 - Don't scan if scanning is disabled
17831 * src/NetworkManagerPolicy.c
17832 - Never automatically choose a device that doesn't support carrier detection
17833 - Don't automatically choose a wireless device if wireless is disabled
17835 2005-02-07 Dan Williams <dcbw@redhat.com>
17837 * libnm_glib/libnm_glib.c
17838 - Small cleanup in element list iteration
17840 2005-02-07 Dan Williams <dcbw@redhat.com>
17842 * src/NetworkManagerWireless.c
17843 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
17844 to be in line with the WEXT quality specification
17846 2005-02-02 Dan Williams <dcbw@redhat.com>
17848 Patch from Nathan Fredrickson <nathan@silverorange.com>
17849 * Fix up compile for deprecation of libgnomeui
17850 - Switch to <glib/gi18n.h> from <libintl.h>
17851 - Remove <libgnomeui/libgnomeui.h> includes
17852 - Use gtk_window_set_default_icon_from_file() rather than
17853 gnome_window_set_default_icon_from_file()
17855 * named/nm-named-manager.c
17856 - (generate_named_conf): Fix return-nothing in non-void
17859 2005-02-02 Dan Williams <dcbw@redhat.com>
17861 * Clean up unused variables and the like
17863 2005-02-02 Dan Williams <dcbw@redhat.com>
17865 * src/NetworkManagerAPList.c
17866 - (nm_ap_list_merge_scanned_ap): merge strength too
17868 * src/NetworkManagerUtils.c
17869 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
17870 of locking issues by printing out prettier information than g_mutex_lock
17871 - Print out names of mutexes registered with nm_register_mutex_desc()
17872 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
17873 us to seemingly block here for too long
17875 * src/NetworkManager.c
17876 src/NetworkManagerAPList.c
17877 src/NetworkManagerDevice.c
17878 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
17879 so we get better debug information printed
17881 * src/NetworkManagerDbus.c
17882 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
17883 since it sometimes has locking side effects
17884 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
17886 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
17887 we don't need a switch. This gets called often enough that we can't block
17888 until the scan mutex is acquired, because we'll block on device activation
17889 and a few other things, which hangs main thread for too long.
17891 * src/NetworkManagerPolicy.c
17892 - (nm_policy_auto_get_best_device): reduce the possiblity that
17893 nm_device_need_ap_switch() will be called
17895 2005-02-02 Dan Williams <dcbw@redhat.com>
17897 * panel-applet/NMWirelessApplet.c
17898 - Display name of wireless network we are connecting to or connected to
17899 in the tooltip of the applet
17901 2005-02-02 Dan Williams <dcbw@redhat.com>
17903 * src/NetworkManagerDHCP.c
17904 - Hopefully fix double-default-route problem by cleaning up the default
17905 route added by DHCP code right before the DHCP transaction begins
17907 2005-02-02 Dan Williams <dcbw@redhat.com>
17909 * named/nm-named-manager.c
17910 - Write out valid resolv.conf when we exit
17912 2005-02-01 Dan Williams <dcbw@redhat.com>
17914 Patch from Colin Walters:
17915 * named/nm-named-manager.c
17916 - Make multi-domain search options work
17918 2005-01-31 Dan Williams <dcbw@redhat.com>
17920 * info-daemon/NetworkManagerInfoDbus.c
17921 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
17923 * src/NetworkManagerDevice.c
17924 - (nm_device_new): Don't store the entire range struct, use only what we need
17925 (which is currently avg_quality, max_quality, and frequencies). Also
17926 zero device structure when we've free'd it to maybe expose errors down
17928 - (nm_device_update_signal_strength): grab the scan mutex before getting
17929 quality data from the card since quality will be useless during a scan.
17930 Call updated wireless qual-to-percent function with values stored in
17931 nm_device_new() earlier.
17932 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
17933 nm_device_get_bad_crypt_packets())
17934 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
17936 - (get_initial_auth_method): always use the Auth method that's in the allowed
17937 list if available. Problem was this: when the WEP key is wrong, NM will
17938 try OS then SK modes, and then get stuck in SK mode after that. This
17940 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
17943 * src/NetworkManagerWireless.c
17944 - (nm_wireless_qual_to_percent): try to make this function actually work and
17945 mimic iwlib behavior. Use card's idea of quality divided by max_qual
17946 if that's all present, otherwise fall back to signal-to-noise ratios.
17948 2005-01-29 Dan Williams <dcbw@redhat.com>
17950 * initscript/RedHat/NetworkManager
17951 - Don't spit out sysctl stuff to console
17953 * libnm_glib/libnm_glib.c
17954 - (libnm_glib_init): call dbus_g_thread_init()
17956 * panel-applet/NMWirelessAppletDbus.c
17957 - (nmwa_dbus_worker): call dbus_g_thread_init()
17959 * src/NetworkManager.c
17960 - (main): call dbus_g_thread_init()
17962 * src/NetworkManagerAPList.c
17963 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
17964 so we can actually see what's there in a normal syslog
17966 * src/NetworkManagerDevice.c
17967 - (nm_device_activate_wireless): print out the "waiting for access point"
17968 message only once, then say what access point we actually got after
17970 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
17971 function, wait until the scan is done. Scans may change the ESSID of
17972 the card, making this function think we need to switch access points
17973 - (nm_device_wireless_process_scan_results): for artificial access points
17974 don't check against the card's ESSID, but the best_ap's ESSID. This
17975 prevents collisions with the scanning code, which may change the card's
17976 ESSID and cause the access point to get dropped from the device's AP
17977 list. Also increase the keep-around time to 2m from 60s since the max
17978 scan interval could be 60s in some cases.
17980 * src/NetworkManagerPolicy.c
17981 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
17982 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
17983 the new properties and ESSIDs to the device's AP list. Fixes some races
17984 between NM and NMI.
17986 2005-01-27 Dan Williams <dcbw@redhat.com>
17988 * info-daemon/NetworkManagerInfoDbus.c
17989 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
17990 GConf, make a minimal entry for it (essid & timestamp)
17992 * src/NetworkManagerAPList.c
17993 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
17994 NetworkManagerInfo isn't running
17996 * src/NetworkManagerDbus.[ch]
17997 - (nm_dbus_nmi_is_running): new function
17999 * src/NetworkManagerDevice.c
18000 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18001 address to garbage.
18003 * src/NetworkManagerPolicy.c
18004 - (nm_policy_activation_finish): On successful activation, make sure
18005 the "best" AP has a MAC address, and don't tell NMI to add the
18006 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18007 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18008 access point after refreshing our allowed list if it doesn't already
18009 have a "best" access point.
18011 2005-01-25 Dan Williams <dcbw@redhat.com>
18013 * panel-applet/NMWirelessAppletDbus.c
18014 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18015 so we check for NM_DBUS_SERVICE rather than not for it
18017 * libnm_glib/libnm_glib.c
18018 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18019 ServiceOwnerChanged signal
18021 2005-01-25 Dan Williams <dcbw@redhat.com>
18024 - Check DBUS version in configure, and set the C macros
18025 DBUS_VERSION_[MAJOR,MINOR,MICRO]
18027 * info-daemon/NetworkManagerInfoDbus.c
18028 - Remove #if 0-d section of code that quit NMI if NM went away.
18030 * panel-applet/NMWirelessAppletDbus.c
18031 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18033 * src/NetworkManager.c
18034 src/NetworkManagerMain.h
18035 src/NetworkManagerDbus.c
18036 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18037 - Make updating of our Allowed Wireless Network lists from NMI
18038 an idle function in the main thread now, with a high priority.
18040 2005-01-24 Dan Williams <dcbw@redhat.com>
18042 * panel-applet/gtkcellview.[ch]
18043 panel-applet/menu-info.c
18044 - Fix GTK version checks to be <= rather than <
18047 - Include the libtool archive of libnm_glib rather than
18048 trying to pull in the .so
18050 2005-01-24 Dan Williams <dcbw@redhat.com>
18052 * src/NetworkManagerDevice.c
18053 src/NetworkManagerDevicePrivate.h
18054 - Block nm_device_new() until our device's worker thread has had a
18055 chance to start up. Fixes a race between main thread and worker
18056 thread starting that caused activation requests to get lost.
18058 2005-01-24 Dan Williams <dcbw@redhat.com>
18060 * initscript/RedHat/NetworkManager
18061 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18062 to add the NM startup script at priority 50, which was
18065 2005-01-24 Colin Walters <walters@redhat.com>
18067 * named/named.conf: Use any port for query source instead of
18068 restricting to port 53.
18070 2005-01-24 Dan Williams <dcbw@redhat.com>
18072 * initscript/RedHat/NetworkManager
18073 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18074 to add the NM startup script at priority 50, which was
18077 2005-01-24 Dan Williams <dcbw@redhat.com>
18079 Patch from Tom Parker <palfrey@tevp.net>
18080 * Fix up compile warnings & errors in the wireless applet
18082 2005-01-24 Dan Williams <dcbw@redhat.com>
18084 * panel-applet/NMWirelessApplet.c
18085 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18087 2005-01-24 Dan Williams <dcbw@redhat.com>
18089 * panel-applet/gtkcellview.[ch]
18090 - Only compile these files for GTK 2.4 or lower, since
18091 GtkCellView is now public in GTK 2.6. Fixes crasher
18092 when choosing "Other Wireless Networks" from the panel
18095 2005-01-21 Dan Williams <dcbw@redhat.com>
18097 * src/NetworkManager.c
18098 - Daemonize earlier so that glib doesn't get confused (?)
18100 2005-01-21 Dan Williams <dcbw@redhat.com>
18102 * panel-applet/NMWirelessApplet.[ch]
18103 panel-applet/NMWirelessAppletDbus.c
18104 panel-applet/menu-info.c
18105 src/NetworkManagerDevice.c
18106 - Disable wired devices in the menu when they have no link.
18108 2005-01-21 Dan Williams <dcbw@redhat.com>
18110 * Cache last-known-good wireless authentication method in
18111 NetworkManagerInfo, and use that method first during
18112 wireless device activation. Should speed up devices that
18113 need Shared Key authentication method since Open System is
18116 * Remove the hack to not do full activation on wired connections
18117 that are active when we launch, it causes too many problems
18118 with name resolution and was a hack in the first place.
18120 * Re-work wireless device activation again somewhat to have a
18121 clearer chain of events and to use last-known-good
18122 authentication method of the access point. Also provide
18123 better status throughout activation to ensure the applet
18124 can tell the user exactly what's going on.
18126 * Remove the "find wireless network" code and now simply attempt
18127 to activate with that access point. This reduces the delay
18128 between selecting "Other wireless Network" and actually
18129 connecting to that network.
18131 * Correctly stop the device's worker thread when its removed.
18133 2005-01-21 Dan Williams <dcbw@redhat.com>
18136 - Clean up some of the debug messages
18138 2005-01-21 Dan Williams <dcbw@redhat.com>
18140 * Add new icons, more frames of animation
18141 * Remove some hacks to get the panel applet to display correct
18142 status, an NM update will soon follow that will fix the
18145 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
18147 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18148 the first include for working i18n. Also, don't include it in .h files
18149 * panel-applet/NMWirelessApplet.h: Same
18150 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18151 * panel-applet/menu-info.c: Same
18153 2005-01-18 Dan Williams <dcbw@redhat.com>
18156 - Remove some debug messages
18157 - Wrap others in #ifdef DEBUG/#endif
18159 * src/NetworkManager.c
18160 - Remove some debug messages
18161 - Clarify some debug messages
18162 - Remove code related to old single-thread wireless scanning
18164 * src/NetworkManagerAP.[ch]
18165 - New AP property "last_seen" to track how recently an AP was
18167 - Start using 'const' more in function arguments
18169 * src/NetworkManagerAPList.[ch]
18170 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18171 of an AP found in an AP list from a source AP, or if not found
18172 in the list add the source AP
18173 - (nm_ap_list_combine): remove, no longer needed
18175 * src/NetworkManagerDevice.c
18176 - Each device now has a "worker" thread from start to end of its life.
18177 Scanning for wireless devices now happens in that thread,
18178 not in a single "wireless scanning thread" for all devices as
18179 previously. Activation consists of adding an idle handler to the
18180 thread's main loop/context, which gets run at the next available
18182 - Wireless scanning is also simplified, there is now only one list of
18183 access points per wireless device, and APs older than 60s are
18184 removed from the list. Previously, we kept results for the last
18185 3 scans and merged whole lists, which was complicated.
18186 - Cleaned up activation debug messages.
18187 - Wireless activation and access-point search routines now use Open System
18188 authentication before trying Shared Key.
18189 - Removed some code in nm_device_update_best_ap() that could cause cards
18190 to loose their link to the access point.
18191 - Scanning now uses a backoff algorithm, where the inverval becomes
18192 progressively longer between scans when the list of scanned access
18193 points doesn't change. A change will revert to the shortest scan
18196 * src/NetworkManagerWireless.[ch]
18197 - Remove code related to old single-thread wireless scanning
18199 2005-01-18 Colin Walters <walters@redhat.com>
18201 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18202 of older nameservers.
18204 2005-01-18 Colin Walters <walters@redhat.com>
18206 * named/nm-named-manager.c (generate_named_conf): Many fixes
18207 to config file generation.
18208 (safer_kill): Remove, was too much trouble for little gain.
18209 (nm_named_manager_start): Run named as NM_NAMED_USER.
18211 * configure.in: Add option --with-named-user.
18213 2005-01-14 Colin Walters <walters@redhat.com>
18215 Patch from ed@catmur.co.uk (Ed Catmur)
18217 * named/nm-named-manager.c: Add "context" property.
18218 Use it to add child watch source in specific GMainContext.
18220 * src/NetworkManager.c (nm_data_new): Initialize
18221 named with correct main context. Start named only
18224 2005-01-14 Colin Walters <walters@redhat.com>
18226 * named/nm-named-manager.c (generate_named_conf): Write config
18227 and pid files into NM_NAMED_DATA_DIR; this allows things to
18228 work better with FC3 named SELinux policy. Also fix up silly
18231 * configure.in: Add --with-named-dir option.
18233 2005-01-14 Colin Walters <walters@redhat.com>
18235 * configure.in: Make named support require passing --with-named.
18237 * named/nm-named-manager.c: Support writing resolv.conf directly
18238 without running named.
18240 2005-01-13 Dan Williams <dcbw@redhat.com>
18242 * named/nm-named-manager.c
18243 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18245 * src/NetworkManagerDevice.c
18246 - Rework wireless link detection code to be more reliable
18248 2005-01-12 Dan Williams <dcbw@redhat.com>
18250 * initscripts/RedHat/NetworkManager
18251 - Change initial level to "-" rather than "345" so that
18252 we don't activate ourselves by default on install
18254 2005-01-12 Dan Williams <dcbw@redhat.com>
18257 - Client library for applications using glib
18261 - Split NM_CFLAGS and NM_LIBS into separate variables
18262 like DBUS_*, HAL_* and GLIB_*
18264 * src/NetworkManager.c
18265 src/NetworkManagerMain.h
18266 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18267 broadcast a status changed signal over DBUS from the main thread.
18268 Still unused anywhere for the moment.
18270 Patch from j@bootlab.org
18271 * panel_applet/NMWirelessAppletDbus.c
18272 src/NetworkManagerDbus.c
18273 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18274 for the "getMode" method call
18276 2005-01-10 Dan Williams <dcbw@redhat.com>
18278 * src/NetworkManagerDevice.c
18279 - Minor fixups & corrections to "auto" frequency mode, make it
18280 less chatty with syslog
18282 2005-01-10 Dan Williams <dcbw@redhat.com>
18284 * src/NetworkManagerDevice.c
18285 - Implement "auto" frequency/channel support, since cards like Atheros
18286 can't use other frequencies at all when you've told it to use a
18287 specific one, even for scanning.
18288 - Grab the scan mutex around places where we can't tolerate wireless
18289 settings changing underneath us, like nm_device_wireless_network_exists()
18290 and nm_device_activate_wireless()
18292 * src/NetworkManagerWireless.c
18293 - Back scan interval off to 20s instead of 14s
18295 2005-01-09 Dan Williams <dcbw@redhat.com>
18297 * src/NetworkManagerDevice.c
18298 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18299 already set. Stops some drivers like Atmel from continually
18300 reloading the firmware, which they do upon every configuration
18303 2005-01-09 Dan Williams <dcbw@redhat.com>
18306 - Use correct timeout value
18308 * info-daemon/NetworkManagerInfoDbus.c
18309 src/NetworkManagerDbus.c
18310 - Consolidate communication between NM and NMI by doing only 1 dbus
18311 method call to get Wireless Network info from NMI instead of 6
18313 * src/NetworkManager.c
18314 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18315 when we didn't have an AP to use, we'd wait for one forever without
18318 * src/NetworkManagerDevice.c
18319 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18320 activation, dhcp might not have started yet but we don't quit activation
18321 before starting it, so the quit signal gets lost
18323 2005-01-07 Dan Williams <dcbw@redhat.com>
18326 - Rework the DHCP client code to be much less chatty when
18327 it receives non-DHCP UDP packets during the DHCP run
18328 (reported by and preliminary patches from Bill Moss)
18330 * Move wireless scanning to a separate thread. This thread forwards the
18331 results to the main thread when done where they are integrated into
18332 the device's access point lists. This keeps the main thread (which
18333 does all the DBUS communication) from being blocked for long periods
18334 of time by wireless scanning.
18336 * Make state modification an idle routine in the main loop, and trigger
18337 state changes rather than polling for them.
18339 * src/backends/NetworkManagerGentoo.c
18340 - Fix up invalid C90 code (reported by Christoph Ruessler)
18342 * src/NetworkManagerDevice.c
18343 - Revert IPv6 patch for wired devices from 2004-12-22 for
18344 router advertisements, causing problems and infinite loop
18345 during "best" device determination due to link going up/down
18346 (reported by Bill Moss)
18348 Apply patch from Peter Jones
18349 * src/NetworkManagerDevice.c
18350 - Shortcut for link-checking for ipw2x00 cards
18351 - Split out association check into separate routine
18353 2004-01-05 Colin Walters <walters@redhat.com>
18355 * named/named.conf: Add PID_FILE.
18357 * named/nm-named-manager.c: Always generate a pid
18358 file, since older BIND versions don't support
18361 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
18363 * configure.in (ALL_LINGUAS): Added ja (Japanese).
18365 2004-12-22 Dan Williams <dcbw@redhat.com>
18367 * src/NetworkManagerDevice.c
18368 - Silently fail when setting bitrate doesn't work
18371 Patches from j@bootlab.org:
18372 * src/backends/NetworkManagerDebian
18373 - Update backend to match functionality in RedHat backend
18374 * src/NetworkManagerDevice.c
18375 - Take down then bring up wired devices after connection so
18376 they send out ipv6 router advertisements
18378 2004-12-21 Colin Walters <walters@verbum.org>
18380 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18381 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18383 2004-12-21 Colin Walters <walters@redhat.com>
18385 * configure.in: Correct named detection.
18387 2004-12-21 Colin Walters <walters@redhat.com>
18389 * src/NetworkManager.c (nm_data_new): Initialize named.
18390 Also, set up a signal handler for SIGINT/SIGTERM, and exit
18391 the mainloop when these signals are received.
18392 (nm_data_free): Unref named.
18393 (sigterm_handler, sigterm_pipe_handler): New functions for
18396 * src/NetworkManagerMain.h (NMData): Add signal handling and
18399 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18402 * src/NetworkManagerDHCP.c (set_nameservers): New function;
18403 set nameservers from DHCP response data.
18404 (set_domain_search): Set domain search from DHCP response.
18405 (nm_device_dhcp_configure): Invoke them.
18407 * src/NetworkManagerSystem.c
18408 (nm_system_device_update_resolv_conf): Delete. Deleting
18409 code is totally sweet.
18411 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18413 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18414 implements an object which controls a nameserver. Currently
18417 * configure.in: Check for named.
18419 * Makefile.am (SUBDIRS): Add named dir.
18421 * named/named.conf: New template config file.
18423 2004-12-20 Colin Walters <walters@redhat.com>
18425 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18428 2004-12-17 Dan Williams <dcbw@redhat.com>
18430 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
18431 link-local addresses instead of doing DHCP.
18433 * In the panel applet, there's a new "Create new Wireless Network..." item
18435 * The panel applet also sticks around now even if NetworkManager dies, but
18436 it doesn't hide its icon when NM isn't around. Not hiding the icon is
18437 a bug, I'll fix that later.
18439 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18440 lookups after a switch rather than actually doing them.
18442 * Clean up some of those warnings in nm_ap_list_* functions
18444 * Delay between scans changed to 15s instead of 10s
18446 2004-12-15 Dan Williams <dcbw@redhat.com>
18448 Patch from Tom Parker
18449 * Add autoip/Link Local Addressing support when we fail to get a DHCP
18452 * Longer pause after setting ESSID on cards that support a larger number
18453 of channels to give the card time to find the right channel
18455 * Add system hook to restart mDNSResponder (or whatever the local implementation
18456 of Multicast DNS is) when we activate interfaces
18458 2004-12-15 Dan Williams <dcbw@redhat.com>
18460 * Rework the DHCP code again to revert to sending full ethernet frames
18461 rather then relying on the kernel to do the right thing with our
18464 2004-12-06 Dan Williams <dcbw@redhat.com>
18467 - Fix some minor errors in dhcp_handle_transaction() that caused
18468 unexpected early timeouts of DHCP transactions
18471 - DHCP retransmit time from 4s -> 5s
18473 2004-12-05 Dan Williams <dcbw@redhat.com>
18475 * Major rework of the DHCP code, taking some cues from pump. We don't
18476 write raw Ethernet packets anymore, which simplifies the code quite
18477 a bit. The new code should be more robust, not hang in recvfrom()
18478 as much, and generally work better. This also means that we need
18479 to force HAL/dbus to use a created GMainContext rather than the
18480 default context, since having the DHCP renew/rebind thread using
18481 its own GMainContext seemed to give dbus a fit. There is also more
18482 debugging information printed from the DHCP loop to help with future
18485 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18486 assume that the default gateway should be the DHCP server.
18488 Patch from Matthew Schick <matt oss-institute org>
18489 * src/backends/NetworkManagerGentoo.c
18490 - Fix compilation error due to missing "ip4_broadcast"
18492 2004-12-03 Dan Williams <dcbw@redhat.com>
18494 * initscript/Makefile.am
18495 * initscript/Debian/NetworkManager
18496 * initscript/Gentoo/NetworkManager
18497 * initscript/RedHat/NetworkManager
18498 * initscript/NMLaunchHelper.c
18499 - Remove NMLaunchHelper, if you need to wait until the network
18500 comes up, use the dead code from CVS.
18502 2004-12-01 Colin Walters <walters@redhat.com>
18504 * configure.in: Suck in gcc warnings code from Rhythmbox,
18505 but use fewer default flags, and in particular add -Wno-unused,
18506 since the codebase has a lot of unused variables.
18508 * test/nmtestdevices.c (create_device):
18509 * test/nminfotest.c (get_network_string_property)
18510 (get_networks_of_type):
18511 * test/nmclienttest.c (main):
18512 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
18513 * initscript/NMLaunchHelper.c (get_nm_status):
18514 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
18515 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
18516 Fix declarations after statements.
18518 2004-12-01 Colin Walters <walters@redhat.com>
18520 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18521 (nmi_dbus_get_vpn_userpass): New method.
18522 (nmi_dbus_nmi_message_handler): Invoke it.
18524 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18526 * info-daemon/NetworkManagerInfoVPN.h,
18527 info-daemon/NetworkManagerInfoVPN.c: New files; responds
18528 to requests for VPN passwords.
18530 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18532 2004-12-01 Colin Walters <walters@redhat.com>
18534 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18537 2004-12-01 Colin Walters <walters@redhat.com>
18539 * panel-applet/NMWirelessAppletDbus.c
18540 (nmwa_dbus_update_active_device_strength): Fix missing
18543 2004-12-01 Colin Walters <walters@redhat.com>
18545 * panel-applet/NMWirelessApplet.c: Add missing include.
18547 2004-12-01 Colin Walters <walters@redhat.com>
18549 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18550 Remove useless CLAMP (); the value is unsigned, and the case tests
18551 qual->qual < 100, so the value must always be between 0 and 100.
18553 2004-12-01 Colin Walters <walters@redhat.com>
18555 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18557 2004-11-22 Colin Walters <walters@verbum.org>
18559 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18560 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18561 which is essentially a noop since nscd caches hosts on disk too.
18563 2004-11-22 Colin Walters <walters@redhat.com>
18565 * src/Makefile.am (NetworkManager_SOURCES): Add
18566 NetworkManagerDevicePrivate.h.
18568 2004-11-22 Dan Williams <dcbw@redhat.com>
18570 * src/NetworkManagerDevicePrivate.h
18571 - Split out the NMDevice struct to a different file so that stuff like
18572 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18576 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18577 need to cancel the dhcp request during the send and recv
18580 - Move the DHCP option enum to dhcpcd.h
18582 * src/NetworkManagerDHCP.c
18583 - Split out the actual IP/netmask/etc setting code
18584 - New Renew/Rebind functions
18585 - New timer setup function for renew/rebind operations
18587 * src/NetworkManagerDevice.c
18588 - For device activation, if we are using DHCP then keep the activation thread
18589 alive until device deactivation. We need to renew/rebind the DHCP address
18590 after the T1 (renew) and T2 (rebind) times have expired.
18591 - Increase some timeouts after bringing wireless cards up/down
18593 2004-11-17 Dan Williams <dcbw@redhat.com>
18595 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18596 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
18597 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
18598 show known access points that don't broadcast their ESSID in the menus without
18599 any user intervention whatsoever.
18601 * info-daemon/NetworkManagerInfoDbus.c
18602 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18603 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18605 * src/NetworkManagerAP.[ch]
18606 - Add a "user_addresses" data member to the NMAccessPoint structure
18607 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18608 the user_addresses data member
18610 * src/NetworkManagerAPList.c
18611 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18612 the AP's reported address
18613 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18615 * src/NetworkManagerDHCP.c
18616 - Increase DHCP timeout from 25s -> 30s
18618 * src/NetworkManagerDbus.[ch]
18619 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18622 * src/NetworkManagerDevice.c
18623 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18624 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
18625 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18626 So, we take the card down to clear it out.
18627 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18628 too, since that's where the user_addresses are
18630 * src/NetworkManagerPolicy.c
18631 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18632 that wireless networks' user_addresses list upon successful activation
18634 2004-11-16 Dan Williams <dcbw@redhat.com>
18636 * src/NetworkManagerDevice.[ch]
18637 - (nm_device_clear_activation_fail): new function
18639 * src/NetworkManagerPolicy.c
18640 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18641 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18643 2004-11-16 Dan Williams <dcbw@redhat.com>
18645 * src/NetworkManagerDevice.c
18646 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18647 leak the structure, better updating of now_scanning status
18648 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18650 2004-11-15 Dan Williams <dcbw@redhat.com>
18652 Major rework of link detection code. We now use DHCP
18653 as part of the link detection which proves to be much more robust,
18654 and also supports Open System authentication for wireless networks.
18656 We no longer use external DHCP client programs. Instead, we use
18657 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18658 which was written by:
18659 Yoichi Hariguchi <yoichi@fore.com>
18660 Sergei Viznyuk <sv@phystech.com>
18661 http://www.phystech.com/download/
18662 It resides in the "dhcpcd" directory and was refactored into a general
18663 purpose DHCP client library by me.
18665 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
18666 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
18668 2004-11-15 Dan Williams <dcbw@redhat.com>
18670 Patch from Tom Parker <palfrey@tevp.net>:
18672 * src/NetworkManagerDevice.c
18673 - Less output to console when no access
18674 points are found during a scan
18676 2004-11-15 Dan Williams <dcbw@redhat.com>
18678 Patch from Tom Parker <palfrey@tevp.net>:
18680 * src/backends/interface_parser.c
18682 - Check for inp == NULL
18685 2004-11-13 Colin Walters <walters@redhat.com>
18687 Patch from Tom Parker <palfrey@tevp.net>:
18689 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
18691 * src/backends/NetworkManagerRedHat.c: Switch to
18692 including shvar.h instead of shvar.c.
18694 * src/backends/NetworkManagerDebian.c: Don't include
18695 interface_parser.c in source file.
18697 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
18698 and interface_parser.[ch].
18699 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
18700 Include shvar.c and shvar.h here.
18701 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
18702 interface_parser.c and interface_parser.h here.
18704 2004-11-12 Colin Walters <walters@redhat.com>
18706 * configure.in: Strip out TARGET_DISTRO and
18707 SYSTEM_BACKEND_FILE variables. Switch to Automake
18710 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
18711 (libnmbackend_la_SOURCES): Use Automake conditionals
18712 to add distro-specific files.
18714 * initscript/Makefile.am (SUBDIRS): Update to
18717 2004-11-12 Colin Walters <walters@redhat.com>
18719 Patches from j bootlab org
18721 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
18722 Add interface_parser.[ch].
18724 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
18725 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
18727 2004-11-12 Colin Walters <walters@redhat.com>
18729 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
18730 call to nmi_dbus_is_running too, not necessary anymore.
18731 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
18734 2004-11-11 Colin Walters <walters@verbum.org>
18736 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
18738 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
18739 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
18740 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
18741 This avoids a race condition that made it pretty easily
18742 possible to get two NetworkManagerInfo daemons running.
18744 2004-11-11 Colin Walters <walters@verbum.org>
18746 * src/NetworkManager.c (main): Use daemon(3).
18748 * info-daemon/NetworkManagerInfo.c (main): Ditto.
18750 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
18752 2004-11-10 Dan Williams <dcbw@redhat.com>
18754 Patches from j bootlab org
18755 * src/NetworkManagerDevice.c
18756 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
18757 whether the card has a link or not, some cards are slow
18758 - (nm_device_activation_configure_ip): make ipv6 work a bit better
18760 * info-daemon/NetworkManagerInfoPassphraseDialog.c
18761 - Disable the "Login" button on the passphrase dialog until the user
18762 enters a valid passphrase or key
18764 Patches from Tom Parker <palfrey tevp net>
18765 * src/backends/NetworkManagerDebian.c
18766 - Add static IP support to the debian backend
18768 * src/backends/interface_parser.[ch]
18769 - Parse debian interface config files
18771 2004-11-08 Dan Williams <dcbw@redhat.com>
18773 * src/NetworkManagerDevice.c
18774 - Some random fprintf->syslog conversions
18775 - (nm_device_wireless_network_exists): double-check for network
18776 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
18778 * src/NetworkManagerWireless.[ch]
18779 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
18780 so that the binary->ascii conversion works (if unsigned, the bitshift
18781 will fill with zeros, which is what's required). Also mask bitshift
18782 result with 0xF for futher assurance.
18784 2004-11-06 Dan Williams <dcbw@redhat.com>
18786 * src/NetworkManagerUtils.c
18787 - (nm_get_wireless_driver_support_level): default to
18788 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
18789 flip this when changing from whitelist->blacklist of
18792 2004-11-05 Dan Williams <dcbw@redhat.com>
18794 Patch from Robert Paskowitz:
18795 * src/backends/NetworkManagerGentoo.c
18796 - Update static IP config code
18798 2004-11-05 Dan Williams <dcbw@redhat.com>
18800 * info-daemon/NetworkManagerInfoDbus.c
18801 src/NetworkManagerDbus.[ch]
18802 src/NetworkManagerDevice.c
18803 - Keep track of the # of attempts to get the WEP key
18804 from the user and pass that along to the info daemon
18806 2004-11-05 Dan Williams <dcbw@redhat.com>
18808 * src/NetworkManagerUtils.c
18809 - Blacklist wireless cards rather than whitelisting them.
18810 - Grab driver name from HAL rather than trying to find it
18813 2004-11-03 Dan Williams <dcbw@redhat.com>
18815 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
18816 - Disable OK button until valid data is entered
18817 for encryption stuff too
18819 * panel-applet/NMWirelessApplet.c
18820 - Report card strength for current AP if the card
18821 doesn't report strength data for scanned access
18824 * src/NetworkManagerDevice.c
18825 - Smooth out cards reported quality, Atmel card was
18826 intermittently reporting no quality data but soon
18829 * src/NetworkManagerWireless.c
18830 - Better quality data percentage calculation. Atmel
18831 cards (mine at least) seem to report the quality
18832 in percentage format already, so honor that
18834 Patch from <j@bootlab.org>
18836 info-daemon/NetworkManagerInfoPassphraseDialog.c
18837 info-daemon/passphrase.glade
18838 panel-applet/NMWirelessAppletOtherNetworkDialog.c
18839 panel-applet/essid.glade
18840 src/NetworkManagerAP.c
18841 src/NetworkManagerDevice.c
18842 src/NetworkManagerWireless.[ch]
18843 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
18845 2004-11-03 Dan Williams <dcbw@redhat.com>
18847 * src/NetworkManagerDevice.[ch]
18848 - (nm_device_set_enc_key): Add parameter to set Authentication
18849 Mode (Open System, Shared Key, or None). We're still using
18850 Shared Key for now though.
18852 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
18854 * panel-applet/menu-info.c: change from bold text to light
18855 colored, may cause problems with some themes, i've tested a lot
18856 and they seem fine.
18858 * panel-applet/NMWirelessApplet.c: fix strength tooltip
18860 2004-11-01 Colin Walters <walters@verbum.org>
18862 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
18863 (nm_wireless_128bit_key_from_passphrase): Add const.
18865 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
18866 (nm_ap_set_enc_key_source): Add const.
18868 2004-11-01 Colin Walters <walters@verbum.org>
18870 * .cvsignore: Update.
18872 2004-10-29 Dan Williams <dcbw@redhat.com>
18874 * src/NetworkManagerDevice.c
18875 - (nm_device_wireless_network_exists): Actually use the encryption
18876 key we got from the applet when attempting to find a wireless network
18877 - Don't bring devices down so much since on some cards it triggers
18878 firmware hotplugs each time
18880 * src/NetworkManagerDbus.c
18881 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
18884 2004-10-29 Dan Williams <dcbw@redhat.com>
18886 * src/NetworkManager.c
18887 - (nm_hal_device_property_modified): unlock a locked active
18888 wireless device when a wired connection gets a link.
18889 (Means you'll switch to wired whenever you plug in no
18892 2004-10-29 Dan Williams <dcbw@redhat.com>
18894 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
18895 - New files, implement the "Other wireless network" dialog
18897 * panel-applet/NMWirelessApplet.c
18898 - Move "other wireless network" dialog to separate file
18900 * panel-applet/NMWirelessAppletDbus.[ch]
18901 - Take key and key_type paramaters for the set_device function
18903 * panel-applet/essid.glade
18904 - Add UI bits for encryption settings
18906 * src/NetworkManagerDbus.c
18907 - Retrieve key and key_type params for "setActiveDevice" method call
18909 - unref AP returned from nm_device_get_best_ap() when needed
18911 * src/NetworkManagerDevice.c
18912 - (nm_device_get_best_ap): ref the ap before returning it
18913 - unref AP returned from nm_device_get_best_ap() when needed
18914 - (nm_device_activate_wireless): add "ap" parameter so we don't
18915 need to call nm_device_get_best_ap() here, it was pretty much
18917 - (AP_NEED_KEY): break second link check condition out into separate
18918 function, and fix segfault when ap->enc_key_source was NULL
18919 - (nm_device_find_and_use_essid): take key and key_type parameters and
18920 pass them along to nm_device_wireless_network_exists(). If the
18921 network does exist, set the passed-in key+key_type on the AP
18923 * src/NetworkManagerPolicy.c
18924 - unref AP returned from nm_device_get_best_ap() when needed
18926 2004-10-28 Dan Williams <dcbw@redhat.com>
18928 * src/NetworkManagerUtils.c
18929 - (nm_spawn_process): Fix a potential dereference of NULL
18931 Patches from Peter Jones:
18933 * src/NetworkManagerDevice.c
18934 - (nm_device_test_wireless_extensions): Better check for
18937 * src/NetworkManagerUtils.c
18938 - (nm_spawn_process): Pass in valid stdout and stderr so
18939 executed programs don't randomly SIGPIPE and fail
18940 - (nm_get_wired_driver_support_level): quash hal warning
18941 when checking for USB ethernet device
18943 2004-10-27 Dan Williams <dcbw@redhat.com>
18945 * info-daemon/NetworkManagerInfo.c
18946 info-daemon/NetworkManagerInfoDbus.c
18947 info-daemon/NetworkManagerInfoPassphraseDialog.c
18948 panel-applet/NMWirelessApplet.c
18949 - Properly escape gconf keys
18951 * src/NetworkManager.c
18952 - remove unused variables
18954 * src/NetworkManagerAP.c
18955 - (nm_ap_new_from_ap): Don't redundantly set new APs
18956 refcount since it got set in nm_ap_new()
18958 * src/NetworkManagerAPList.c
18959 - (nm_ap_list_combine): Give up ownership of newly created
18960 access points to the ap list, fixes memleak
18962 * src/NetworkManagerDevice.c
18963 - Remove cached_ap_list4 member since its not really needed
18964 - (nm_device_wireless_network_exists): Try to get correct
18965 encryption status of a found AP if its already in our
18967 - (nm_device_do_normal_scan): Clean up scanning a bit, make
18968 memory allocs/deallocs a bit clearer and shorter-lived
18970 2004-10-26 Ray Strode <rstrode@redhat.com>
18972 * panel-applet/NMWirelessApplet.c:
18973 (custom_essid_item_selected): kill some compiler
18976 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
18978 * info-daemon/NetworkManagerInfoDbus.c
18979 - (nmi_dbus_is_running): New function for determining if nmi is already running
18980 - (nmi_dbus_service_init): exit if another instance of nmi is already running
18982 2004-10-23 Dan Williams <dcbw@redhat.com>
18984 * info-daemon/NetworkManagerInfoDbus.c
18985 - Trap the "DeviceActivationFailed" signal
18987 * docs/NetworkManager DBUS API.txt
18988 - Add "DeviceActivationFailed" signal
18990 * panel-applet/NMWirelessAppletDbus.c
18991 - Quash the "NetworkManager service not available" message
18993 * src/NetworkManagerDbus.[ch]
18994 - Add the "DeviceActivationFailed" signal
18996 * src/NetworkManagerDevice.c
18997 - Add support for activation_failed flag
18998 - Fix deadlock where activation thread didn't clean itself up, making
18999 main thread still believe it was alive forever (didn't reset activation
19000 flags like activating, just_activated, etc when IP configuration
19003 * src/NetworkManagerPolicy.c
19004 - Implement logic for DeviceActivationFailed signal, and when activation fails
19005 for wireless networks, try to fall back to some other access point
19007 2004-10-23 Dan Williams <dcbw@redhat.com>
19009 * panel-applet/NMWirelessApplet.[ch]
19010 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19011 to the applet object, so we can get tooltips
19012 - Add tooltips (RH #136866)
19014 * src/NetworkManagerDevice.c
19015 - When trying to find a wireless network, try to connect with encryption
19016 turned on first, so that we can more accurately detect whether or not
19017 we need to use encryption for the actual association later on
19019 2004-10-21 Dan Williams <dcbw@redhat.com>
19021 * Add some support for telling NetworkManagerInfo to tell the user
19022 that they are using a device that's not fully supported
19024 * Fix some assertions in debug messages due to null access point args
19026 2004-10-21 Dan Williams <dcbw@redhat.com>
19028 * src/NetworkManagerDevice.c
19029 - Don't try to activate/bring up/down unsupported
19032 * src/NetworkManagerUtils.c
19033 - Fix case of PCI ID checks for driver support levels
19035 2004-10-21 Dan Williams <dcbw@redhat.com>
19038 - New file, now contains commonly used structures and bits
19039 for the dbus API of NetworkManager
19042 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19044 * src/NetworkManager.h
19045 - Rename -> src/NetworkManagerMain.c
19047 * Various fixups all around to use NetworkManager.h and new
19048 src/NetworkManagerMain.h, remove redundant bits that got
19049 moved into NetworkManager.h
19051 * src/NetworkManagerDevice.[ch]
19052 src/NetworkManagerUtils.[ch]
19053 src/NetworkManagerPolicy.c
19054 src/NetworkManagerDbus.c
19055 - Whitelist wireless drivers, and blacklist some wired
19056 drivers. Also blacklist cipsec and ethernet-over-usb
19057 devices at this time (RH #135722, RH #135648)
19058 - Don't leak unsupported devices out over dbus, or allow
19059 them to be set as the active device. Skip over them
19060 during automatic device picking
19062 * test/nmclienttest.c
19063 - Clean up the dbus code a lot
19065 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
19067 * configure.in: post release bump.
19069 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
19072 * NEWS: Released NetworkManager-0.3.1
19074 2004-10-18 Dan Williams <dcbw@redhat.com>
19076 Patches from Thom May:
19077 * test/nmtestdevices.c
19078 - Include <string.h>
19079 * src/backends/NetworkManagerDebian.c:
19080 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19081 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19082 Move to using g_strdup_printf rather than arbitrary buffers
19083 - (nm_system_device_setup_static_ip4_config) Implement function.
19084 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19086 2004-10-17 Dan Williams <dcbw@redhat.com>
19088 * info-daemon/NetworkManagerInfoDbus.c
19089 - Display name of network in the "network not found" dialog
19091 * panel-applet/NMWirelessAppletDbus.c
19092 - (nmwa_dbus_call_nm_method): new function replaces all other
19093 nmwa_dbus_get_[string|string_array|int|boolean] methods
19094 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19095 consolidated into nmwa_dbus_get_object_name()
19097 2004-10-15 Dan Williams <dcbw@redhat.com>
19099 * src/NetworkManagerDbus.c
19100 info-daemon/NetworkManagerInfoDbus.c
19101 - Display an error dialog when the user tries to use an
19102 "Other wireless network" that's not found.
19104 2004-10-15 Dan Williams <dcbw@redhat.com>
19106 * panel-applet/NMWirelessApplet.[ch]
19107 - Fix up corner cases in applet state, making it
19108 look more responsive. Change state to "connecting" when
19109 the user is forcing a device too.
19111 2004-10-15 Dan Williams <dcbw@redhat.com>
19113 * src/NetworkManagerAPList.c
19114 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19116 * src/NetworkManagerDbus.c
19117 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19119 * src/NetworkManagerDevice.c
19120 - Disown APs after the device's AP list takes ownership
19122 2004-10-15 Dan Williams <dcbw@redhat.com>
19124 * panel-applet/NMWirelessApplet.c
19125 - Update our applet state from the GUI thread
19127 * panel-applet/NMWirelessAppletDbus.c
19128 - Greatly simplify the locking to make the GUI thread
19129 smoother. Update a private copy of the device list
19130 and active device and only when done talking to
19131 NetworkManager turn it over to the GUI thread.
19133 2004-10-15 Dan Williams <dcbw@redhat.com>
19135 * src/NetworkManagerAP.[ch]
19136 - Add "artificial" get/set functions, set for APs that
19137 aren't discovered as part of a scan but instead
19138 discovered by force-setting the ESSID
19140 * src/NetworkManagerDevice.[ch]
19141 - (nm_device_wireless_network_exists): pass back whether
19142 or not the discovered AP was encrypted. Also, try
19143 falling back to encrypted mode on the card if unencrypted
19144 association doesn't work
19145 - (nm_device_find_and_use_essid): If the network requested
19146 did in fact exists, but it wasn't in our scan list, add
19147 an "artificial" entry for it. Some Cisco cards don't
19148 see non-ESSID-broadcasting APs in their scan but can still
19149 associate with them if you know the ESSID, this works around
19151 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19152 to scan if the card is currently associated with that AP
19154 2004-10-15 Dan Williams <dcbw@redhat.com>
19156 ---- We have a website ----
19157 http://people.redhat.com/dcbw/NetworkManager
19159 Patch from Robert Paskowitz:
19160 * src/NetworkManager.c
19161 - (main): Make sure we are run as root
19162 * src/NetworkManagerDevice.c
19163 - Fix type in ad-hoc setting function
19165 Patch from Thom May:
19166 * src/backends/NetworkManagerDebian.c
19167 - Make Debian backend compile again
19169 2004-10-14 Dan Williams <dcbw@redhat.com>
19171 * Tagged NetworkManager-0_3
19173 2004-10-14 Dan Williams <dcbw@redhat.com>
19175 Patch from Robert Paskowitz:
19177 src/NetworkManagerDevice.[ch]
19178 src/backends/NetworkManagerDebian.c
19179 src/backends/NetworkManagerGentoo.c
19180 src/backends/NetworkManagerRedHat.c
19181 src/backends/NetworkManagerSlackware.c
19182 - Add support for grabbing and using a broadcast address
19183 from system config files
19184 - Some Gentoo backend fixes for grabbing network config
19185 - Fix LOG_WARN->LOG_WARNING
19187 2004-10-14 Dan Williams <dcbw@redhat.com>
19189 * NEWS: a few small fixes in the credits
19191 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
19193 * NEWS: prep for release.
19195 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
19197 * panel-applet/NMWirelessAppletDbus.c
19198 (nmwa_dbus_update_device_wireless_networks): remove warnings.
19200 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
19202 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19203 applet->state == APPLET_STATE_NO_NM animation.
19205 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19206 set the text correctly.
19208 2004-10-14 Dan Williams <dcbw@redhat.com>
19210 * src/NetworkManager.c
19211 - Only accept and manager 802.3 and 802.11 devices
19213 * src/NetworkManagerDbus.[ch]
19214 - (nm_dbus_nm_set_active_device): move most of the actual activation
19215 logic into NetworkManagerDevice.c
19216 - (nm_dbus_network_status_from_data): new function
19217 - (nm_dbus_signal_network_status_change): new function, unused for now
19218 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19220 * src/NetworkManagerDevice.[ch]
19221 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
19224 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19226 * info-daemon/NetworkManagerInfo.c
19227 - (main): Added session management
19229 2004-10-14 Dan Williams <dcbw@redhat.com>
19231 * panel-applet/NMWirelessAppletDbus.[ch]
19232 - Expose network_device_[un]ref()
19233 - Expose wireless_network_[un]ref()
19234 - (wireless_network_new_with_essid): new function, create and return
19235 a wireless network with a particular essid
19237 * panel-applet/NMWirelessApplet.c
19238 - Hook up the "other network" dialog to do something
19240 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
19242 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
19243 doesn't work yet, but it looks okay.
19245 * panel-applet/icons/*png: Resize to 22x22 and install in the
19248 2004-10-13 Dan Williams <dcbw@redhat.com>
19250 * panel-applet/NMWirelessApplet.c
19251 - Add function to print out applet_state in a readable
19254 * src/NetworkManager.c
19255 - (main): Don't segfault when nm_dbus_init() fails, we had
19256 a left-over call to hal_shutdown() into which we passed NULL
19258 * src/NetworkManagerAP.c
19259 - (nm_ap_set_essid): Allow NULL essids
19261 * src/NetworkManagerAPList.[ch]
19262 - More use of nm_ap_list_[un]lock ()
19263 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19264 network/essid, just return nothing. Also skip over NULL
19265 essid access points in the list when searching
19266 - (nm_ap_list_get_ap_by_address): new function
19267 - (nm_ap_list_update_network): set the access point's key source to
19268 NULL when the key returned from NetworkManagerInfo is NULL or
19270 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19271 copy timestamp over too
19272 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19273 find the correct ESSID for a blank-essid access point by searching
19274 through another list and matching access point MAC addresses
19275 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19277 * src/NetworkManagerDbus.c
19278 - (nm_dbus_nm_set_active_device): deal with random networks the user
19279 may specify. This is mainly for access points that don't
19280 broadcast their essid. So if the user tells us to associate with
19281 some random ESSID that's not in our access point list, we find
19282 out if the access point does in fact exist (by attempting association
19283 and then matching that access point's MAC address with the essid the
19284 user gave us) and then we switch to it.
19285 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19286 to the returned list of networks for the "getNetworks" method
19288 * src/NetworkManagerDevice.[ch]
19289 - Extra debugging info for link detection
19290 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19291 based on MAC address
19292 - (nm_device_get_path_for_ap): ignore blank-essid access points
19293 - (nm_device_wireless_network_exists): new function, find out whether
19294 a random ESSID exists by attempting to associate with it
19295 - (nm_device_do_normal_scan): allow blank-essid access points in our
19296 device list as long as they have an AP MAC address we can use.
19297 Also send WirelessNetwork[Dis]Appeared signals for non-active
19298 devices too. Lets the applet update more frequently.
19300 * src/backends/NetworkManagerGentoo.c
19301 - Patch from: Robert Paskowitz
19302 - Update backend code for Gentoo
19303 - Implement nm_system_device_update_config_info ()
19305 * test/nmclienttest.c
19306 - (set_network_device): new function, takes a command-line argument
19307 and tells NetworkManager to use that wireless network
19309 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19311 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19312 if the notification icon crashes 5 times within 5 seconds of each respawn
19314 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
19316 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19319 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
19321 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19323 * panel-applet/NMWirelessApplet.c: (animation_timeout),
19324 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19325 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19326 Change the name of the icons.
19328 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19329 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19330 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19331 (nm_menu_wireless_expose_event): Really bad hack to get the style
19332 to draw in the right color.
19334 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19336 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
19337 Notification if it crashes
19339 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
19341 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
19342 (nmwa_dbus_get_string): remove unused functions
19344 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19345 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19346 remove unused functions
19348 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19350 2004-10-12 Dan Williams <dcbw@redhat.com>
19352 * panel-applet/NMWirelessAppletDbus.c
19354 wireless_network_new
19355 wireless_network_copy
19357 network_device_copy
19359 * src/NetworkManagerDevice.[ch]
19361 nm_device_set_mode_managed
19362 nm_device_set_mode_adhoc
19363 - Use these functions where appropriate
19364 - When creating a new wireless device, force the card
19365 to managed/Infrastructure mode as soon as possible
19367 2004-10-12 Dan Williams <dcbw@redhat.com>
19369 * src/NetworkManagerDevice.c
19370 - Force wireless cards into Infrastructure mode before we use them
19372 2004-10-12 Dan Williams <dcbw@redhat.com>
19375 - Remove bit about static IP address support
19377 * src/NetworkManagerUtils.c
19378 - (nm_spawn_process): Add some error reporting
19380 * src/NetworkManagerDevice.c
19381 - (nm_device_activation_configure_ip): hook up to the static config
19382 routines in the backends
19384 * src/backends/NetworkManagerRedHat.c
19385 - (nm_system_device_update_config_info): use shvar.c routines to
19386 parse the config file iformation, not our own
19387 - (nm_system_device_setup_static_ip4_config): new function, based
19388 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
19389 with a static IP address and gateway
19391 * src/backends/shvar.[ch]
19392 - Parser (filched from initscripts package) for ifcfg-* files
19394 * src/backends/NetworkManagerSystem.h
19395 src/backends/NetworkManagerGentoo.c
19396 src/backends/NetworkManagerDebian.c
19397 src/backends/NetworkManagerSlackware.c
19398 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19400 2004-10-11 Dan Williams <dcbw@redhat.com>
19403 - Remove bit about more robust AP diffing since I just implemented it
19405 2004-10-11 Dan Williams <dcbw@redhat.com>
19407 * src/NetworkManagerAP.c
19408 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19409 enough RAM to allocate new AP structures, but return NULL instead
19411 * src/NetworkManagerAPList.[ch]
19412 - (nm_ap_list_is_empty): new function
19413 - (nm_ap_list_combine): new function, combine two access point lists
19414 - (nm_ap_list_copy_keys): new function, copy keys from one list
19417 * src/NetworkManagerDevice.[ch]
19418 - Rename some functions to be clearer:
19419 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19420 nm_device_just_activated -> nm_device_is_just_activated
19421 nm_device_activating -> nm_device_is_activating
19422 nm_device_now_scanning -> nm_device_is_scanning
19423 - Cache the last 4 scans so that the access point list is more stable.
19424 We combine the lastest two scans and use that as the AP list,
19425 and diff that combined list against the combination of the earliest
19426 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19428 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19430 * info-daemon/NWManagerInfo.h
19431 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19433 * info-daemon/NWManagerInfoDbus.c
19434 - (shutdown_callback): new function
19435 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19436 if NetworkManager goes away. Kill the timeout
19437 if NetworkManager restarts before the 30 seconds
19439 - (nmi_dbus_service_init):
19440 - call gtk_main_quit if NetworkManager is not running
19441 - add filters to monitor dbus service creations and
19444 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19446 * panel-applet/NMWirelessApplet.c
19447 - (nmwa_update_state): Hide notification icon if we are only
19448 showing one wired card and no wireless interfaces
19449 (Red Hat Bug #134895)
19451 * panel-applet/NMWirelessAppletDbus.c
19452 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19454 * info-daemon/NWManagerInfo.c
19455 - (main): Terminated the notification_icon_cmd array with a NULL
19457 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
19459 * configure.in (ALL_LINGUAS): Added de (German).
19461 2004-10-08 Dan Williams <dcbw@redaht.com>
19463 * src/NetworkManagerDevice.c
19464 - Be a bit more robust about link checking, ie make sure that
19465 the WEP key we were given actually has some data in it
19467 2004-10-08 Dan Williams <dcbw@redhat.com>
19469 * info-daemon/NetworkManagerInfo.c (main):
19470 - Initialize GError object to NULL
19472 2004-10-08 Dan Williams <dcbw@redhat.com>
19474 * panel-applet/NMWirelessAppletDbus.c
19475 - Die if NetworkManagerInfo dies, since it manages our lifetime
19477 2004-10-08 Dan Williams <dcbw@redhat.com>
19479 * info-daemon/NetworkManagerInfo.[ch]
19480 info-dameon/NetworkManagerInfoDbus.[ch]
19481 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19482 - Preserve original label text in the passphrase dialog so that
19483 it actually gets updated with the new network name the next
19484 time around. Previously, we were overwriting it so you'd get
19485 the wrong network name to enter a key for
19486 - Add a "Key Type" combo to the passphrase dialog, user selects
19487 encryption key type now, type is stored in GConf too
19488 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19490 * src/NetworkManagerAP.[ch]
19491 - Remove all the encyption method magic. It's now set by the user
19492 and NetworkManager retrieves the type of encryption key from
19495 * src/NetworkManagerAPList.[ch]
19496 src/NetworkManagerDbus.[ch]
19497 - Adjust to new way of setting encryption key and method
19498 - Pull encryption method down from NMI along with key
19500 * src/NetworkManagerDevice.[ch]
19501 - Removed encryption method fallback magic as the method is now
19502 determined by the user. This greatly simplifies the connection
19504 - More robust connection/link logic. Besides removing the encryption
19505 method fallback magic, check whether or not the card is receiving
19506 invalidly encrypted packets, which usually indicates that we have
19508 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19510 * test/nminfotest.c
19511 - Test out new "Key Type" stuff in the NMI passphrase dialog
19513 2004-10-07 Dan Williams <dcbw@redhat.com>
19515 * info-daemon/NetworkManagerInfo.conf
19516 - Allow root user to run NMI too
19518 2004-10-06 Dan Williams <dcbw@redhat.com>
19520 * src/NetworkManagerDevice.[ch]
19521 src/NetworkManagerDbus.c
19522 doc/NetworkManager DBUS API.txt
19523 - Add a new status tag "scanning", which is set when there
19524 is no active network connection, but NetworkManager is
19525 looking for an access point to associate with
19527 * panel-applet/main.c
19528 - Cast the applet appropriately for gtk_widget_show_all ()
19530 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
19532 * panel-applet/eggtrayicon.[ch]:
19533 * panel-applet/main.c: Add missing file
19535 2004-10-04 Dan Williams <dcbw@redhat.com>
19537 * src/NetworkManagerDevice.[ch]
19538 - Add a slightly more robust method of determining if the WEP key
19539 is correct or not, by checking the WEP-discarded packet count
19542 * info-daemon/NetworkManagerInfo.c
19543 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19544 un-escape values we pull out rather than escaping them
19546 2004-10-03 Marcel Telka <marcel@telka.sk>
19548 * configure.in (ALL_LINGUAS): Added sk.
19550 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
19552 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19553 and feel. We should be back to working, and have a good, clean
19556 2004-09-30 Dan Williams <dcbw@redhat.com>
19558 * info-daemon/NetworkManagerInfo.c
19559 info-daemon/NetworkManagerInfoDbus.c
19561 - Escape ESSIDs in gconf
19563 * src/NetworkManagerDevice.c
19564 - Fix pseudo-scanning to use netowrk list from info daemon
19566 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
19568 * configure.in: Add a temporary --enable-notification-icon. This
19569 will prolly go away.
19571 * info-daemon/Makefile.am:
19572 * info-daemon/NetworkManagerInfo.c:
19573 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19575 * panel-applet/Makefile.am:
19576 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19577 * panel-applet/NMWirelessApplet.h:
19579 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
19581 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
19582 before 'select custom ESSID'.
19584 * panel-applet/menu-info.c: Start rewrite for better headers. Not
19585 fully complete, but syncing in prep for merge.
19587 * panel-applet/icons/*png: New images
19589 2004-09-28 Dan Williams <dcbw@redhat.com>
19591 * src/NetworkManager.c
19592 src/NetworkManagerDevice.c
19593 src/NetworkManagerPolicy.c
19594 - Don't blow away an active wired connection on startup
19596 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
19600 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19602 * info-daemon/NetworkManagerInfoDbus.c: added service name to
19605 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
19607 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19608 have a wireless card.
19610 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
19612 * panel-applet/NMWirelessApplet.c: move the custom essid item.
19613 Also, get the right device strings.
19615 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
19617 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19618 the logic to make this right.
19620 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19621 devices so that wired networks are always first.
19623 2004-09-22 <clarkbw@cvs.gnome.org>
19625 * initscript/Debian/.cvsignore:
19626 * initscript/Slackware/.cvsignore:
19627 Added new cvsignores for Makefile, Makefile.in
19630 Added nmtestdevices
19632 * src/NetworkManagerDevice.c:
19633 * src/NetworkManager.c:
19634 Updated the wireless/wired HAL device strings from net.ethernet to
19635 net.80203 or net.80211 depending on wired or wireless respectively
19637 * examples/python/NetworkManager.py:
19638 s/Quality/Strength/
19640 * examples/python/systray/network_tray.py:
19641 Lots of little changes and fixes. been rotting for a while so I
19642 figured I'd finally sync them all with CVS
19644 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
19646 * configure.in: Add graphics
19648 * panel-applet/Makefile.am: Add graphics
19650 * panel-applet/icons/*: Add graphics
19652 * panel-applet/NMWirelessApplet.c: Use new menu times to display
19653 the icons fully lined up.
19655 * panel-applet/menu-info.c:
19656 * panel-applet/menu-info.h: Add another menu type.
19658 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
19660 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19662 * panel-applet/menu-item.[ch]: Wireless menu item.
19664 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
19666 * info-daemon/NetworkManagerInfo.conf
19667 - Created a more robust security policy for the DBus service
19668 - everything is denied by default
19669 - root can own and send to the service
19670 - users logged in at the console can send to the service
19672 2004-09-13 Dan Williams <dcbw@redhat.com>
19674 * src/NetworkManagerDevice.c
19675 - (nm_device_get_essid): use iw_get_basic_config() rather than
19676 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
19679 2004-09-13 Dan Williams <dcbw@redhat.com>
19683 * docs/NetworkManager DBUS API.txt
19684 - Update for new signal strength changes
19686 * panel-applet/NMWirelessApplet.c
19687 - Make panel icon show strength of the current connection
19688 - Cleanups and memleak fixes
19690 * panel-applet/NMWirelessApplet.h
19691 - Add data members for signal strength on devices and networks
19693 * panel-applet/NMWirelessAppletDbus.c
19694 - Free more DBusErrors
19695 - Update for new signal strength changes
19696 - Make devices and networks more like real objects, use ref/unref methods
19697 - Actually unlock the mutex when updating the active device
19699 * src/NetworkManagerAP.c
19700 - Change AP functions and data members from "quality"->"strength"
19702 * src/NetworkManagerDbus.c
19703 - Kill "getMaxQuality" and "getQuality" methods
19704 - Add "getStrength" methods for Networks and Devices
19706 * src/NetworkManagerDevice.[ch]
19707 - Add accessors for device strength
19708 - Add functions to update strength for a device. Note that not all drivers
19709 actually support signal strength for scanned access points (Atmel drivers
19711 - Calculate signal strength for each AP during scan
19713 * src/NetworkManagerWireless.[ch]
19714 - Add function to return signal strength % from a device and a raw quality struct
19716 * test/nmclienttest.c
19717 - Update for new signal strength changes
19719 2004-09-11 Dan Williams <dcbw@redhat.com>
19721 * src/NetworkManager.c
19722 - Fix race condition between initscripts and NM on card insertion
19723 which could cause a card to keep an IP address and routes around
19724 even when it was not the active device
19726 * src/NetworkManagerDbus.c
19727 - Fix compile errors, free more DBusErrors
19729 2004-09-11 Dan Williams <dcbw@redhat.com>
19731 * docs/NetworkManager DBUS API.txt
19732 - Add an explanation of NM's API
19734 * src/NetworkManagerDbus.c
19735 - Free some more DBusErrors if needed
19737 2004-09-11 Dan Williams <dcbw@redhat.com>
19739 * panel-applet/NMWirelessApplet.c
19740 panel-applet/NMWirelessAppletDbus.c
19741 - Start using NetworkDevice/WirelessNetwork structures in more places
19742 - Update for unified device/network forcing in NetworkManager
19744 * src/NetworkManager.c
19745 - some code consolidation
19747 * src/NetworkManagerDbus.c
19748 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
19749 or two arguments: the first is the NM ID of the device to switch to,
19750 and the second (optional) argument is the ESSID of a wireless network
19752 - Get rid of "setNetwork" method due to above change
19754 * src/NetworkManagerDevice.c
19755 - (nm_device_new): perform scan and update best AP on device creation
19756 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
19757 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
19758 spin waiting for cancellation to finish before returning
19760 * src/NetworkManagerPolicy.c
19761 - Changes here clarify the situations in which a device switch occurs, and
19762 make sure to keep using a forced device and network if the user gives
19764 - Remove old unused code
19766 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
19768 * configure.in: Added Danish (da) to ALL_LINGUAS.
19770 2004-09-09 Dan Williams <dcbw@redhat.com>
19772 * panel-applet/NMWirelessAppletDbus.c
19773 - Pull fresh devices and networks from NM when wireless networks
19774 change. Provides faster feedback of a forced wireless network
19776 * src/NetworkManagerDbus.c
19777 - Return error when "getMaxQuality" is called on a wired device
19778 - Make best_ap freezing actually work again, and signal cancellation
19779 of activation if there's already a device activation when the user
19780 freezes the best_ap
19782 * src/NetworkManagerDevice.c
19783 - Don't clear out the best_ap for wireless devices when the link goes
19784 down, that's done elsewhere
19785 - Kill any dhcp daemons when cancelling device activation since they
19786 may be stuck waiting for a DHCP address, and since we're cancelling
19787 activation we don't care about that anymore
19789 * src/NetworkManagerPolicy.c
19790 - Make sure to unref the device we ref earlier (we refed it to make sure
19791 it stuck around during device activation and such)
19792 - If we were going to change the best device, but its activating currently
19793 (and therefore the change didn't occur due to the check earlier)
19794 we mark the state changed to we come back to it later when device
19795 activation has canceled and its no longer activating
19797 * src/backends/NetworkManagerRedHat.c
19798 - SIGKILL dhcp daemons rather than SIGTERM-ing them
19800 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
19802 * info-daemon/passphrase.glade:
19803 set passphrase input to activates_default : True
19805 * examples/python/systray/network_tray.py
19806 (network_tray.sort_networks):
19808 Added support for having wireless always scanning
19810 2004-09-09 Dan Williams <dcbw@redhat.com>
19812 NOTE: this commit changes the behavior of wireless devices in
19813 NetworkManager. They are now up all the time, scanning all
19814 the time. Only the active device has an IP address and routing
19815 information set up however. Also, NetworkManager will no longer
19816 opportunistically switch wireless networks when a better one
19817 comes in range, it will remain associated with one wireless network
19818 until that one drops out.
19820 * panel-applet/NMWirelessApplet.c
19821 panel-applet/NMWirelessAppletDbus.c
19822 - List all wireless cards and their respective networks
19824 * src/NMLoadModules
19825 - Use full path to /sbin/ip
19827 * src/NetworkManager.c
19828 - Keep wireless devices up all the time so they can scan
19830 * src/NetworkManagerDbus.c
19831 - On a WirelessNetworkUpdate signal from NMI, don't update
19834 * src/NetworkManagerDevice.c
19835 - (nm_device_set_link_active): clear out the best ap for
19836 wireless devices when the link is set to FALSE
19837 - Scan on all wireless cards, all the time
19838 - (nm_device_activation_worker): split out the wireless card
19839 link-waiting code to a separate function
19840 - Keep wireless cards up even if device activation fails
19841 - Don't update the "best" ap as much
19843 * src/NetworkManagerPolicy.c
19844 - Don't update the best ap when checking if its frozen,
19845 let link checking clear out a frozen best ap for us
19847 * src/NetworkManagerWireless.c
19848 - Scan on all wireless cards, all the time
19850 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
19852 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
19854 2004-09-09 Ankit Patel <ankit@redhat.com>
19856 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
19858 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
19860 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
19862 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
19864 * examples/python/NetworkManager.py:
19865 added CONNECTED, CONNECTING, and DISCONNECTED states
19866 added methods to return number of devices of a single type
19868 * examples/python/systray/network_tray.py:
19869 did some tweaks to get the menu looking near what it is supposed
19870 to look like. Also did a Airo card hack to make it show the
19873 2004-09-08 Dan Williams <dcbw@redhat.com>
19875 * panel-applet/no-networkmanager.png
19876 panel-applet/Makefile.am
19877 panel-applet/NMWirelessApplet.c
19878 - Add a "NetworkManager not running" icon and use it
19879 - Use new consolidated GConf keys rather than Preferred/Trusted
19883 * info-daemon/NetworkManagerInfo.c
19884 info-daemon/NetworkManagerInfoDbus.[ch]
19885 info-daemon/NetworkManagerInfoPassphraseDialog.c
19886 - There are now no longer two separate lists of wireless networks,
19887 but one list where each network is "trusted" or not trusted
19888 - Add a "getNetworkTrusted" dbus method
19889 - "WirelessNetworkUpdate" signal now sent rather than
19890 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
19891 - Start freeing some dbus errors (not completed yet)
19893 * info-daemon/passphrase.glade
19894 - Remove the "don't show" hints for pager and taskbar
19895 - Add a title since its going to be in the taskbar
19897 * src/NetworkManager.[ch]
19898 src/NetworkManagerAPList.[ch]
19899 - There are now no longer two separate lists of wireless networks,
19900 but one list where each network is "trusted" or not trusted
19902 * src/NetworkManagerAP.[ch]
19903 - Add get/set "trusted" accessors and data bit
19905 * src/NetworkManagerDbus.[ch]
19906 - Add function to get "trusted" status of a network from NetworkManagerInfo
19907 - Trap new WirelessNetworkUpdate signal rather than old separate signals
19909 * src/NetworkManagerDevice.[ch]
19910 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
19911 - (nm_device_new): Get device config from backend when initializing devices
19912 - (nm_device_activation_worker): Split out device configuration on
19913 activation to deal with static/dynamic IP differences, and try encryption
19914 fallbacks on a device if the encryption method for the best AP is not good
19915 - (nm_device_update_best_ap): convert to new consolidated access point lists from
19916 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
19918 * src/NetworkManagerWireless.c
19919 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
19921 * src/backends/NetworkManagerRedHat.c
19922 src/backends/NetworkManagerSystem.h
19923 - (nm_system_device_update_config_info): Add function to get device configuration
19924 from system data in ifcfg-* files
19926 * src/backends/NetworkManagerDebian.c
19927 src/backends/NetworkManagerGentoo.c
19928 src/backends/NetworkManagerSlackware.c
19929 - Add stub functions for getting device configuration
19931 2004-09-07 Dan Williams <dcbw@redhat.com>
19933 * src/backends/NetworkManagerRedhat.c
19934 src/backends/NetworkManagerSlackware.c
19935 - Use full path to /sbin/ip everywhere
19937 2004-09-07 Dan Williams <dcbw@redhat.com>
19939 Patch from: Narayan Newton <narayan_newton@yahoo.com>
19942 initscript/Makefile.am
19943 initscript/Slackware/Makfile.am
19944 initscript/Slackware/rc.networkmanager
19946 src/backends/NetworkManagerSlackware.c
19947 - Add Slackware support
19949 2004-09-07 Dan Williams <dcbw@redhat.com>
19951 Patches below from:
19953 Mark Roach <mrroach@okmaybe.com>
19954 Thom May <thom@debian.org>
19957 initscript/Debian/NetworkManager
19958 initscript/Debian/Makefile.am
19959 - Initscript for Debian
19961 * src/backends/NetworkManagerDebian.c
19962 - Add missing system init function to allow compilation
19965 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
19967 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
19969 2004-09-03 Akagic Amila <bono@linux.org.ba>
19971 * configure.in: Added 'bs' to ALL_LINGUAS.
19973 2004-09-02 Colin Walters <walters@verbum.org>
19975 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
19976 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
19977 g_strdup_printf instead of arbitrarily sized buffers.
19979 2004-09-01 Colin Walters <walters@verbum.org>
19981 * NetworkManager.pc.in: New file.
19983 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
19985 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
19987 * configure.in: Punjabi(pa) is added to po/.
19989 2004-08-31 Dan Williams <dcbw@redhat.com>
19991 * Remove 'debug' extern global from all files since we now
19994 * src/NetworkManager.[ch]
19995 - Break out routine that get the net.interface property from HAL,
19996 removing that logic from nm_create_device_and_add_to_list()
19997 - (nm_create_device_and_add_to_list): make this a bit more general so
19998 it doesn't do the talking to HAL. Also add arguments to facilitate
19999 the create of test devices.
20000 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20001 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20002 which makes NetworkManager listen for dbus commands to create test
20003 devices, which have no backing hardware. Use when you're on a plane
20004 for example, and/or forgot your wireless card at home. Test devices
20005 _cannot_ be created unless NM is started with --enable-test-devices.
20007 * src/NetworkManagerDbus.[ch]
20008 - New "getLinkActive" method for devices
20009 - New "setLinkActive" method for devices (only works on test devices)
20010 - New "createTestDevice" method on NetworkManager object to create a test
20011 device of a specified type (ie wired, wireless). UDI is created from
20012 scratch, as is the interface name. Only works when NM is started with
20013 --enable-test-devices switch.
20014 - New "removeTestDevice" method on NetworkManager object which removes a
20015 test device. Only works when NM is started with --enable-test-devices
20017 * src/NetworkManagerDevice.[ch]
20018 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
20019 whether a device is a test device or not, and what its link status is.
20020 - Deal with test devices in most functions. For those that work directly on hardware
20021 special-case test devices.
20022 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20024 - (nm_device_update_link_active): split out logic for wired and wireless device link
20025 checking to separate functions to facilitate test device link checking.
20026 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20027 don't make a distinction between System Authentication and Encryption
20028 (namely Cisco aironet), we use Open System auth when setting a WEP key
20029 on the card. We don't deal with Shared Key auth yet.
20030 - (nm_device_activation_worker): split the activation cancel check logic out into
20031 a separate routine nm_device_activation_cancel_if_needed()
20032 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20033 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20034 a list of fake access points that they can "see"
20035 - (nm_device_is_test_device): return whether or not a device is a test device
20037 * src/NetworkManagerPolicy.c
20038 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20039 previously if you "locked"/forced NM to use a wireless device but then
20040 selected a wireless network for NM to use, it would switch to a wired device.
20041 So, if the active device is wireless and it has a "forced" best AP, use it
20042 if the "forced" best AP is still valid
20043 - (nm_state_modification_monitor): deal with NULL best devices, for example
20044 there were no usable network devices, or the last one was removed
20046 * src/backends/NetworkManager*.c
20047 - Deal with test devices, mostly just return success for operations like getting
20050 * test/nmtestdevices.c
20051 - Test tool to create/remove/link-switch test devices
20053 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
20055 * examples/python/NetworkManager.py:
20056 added convience functions has_wired_device and has_wireless_device
20058 * examples/python/systray/network_tray.py:
20059 cleaned up a bunch of cruft, added support for listing wireless
20060 networks just like the real applet. This is probably all I'm
20061 going to work on this applet from now on.
20062 TODO: add support for actually changing networks and devices
20064 * examples/python/NetworkManager.py (NetworkManager.get_device):
20065 changed "nm.networks" into a dict from a list so I can store all
20066 the cool information about networks in there
20068 * examples/python/systray/network_tray.py:
20069 Added nice message when you try to run without running make first
20071 * examples/python/NetworkManager.py:
20072 Bug fixes to the code so we get all the device information
20073 that we need in get_device()
20075 * examples/python/NMTester.py:
20076 Fixed _print_device_list to print_device_list
20078 2004-08-29 Seth Nickell <seth@gnome.org>
20082 Actually properly setup the Debian backend in configure.
20084 2004-08-29 Colin Walters <walters@verbum.org>
20086 * test/nminfotest.c: Include string.h and stdlib.h.
20087 (get_network_string_property, get_networks_of_type): Return NULL.
20089 * test/nmclienttest.c (get_device_name, get_active_device): Return
20092 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20093 use strlen, fgets always NULL-terminates the string.
20095 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20096 dbus_message_get_member): Remove /* in comment.
20098 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20100 * src/NetworkManager.c (quit): Unused, delete.
20101 (nm_data_free): Cast arg to GFunc.
20103 * panel-applet/NMWirelessAppletDbus.c: Need to include
20104 string.h, and dbus-glib-lowlevel.h (the latter is needed
20105 for dbus_connection_setup_with_g_main at present).
20106 (nmwa_dbus_update_wireless_network_list): Parenthesize
20107 assignment in conditional.
20108 (nmwa_dbus_worker): Return NULL.
20110 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20111 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20112 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20113 (nmwa_populate_menu): Return NULL on failure, instead of just
20116 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20118 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20121 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20124 2004-08-29 Colin Walters <walters@verbum.org>
20126 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20127 a GTimeVal instead of time_t. This is easier to work with,
20128 since time_t may be a long or double, we don't know.
20130 * src/NetworkManagerDbus.h: Update prototype.
20132 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20134 (nm_ap_get_timestamp): Update to return GTimeVal.
20135 (nm_ap_set_timestamp): Update to take GTimeVal.
20137 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20138 to handle GTimeVal.
20140 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20142 (nm_ap_list_print_members): Fix warnings in printf format.
20144 2004-08-29 Colin Walters <walters@verbum.org>
20146 * panel-applet/NMWirelessApplet.c: Include config.h.
20148 2004-08-29 Colin Walters <walters@verbum.org>
20150 * configure.in: Generate config.h.
20152 * configure.in: Dump dependency on OpenSSL; we can't
20153 use it since this package is GPL:
20154 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20155 Instead, check for libgcrypt, use it if available,
20156 otherwise use included MD5 code.
20158 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20159 Suck in from gnome-keyring, munge a bit.
20161 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20162 gnome-keyring-md5.h gnome-keyring-md5.c.
20163 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20165 * src/NetworkManagerWireless.c (nm_md5): New function, uses
20166 libgcrypt or included gnome-keyring md5 bits.
20167 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20169 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
20171 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20173 2004-08-27 Bryan Clark <bclark@redhat.com>
20175 * examples/python/systray/Makefile:
20177 Updated the clean section
20179 * examples/python/systray/trayiconmodule.c:
20180 * examples/python/systray/trayicon.override:
20181 * examples/python/systray/network_tray.py:
20182 * examples/python/systray/eggtrayicon.h:
20183 * examples/python/systray/eggtrayicon.c:
20184 * examples/python/systray/Makefile:
20185 * examples/python/README:
20186 * examples/python/NetworkManager.py:
20187 * examples/python/NMTester.py:
20189 Initial commit of these python example files
20191 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20193 * panel-applet/NMWirelessApplet.c
20194 - Make current device bold
20195 - Show more user-friendly device name if we got one from hal
20197 * panel-applet/NMWirelessAppletDbus.c
20198 - Grab "info.product" key from hal for network devices
20199 - Cache the current active device
20201 2004-08-27 Adam Weinberger <adamw@gnome.org>
20203 * configure.in: Added en_CA to ALL_LINGUAS.
20205 2004-08-27 Christian Rose <menthos@menthos.com>
20207 * configure.in: Added "sv" to ALL_LINGUAS.
20209 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20211 * Tag NetworkManager-0.2
20213 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
20215 * initscripts/Makefile.am
20216 * configure.in: Make pass distcheck
20218 * po/ChangeLog: added
20220 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20222 * panel-applet/NMWirelessApplet.c
20223 - Remove debugging code
20224 - Enable device switching from menus
20226 * panel-applet/NMWirelessAppletDbus.[ch]
20227 - Method for asking NM to switch devices
20229 * src/NetworkManagerDevice.c
20230 - Set dev->activating earlier, avoids race between
20231 the dbus signal of "DeviceActivating" and setting
20232 dev->activating (which is what NM's "status" method call
20235 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20237 * panel-applet/NMWirelessApplet.[ch]
20238 - Rework menu code to add devices to menu, and to show
20239 signal strength for each access point. Code cleanups
20242 * panel-applet/NMWirelessAppletDbus.c
20243 - Grab network devices from NetworkManager too
20244 - Grab quality information from NM for wireless networks
20246 * src/NetworkManagerDbus.[ch]
20247 - Add dbus methods for getting the HAL UDI from a device and
20248 for getting its base quality, if its wireless
20249 - Consolidate some functions (wireless network notifications,
20250 device notifications)
20251 - Add method for requesting NM to use a particular device
20253 * src/NetworkManager.c
20254 - Change for function consolidations from NetworkManagerDbus.c
20255 - Implement active device locking and user-requested devices
20256 (ie, tell NM to use a particular device instead of the one
20259 * src/NetworkManagerDevice.c
20260 - Add method for getting the base quality of a device, if its
20262 - Grab device base quailty info from iwlib during scans
20264 * src/NetworkManagerPolicy.c
20265 - Use a user-requested device rather than the auto-chosen device
20268 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
20270 * Makefile.am: add po as a supdir
20272 * autogen.sh: use gnome-autogen.sh
20274 * initscript/Gentoo/.cvsignore:
20275 * initscript/RedHat/.cvsignore: Shut up cvs
20277 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20279 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20280 (nmwa_fill): Use gettext.
20282 * configure.in: add gettext support
20284 * po/NetworkManager.pot:
20287 2004-08-26 Seth Nickell <seth@gnome.org>
20289 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20290 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20291 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20292 (nmwa_dispose_menu_items), (nmwa_populate_menu),
20293 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20294 * panel-applet/NMWirelessApplet.h:
20296 Use a menu bar instead of a button for the main clickable
20299 2004-08-25 Dan Williams <dcbw@redhat.com>
20301 * src/NetworkManagerDevice.c
20302 - (nm_device_set_enc_key): always set device to "open" mode instead of
20303 turning encryption off, because the Cisco driver doesn't associate
20304 with WEP-enabled access points unless we are in "open"
20306 2004-08-25 Dan Williams <dcbw@redhat.com>
20308 * src/NetworkManagerWireless.c
20309 - Don't try to defererence blank passphrases
20311 2004-08-25 Dan Williams <dcbw@redhat.com>
20313 * panel-applet/NMWirelessApplet.c
20314 - Rebuild the menu whenever a user clicks
20316 2004-08-25 Dan Williams <dcbw@redhat.com>
20318 * panel-applet/NMWirelessApplet.c
20319 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20320 when NM isn't around or when its not connected
20322 * src/NetworkManagerDevice.c
20323 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20326 2004-08-25 Dan Williams <dcbw@redhat.com>
20328 * panel-applet/NMWirelessAppletDbus.c
20329 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20330 for getting encryption, and don't stop on "val" once we've gotten it
20331 from NetworkManager. Short form: encryption should now show up.
20333 2004-08-25 Dan Williams <dcbw@redhat.com>
20335 * panel-applet/NMWirelessApplet.c
20336 - Set ESSID on a gconf trusted network too when force-setting the wireless
20337 network to associate with
20339 2004-08-25 Dan Williams <dcbw@redhat.com>
20342 - Rework the panel applet to do all DBUS communication in a separate
20345 2004-08-25 Dan Williams <dcbw@redhat.com>
20347 * info-daemon/NetworkManagerInfo.[ch]
20348 - Remove "get_next_priority" function
20350 * info-daemon/NetworkManagerInfoDbus.[ch]
20351 - Convert "priority" functions to "timestamp"
20353 2004-08-25 Dan Williams <dcbw@redhat.com>
20355 * src/NetworkManagerAP.[ch]
20356 - Add a "enc_method_good" member and accessors to an Access Point
20357 to signal when we've found the correct encryption method
20358 for an access point
20359 - Add a "timestamp" member and accessors, remove "priority" member
20360 and accessors (use timestamps instead)
20361 - Rename "wep_key"->"enc_key"
20362 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20363 for a specified encryption method using the access points
20364 source encryption key/passphrase
20366 * src/NetworkManagerAPList.c
20367 - When updating a network with dbus, grab timestamp now instead of
20370 * src/NetworkManagerDBus.[ch]
20371 - Add signal for "DeviceActivating"
20372 - Switch priority->timestamp
20374 * src/NetworkManagerDevice.c
20375 - Change references of "wep_key" -> "enc_key" or "key"
20376 - Signal DeviceActivating when starting activation
20377 - When activating a wireless device, if the access point we are connecting
20378 to is encrypted, and we have a source key, try to generate a mangled
20379 key and use that (ie, generate real WEP key from a passphrase)
20380 - Rework device activation to fallback to other encryption methods if
20381 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20382 first, then if that doesn't work fall back to direct hex key).
20383 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20384 priority. We now prefer the latest access point used, rather than using
20386 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20387 points we've just discovered, and merge in correct info from the global
20390 2004-08-25 Seth Nickell <seth@gnome.org>
20392 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20396 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20397 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20398 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20399 (nm_system_delete_default_route),
20400 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20401 (nm_system_load_device_modules):
20403 2004-08-24 Dan Willemsen <dan@willemsen.us>
20405 * src/NetworkManager.c
20406 src/backends/NetworkManagerGentoo.c
20407 src/backends/NetworkManagerRedHat.c
20408 src/backends/NetworkManagerSystem.h
20409 - Implement preliminary Gentoo support, adding a
20410 nm_system_init function to the backend specification
20413 - Distribution auto-detection, lowercase any user-fed
20416 * initscript/.cvsignore
20417 initscript/Makefile.am
20418 initscript/RedHat/Makefile.am
20419 initscript/RedHat/NetworkManager
20420 initscript/Gentoo/Makefile.am
20421 initscript/Gentoo/NetworkManager
20422 - Refactored initscript code separately for each
20425 2004-08-23 Dan Williams <dcbw@redhat.com>
20429 src/NetworkManagerDevice.c
20430 src/NetworkManager.c
20431 src/NetworkManagerUtils.[ch]
20432 src/backends/NetworkManagerSystem.h
20433 src/backends/NetworkManagerRedHat.c
20434 src/backends/NetworkManagerGentoo.c
20435 - Refactor system-specific code into separate backends for
20438 2004-08-23 Dan Willemsen <dan@willemsen.us>
20440 * dispatcher-daemon/NetworkManagerDispatcher.c
20441 info-daemon/NetworkManagerInfo.[ch]
20442 info-daemon/NetworkManagerInfoDbus.c
20443 info-daemon/NetworkManagerInfoPassphraseDialog.c
20444 src/NetworkManager.c
20445 src/NetworkManagerAP.c
20446 src/NetworkManagerAPList.c
20447 src/NetworkManagerDbus.c
20448 src/NetworkManagerDevice.c
20449 src/NetworkManagerPolicy.c
20450 src/NetworkManagerUtils.[ch]
20451 src/NetworkManagerWireless.c
20452 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20454 * src/NetworkManager.c
20455 - Fixed usage wording for --no-daemon
20457 2004-08-23 Dan Williams <dcbw@redhat.com>
20459 * panel-applet/NMWirelessApplet.c
20460 - Update our state every second to get more responsive panel icon
20461 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20462 was causing our marching ants status blips to never move when
20463 looking for a wireless network
20465 * src/NetworkManagerDevice.c
20466 - (nm_device_activation_begin): return if activation has already begun
20467 - (nm_device_do_normal_scan): merge WEP key and priority from the
20468 trusted/preferred network into the device's access point when the
20469 scan list is processed
20471 2004-08-23 Dan Williams <dcbw@redhat.com>
20473 * initscript/NetworkManager
20474 - Use NMLaunchHelper rather than sleeping
20476 * initscript/NMLaunchHelper.c
20478 - Add helper program that exits only when NM activates a device,
20479 or 10 seconds have passed, whichever happens first. This
20480 stops the boot processes until we have a network connection,
20481 which NM can't do because it daemonizes and brings the connection
20482 up in the background. Allows stuff like NFS to not die.
20484 2004-08-20 Dan Williams <dcbw@redhat.com>
20486 * info-daemon/NetworkManagerInfoPassphraseDialog.c
20487 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20488 for a network, set the essid as well since it may not exist yet
20489 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20490 since WEP keys/passphrases are long and prone to entry-error
20492 * panel-applet/Makefile.am
20493 panel-applet/wired.png
20494 - Add (pulled from system-config-network temporarily)
20496 * panel-applet/NMWirelessApplet.[ch]
20497 - Show wired picture when a wired connection is used
20498 - Rename wireless icon enums, adding WIRELESS
20500 * src/NetworkManagerDevice.c
20501 - (nm_device_activate_wireless): unset encryption before bringing
20502 down the card and setting the essid
20503 - (nm_device_activatin_worker): request a key from the user if the
20504 AP we are connecting to is encrypted but we don't have a key
20506 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20507 strcmp() that prevented a user-entered key from actually getting
20510 2004-08-16 Dan Williams <dcbw@redhat.com>
20512 * initscript/NetworkManager
20513 - Check for /sbin/ip
20514 - Do sysctl magic that network service does
20515 - sleep 4s after start to allow network time to come up [hack]
20519 - Load all network device kernel modules (hal doesn't know devices
20520 are ethernet until the module is loaded, and therefore we don't know)
20522 * src/NetworkManager.c
20523 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20524 network devices, and bring up the loopback device explicitly
20526 * src/NetworkManagerUtils.[ch]
20527 - (nm_enable_loopback): new function
20529 2004-08-13 Dan Williams <dcbw@redhat.com>
20532 panel-applet/Makefile.am
20533 - Fix up cleanfiles and server_DATA/server_in_files
20536 - Update with some comments on theory of operation
20542 2004-08-12 Dan Williams <dcbw@redhat.com>
20544 * info-daemon/passphrase.glade
20545 - Set window title to " "
20547 * panel-applet/Makefile.am
20548 panel-applet/keyring.png
20549 - Deliver to correct place
20551 * panel-applet/NMWirelessApplet.[ch]
20553 - Remove applet->have_active_device as its no longer used
20554 - (nmwa_load_theme): load keyring.png too
20555 - (error_dialog): remove
20556 - (show_warning_dialog): subsume functionality of error dialog too
20557 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20558 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20560 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20561 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20562 and when we get broadcasts of changed wireless access points only, not when the
20563 user clicks on the button to display the menu (too long of a wait)
20564 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20565 networks that are encrypted
20566 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20567 menu item with g_object_set_data()
20569 * panel-applet/NMWirelessAppletDbus.[ch]
20570 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20571 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20572 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20573 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20574 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20575 activation/deactivation signals and rebuild the menu when they happen
20577 * src/NetworkManager.c
20578 - (main): use new nm_spawn_process() rather than system()
20580 * src/NetworkManagerDbus.c
20581 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20582 instead. Since we can now force best_aps to stick around, the AP structure to which
20583 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20584 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
20585 to freeze the best_ap.
20587 * src/NetworkManagerDevice.[ch]
20588 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20589 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20590 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20593 * src/NetworkManagerUtils.[ch]
20594 - (nm_spawn_process): add replacement for system() usage
20596 2004-08-11 Dan Williams <dcbw@redhat.com>
20598 * panel-applet/NMWirelessApplet.[ch]
20599 - Fix up copyright and credits to include Bastien and Eskil,
20600 who created the gnome-applets wireless applet, from whose
20601 skeleton this one was created
20602 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20603 pixmap to draw is computed during nmwa_update_state()
20604 - Applet now shows itself all the time due to panel packing issues
20605 which caused the applet to previously never come back after hiding.
20606 When a wired device is the active device, the applet shows "not connected"
20608 * panel-applet/NMWirelessAppletDbus.[ch]
20609 - Clean up error messages and show what function they are from
20610 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20611 - Add new device type getters, and a status getter
20613 * src/NetworkManagerDbus.c
20614 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20615 network is actually in the device's ap list
20616 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20618 * src/NetworkManagerDevice.c
20619 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20622 * test/nmclienttest.c
20623 - Report status of NetworkManager too
20625 2004-08-11 Dan Williams <dcbw@redhat.com>
20627 * info-daemon/NetworkManagerInfo.c:
20628 - (main): clean up Seth's code style
20630 * info-daemon/NetworkManagerInfoDbus.c:
20631 - Use the more aptly-named path/service/interface constants from NetworkManager
20632 - Don't return empty strings ("") as object paths ever, instead return errors
20634 * panel-applet/NMWirelessApplet.c:
20635 - Clean up Seth's code style
20637 * src/NetworkManager.[ch]
20638 - (nm_remove_device_from_list): remove anything having to do with pending_device
20639 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20641 * src/NetworkManagerAPList.[ch]
20642 - Move Iter struct right above the iter functions to preserve opacity
20643 - (nm_ap_list_remove_ap): implement
20644 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20645 remove AP if NetworkManagerInfo doesn't know anything about it
20646 - (nm_ap_list_diff): user NMAPList iterators
20647 - (nm_ap_list_print_members): implement debugging function
20649 * src/NetworkManagerDbus.[ch]
20650 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20651 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20652 and move the actual key setting stuff into NetworkManagerDevice.c
20653 - (nm_dbus_get_network_priority): return -1 now on errors
20654 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20655 get lost, and force the active device to update its "best" ap when AP lists change
20656 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20657 method call due to pending_device member removal
20659 * src/NetworkManagerDevice.[ch]
20660 - Move NMDevice structure to the top
20661 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20662 - Remove Pending Action stuff from everywhere
20663 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
20664 activation for us. This thread blocks until all conditions for activation have
20665 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
20666 then setup up the interface and runs dhclient. We have to do this because there
20667 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
20668 run our main loop and respond to dbus method calls or HAL device removals/inserts
20669 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
20670 can tell nm_device_activation_worker() that we've got a key
20671 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
20672 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
20673 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
20674 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
20676 * src/NetworkManagerPolicy.c
20677 - Remove anything to do with pending_device
20678 - Adjust device activation to deal with activation-in-worker-thread
20680 * src/NetworkManagerUtils.c
20681 - Clean up locking debugging a bit
20683 * src/NetworkManagerWireless.[ch]
20684 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
20685 was badly named and is better as a device function
20687 * panel-applet/.cvsignore: add
20689 2004-08-09 Seth Nickell <seth@gnome.org>
20691 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
20692 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
20694 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
20696 Don't load the menus until clicked on (also removes a call outside
20697 normal code paths at first load).
20699 Hide applet when NM is not present.
20701 Improve printf debugging stuff.
20703 2004-08-09 Dan Williams <dcbw@redhat.com>
20705 * dispatcher-daemon/NetworkManagerDispatcher.c:
20706 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
20707 - Use constants for NetworkManager interface, service, and path
20709 2004-08-09 Dan Williams <dcbw@redhat.com>
20711 * src/NetworkManagerDbus.c:
20712 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
20713 instead return an error message
20714 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
20715 on a wired device. Also never return an empty object path, instead return an error message
20717 2004-08-06 Seth Nickell <seth@gnome.org>
20719 * panel-applet/NMWirelessApplet.c: (nmwa_new):
20721 Check the error code when getting a connection.
20723 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
20725 Check if the NM service exists when initializing (rather than
20726 assuming it does not).
20728 * src/NetworkManagerDbus.c: (nm_dbus_init):
20730 Don't acquire the well-known service name until we have
20731 registered object/path handlers and can actually receive
20734 2004-08-06 Dan Williams <dcbw@redhat.com>
20739 * src/NetworkManagerPolicy.c
20740 src/NetworkManager.c
20741 - Get access point lists from NetworkManagerInfo on-demand,
20742 and look for ServiceCreate/ServiceDeleted signals to see when
20743 we should query NMI for lists
20744 * src/NetworkManagerAPList.c
20745 - Make sure to init the list's mutex
20746 - Convert traversals of the list over to the list iter functions
20748 * src/NetworkManagerDbus.[ch]
20749 - Use more aptly-named path/service/interface constants
20750 - Treat both active and pending devices the same for "getActiveDevice"
20751 - Add a "status" method returning "connected", "connecting", or "disconnected"
20753 * src/NetworkManagerDevice.c
20754 - Honor "ignored" network list when picking best ap to use
20756 2004-08-06 Seth Nickell <seth@gnome.org>
20760 Autogenerated, remove from CVS.
20764 Don't hardcode automake version.
20767 * info-daemon/Makefile.am:
20768 * info-daemon/NetworkManagerInfo.c: (main):
20770 Use GnomeProgram et al. for doing session management.
20771 Use popt stuff for argument parsing rather than doing
20774 2004-08-05 Dan Williams <dcbw@redhat.com>
20776 * test/nminfotest.c
20777 - Update to new NMI dbus API, check different network types
20779 * info-daemon/NetworkManagerInfoDbus.c
20780 - Update to new NM dbus API, ie network type sent in query message
20782 2004-08-05 Dan Williams <dcbw@redhat.com>
20784 * An assload of changes
20786 2004-08-02 Dan Williams <dcbw@redhat.com>
20789 - new task: proper logging support
20791 * info-daemon/NetworkManagerInfo.c
20792 - Correct spelling of "canceled"
20793 - Correct casting of objects for g_signal_connect()
20795 * info-daemon/NetworkManagerInfoDbus.c
20796 - Add defines for NetworkManager namespace and object path, and use them
20797 - Add filter function to trap new signals from NetworkManager:
20798 WirelessNetworkAppeared, WirelessNetworkDisappeared
20800 * info-daemon/passphrase.glade
20801 - Change name of "ok" button to "Login to Network..."
20804 * src/NetworkManager.c
20805 - Code and debug message cleanups
20806 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
20807 - (nm_add_initial_devices) Check returned string array of devices
20808 and don't try to add devices if array is NULL
20809 - (main) Initialize libhal a bit later, make code a bit clearer
20811 * src/NetworkManagerAP.[ch]
20812 - New accessor and data member "matched": used to speed up AP list
20814 - New accessor and data member "enc_method": will be used during key
20815 fallback to cache which passphrase->key conversion actually works
20816 so we don't have to do it every time
20818 * src/NetworkManagerAPList.[ch]
20819 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
20820 - (nm_ap_list_diff) New: given two lists of access points, find the differences
20821 between them, and send WirelessNetworkAppeared/Disappeared signals over
20822 dbus in response to those differences
20824 * src/NetworkManagerDbus.[ch]
20825 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
20826 make an object path for that access point (NOTE that we don't yet check to
20827 make sure that access point is actually in the device's AP list yet)
20828 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
20829 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
20830 New: signal appearance/disappearance of wireless networks
20831 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
20834 * src/NetworkManagerDevice.[ch]
20835 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
20836 - (nm_device_ap_list_get) New: return the AP list (static function)
20837 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
20838 new one resulting from the scan with the old one
20840 * src/NetworkManagerWireless.c
20841 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
20843 * test/nminfotest.c
20844 - #define object paths and namespaces and use the #defines rather than static strings
20845 - Test out user-key functionality of NetworkManagerInfo too
20847 2004-07-29 Dan Williams <dcbw@redhat.com>
20849 * info-daemon/NetworkManagerInfoDbus.c
20850 src/NetworkManagerDbus.c
20851 - Update to current DBus (ie don't use decomposed paths when registering
20852 object paths/fallbacks)
20854 2004-07-27 Dan Williams <dcbw@redhat.com>
20856 * Remove various Makefile.in files
20859 - Add some more items
20862 - Add checks for OpenSSL/md5 headers and libs
20865 - Use OpenSSL CFLAGS
20867 * src/NetworkManagerAP.[ch]
20868 - Remove 'stamp' functions, replace with 'invalid' functions
20869 to support user cancelling WEP key entry
20871 * src/NetworkManagerDbus.c
20872 - Remove 'stamp' return functions
20873 - Treat returned user key as a passphrase and convert to a WEP key,
20874 but don't actually use the WEP key yet. We use the returned user
20875 key as a hexadecimal WEP key until we can figure out a UI for
20876 passphrase-vs-hex key
20878 * src/NetworkManagerWireless.[ch]
20879 - Add passphrase-to-128bit-key function
20881 2004-07-27 Dan Williams <dcbw@redhat.com>
20884 - Add a couple of items
20886 2004-07-27 Dan Williams <dcbw@redhat.com>
20888 * info-daemon/NetworkManagerInfo.c
20889 - Update allowed network's GConf key when user enters a WEP key explicitly
20891 * info-daemon/NetworkManagerDbus.c
20892 - Fix some comments
20893 - nmi_dbus_get_allowed_networks(): kill warning
20895 2004-07-27 Dan Williams <dcbw@redhat.com>
20897 * initscript/Makefile.in
20900 * initscript/Makefile.am
20901 - Add correct rules to install the init.d initscript
20903 * info-daemon/NetworkManagerInfoDbus.c
20904 - Remove debug fprintf
20906 * src/NetworkManagerDbus.[ch]
20907 - Remove debug fprintfs
20908 - Add macros for NetworkManagerInfo object path/namespace
20909 - Use said macros instead of constant strings
20911 2004-07-27 Dan Williams <dcbw@redhat.com>
20913 * initscript/.cvsignore
20916 * info-daemon/Makefile.am
20917 - Install .glade files and keyring.png
20918 - Fix stupid omission of a \ that caused half the flags not to be
20921 * info-daemon/NetworkManagerInfo.c
20922 - gtk_signal_connect->g_signal_connect
20923 - Alert NetworkManagerInfo to new glade file location
20925 2004-07-27 Dan Williams <dcbw@redhat.com>
20927 * test/nmclienttest.c
20929 - Add missing <dbus/dbus.h> headers
20930 - Add GPL message at top
20932 2004-07-27 Dan Williams <dcbw@redhat.com>
20934 * src/NetworkManagerAPList.[ch]
20936 - Add. Deal with allowed network list additions, deletions, and updates
20938 * dispatcher-daemon/NetworkManagerDispatcher.c
20939 - Add missing <dbus/dbus.h> header
20941 * info-daemon/NetworkManagerInfo.[ch]
20942 - Add missing <dbus/dbus.h> header
20943 - Implement the GConf notify callback to signal NetworkManager of an allowed
20945 - Better error checking
20947 * info-daemon/NetworkManagerInfoDbus.[ch]
20948 - Add missing <dbus/dbus.h> header
20949 - Convert to using dbus_message_append_args/dbus_message_get_args
20950 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
20951 that an allowed network changed. We don't want to signal on individual
20952 keys _inside_ an allowed network really, just want NM to query the info
20953 daemon for updated info on all keys.
20954 - Better error checking
20956 * src/NetworkManager.[ch]
20957 - Add missing <dbus/dbus.h> header
20958 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
20959 - Zero out NMData structure on free
20960 - No longer use a thread for allowed_ap_list updating, instead its now done
20961 through dbus queries against NetworkManagerInfo
20962 - Populate allowed_ap_list initially before adding existing network devices
20963 to the device list, so wireless devices can get their "best" AP
20965 * src/NetworkManagerDbus.[ch]
20966 - Convert to using dbus_message_append_args/dbus_message_get_args
20967 - Better error checking
20968 - Implement Allowed Network info functions to request allowed network
20969 info from NetworkManagerInfo
20970 - Implement the filter function to process signals from NetworkManagerInfo
20971 about changing allowed networks
20973 * src/NetworkManagerDevice.c
20974 - Fix file descriptor leak in nm_device_update_ip4_address()
20976 2004-07-27 Dan Williams <dcbw@redhat.com>
20981 dispatcher-daemon/.cvsignore
20982 info-daemon/.cvsignore
20983 - Add .cvsignore files to reduce noise when diffing
20985 2004-07-24 Dan Williams <dcbw@redhat.com>
20987 * src/NetworkManager.[ch]
20988 src/NetworkManagerDbus.[ch]
20989 src/NetworkManagerDevice.[ch]
20990 src/NetworkManagerPolicy.c
20991 src/NetworkManagerWireless.[ch]
20992 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
20993 - Pass the NMData application data structure through all calls
20994 that need it so we can get rid of nm_get_global_data()
20995 - Change deallocation of the allowed_ap_list GSList in preparation
20996 for not completely clearing it every time we get an update,
20997 but instead getting incremental updates via GConf/dbus
20999 2004-07-22 Dan Williams <dcbw@redhat.com>
21002 - Add checks for GConf libs & headers & flags
21004 * info-daemon/Makefile.am
21005 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21007 * info-daemon/NetworkManagerInfo.[ch]
21008 - Don't use gquarks for data storage, just use normal data storage
21009 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21011 * info-daemon/NetworkManagerDbus.[ch]
21012 - Add method call for getting allowed networks
21013 - Add method calls for getting an allowed network's essid, priority, and key
21014 - Hook the method calls up to GConf
21015 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21016 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21018 * src/NetworkManagerDbus.[ch]
21019 - Switch for enumeration of networks to using essid instead
21023 - Add test program for NetworkManagerInfo
21025 2004-07-19 Dan Williams <dcbw@redhat.com>
21027 * src/NetworkManagerDbus.c
21028 - Switch from indexed device paths to names. Less code, more efficient.
21029 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21031 2004-07-19 Dan Williams <dcbw@redhat.com>
21033 * dispatcher-daemon/NetworkManagerDispatcher.c
21034 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21036 2004-07-19 Dan Williams <dcbw@redhat.com>
21039 - Add info-daemon directory
21042 - Check for glade libs and headers
21043 - Add info-daemon directory
21045 * src/NetworkManagerAP.c
21046 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21047 copied over to the new AP.
21049 * src/NetworkManagerDbus.c
21050 src/NetworkManagerDbus.h
21051 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21052 - Remove nm_dbus_signal_need_key_for_network()
21053 - Add disabled code for asynchronous user wep key callbacks
21054 - Add functions for getting, setting, and cancelling user key operations
21055 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21056 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21058 * src/NetworkManagerDevice.c
21059 src/NetworkManagerDevice.h
21060 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21061 logic is in device activation now
21062 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21063 key is wrong) trigger get-user-key pending action
21064 - Implement get-user-key pending action stuff, tie to dbus messages
21065 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21066 - Add nm_device_ap_list_get_ap_by_essid()
21067 - Instead of copying "best" access points, ref them instead so that the key we set
21070 * src/NetworkManagerPolicy.c
21071 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21072 - Don't cancel pending actions on a device if its the same device as last iteration
21073 - Only promote pending_device->active_device if activation was successfull
21076 - Rename nmclienttest->nmtest
21078 * info-daemon/Makefile.am
21079 info-daemon/NetworkManagerInfo.c
21080 info-daemon/NetworkManagerInfo.h
21081 info-daemon/NetworkManagerInfoDbus.c
21082 info-daemon/NetworkManagerInfoDbus.h
21083 info-daemon/passphrase.glade
21084 info-daemon/NetworkManagerInfo.conf
21085 info-daemon/keyring.png
21086 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21087 NetworkManager asks for it, and also will (soon) provide "allowed" access point
21088 lists to NetworkManager by proxying user's GConf
21091 2004-07-15 Dan Williams <dcbw@redhat.com>
21096 * src/NetworkManager.c
21097 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21098 that doing the deactivation ourselves
21099 - Cancel an pending actions on a device if its being removed
21100 - Break up link state checking a bit, make non-active wireless cards
21101 deactivated to save power
21102 - Remove unused variables
21104 * src/NetworkManager.h
21105 - Add support for "pending" device
21107 * src/NetworkManagerAP.h
21108 src/NetworkManagerAP.c
21109 - Add support for determining whether and AP has encryption enabled or not
21110 - AP address is now "struct ether_addr" rather than a string
21112 * src/NetworkManagerDbus.h
21113 src/NetworkManagerDbus.c
21114 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21115 - Changes for AP address from struct ether_addr->string
21117 * src/NetworkManagerDevice.h
21118 src/NetworkManagerDevice.c
21119 - Remove unused variables, fix warnings
21120 - Add support for Pending Actions (things that block a device from being "active"
21121 until they are completed).
21122 - First pending action: Get a WEP key from the user
21123 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21124 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21125 - Update wireless link checking to try to determine if the AP we are associated
21126 with is correct, but the WEP key we are using is just wrong. If its wrong,
21127 trigger the GetUserKey pending action on the device
21128 - If dhclient can't get an IP address, it brings the device down. Bring it back
21129 up in that case, otherwise we can't scan or link-check on it
21130 - Add IP address change notifications at appropriate points (still needs some work)
21131 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21133 * src/NetworkManagerPolicy.h
21134 src/NetworkManagerPolicy.c
21135 - Split out "best" access point determiniation into separate function
21136 - Make device activation 2-stage: first the device is pending, then
21137 in the next iteration through it becomes "active" unless it has
21140 * src/NetworkManagerUtils.h
21141 src/NetworkManagerUtils.c
21142 - Clean up unused variables and warnings
21143 - Wrap our debug macros in {} to prevent possible confusion
21145 * src/NetworkManagerWireless.c
21146 - Forgot to return current best priority, which lead to last available AP always
21147 being chosen no matter what its priority was. Corrected.
21149 2004-07-15 Dan Williams <dcbw@redhat.com>
21151 * dispatcher-daemon/Makefile.am
21154 * dispatcher-daemon/NetworkManagerDispatcher.c
21155 - Remove unused variables due to warnings
21156 - Fix some comments
21157 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21159 2004-07-06 Dan Williams <dcbw@redhat.com>
21161 * src/NetworkManager.c
21162 - Add IPv4 address update for active device during link state check
21163 - Don't allow wireless cards to be powered up when they are not the
21166 * src/NetworkManagerDbus.c
21167 src/NetworkManagerDbus.h
21168 - Add DBUS IPv4 address change signal
21169 - Add DBUS IPv4 address get method for devices
21171 * src/NetworkManagerDevice.c
21172 - Make setting the WEP key actually work
21173 - Move IP address get/set/update stuff here, per-device
21174 - Power down/bring down wireless device when deactivated
21175 - For scanning wireless devices, if first scan returned ENODATA, try again
21177 * src/NetworkManagerPolicy.c
21178 - Only set the WEP key for an allowed access point if there is one.
21179 We were setting it to be blank if one wasn't specified.
21181 * src/NetworkManagerUtils.h
21182 src/NetworkManagerUtils.c
21183 - Move the IP address stuff to NetworkManagerDevice.c
21185 * dispatcher-daemon/NetworkManagerDispatcher.c
21186 - Add device IPv4 address change notification stuff
21188 2004-07-05 Dan Williams <dcbw@redhat.com>
21190 * dispatcher-daemon/NetworkManagerDispatcher.c
21191 - A bit more descriptive state message
21192 - Don't segfault when reading directory
21194 * src/NetworkManager.h
21195 - Remove NMData desired_ap member, its now
21196 per-device rather than global
21198 * src/NetworkManager.c
21199 - Remove references to desired_ap
21200 - Move the allowed AP list refresh stuff into a thread
21202 * src/NetworkManagerDevice.c
21203 src/NetworkManagerDevice.h
21204 - Each wireless device now has a "best ap"
21205 - Make device activate/deactivate functions per-device
21206 - Make wireless scanning per-device
21207 - Add IPv4 address discover functions, stub IPv6 ones
21208 - Move ethernet address validation functions to NetworkManagerUtils.c
21209 - Add wireless access point accessor function
21210 - Get/Set functions for "best ap"
21212 * src/NetworkManagerPolicy.c
21213 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21214 - Deal with per-device "best ap" rather than data->desired_apa
21215 - Implement allowed access point worker thread
21216 - Add nm_policy_essid_is_allowed() function
21218 * src/NetworkManagerUtils.c
21219 src/NetworkManagerUtils.h
21220 - Add nm_ethernet_address_is_valid() function
21221 - Add IPv4/IPv6 address get functions
21223 * src/NetworkManagerWireless.c
21224 src/NetworkManagerWireless.h
21225 - Move scanning stuff into NetworkManagerDevice.c, per-device
21227 2004-06-29 Dan Williams <dcbw@redhat.com>
21229 * dispatcher-daemon/NetworkManagerDispatcher.c
21230 - Implement script callout functionality
21232 2004-06-24 Dan Williams <dcbw@redhat.com>
21236 - Flush device routes and ip addresses when added to the device list
21238 * NetworkManagerDbus.c
21240 - Add missing returns in the two signal functions
21242 * NetworkManagerPolicy.c
21243 - Spacing and variable cleanups
21245 2004-06-24 Dan Williams <dcbw@redhat.com>
21250 dispatcher-daemon/Makefile.am
21251 dispatcher-daemon/Makefile.in
21252 dispatcher-daemon/NetworkManagerDispatcher.c
21253 - Add a daemon that receives signals from NetworkManager
21254 and will (eventually) call scripts in /etc/somewhere
21255 when devices go up or down.
21259 - Flush device routes and ip addresses when added to the device list
21261 * NetworkManagerDbus.c
21263 - Add missing returns in the two signal functions
21265 * NetworkManagerPolicy.c
21266 - Spacing and variable cleanups
21267 - Rename nm_policy_switch_interface->nm_policy_switch_device
21268 - nm_policy_switch_device():
21269 Use kill (pid) instead of system ("kill <pid>")
21270 - nm_state_modification_monitor():
21271 Add wireless essid to output of debug statements
21272 Correct typo in device compare to switch or not (should be !=)
21273 Don't sleep after sending "no longer active" signal, was useless
21275 2004-06-24 Dan Williams <dcbw@redhat.com>