1 2008-10-10 Dan Williams <dcbw@redhat.com>
3 Rework default route handling to consolidate decisions in the policy,
4 and to take active VPN connections into account when changing the default
8 - (main): pass the vpn_manager to the policy so it knows about active
9 VPN connections; clean up the named manager which wasn't done before
11 * src/NetworkManagerPolicy.c
12 src/NetworkManagerPolicy.h
13 - (nm_policy_new): get a clue about the vpn_manager
14 - (update_default_route): remove, fold into update_routing_and_dns()
15 - (update_routing_and_dns): handle active VPN connections too; an
16 active VPN connection becomes the default route if it does not have
17 server-specified or user-specified custom routes. Otherwise, the
18 best active device gets the default route
19 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
20 nm_policy_destroy): track VPN connection activation and deactivation
21 and update the default route when appropriate
23 * src/NetworkManagerSystem.c
24 src/NetworkManagerSystem.h
25 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
26 in the VPN connection itself
27 - (nm_system_vpn_device_set_from_ip4_config,
28 nm_system_device_set_from_ip4_config): merge together to make
29 nm_system_apply_ip4_config()
30 - (add_vpn_gateway_route): add a route to the VPN's external gateway
32 - (nm_system_apply_ip4_config): simplify
33 - (add_ip4_route_to_gateway): new function; add a direct route to the
35 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
36 route stuff out into add_ip4_route_to_gateway() for clarity
39 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
41 * src/vpn-manager/nm-vpn-connection.c
42 src/vpn-manager/nm-vpn-connection.h
43 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
44 nm_vpn_connection_get_parent_device): add
45 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
47 - (connection_state_changed): update the named manager now that
48 nm_system_vpn_device_unset_from_ip4_config() is gone; do something
51 * src/vpn-manager/nm-vpn-manager.c
52 src/vpn-manager/nm-vpn-manager.h
53 - Add a 'connection-activated' signal
54 - (nm_vpn_manager_get_active_connections): new function; mainly for the
55 policy to find out about active VPN connections
57 2008-10-10 Tambet Ingo <tambet@gmail.com>
59 * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
60 a daemon to prevent NM logging spew on console on startup and shutdown (due
61 to dependency loop between NM and syslog).
63 2008-10-10 Alexander Sack <asac@ubuntu.com>
65 Implement managed mode. We bind devices configured in /etc/network/interfaces
66 to their connections by updating wired/wireless setting with the
67 mac address of the device.
69 * system-settings/plugins/ifupdown/plugin.c
70 - (get_net_address_for_udi): implement function to retrieve MAC
71 address of udi from hal in GByteArray format
72 - (bind_device_to_connection): bind mac address of device to
73 wired/wireless system connection
74 - (hal_device_added_cb): call bind_device_to_connection for
75 system connections with a matching interface.name
76 - (hal_device_added_cb): ensure that all code paths
77 properly free the "iface" string.
79 2008-10-10 Alexander Sack <asac@ubuntu.com>
81 Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
82 mode of the ifupdown system config plugin.
84 * system-settings/plugins/ifupdown/plugin.c
85 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
86 private unmanage_well_known state field accordingly
88 2008-10-10 Alexander Sack <asac@ubuntu.com>
90 Implement unmanaged mode that will prevent all devices in the
91 well_known_udis set from being touched by NetworkManager
93 * system-settings/plugins/ifupdown/plugin.c
94 - (typedef struct SCPluginIfupdownPrivate): add gboolean
95 unmanage_well_known field used to turn on/off unmanaged
97 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
98 signal when well_known_udis get added/removed
99 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
100 if we are in unmanaged mode
102 2008-10-10 Alexander Sack <asac@ubuntu.com>
104 Add support to track network devices that have a configuration
105 with a matching interface.name in /etc/network/interfaces
107 * system-settings/plugins/ifupdown/plugin.c
108 - (typedef struct SCPluginIfupdownPrivate): add hash table
109 to track |well_known_udis|
110 - (get_iface_for_udi): helper function to get interface.name
112 - (hal_device_added_cb, hal_device_removed_cb): callbacks
113 that add and remove devices to and from the well_known_udis
114 set depending on whether their |interface.name| matches
115 any interface definition in /etc/network/interfaces
116 - (SCPluginIfupdown_init): connect callbacks from above with
117 hal_mgr and setup well_known_udis hashtable
118 - (GObject__dispose): destroy well_known_udis hashtable
119 - (hal_device_added_cb2): implement wrapper callback with GFunc
120 signature. user_data is supposed to be a triple (hal_mgr,
122 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
123 startup and call hal_device_added_cb2
125 2008-10-10 Alexander Sack <asac@ubuntu.com>
127 Remove implementation for not used NMSystemConfigInterface callback functions
130 * system-settings/plugins/ifupdown/plugin.c
131 - (SCPluginIfupdown_unmanaged_devices_changed): removed
132 - (SCPluginIfupdown_connection_added): removed
134 2008-10-08 Dan Williams <dcbw@redhat.com>
136 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
138 * src/NetworkManagerUtils.c
139 - (nm_utils_call_dispatcher): add a 'hostname' action
141 * src/NetworkManagerPolicy.c
142 - (set_system_hostname): dispatch hostname changes
144 * callouts/nm-dispatcher-action.c
145 - (nm_dispatcher_action): handle 'hostname' actions
147 2008-10-08 Dan Williams <dcbw@redhat.com>
149 * src/NetworkManagerSystem.c
150 - (find_route): ref the route so it doesn't get destroyed when the cache
152 - (nm_system_device_set_priority): unref the route here after it's done
155 2008-10-08 Dan Williams <dcbw@redhat.com>
157 * src/nm-serial-device.c
158 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
160 2008-10-08 Tambet Ingo <tambet@gmail.com>
162 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
163 connection with new settings before saving it.
165 2008-10-06 Dan Williams <dcbw@redhat.com>
167 * src/nm-ip4-config.c
169 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
171 * src/nm-device-interface.c
172 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
173 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
174 by using '/' for the object path
177 - (src/nm-device.c): marshal missing/unexported ip4-config through
178 dbus as '/' since dbus-glib can't handle NULL objects nor can
179 dbus handle NULL object paths
181 2008-10-03 Alexander Sack <asac@ubuntu.com>
183 Implement system hostname support for debian/ubuntu
185 * system-settings/plugins/ifupdown/plugin.c
186 - (GObject__get_property): extend announced capabilities; add
187 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
188 - (GObject__set_property,write_system_hostname): implement
189 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
190 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
191 update_system_hostname, get_hostname):
192 implement hostname property that watches and
195 2008-10-03 Alexander Sack <asac@ubuntu.com>
197 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
198 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
199 system-settings/plugins/ifcfg-fedora/Makefile.am
200 system-settings/src/nm-inotify-helper.c
201 system-settings/src/nm-inotify-helper.h
203 - Move ifcfg-fedora inotify helpers to the system settings service so
204 they are available to all plugins
206 2008-10-03 Alexander Sack <asac@ubuntu.com>
208 Implement support for wep-tx-keyidx in ifupdown system
211 * system-settings/plugins/ifupdown/parser.c
212 - (update_wireless_security_setting_from_if_block): introduce
213 free_type_mapping func table; rename a few local
214 variables to improve readability; add wpa security mapping
215 for wep-tx-keyidx property
216 - (string_to_gpointerint): new function used for the auto_type_mapping
217 of new wep-tx-keyidx property
218 - (slist_free_all): free func used for mapped slist types
220 2008-10-03 Alexander Sack <asac@ubuntu.com>
222 * system-settings/src/main.c:
223 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
224 always used as the hash key; fixes a crash when removing wired
227 2008-10-02 Dan Williams <dcbw@redhat.com>
229 * src/nm-gsm-device.c
230 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
231 pass the required GSM secret along via user_data rather than keeping
232 it around in the private data where it sometimes didn't get cleared
233 - (real_get_ppp_name): implement using the GSM username
235 2008-10-02 Dan Williams <dcbw@redhat.com>
237 * src/ppp-manager/nm-ppp-manager.c
238 src/ppp-manager/nm-ppp-manager.h
239 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
240 the settings daemon for completely new ones
241 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
242 local PPP peer name; allow PPP debuging by launching NM with
243 the environment variable NM_PPP_DEBUG defined
244 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
245 create_pppd_cmd_line()
247 * src/nm-serial-device.c
248 src/nm-serial-device.h
249 - New 'get_ppp_name' function for subclasses to implement to return the
251 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
252 and pass that name to the PPP manager
254 * src/nm-device-ethernet.c
255 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
258 * src/nm-cdma-device.c
259 - (real_get_ppp_name): implement using the CDMA username
261 2008-10-02 Dan Williams <dcbw@redhat.com>
263 Patch from Alexander Sack <asac ubuntu com>
265 * system-settings/plugins/ifupdown/parser.c
266 - Implement more graceful ip4 config parsing for cases where
267 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
268 by using default values
270 2008-10-02 Dan Williams <dcbw@redhat.com>
272 * src/NetworkManagerPolicy.c
273 - (device_state_changed): when marking a connection invalid, clear its
274 secrets too so that fresh secrets get requested the next time
276 2008-10-01 Dan Williams <dcbw@redhat.com>
278 * system-settings/src/dbus-settings.c
279 - (nm_sysconfig_settings_init): cache system hostname on startup as
280 a fallback if no plugin provides a hostname
281 - (get_property): fall back to cached hostname if no plugin provides
284 2008-10-01 Dan Williams <dcbw@redhat.com>
286 Fix setting value comparison issue that caused some settings to look the
287 same when they were really different (rh #464417)
289 * libnm-util/nm-param-spec-specialized.c
290 - (type_is_fixed_size): return fundamental size of the fixed type too
291 - (nm_gvalues_compare_collection): use the fundamental fixed type size
292 in the comparison so that the _entire_ fixed type collection gets
293 compared rather than just the first 'len1' bytes
295 2008-09-30 Dan Williams <dcbw@redhat.com>
297 * src/NetworkManagerPolicy.c
298 - (lookup_thread_worker): don't store the idle handler ID becuase the
299 idle handler could have already run and freed the LookupThread
302 2008-09-30 Tambet Ingo <tambet@gmail.com>
304 * src/nm-device.c (nm_device_get_priority): Implement.
305 (nm_device_set_ip4_config): Send the device priority to system ip4
308 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
309 Add priority argument and if it's >= 0, set the priority of the network
310 route added automatically by netlink (or kernel?).
311 (nm_system_device_set_priority): Implement.
313 * src/NetworkManagerPolicy.c (get_best_device): Use
314 nm_device_get_priority() instead of home-grown version. Revert the
315 meaning, best priority is the lowest one.
317 2008-09-29 Dan Williams <dcbw@redhat.com>
319 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
320 when it returns EAGAIN (rh #362421)
322 * src/nm-device-wifi.c
323 - (wireless_get_range): try GIWRANGE a few times until the card responds
324 - (real_get_generic_capabilities, constructor): use wireless_get_range()
326 2008-09-28 Dan Williams <dcbw@redhat.com>
328 * src/nm-serial-device.c
329 src/nm-serial-device.h
330 - (nm_serial_device_close): stop PPP manager here so that PPP gets
331 cleaned at the right times when subclasses close the serial port too
332 - (nm_serial_device_send_command): use a default send delay; don't
333 spin forever on EAGAIN
334 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
335 remove, no longer used
336 - (find_response): return the matched response if any
337 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
339 - (wait_for_reply_done): pass the matched response to the callback
340 - (wait_for_reply_got_data): save the matched response; simplify timeout
342 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
343 const since they never get modified
344 - (cleanup_device): split out common cleanup stuff to a new function
345 - (real_deactivate_quickly, finalize): use cleanup_device()
347 * src/nm-gsm-device.c
348 - (modem_get_reply): remove, unused
349 - (set_apn): give the card a bit more time to respond
350 - (manual_registration_again, schedule_manual_registration_again,
351 manual_registration_response, manual_registration): handle manual
352 registration timeouts better by retrying registration a few times
353 because cards are a bit slow after CFUN=1
354 - (automatic_registration_get_network, get_network_response): use
355 modem_wait_for_reply() because it interacts better with the serial
356 buffer and does more intelligent matching; need to wait for 'OK'
357 rather than just matching terminators
358 - (schedule_automatic_registration_again,
359 automatic_registration_response, automatic_registration): retry
360 registration a few times on timeout or "searching" because cards
361 take a bit to find a network after being powered up with CFUN=1
362 - (power_up_response, power_up, init_full_done, enter_pin,
363 check_pin_done): power up the card with CFUN=1 before trying to
364 register with the network
365 - (init_modem_full, init_modem): use more standard 3G init strings
367 * src/nm-hso-gsm-device.c
368 - (modem_get_reply): remove, unused
369 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
370 modem_wait_for_reply() to match actual responses instead of single
371 termination characters; it doesn't leave stuff in the serial buffer
372 that might confuse later calls
373 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
374 to ensure that the call is really disconnected and not leave extra
375 stuff in the serial buffer
377 * src/nm-cdma-device.c
378 - (power_up_response, power_up, init_done): try Sierra-style modem
379 power up before attempting to connect
381 2008-09-27 Dan Williams <dcbw@redhat.com>
383 * libnm-util/nm-setting-gsm.c
384 - (verify): verify GSM network ID
386 2008-09-25 Dan Williams <dcbw@redhat.com>
388 * libnm-util/nm-setting-gsm.c
389 libnm-util/nm-setting-gsm.h
390 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
391 technology terms (bgo #551361)
393 2008-09-25 Dan Williams <dcbw@redhat.com>
395 Fix bgo #549401 (inspired by patch from Alexander Sack)
397 * src/nm-device-ethernet.c
398 - (finish_supplicant_task): clean up scheduled tasks and free memory
399 - (remove_supplicant_interface_error_handler): remove the supplicant
400 error idle callback too
401 - (supplicant_interface_release): rename from supplicant_interface_clean
402 to match nm-device-wifi.c; clean up supplicant interface-related
403 state tasks when the supplicant interface is disposed of
404 - (schedule_state_handler): add scheduled tasks to a list so they can
406 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
407 supplicant_iface_connection_state_cb_handler): use
408 finish_supplicant_task() to clean up each completed task
409 - (supplicant_iface_connection_error_cb_handler,
410 supplicant_connection_timeout_cb): clear source id when the task is
412 - (supplicant_iface_connection_error_cb): save scheduled task id for
414 - (nm_device_ethernet_dispose): clean up any pending supplicant state
417 * src/nm-device-wifi.c
418 - (finish_supplicant_task): clean up scheduled tasks and free memory
419 - (remove_supplicant_interface_error_handler): remove the supplicant
420 error idle callback too
421 - (supplicant_interface_release): clean up supplicant interface-related
422 state tasks when the supplicant interface is disposed of
423 - (schedule_state_handler): add scheduled tasks to a list so they can
425 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
426 supplicant_iface_connection_state_cb_handler): use
427 finish_supplicant_task() to clean up each completed task
428 - (supplicant_iface_connection_error_cb_handler): clear source id when
430 - (supplicant_iface_connection_error_cb): save scheduled task id for
432 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
434 2008-09-24 Tambet Ingo <tambet@gmail.com>
436 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
437 method and get/set hostname property.
439 2008-09-24 Tambet Ingo <tambet@gmail.com>
441 * src/supplicant-manager/nm-supplicant-interface.c
442 (nm_supplicant_interface_disconnect): Don't increment the reference
443 count when disconnecting. The problem is on shutdown, when the replies
444 to these commands do not arrive before NM exits, resulting on never
445 calling supplicant interface's dispose(), which removes the interface
448 2008-09-24 Tambet Ingo <tambet@gmail.com>
450 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
451 all the public function arguments.
453 2008-09-22 Tambet Ingo <tambet@gmail.com>
455 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
456 "Failure" signal from VPN plugins, store the failure reason, and
457 use it when the state is changed to failure.
459 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
462 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
463 reason to the end of the list to not break the API.
464 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
465 so it can be shared by plugins and daemon.
467 2008-09-18 Dan Williams <dcbw@redhat.com>
469 Patch from Alexander Sack <asac@ubuntu.com>
472 system-settings/plugins/Makefile.am
473 system-settings/plugins/ifupdown/Makefile.am
474 system-settings/plugins/ifupdown/interface_parser.c
475 system-settings/plugins/ifupdown/interface_parser.h
476 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
477 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
478 system-settings/plugins/ifupdown/parser.c
479 system-settings/plugins/ifupdown/parser.h
480 system-settings/plugins/ifupdown/plugin.c
481 system-settings/plugins/ifupdown/plugin.h
482 - Implement a Debian/Ubuntu legacy network configuration plugin
485 2008-09-18 Dan Williams <dcbw@redhat.com>
487 Implement support for honoring configured and automatic hostnames, and for
488 setting the configured hostname.
490 * introspection/nm-ip4-config.xml
493 src/dhcp-manager/nm-dhcp-manager.c
494 - Remove useless hostname property; it's not really part of the IPv4
497 * introspection/nm-settings-system.xml
498 libnm-glib/nm-dbus-settings-system.c
499 libnm-glib/nm-dbus-settings-system.h
500 - Add SetHostname() call to system settings D-Bus interface
501 - Add Hostname property to system settings D-Bus interface
502 - (nm_dbus_settings_system_save_hostname,
503 nm_dbus_settings_system_get_hostname): implement
507 - (nm_device_get_dhcp4_config): implement
511 - Fetch and track system settings service hostname changes, and proxy
512 the changes via a GObject property of the manager
514 * system-settings/src/nm-system-config-interface.c
515 system-settings/src/nm-system-config-interface.h
516 - Replace nm_system_config_interface_supports_add() with a capabilities
519 * system-settings/src/nm-system-config-error.c
520 system-settings/src/nm-system-config-error.h
521 - Add additional errors
523 * system-settings/src/dbus-settings.c
524 system-settings/src/dbus-settings.h
525 - (get_property, nm_sysconfig_settings_class_init): add hostname
526 property; first plugin returning a hostname wins
527 - (impl_settings_add_connection): use plugin capabilities instead of
528 nm_system_config_interface_supports_add()
529 - (impl_settings_save_hostname): implement hostname saving
531 * src/NetworkManagerPolicy.c
532 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
533 lookup_thread_die): implement an asynchronous hostname lookup thread
534 which given an IPv4 address tries to look up the hostname for that
535 address with reverse DNS
536 - (get_best_device): split out best device code from
537 update_routing_and_dns()
538 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
539 to preserve the 127.0.0.1 reverse mapping that so many things require
540 - (set_system_hostname): set a given hostname
541 - (update_system_hostname): implement hostname policy; a configured
542 hostname (from the system settings service) is used if available,
543 otherwise an automatically determined hostname from DHCP, VPN, etc.
544 If there was no automatically determined hostname, reverse DNS of
545 the best device's IP address will be used, and as a last resort the
546 hostname 'localhost.localdomain' is set.
547 - (update_routing_and_dns): use get_best_device(); update the system
548 hostname when the network config changes
549 - (hostname_changed): update system hostname if the system settings
550 service signals a hostname change
551 - (nm_policy_new): list for system settings service hostname changes
552 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
555 * system-settings/plugins/keyfile/plugin.c
556 system-settings/plugins/ifcfg-suse/plugin.c
557 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
558 capabilities properties
560 * system-settings/plugins/ifcfg-fedora/shvar.c
561 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
562 writes out /etc/sysconfig/network now
564 * system-settings/plugins/ifcfg-fedora/plugin.c
565 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
566 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
567 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
568 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
569 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
570 hostname get/set and capabilities get
572 2008-09-18 Dan Williams <dcbw@redhat.com>
574 * libnm-util/nm-setting-wireless.c
575 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
576 group ciphers if the wireless-security setting explicitly specified
577 them, effectively making the default be "all ciphers" (idea from
580 2008-09-15 Dan Williams <dcbw@redhat.com>
582 Patch from Alexander Sack <asac@ubuntu.com>
584 * src/named-manager/nm-named-manager.c
585 - (dispatch_resolvconf): respect resolvconf exit code
587 2008-09-12 Tambet Ingo <tambet@gmail.com>
589 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
590 again. Add some debugging.
592 2008-09-11 Dan Williams <dcbw@redhat.com>
594 * system-settings/plugins/keyfile/plugin.c
595 - (update_connection_settings): update connection manually, since
596 nm_exported_connection_update() does authentication
597 - (dir_changed): update_connection_settings() doesn't need to return
600 2008-09-09 Dan Williams <dcbw@redhat.com>
602 * libnm-glib/nm-vpn-plugin-ui-interface.c
603 libnm-glib/nm-vpn-plugin-ui-interface.h
604 libnm-glib/libnm_glib_vpn.ver
605 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
606 should clean up resources related to the connection (like keyring
608 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
609 should save user-scope secrets (like to the keyring)
611 2008-09-08 Dan Williams <dcbw@redhat.com>
613 Patch from Alexander Sack <asac@ubuntu.com>
615 * libnm-util/crypto_gnutls.c
616 libnm-util/crypto_nss.c
617 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
619 * libnm-util/nm-utils.c
620 libnm-util/nm-utils.h
621 libnm-util/libnm-util.ver
622 - (nm_utils_init): initialize libnm-util
623 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
625 * libnm-util/nm-setting-8021x.c
626 - (nm_setting_802_1x_class_init): init libnm-util when needed
628 2008-09-05 Dan Williams <dcbw@redhat.com>
630 Patch from Roy Marples <roy@marples.name> and others
633 src/named-manager/nm-named-manager.c
634 - Add support for resolvconf; use --with-resolvconf at configure time
637 2008-09-05 Dan Williams <dcbw@redhat.com>
639 * libnm-util/crypto_nss.c
640 libnm-util/crypto_gnutls.c
642 - (crypto_init): return error when init fails
644 2008-09-05 Dan Williams <dcbw@redhat.com>
646 * libnm-glib/nm-device-wifi.c
647 - (access_point_removed_proxy): clean up the active access point too
648 just in case the active ap changed signal didn't come through yet
649 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
651 2008-09-05 Dan Williams <dcbw@redhat.com>
653 * libnm-glib/nm-client.c
654 - (constructor): get initial state after we know whether NM is running
657 2008-09-05 Dan Williams <dcbw@redhat.com>
659 * libnm-glib/nm-ip4-config.c
660 libnm-glib/nm-dhcp4-config.c
661 - (finalize): clean up the DBusGProxy
663 2008-09-04 Dan Williams <dcbw@redhat.com>
665 * src/nm-ip4-config.c
667 - (nm_ip4_config_new): don't export over D-Bus here
668 - (nm_ip4_config_export): new function; export the config over D-Bus
669 - (nm_ip4_config_is_exported): new function
672 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
673 objects by balancing the IP4Config constructor; the device holds
674 a reference to the IP4Config already
675 - (nm_device_set_ip4_config): export the IP4Config when needed
677 2008-09-04 Dan Williams <dcbw@redhat.com>
679 * src/supplicant-manager/nm-supplicant-settings-verify.c
680 - Allow WPA-NONE key management for Ad-Hoc WPA connections
682 2008-09-04 Dan Williams <dcbw@redhat.com>
684 * libnm-util/nm-setting-vpn.c
685 libnm-util/nm-setting-vpn.h
686 - Split VPN secrets from VPN data so that settings services can actually
687 figure out that they are secrets and store them accordingly
689 * system-settings/plugins/keyfile/nm-keyfile-connection.c
690 system-settings/plugins/keyfile/reader.c
691 system-settings/plugins/keyfile/reader.h
692 system-settings/plugins/keyfile/writer.c
693 - Store VPN secrets separately from VPN data so that they can be fetched
695 - Implement the get_secrets() call so that (a) secrets don't leak out
696 to unprivileged callers, and (b) secrets can be sent to privileged
699 * vpn-daemons/vpnc/src/nm-vpnc-service.c
700 - Handle split VPN secrets
702 2008-08-27 Dan Williams <dcbw@redhat.com>
704 * system-settings/plugins/ifcfg-fedora/reader.c
705 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
707 2008-08-27 Dan Williams <dcbw@redhat.com>
709 Ensure zombie children get cleaned up. To get notifications when children
710 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
711 that requires calling waitpid() yourself if you've removed the child watch
712 handler before the process has actually died, which NM needs to do in a few
713 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
714 cleans up after the child when required. Should fix problems trying to
715 activate mobile broadband connections after a previous failure.
717 * src/dhcp-manager/nm-dhcp-dhclient.c
718 src/dhcp-manager/nm-dhcp-dhcpcd.c
719 - Use G_SPAWN_DO_NOT_REAP_CHILD
721 * src/dhcp-manager/nm-dhcp-manager.c
722 - (nm_dhcp_device_destroy): ensure child is cleaned up
723 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
724 block on child quitting, since the non-blocking functionality was
727 * src/dnsmasq-manager/nm-dnsmasq-manager.c
728 - (dm_watch_cb): child is already reaped here
729 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
732 - (aipd_cleanup): block until child is dead
734 * src/named-manager/nm-named-manager.c
735 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
736 event bothering to watch the child
738 * src/ppp-manager/nm-ppp-manager.c
739 - (ppp_watch_cb): child is already reaped here
740 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
742 * src/vpn-manager/nm-vpn-service.c
743 - (vpn_service_watch_cb): child is already reaped here
744 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
745 status of the child is actually tracked
746 - (ensure_killed, finalize): block until child is dead
748 2008-08-26 Dan Williams <dcbw@redhat.com>
750 * system-settings/plugins/keyfile/nm-keyfile-connection.c
751 - (update): Update filename of the connection if the connection id
754 * system-settings/plugins/keyfile/plugin.c
755 - (dir_changed): first pass at handling connection renames correctly
757 * system-settings/plugins/keyfile/writer.c
758 system-settings/plugins/keyfile/writer.h
759 - (write_connection): replace '/' with '*' when writing out the filename
760 from the connection id
762 2008-08-26 Dan Williams <dcbw@redhat.com>
764 Add connection UUIDs, since connection names can be changed, and since
765 old-style connection IDs could change over the life of the connection. The
766 UUID should be assigned at connection creation time, be stable for a given
767 connection, and should be unique among all connections for a given settings
771 libnm-util/Makefile.am
774 * introspection/nm-exported-connection.xml
775 - Remove "GetID" method
777 * libnm-glib/nm-dbus-connection.c
778 libnm-glib/nm-settings.c
779 libnm-glib/nm-settings.h
780 - Remove id-related stuff
782 * libnm-util/nm-utils.c
783 libnm-util/nm-utils.h
784 libnm-util/libnm-util.ver
785 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
786 utility functions to generate UUIDs
788 * libnm-util/nm-setting-connection.c
789 libnm-util/nm-setting-connection.h
790 - Add 'uuid' member to the connection setting
791 - (verify): require valid 'uuid' for a valid connection
793 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
794 system-settings/plugins/ifcfg-fedora/reader.c
795 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
796 system-settings/plugins/ifcfg-suse/parser.c
797 system-settings/plugins/keyfile/nm-keyfile-connection.c
798 system-settings/src/main.c
799 - Remove id-related stuff
800 - Give connections UUIDs where needed
802 2008-08-25 Dan Williams <dcbw@redhat.com>
804 * libnm-util/crypto_gnutls.c
805 libnm-util/crypto_nss.c
806 - (crypto_init, crypto_deinit): refcount init/deinit
807 - (crypto_md5_hash): allow NULL salt
809 2008-08-22 Michael Biebl <mbiebl@gmail.com>
811 * libnm-glib/Makefile.am
812 libnm-util/Makefile.am
813 libnm-glib/libnm_glib.ver
814 libnm-glib/libnm_glib_vpn.ver
815 libnm-util/libnm-util.ver
816 - Use linker version scripts to control the list of exported
817 symbols. List each exported symbol explicitely.
818 * libnm-util/Makefile.am
819 - Fix compilation of the test-crypto binary. The crypto
820 functions are no longer part of the libnm-util API. Add
821 crypto_*.c to test_crypto_SOURCES and link against the correct
824 2008-08-19 Dan Williams <dcbw@redhat.com>
828 - Don't build test/test-common
829 - Remove unused stuff
831 * test/nm-set-fallback
833 test/test-common/.cvsignore
834 test/test-common/Makefile.am
835 test/test-common/test-common.c
836 test/test-common/test-common.h
839 2008-08-18 Dan Williams <dcbw@redhat.com>
841 * libnm-util/nm-utils.c
842 libnm-util/nm-utils.h
843 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
844 export anything that needs to be converted with this function
846 * src/dhcp-manager/nm-dhcp-manager.c
847 - (garray_to_string): convert a byte array to a UTF-8 string with
848 minimal validation; the DHCP client sends it in ASCII anyway
849 - (get_option, copy_option): use garray_to_string()
851 2008-08-18 Dan Williams <dcbw@redhat.com>
853 * include/NetworkManager.h
854 introspection/nm-device.xml
855 - Add a "missing firmware" device state reason
857 * src/NetworkManagerSystem.c
858 src/NetworkManagerSystem.h
859 - (nm_system_device_set_up_down): add a no_firmware argument
860 - (nm_system_device_set_up_down_with_iface): if the result of setting
861 IFF_UP is ENOENT, that almost always means missing firmware
863 * src/backends/NetworkManagerGeneric.c
864 src/nm-device-ethernet.c
865 src/nm-device-private.h
869 src/nm-hso-gsm-device.c
870 src/vpn-manager/nm-vpn-connection.c
871 - Pass no_firmware along; check it where appropriate
873 2008-08-18 Dan Williams <dcbw@redhat.com>
875 Patch from Robert Buchholz <rbu@gentoo.org>
879 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
880 1003.1-1988, allowing for file names longer than 99 characters
882 2008-08-17 Dan Williams <dcbw@redhat.com>
884 * include/NetworkManager.h
885 introspection/nm-device.xml
887 - Finer-grained GSM registration failure error codes
889 2008-08-17 Dan Williams <dcbw@redhat.com>
891 * callouts/Makefile.am
893 - Move dispatcher directory creation to callouts/Makefile.am
895 * system-settings/plugins/keyfile/Makefile.am
896 - Create keyfile connections directory in DESTDIR (bgo #546833)
898 2008-08-15 Dan Williams <dcbw@redhat.com>
900 Do connection sharing in a cleaner manner; all required iptables rules
901 are now stored in the activation request and pertain only to the device
902 which is being shared to other computers. (rh #458625)
904 * src/nm-activation-request.c
905 src/nm-activation-request.h
906 - (nm_act_request_add_share_rule): new function; add a sharing rule to
907 the activation request which will get torn down automatically when
908 the activation request dies
909 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
910 is started, and tear them down when sharing is stopped
913 - (start_sharing): start up sharing by doing the required iptables magic
914 - (share_init): poke the right bits of the kernel and load the right
916 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
917 connection if it's a 'shared' connection
919 * src/NetworkManagerPolicy.c
920 - Remove all sharing stuff; done in the device code itself
922 2008-08-15 Dan Williams <dcbw@redhat.com>
924 * src/dnsmasq-manager/nm-dnsmasq-manager.c
925 - (create_dm_cmd_line): send the right router address
927 2008-08-15 Dan Williams <dcbw@redhat.com>
929 * src/ppp-manager/nm-ppp-manager.c
930 - (pppd_timed_out): ensure timeouts fail the connection
932 2008-08-14 Dan Williams <dcbw@redhat.com>
934 * src/nm-properties-changed-signal.c
935 src/nm-properties-changed-signal.h
936 - Add a property spec flag for "don't export this property" in
937 property changed signals
939 * src/nm-hso-gsm-device.c
942 - Don't export monitor interface or netdev interface properties
944 2008-08-14 Dan Williams <dcbw@redhat.com>
946 * src/NetworkManagerPolicy.c
947 - (update_routing_and_dns): 'hso' devices can be default even if they
950 2008-08-14 Dan Williams <dcbw@redhat.com>
953 - (nm_device_deactivate_quickly): tear down activation request after
954 calling device-specific deactivation
956 * src/nm-hso-gsm-device.c
957 - (real_deactivate_quickly): terminate connection when deactivating
959 2008-08-14 Dan Williams <dcbw@redhat.com>
961 * src/nm-activation-request.h
962 - Add HSO secrets caller
964 * src/nm-gsm-device.c
966 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
967 something to the callback function
968 - (set_apn, set_apn_done): call class dial function, not a static one
969 - (nm_gsm_device_class_init): add a class 'dial' function
971 * src/nm-hal-manager.c
972 - (get_hso_netdev): find the hso-driven hardware's net device
973 - (modem_device_creator): recognize hso-driven hardware and create the
974 right type of device object for it
977 src/nm-hso-gsm-device.c
978 src/nm-hso-gsm-device.h
979 - Implement support for devices driven by the 'hso' driver as a subclass
982 2008-08-14 Dan Williams <dcbw@redhat.com>
984 * src/NetworkManagerSystem.c
985 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
986 - (nm_system_device_set_up_down_with_iface): cleanups; only return
987 success if the operation really was successful
989 2008-08-14 Dan Williams <dcbw@redhat.com>
991 * src/nm-netlink-monitor.c
992 src/nm-netlink-monitor.h
993 src/nm-device-ethernet.c
994 - (nm_netlink_monitor_request_status): return an error on failure
995 - (constructor): don't segfault on missing error
997 2008-08-13 Dan Williams <dcbw@redhat.com>
999 * callouts/nm-dispatcher-action.c
1000 - Add IP4 config info to script environment
1002 2008-08-12 Dan Williams <dcbw@redhat.com>
1005 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1006 that want to use DHCP hostnames should use dispatcher scripts
1009 * src/NetworkManagerSystem.h
1010 src/backends/NetworkManagerArch.c
1011 src/backends/NetworkManagerDebian.c
1012 src/backends/NetworkManagerFrugalware.c
1013 src/backends/NetworkManagerGeneric.c
1014 src/backends/NetworkManagerGeneric.h
1015 src/backends/NetworkManagerGentoo.c
1016 src/backends/NetworkManagerMandriva.c
1017 src/backends/NetworkManagerPaldo.c
1018 src/backends/NetworkManagerRedHat.c
1019 src/backends/NetworkManagerSlackware.c
1020 src/backends/NetworkManagerSuSE.c
1021 - Remove nm_system_set_hostname(), no longer used
1023 * src/backends/Makefile.am
1024 src/backends/shvar.c
1025 src/backends/shvar.h
1026 - Remove shvar.*; no longer used
1028 2008-08-12 Dan Williams <dcbw@redhat.com>
1030 Revert most of the 'hostname' patch. Too much stuff still breaks when
1031 hostname is updated at runtime. Distros or users who want hostname updates
1032 can use dispatcher scripts to update the hostname if they need it.
1034 2008-08-12 Dan Williams <dcbw@redhat.com>
1036 * introspection/nm-settings-system.xml
1037 system-settings/src/dbus-settings.c
1038 system-settings/src/dbus-settings.h
1039 - Add a 'Hostname' property (rw) which represents the configured
1040 hostname and domain of the system, if any
1042 * system-settings/src/nm-system-config-error.c
1043 system-settings/src/nm-system-config-error.h
1044 system-settings/src/nm-system-config-interface.c
1045 system-settings/src/nm-system-config-interface.h
1046 - Add a 'hostname' property to the plugin interface
1047 - Add a method to send updated hostname to plugins to save in their
1048 backing configuration store
1050 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1051 system-settings/plugins/keyfile/plugin.c
1052 system-settings/plugins/keyfile/writer.c
1053 system-settings/plugins/keyfile/writer.h
1054 system-settings/plugins/ifcfg-suse/plugin.c
1055 - Add minimal hostname support
1057 * system-settings/plugins/ifcfg-fedora/plugin.c
1058 - Add support for updating system hostname in /etc/sysconfig/network
1060 2008-08-12 Dan Williams <dcbw@redhat.com>
1062 * system-settings/plugins/ifcfg-fedora/shvar.c
1063 system-settings/plugins/ifcfg-fedora/shvar.c
1064 - Fix double-free caused by svSetValue() followed by svCloseFile()
1066 2008-08-12 Tambet Ingo <tambet@gmail.com>
1068 * Makefile.am: Fix distcheck.
1070 2008-08-12 Tambet Ingo <tambet@gmail.com>
1072 * libnm-glib/*.c. Document some more.
1074 2008-08-12 Tambet Ingo <tambet@gmail.com>
1076 Start documenting libnm-glib public API using gtk-doc.
1078 * libnm-glib/nm-serial-device.c:
1079 * libnm-glib/nm-object.c:
1080 * libnm-glib/nm-gsm-device.c:
1081 * libnm-glib/nm-device.c:
1082 * libnm-glib/nm-device-wifi.c:
1083 * libnm-glib/nm-device-ethernet.c:
1084 * libnm-glib/nm-client.c:
1085 * libnm-glib/nm-cdma-device.c: Document the public API.
1087 * docs/libnm-glib/libnm-glib.types: Implement.
1089 * docs/libnm-glib/Makefile.am: Implement.
1093 * Makefile.am: Add gtk-doc support.
1095 2008-08-12 Tambet Ingo <tambet@gmail.com>
1097 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1099 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1100 the composite result of all the IP4 configurations and call a distro
1101 specific update_resolv_conf().
1102 (update_resolv_conf): Implement one for directly writing to
1103 /etc/resolv.conf and one for opensuse to call netconfig.
1105 2008-08-11 Dan Williams <dcbw@redhat.com>
1107 * src/ppp-manager/nm-ppp-manager.c
1108 - (impl_ppp_manager_need_secrets): pass interface as required
1110 2008-08-11 Dan Williams <dcbw@redhat.com>
1112 Merge the vpn-properties setting with the vpn setting since it was pointless
1113 to keep both of them around. Convert the vpn 'data' hash table to a hash
1114 of string:string (instead of string:variant) so that system settings plugins
1115 can have an easier time dealing with the arbitrary key/value pairs.
1117 2008-08-11 Dan Williams <dcbw@redhat.com>
1119 * libnm-util/nm-utils.c
1120 - (nm_utils_register_value_transformations): add value transform for
1121 a hash table of string:string
1123 2008-08-10 Dan Williams <dcbw@redhat.com>
1125 * libnm-glib/nm-vpn-plugin.c
1126 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1127 an idle handler so the Connect reply gets delivered before the
1128 stop StateChanged signal
1130 2008-08-10 Dan Williams <dcbw@redhat.com>
1132 * src/nm-ip4-config.c
1133 - (get_property): use common ip4 address/route conversion functions
1134 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1135 copy the new route here, not take ownership
1137 2008-08-08 Tambet Ingo <tambet@gmail.com>
1139 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1140 Update the IP4 setting's method name.
1142 2008-08-07 Dan Williams <dcbw@redhat.com>
1144 * introspection/nm-ip4-config.xml
1145 libnm-glib/libnm-glib-test.c
1146 libnm-glib/nm-ip4-config.c
1147 libnm-glib/nm-ip4-config.h
1148 src/NetworkManagerSystem.h
1149 src/backends/NetworkManagerArch.c
1150 src/backends/NetworkManagerDebian.c
1151 src/backends/NetworkManagerFrugalware.c
1152 src/backends/NetworkManagerGeneric.c
1153 src/backends/NetworkManagerGeneric.h
1154 src/backends/NetworkManagerGentoo.c
1155 src/backends/NetworkManagerMandriva.c
1156 src/backends/NetworkManagerPaldo.c
1157 src/backends/NetworkManagerRedHat.c
1158 src/backends/NetworkManagerSlackware.c
1159 src/backends/NetworkManagerSuSE.c
1160 src/dhcp-manager/nm-dhcp-manager.c
1164 - Remove NIS logic; should be done from dispatcher scripts instead
1166 2008-08-07 Dan Williams <dcbw@redhat.com>
1168 * src/dhcp-manager/nm-dhcp-manager.c
1169 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1170 mis-handling of DHCP responses that returned more than one router
1171 (found by Grant Williamson)
1173 2008-08-07 Dan Williams <dcbw@redhat.com>
1175 * callouts/nm-dispatcher-action.c
1176 - (nm_dispatcher_action): grab device path and create the device; pass
1177 the device's DHCP4 config to script caller
1178 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1181 * libnm-glib/nm-dhcp4-config.c
1182 libnm-glib/nm-dhcp4-config.h
1183 - (nm_dhcp4_config_get_options): expose
1184 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1186 2008-08-07 Dan Williams <dcbw@redhat.com>
1188 * include/NetworkManager.h
1189 - Add the DHCP4Config D-Bus interface
1191 * libnm-glib/Makefile.am
1192 libnm-glib/nm-dhcp4-config.c
1193 libnm-glib/nm-dhcp4-config.h
1194 - Handle DHCP4 config objects exported by NM over D-Bus
1196 * libnm-glib/nm-device.c
1197 libnm-glib/nm-device.h
1198 - Add a 'dhcp4-config' property
1200 * libnm-glib/libnm-glib-test.c
1201 - Print out DHCP4 config for devices
1202 - Fix some crashes when no connections are active
1204 * src/nm-device-interface.c
1206 src/nm-dhcp4-config.c
1207 src/nm-dhcp4-config.h
1208 - Treat dhcp4-config object as an object path at the D-Bus interface so
1209 that when it doesn't exist we can proxy it as "/" which dbus-glib
1210 doesn't let us do when the property type is G_TYPE_OBJECT
1212 2008-08-07 Dan Williams <dcbw@redhat.com>
1214 * src/NetworkManager.c
1215 src/NetworkManagerSystem.h
1216 src/backends/NetworkManagerArch.c
1217 src/backends/NetworkManagerDebian.c
1218 src/backends/NetworkManagerFrugalware.c
1219 src/backends/NetworkManagerGeneric.c
1220 src/backends/NetworkManagerGeneric.h
1221 src/backends/NetworkManagerGentoo.c
1222 src/backends/NetworkManagerMandriva.c
1223 src/backends/NetworkManagerPaldo.c
1224 src/backends/NetworkManagerRedHat.c
1225 src/backends/NetworkManagerSlackware.c
1226 src/backends/NetworkManagerSuSE.c
1227 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1229 2008-08-06 Dan Williams <dcbw@redhat.com>
1231 * libnm-glib/nm-ip4-config.c
1232 libnm-glib/nm-ip4-config.h
1233 - Add 'routes' property
1235 * libnm-util/nm-setting-vpn.c
1236 libnm-util/nm-setting-vpn.h
1237 - Remove 'routes' property
1239 * libnm-util/nm-setting-ip4-config.c
1240 libnm-util/nm-setting-ip4-config.h
1241 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1242 - Add 'ignore-auto-routes' property
1243 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
1244 accomodate route metrics
1245 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1247 * libnm-util/nm-utils.c
1248 libnm-util/nm-utils.h
1249 - Add helpers for marshalling IP4 routes
1251 * src/NetworkManagerUtils.c
1252 - (nm_utils_merge_ip4_config): handle property renames and new route
1255 * src/NetworkManagerSystem.c
1256 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1257 nm_system_vpn_device_set_from_ip4_config): respect route metrics
1259 * src/dhcp-manager/nm-dhcp-manager.c
1260 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1262 * system-settings/plugins/ifcfg-fedora/reader.c
1263 system-settings/plugins/ifcfg-fedora/writer.c
1264 - Handle routes separately from addresses now that routes have a different
1267 * introspection/nm-ip4-config.xml
1270 - Rename internal routing functions
1271 - 'static-routes' renamed to 'routes'
1273 2008-08-04 Dan Williams <dcbw@redhat.com>
1275 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1277 * src/NetworkManager.c
1280 - More explicitly make the NMManager a singleton
1282 2008-08-04 Dan Williams <dcbw@redhat.com>
1284 * libnm-util/nm-connection.c
1285 libnm-util/nm-connection.h
1286 - (nm_connection_verify): return error on missing 'connection' setting
1287 (found by Sjoerd Simons)
1289 2008-08-04 Dan Williams <dcbw@redhat.com>
1291 Handle multiple concurrent PPP connections.
1293 * src/ppp-manager/nm-ppp-manager.c
1294 src/ppp-manager/nm-ppp-manager.h
1295 - (constructor): only PPP Manager request bus name once; each
1296 NMPPPManager object gets a unique object path
1297 - (nm_ppp_manager_class_init, get_property, set_property,
1298 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1300 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1301 remove timeout until PPP manager gets an IP4 config
1302 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1303 the plugin can call back to this specific PPP manager instance
1305 * src/nm-device-ethernet.c
1306 src/nm-serial-device.c
1307 - Pass parent device in nm_ppp_manager_new()
1309 * src/nm-gsm-device.c
1310 src/nm-cdma-device.c
1311 - (device_state_changed): don't close serial device on NEED_AUTH
1312 state changed, that's not a failure case like the rest are
1314 * src/ppp-manager/nm-pppd-plugin.c
1315 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1316 binds one interface to any pppd process, thus the correct index
1317 is always 0; send PHASE_DEAD on error to alert NM immediately of
1318 problems; try harder to get a peer address in spite of pppd
1319 - (plugin_init): use 'ipparam' as the object path back to our specific
1320 PPP manager instance
1322 2008-08-04 Dan Williams <dcbw@redhat.com>
1324 * src/ppp-manager/nm-ppp-manager.c
1325 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1326 since the GSM and CDMA settings now implement need_secrets, we can
1327 rely on them to do the right thing. Where secrets are not required,
1328 just pass empty strings back to the pppd plugin.
1329 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1330 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1331 on successful IP4 config receipt
1333 2008-08-04 Dan Williams <dcbw@redhat.com>
1335 * libnm-util/nm-setting-cdma.c
1336 libnm-util/nm-setting-gsm.c
1337 - (verify): validate username & password if they exist
1338 - (need_secrets): if username given, require a password too
1340 2008-08-04 Dan Williams <dcbw@redhat.com>
1342 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1343 - (create_dm_cmd_line): really don't listen on lo, despite what the
1344 manpage says about --listen-address without --interface
1347 2008-08-01 Dan Williams <dcbw@redhat.com>
1349 * libnm-glib/nm-device.c
1350 - (proxy_get_string): util function for querying a HAL property
1351 - (get_ancestor_device): split out from get_product_and_vendor()
1352 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1353 from PCI devices by querying subsys properties
1354 - (nm_device_update_description): simplify
1356 2008-08-01 Dan Williams <dcbw@redhat.com>
1358 * libnm-util/nm-setting-ip4-config.c
1359 libnm-util/nm-setting-ip4-config.h
1360 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1361 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
1362 settings, and they don't necessarily use DHCP.
1364 * src/NetworkManagerPolicy.c
1366 system-settings/plugins/ifcfg-fedora/reader.c
1367 system-settings/plugins/ifcfg-suse/parser.c
1368 - Fixup for method changes
1370 2008-07-31 Dan Williams <dcbw@redhat.com>
1372 * src/nm-activation-request.c
1373 src/vpn-manager/nm-vpn-connection.c
1374 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1375 itself should be attached to the activation request or the VPN
1376 connection, not the NMConnection object, since the call is not
1377 expected to live as long as the NMConnection itself
1379 2008-07-31 Dan Williams <dcbw@redhat.com>
1381 * src/nm-device-wifi.c
1382 - (real_act_stage2_config): fix issue where association would continue
1383 even though secrets were needed; 'goto out' was in wrong scope and
1384 result of handle_auth_or_fail() should have been dumped directly to
1385 'ret' to ensure that the association was postponed until secrets
1388 2008-07-31 Dan Williams <dcbw@redhat.com>
1390 * system-settings/plugins/ifcfg-fedora/plugin.c
1391 system-settings/plugins/ifcfg-fedora/reader.c
1392 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1395 2008-07-29 Dan Williams <dcbw@redhat.com>
1397 * src/nm-gsm-device.c
1398 - (automatic_registration_response, automatic_registration): recognize
1399 denied registration and reorder responses
1401 2008-07-29 Dan Williams <dcbw@redhat.com>
1403 * src/nm-serial-device.c
1404 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
1405 time(2) is used for current time, which returns seconds, we shouldn't
1406 be multiplying by 1000.
1408 2008-07-28 Dan Williams <dcbw@redhat.com>
1410 Patch from Fabrice Bellet <fabrice@bellet.info>
1412 * src/NetworkManagerSystem.c
1413 - (route_in_same_subnet): mask addresses and compare them so that the
1414 function actually does what it says it's going to do (rh #456685)
1416 2008-07-27 Dan Williams <dcbw@redhat.com>
1418 * libnm-util/nm-setting-ip6-config.c
1419 - (set_property): add missing break that caused routes to be overwritten
1422 * libnm-util/nm-setting-ip6-config.c
1423 - (verify): validate routes and return GError everywhere on invalid setting
1424 - (finalize): don't leak routes
1425 - (set_property): add missing break that caused routes to be overwritten
1428 2008-07-27 Dan Williams <dcbw@redhat.com>
1431 - Relicense to LGPLv2+
1433 2008-07-27 Dan Williams <dcbw@redhat.com>
1435 * system-settings/plugins/ifcfg-fedora/reader.c
1436 - (make_ip4_setting): fix parsing automatic configs
1438 2008-07-27 Dan Williams <dcbw@redhat.com>
1440 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1442 src/ppp-manager/nm-ppp-manager.c
1443 - Ensure child process gets reaped. The child watch function may be
1444 removed from the mainloop before the child gets killed, so we have
1445 to make sure the child is reaped when it's told to die intentionally
1447 2008-07-27 Dan Williams <dcbw@redhat.com>
1449 Patch from Roy Marples <roy@marples.name>
1451 * src/dhcp-manager/nm-dhcp-dhcpcd.c
1452 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1454 2008-07-27 Dan Williams <dcbw@redhat.com>
1456 * src/nm-gsm-device.c
1457 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1458 Huawei devices turn echo back on after CPIN (rh #456770)
1460 2008-07-24 Tambet Ingo <tambet@gmail.com>
1462 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1463 format argument to g_set_error() call.
1465 * src/backends/interface_parser.[ch]: Remove.
1467 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1469 2008-07-21 Dan Williams <dcbw@redhat.com>
1471 * src/ppp-manager/nm-ppp-manager.c
1472 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1473 to prevent pppd from picking up some random local address from an
1474 interface that doesn't have anything to do with the one we're
1475 interested in (rh #455348)
1477 2008-07-17 Dan Williams <dcbw@redhat.com>
1479 * libnm-util/nm-utils.c
1480 - (string_to_utf8): general function for conversion to UTF-8 assisted
1482 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1483 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1485 2008-07-17 Dan Williams <dcbw@redhat.com>
1487 * introspection/Makefile.am
1488 introspection/nm-device.xml
1489 introspection/nm-dhcp4-config.xml
1490 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1492 * src/nm-device-interface.c
1493 src/nm-device-interface.h
1494 - Add the DHCP4Config property
1497 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1498 D-Bus clients when it changes
1500 * src/nm-dhcp4-config.c
1501 src/nm-dhcp4-config.h
1502 - Simple object to store DHCP4 options, export them over D-Bus, and
1503 notify when they change
1505 * src/dhcp-manager/nm-dhcp-manager.c
1506 src/dhcp-manager/nm-dhcp-manager.h
1507 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1508 filter server-returned DHCP options into an NMDHCP4Config object
1510 2008-07-16 Dan Williams <dcbw@redhat.com>
1512 * introspection/nm-device.xml
1513 - Add device state reasons
1515 2008-07-16 Dan Williams <dcbw@redhat.com>
1517 Patch from Roy Marples <roy@marples.name>
1520 - Add --with-dhcp-client option
1522 * src/dhcp-manager/Makefile.am
1523 - pass DHCP_CLIENT_PATH on compile line
1525 * src/dhcp-manager/nm-dhcp-manager.c
1526 src/dhcp-manager/nm-dhcp-manager.h
1527 - Genericize for both dhcpcd and dhclient
1529 * src/dhcp-manager/nm-dhcp-dhclient.c
1530 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1532 * src/dhcp-manager/nm-dhcp-dhcpcd.c
1533 - Implement support for dhcpcd too
1535 2008-07-16 Tambet Ingo <tambet@gmail.com>
1537 * system-settings/src/nm-system-config-interface.c
1538 (nm_system_config_interface_supports_add): Implement.
1539 (nm_system_config_interface_add_connection): Return a boolean to notify
1542 * system-settings/src/nm-polkit-helpers.c:
1543 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1546 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1547 Return an error when none of the plugins support add or if addition
1548 failed for some reason.
1550 * system-settings/src/nm-system-config-error.h:
1551 * system-settings/src/nm-system-config-error.c: New files, mostly moved
1552 here from nm-polkit-helpers.[ch].
1554 * system-settings/src/Makefile.am: Build new files.
1556 * system-settings/plugins/keyfile/reader.c
1557 (read_array_of_array_of_uint): Make it more general so that it would
1558 work for routes as well.
1560 * system-settings/plugins/keyfile/writer.c
1561 (write_array_of_array_of_uint): Ditto.
1562 Fix the netmask/prefix writing.
1564 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
1565 boolean to notify errors.
1567 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
1568 Return more specific error.
1571 2008-07-11 Dan Williams <dcbw@redhat.com>
1573 Modify the NMDevice::state-changed signal to include the previous state
1574 and reason. Enables the applet to provide more information why device
1577 2008-07-09 Dan Williams <dcbw@redhat.com>
1579 * callouts/Makefile.am
1580 callouts/nm-avahi-autoipd-action.c
1581 callouts/nm-avahi-autoipd.conf
1582 - avahi-autoipd callout to send options back to NM
1589 src/nm-device-private.h
1591 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
1594 2008-07-07 Dan Williams <dcbw@redhat.com>
1596 * system-settings/plugins/ifcfg-fedora/reader.c
1597 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
1598 handle PREFIX too; clean up
1600 2008-07-07 Dan Williams <dcbw@redhat.com>
1602 Convert to using IPv4 prefixes instead of netmasks.
1604 2008-07-03 Dan Williams <dcbw@redhat.com>
1606 * libnm-util/nm-setting-ip4-config.c
1607 libnm-util/nm-setting-ip4-config.h
1608 - Add properties for DHCP Client Identifier and DHCP Hostname
1610 * src/dhcp-manager/nm-dhcp-manager.c
1611 src/dhcp-manager/nm-dhcp-manager.h
1612 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
1613 setting as an argument to pass on to the dhclient config file
1615 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
1617 - (dhclient_run): punt config file handling to create_dhclient_config()
1618 - (create_dhclient_config): create an interface-specific dhclient
1619 config file since there may need to be interface-specific options
1621 - (merge_dhclient_config): merge normal distro dhclient config file and
1622 add options from the connection
1623 - (nm_dhcp_device_new): generate the interface specific dhclient
1624 config file path once
1625 - (nm_dhcp_device_destroy): handle partially initialized objects; free
1626 dhclient config file path
1629 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
1630 DHCP manager when starting DHCP
1632 2008-07-02 Dan Williams <dcbw@redhat.com>
1634 * libnm-util/nm-setting-8021x.c
1635 - (verify): allow forcing the PEAP label to 0
1637 2008-07-02 Dan Williams <dcbw@redhat.com>
1639 * introspection/nm-active-connection.xml
1640 introspection/nm-vpn-connection.xml
1641 libnm-glib/nm-active-connection.c
1642 src/nm-activation-request.c
1643 src/nm-active-connection.h
1644 src/vpn-manager/nm-vpn-connection.c
1645 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
1646 and libnm-glib API since sharing didn't get implemented that way
1648 2008-07-02 Dan Williams <dcbw@redhat.com>
1650 * src/nm-device-wifi.c
1651 - (can_scan): don't scan when a shared connection is activated since
1652 that makes drivers mad (causing disconnects); also NM doesn't need
1653 to hedge against disconnects by keeping up-to-date network topology
1654 because the connection originates from the local machine, and thus
1655 there should be no disconnects
1657 2008-07-01 Dan Williams <dcbw@redhat.com>
1659 Fix mobile broadband username/password issues. NM was never requesting
1660 mobile broadband secrets, nor was it passing back the username and password
1663 * marshallers/nm-marshal.list
1664 - Add some new types for activation request objects
1666 * src/nm-activation-request.c
1667 src/nm-activation-request.h
1668 - (get_secrets_cb): pass the caller type in the signal
1669 - (nm_act_request_request_connection_secrets): take a caller type, so
1670 that GetSecrets() reply handlers know who asked for the secrets in
1671 the first place; use secret hints too so the settings service can
1672 figure out exactly what NM wants (ie, PIN or the PPP password)
1674 * src/ppp-manager/nm-ppp-manager.c
1675 src/ppp-manager/nm-ppp-manager.h
1676 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
1677 detect needed secrets when the secret could be blank, like GSM/CDMA
1678 passwords. So always ask for secrets, and send a hint as to what
1679 secret we really want.
1680 - (nm_ppp_manager_update_secrets): make function more generic by making
1681 the device specific class figure out the username and password, and
1682 accept an error argument to return back over D-Bus
1684 * src/nm-device-wifi.c
1685 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1686 nm_act_request_request_connection_secrets()
1687 - (real_connection_secrets_updated): update for 'caller' changes
1691 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
1692 for 'caller' changes
1694 * src/nm-device-ethernet.c
1695 - (real_connection_secrets_updated): update for 'caller' changes and
1696 move logic for getting PPPoE username and password here before
1697 calling nm_ppp_manager_update_secrets()
1698 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1699 nm_act_request_request_connection_secrets()
1701 * src/nm-cdma-device.c
1702 - (real_connection_secrets_updated): pass username and password back
1703 to the PPP manager when required
1705 * src/nm-gsm-device.c
1706 - (enter_pin): send the required secret name to the settings service
1707 - (real_connection_secrets_updated): pass username and password back
1708 to the PPP manager when required
1710 2008-06-30 Dan Williams <dcbw@redhat.com>
1712 * src/nm-device-wifi.c
1713 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
1715 2008-06-30 Dan Williams <dcbw@redhat.com>
1717 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
1718 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
1719 priv->supplicant.iface. When either condition is false, the device should
1720 transition back to UNAVAILABLE because it cannot be used.
1722 * src/nm-device-wifi.c
1723 - (constructor): cleanup; connect to supplicant manager here since the
1724 supplicant manager is always around
1725 - (supplicant_interface_acquire): rename from init_supplicant_interface,
1726 ensure the supplicant manager is in the IDLE state
1727 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
1728 cancel any pending scans too
1729 - (real_bring_up): don't set up the supplicnat interface here, because
1730 we need the supplicant interface at times when the device may not
1732 - (real_take_down): just remove the periodic source
1733 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
1734 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
1735 do anything if there's no supplicant interface
1736 - (cleanup_association_attempt): cleanup
1737 - (supplicant_iface_state_cb_handler): request an immediate scan when
1738 the interface enters the READY state; transition to UNAVAILABLE
1739 state when the interface goes down because the device can't be used
1740 without a supplicant interface
1741 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
1742 up and transition to UNAVAILABLE; if the supplicant becomes ready,
1743 acquire the supplicant interface and transition to DISCONNECTED
1744 if the radio isn't killed
1745 - (nm_device_wifi_dispose): move most of device_cleanup() here
1746 - (state_changed_cb): release any existing supplicant interface; if the
1747 radio is enabled then try to acquire a new supplicant interface;
1748 if the radio is enabled and a supplicant interface has been acquired,
1749 we can transition to DISCONNECTED
1750 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
1751 don't enable the radio, because HAL probably lied to us about the
1752 killswitch being off. If bringing the hardware up worked, then
1753 try to grab a supplicant interface, and if that was successful,
1754 transition to DISCONNECTED
1756 2008-06-30 Dan Williams <dcbw@redhat.com>
1758 * src/supplicant-manager/nm-supplicant-interface.c
1759 - (request_scan_results, nm_supplicant_interface_dispose,
1760 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
1761 the id of the timeout, not a GSource
1763 2008-06-30 Tambet Ingo <tambet@gmail.com>
1765 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
1766 bunch of typoes introduced by "Patch from David Cantrell
1767 <dcantrell@redhat.com> and me".
1769 2008-06-30 Tambet Ingo <tambet@gmail.com>
1771 * src/nm-serial-device.c:
1772 * src/nm-gsm-device.c:
1773 * src/nm-cdma-device.c: Move the pending call handling to a common location
1774 in serial device. Handle setting device state to failed in one place as well.
1776 2008-06-29 Dan Williams <dcbw@redhat.com>
1778 * src/nm-hal-manager.c
1779 - Rework killswitch handling to query killswitch status immediately
1780 when the first killswitch is added, so that rfkill state is
1781 known as early as possible
1782 - Also treat failure of GetPower() as rfkill when the dbus method
1783 call times out (but not when the HAL callout returns an error)
1785 2008-06-26 Dan Williams <dcbw@redhat.com>
1787 Patch from David Cantrell <dcantrell@redhat.com> and me
1789 * include/nm-dbus-glib-types.h
1790 - Add IP6 address types
1792 * libnm-util/Makefile.am
1793 libnm-util/nm-setting-ip6-config.c
1794 libnm-util/nm-setting-ip6-config.h
1795 - Add IP6 settings object
1797 * libnm-util/nm-connection.c
1798 - (register_default_settings): register ip6 settings object
1800 * libnm-util/nm-utils.c
1801 libnm-util/nm-utils.h
1802 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
1803 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
1804 ip6 address conversion functions
1806 2008-06-26 Dan Williams <dcbw@redhat.com>
1808 Patch from David Cantrell <dcantrell@redhat.com>
1810 * Use inet_ntop() and inet_pton() everwhere and check for errors
1812 2008-06-26 Dan Williams <dcbw@redhat.com>
1814 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
1816 2008-06-26 Dan Williams <dcbw@redhat.com>
1818 Patch from Adel Gadllah <adel.gadllah@gmail.com>
1820 * src/nm-device-wifi.c
1821 - (link_timeout_cb): don't ignore disconnects due to scanning
1822 - (supplicant_iface_connection_state_cb_handler): instead, schedule
1823 a longer timeout when scanning; avoids case where supplicant can't
1824 find the AP and just keeps scanning forever but isn't connected
1826 2008-06-26 Dan Williams <dcbw@redhat.com>
1828 Patch from Michael Biebl <biebl@debian.org>
1830 * Clean up build system stuff
1832 2008-06-23 Christian Persch <chpe@gnome.org>
1834 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
1835 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
1836 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
1838 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
1840 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
1841 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
1842 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
1844 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
1845 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
1846 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
1847 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
1848 * vpn-daemons/pptp/properties/vpnui_opt.c:
1849 (vpnui_opt_connect_signals):
1850 * vpn-daemons/pptp/properties/vpnui_opt.h:
1851 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
1852 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
1853 deprecated gtk type macros. Bug #539325.
1855 2008-06-20 Dan Williams <dcbw@redhat.com>
1857 * libnm-glib/nm-vpn-plugin-ui-interface.c
1858 libnm-glib/nm-vpn-plugin-ui-interface.h
1859 - 'validity-changed' -> 'changed' to work better with the connection
1860 editor. Plugin UI widgets should emit 'changed' whenever their
1861 UI values change in a meaningful way.
1862 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
1863 update_connection member now returns validity of the UI widget
1865 2008-06-20 Tambet Ingo <tambet@gmail.com>
1867 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
1869 2008-06-17 Dan Williams <dcbw@redhat.com>
1871 * libnm-glib/nm-vpn-plugin-ui-interface.c
1872 libnm-glib/nm-vpn-plugin-ui-interface.h
1873 - Add "desc" property for longer descriptions of the VPN plugin
1875 2008-06-16 Dan Williams <dcbw@redhat.com>
1878 libnm-glib/libnm_glib_vpn.pc.in
1879 - add a .pc file for libnm_glib_vpn
1881 * libnm-glib/nm-vpn-plugin-ui-interface.c
1882 libnm-glib/nm-vpn-plugin-ui-interface.h
1883 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
1884 rework it substantially
1886 2008-06-12 Dan Williams <dcbw@redhat.com>
1888 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
1889 and add error enums to each NMSetting subclass. Each NMSetting subclass now
1890 returns a descriptive GError when verification fails.
1892 2008-06-11 Dan Williams <dcbw@redhat.com>
1894 Patch from Tambet Ingo <tambet@gmail.com>
1896 * libnm-util/nm-setting-gsm.c
1897 - (verify): validate APN
1899 * src/nm-gsm-device.c
1900 - (manual_registration_done): start setting APN if needed
1901 - (set_apn, set_apn_done): set the APN
1902 - (do_dial): use the APN when dialing
1904 2008-06-11 Dan Williams <dcbw@redhat.com>
1906 * src/NetworkManagerSystem.c
1907 - (nm_system_device_set_ip4_route,
1908 nm_system_device_replace_default_ip4_route): check for the right
1909 return value from rtnl_route_add() to know when to add a gateway
1912 2008-06-11 Dan Williams <dcbw@redhat.com>
1914 * src/NetworkManagerPolicy.c
1915 - do_ipt_cmd -> do_cmd
1916 - (sharing_init): use do_cmd() instead of system()
1918 2008-06-10 Dan Williams <dcbw@redhat.com>
1920 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
1921 and use "wifi" everwhere instead.
1923 2008-06-10 Dan Williams <dcbw@redhat.com>
1925 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
1927 2008-06-10 Dan Williams <dcbw@redhat.com>
1929 Patch from Tambet Ingo <tambet@gmail.com>
1931 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
1934 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
1935 a signal to emit these changes over dbus.
1937 * src/Makefile.am: Genereate nm-serial-device-glue.
1939 * libnm-glib/nm-serial-device.[ch]: Implement.
1941 * libnm-glib/nm-cdma-device.[ch]
1942 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
1944 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
1946 * introspection/nm-device-serial.xml: Implement.
1948 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
1950 * introspection/Makefile.am: Add nm-device-serial.xml.
1952 * include/NetworkManager.h: Add a DBus interface for serial device.
1954 2008-06-10 Dan Williams <dcbw@redhat.com>
1957 - Add TARGET_* define to config.h to distinguish distros
1959 * src/dhcp-manager/nm-dhcp-manager.c
1960 - (dhclient_run): use distro-specific path for dhclient config file
1962 2008-06-09 Dan Williams <dcbw@redhat.com>
1964 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1965 src/dnsmasq-manager/nm-dnsmasq-manager.h
1966 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
1967 calculate the addresses passed to dnsmasq instead of hard-coding
1971 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
1972 IP addresses for shared connections to guard against shared
1973 connection address collisions
1974 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
1976 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
1979 2008-06-09 Dan Williams <dcbw@redhat.com>
1981 * src/NetworkManagerPolicy.c
1982 - (update_routing_and_dns): set the default connection _after_ unsetting
1983 default on all non-default connections so that two connections can
1984 never be default at the same time
1985 - (device_state_changed): start and stop connection sharing when
1987 - (active_connection_default_changed): restart or stop sharing when
1988 the default connection changes to keep shared connections always
1989 NAT-ed through the default connection
1990 - (check_sharing): handle activation/deactivation of shared connections
1991 - (sharing_restart): atom-bomb approach to connection sharing until we
1992 can use libnl; reinit all sharing when the default connection or
1993 shared connections change
1994 - (sharing_init, sharing_stop): evil functions that init and deinit
1997 2008-06-09 Dan Williams <dcbw@redhat.com>
1999 * src/nm-activation-request.c
2000 src/nm-activation-request.h
2001 - (nm_act_request_set_shared, nm_act_request_get_shared,
2002 nm_act_request_get_device): new functions to facilitate connection
2005 2008-06-09 Dan Williams <dcbw@redhat.com>
2008 - (clear_act_request): unset the 'default' property of the activation
2009 request when clearing it to ensure the property changed signal gets
2010 delivered and handled
2012 2008-06-09 Dan Williams <dcbw@redhat.com>
2014 * libnm-glib/nm-device-802-11-wireless.c
2015 - (access_point_removed_proxy): actually unref the AP after removing
2016 it from the device's AP list. Fixes refcounting bug for APs that
2017 caused them to get mixed up in the applet's menu.
2019 2008-06-09 Tambet Ingo <tambet@gmail.com>
2021 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2022 (nm_dhcp_device_destroy): Destroy the device options hash table.
2024 2008-06-06 Dan Williams <dcbw@redhat.com>
2026 * system-settings/src/nm-polkit-helpers.c
2027 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2028 unref the context if the initialization fails; also avoid spew when
2031 2008-06-06 Dan Williams <dcbw@redhat.com>
2033 Patch from Tambet Ingo <tambet@gmail.com>
2035 * src/NetworkManagerSystem.c
2036 src/NetworkManagerSystem.h
2037 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2038 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2039 - (nm_system_device_set_ip4_route): clean up
2040 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2043 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2045 * src/vpn-manager/nm-vpn-connection.c
2046 - (ip_address_to_string): new function
2047 - (print_vpn_config): use ip_address_to_string
2048 - (merge_vpn_routes): add user-defined routes to the ip4 config
2049 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2051 * include/NetworkManagerVPN.h
2054 2008-06-05 Dan Williams <dcbw@redhat.com>
2056 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2059 - Show which device is the default device
2061 2008-06-05 Tambet Ingo <tambet@gmail.com>
2065 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2066 Free data returned from dbus method call.
2068 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2069 dbus_g_method_get_sender() returns a duplicated string, free it
2071 (check_polkit_privileges): Looks like policykit sometimes returns
2072 error and non-null return value, don't leak errors in that case.
2074 * system-settings/src/main.c (find_plugin): Don't leak existing
2076 (load_stuff): Don't leak device list and list items.
2077 (have_connection_for_device): Don't leak connection list.
2079 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2080 Free the data received from g_keyfile_get_*.
2082 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2083 the key when the security object is updated.
2085 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2086 Free data returned from dbus method call.
2087 (iface_state_cb): Ditto.
2088 (add_network_cb): Ditto.
2089 (nm_supplicant_interface_add_cb): Don't make another copy of already
2090 duplicated object path.
2091 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2094 * src/supplicant-manager/nm-supplicant-config.c
2095 (ADD_STRING_LIST_VAL): Fix a memory leak.
2097 * src/nm-manager.c (free_get_settings_info): Free the allocated
2099 (list_connections_cb): Free data returned from dbus method call.
2100 (system_settings_get_unmanaged_devices_cb): Ditto.
2102 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2104 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
2105 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
2106 * src/backends/shvar.c (svCloseFile): Free the duplicated content
2109 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2110 arguments after the object is created.
2112 2008-06-04 Dan Williams <dcbw@redhat.com>
2114 * libnm-util/Makefile.am
2115 - Don't distribute nm-param-spec-specialized.h
2117 2008-06-02 Tambet Ingo <tambet@gmail.com>
2119 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2121 * src/nm-ip4-config.[ch]: Store the static routes as a list of
2122 NMIP4Address, update the getters and setters.
2124 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2125 Use the updated NMIP4Config routes api.
2127 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2128 static routes as well.
2130 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2131 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2134 2008-05-30 Dan Williams <dcbw@redhat.com>
2136 * src/named-manager/nm-named-manager.c
2137 src/named-manager/nm-named-manager.h
2138 - Remove stale/obsolete bits for controlling bind over DBus
2140 2008-05-29 Dan Williams <dcbw@redhat.com>
2142 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2143 src/dnsmasq-manager/nm-dnsmasq-manager.h
2144 - (nm_dnsmasq_manager_new): move iface argument here
2145 - (constructor): remove, not needed
2146 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2147 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2150 - (real_act_stage4_get_ip4_config,
2151 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2154 2008-05-29 Dan Williams <dcbw@redhat.com>
2157 - (dnsmasq_state_changed_cb): new function; fail the connection if
2158 something happens to dnsmasq
2159 - (nm_device_new_ip4_shared_config): new function; create a new
2160 ip4-config for shared connections. Shared connections always use a
2161 fixed static IP address.
2162 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2163 autoip connections by actually using the returned ip4-config and
2165 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2167 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2170 2008-05-29 Dan Williams <dcbw@redhat.com>
2172 * src/nm-device-802-11-wireless.c
2173 - (real_get_best_auto_connection): auto-activate 'shared' method
2176 2008-05-29 Dan Williams <dcbw@redhat.com>
2178 * libnm-util/nm-setting-ip4-config.c
2179 libnm-util/nm-setting-ip4-config.h
2180 - Add a 'shared' method to indicate that this connection should be
2181 brought up with a DHCP and proxy DNS server to facilitate
2183 - (verify): 'shared' method doesn't allow DNS or searches either
2185 2008-05-29 Dan Williams <dcbw@redhat.com>
2189 src/dnsmasq-manager/Makefile.am
2190 src/dnsmasq-manager/nm-dnsmasq-manager.c
2191 src/dnsmasq-manager/nm-dnsmasq-manager.h
2192 - Add a dnsmasq daemon manager to facilitate connection sharing
2194 2008-05-29 Dan Williams <dcbw@redhat.com>
2196 * src/nm-device-private.h
2197 - Remove unused prototypes and clean up
2200 - Remove anything related to system_config_data, which is no longer used
2201 - (nm_device_new_ip4_autoip_config): make static
2203 2008-05-29 Tambet Ingo <tambet@gmail.com>
2205 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2206 (file_changed): Fix a bug where suse system settings plugin didn't
2207 update the connections automatically when the files changed.
2209 2008-05-28 Dan Williams <dcbw@redhat.com>
2211 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2213 2008-05-28 Dan Williams <dcbw@redhat.com>
2215 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2217 * src/NetworkManagerSystem.c
2218 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2219 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2220 was causing -EINVAL errors since the libnl code actually does flush
2221 the routes on VPN interfaces now
2223 * src/backends/NetworkManagerArch.c
2224 src/backends/NetworkManagerDebian.c
2225 src/backends/NetworkManagerFrugalware.c
2226 src/backends/NetworkManagerGeneric.c
2227 src/backends/NetworkManagerGentoo.c
2228 src/backends/NetworkManagerMandriva.c
2229 src/backends/NetworkManagerPaldo.c
2230 src/backends/NetworkManagerRedHat.c
2231 src/backends/NetworkManagerSlackware.c
2232 src/backends/NetworkManagerSuSE.c
2233 - (nm_system_device_flush_ip4_routes,
2234 nm_system_device_flush_ip4_routes_with_iface): remove
2236 2008-05-28 Dan Williams <dcbw@redhat.com>
2238 * libnm-util/nm-setting-wireless.c
2239 libnm-util/nm-setting-wireless.h
2240 - (set_property, get_property, nm_setting_wireless_class_init): add the
2241 'adhoc-create' property, which when TRUE indicates that NM should
2242 create this connection as an adhoc wifi network if it's not found
2243 as an adhoc network during scanning. Can be used to auto-create
2244 adhoc networks when used in combination with autoconnect.
2246 2008-05-28 Tambet Ingo <tambet@gmail.com>
2248 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2250 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2251 checked, it doesn't work on some devices.
2253 2008-05-28 Tambet Ingo <tambet@gmail.com>
2255 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
2256 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2258 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2259 Use inet_aton() everywhere to improve error detection.
2260 Don't fall back to 'dhcp_server_identifier' if the gateway is not
2263 2008-05-26 Tambet Ingo <tambet@gmail.com>
2265 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2268 2008-05-26 Tambet Ingo <tambet@gmail.com>
2270 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2271 reference counting issue.
2273 2008-05-23 Dan Williams <dcbw@redhat.com>
2275 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2277 * src/backends/NetworkManagerGeneric.c
2278 - (nm_generic_enable_loopback): use libnl
2280 2008-05-23 Dan Williams <dcbw@redhat.com>
2282 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2284 * src/NetworkManagerSystem.h
2285 src/backends/NetworkManagerArch.c
2286 src/backends/NetworkManagerDebian.c
2287 src/backends/NetworkManagerFrugalware.c
2288 src/backends/NetworkManagerGentoo.c
2289 src/backends/NetworkManagerMandriva.c
2290 src/backends/NetworkManagerPaldo.c
2291 src/backends/NetworkManagerRedHat.c
2292 src/backends/NetworkManagerSlackware.c
2293 src/backends/NetworkManagerSuSE.c
2294 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2295 nm_system_flush_arp_cache): remove, unused
2297 * src/backends/NetworkManagerGeneric.c
2298 src/backends/NetworkManagerGeneric.h
2299 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2300 nm_generic_flush_arp_cache): remove, unused
2302 2008-05-23 Dan Williams <dcbw@redhat.com>
2304 * system-settings/plugins/ifcfg-fedora/reader.c
2305 - (make_ip4_setting): honor PEERDNS setting
2307 2008-05-23 Dan Williams <dcbw@redhat.com>
2309 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2311 * src/NetworkManagerSystem.c
2312 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2315 * src/backends/NetworkManagerArch.c
2316 src/backends/NetworkManagerDebian.c
2317 src/backends/NetworkManagerFrugalware.c
2318 src/backends/NetworkManagerGentoo.c
2319 src/backends/NetworkManagerMandriva.c
2320 src/backends/NetworkManagerPaldo.c
2321 src/backends/NetworkManagerRedHat.c
2322 src/backends/NetworkManagerSlackware.c
2323 src/backends/NetworkManagerSuSE.c
2324 - (nm_system_device_flush_ip4_addresses,
2325 nm_system_device_flush_ip4_addresses_with_iface): remove
2327 * src/backends/NetworkManagerGeneric.c
2328 - (nm_generic_device_flush_ip4_addresses,
2329 nm_generic_device_flush_ip4_addresses_with_iface): remove
2331 2008-05-23 Dan Williams <dcbw@redhat.com>
2333 * src/supplicant-manager/nm-supplicant-settings-verify.c
2334 - Switch 'bssid' from bytes to keyword type
2335 - (validate_type_keyword): allow NULL keyword lists
2337 * src/supplicant-manager/nm-supplicant-config.c
2338 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2339 a byte array to string form, which is what the supplicant expects
2341 2008-05-23 Tambet Ingo <tambet@gmail.com>
2343 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2344 information received from DHCP.
2346 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2347 to make it possible to ignore the DNS information (both servers and
2348 searches) returned by DHCP server.
2350 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2351 name servers and searches if "ignore_dhcp_dns" is set.
2353 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2354 (nm_ip4_config_reset_searches): Implement.
2356 2008-05-22 Dan Williams <dcbw@redhat.com>
2358 Remove anything mDNS related. This is better done from a distro-specific
2359 dispatcher script. Plus, any distro using avahi doesn't need to restart
2360 avahi, since avahi can handle interface changes just fine using netlink.
2363 - Remove --with-mdns-provider
2365 * src/NetworkManagerPolicy.c
2366 - (global_state_changed): don't restart the mdns provider
2368 * src/NetworkManagerSystem.h
2369 src/backends/NetworkManagerArch.c
2370 src/backends/NetworkManagerDebian.c
2371 src/backends/NetworkManagerFrugalware.c
2372 src/backends/NetworkManagerGentoo.c
2373 src/backends/NetworkManagerMandriva.c
2374 src/backends/NetworkManagerPaldo.c
2375 src/backends/NetworkManagerRedHat.c
2376 src/backends/NetworkManagerSlackware.c
2377 src/backends/NetworkManagerSuSE.c
2378 - (nm_system_restart_mdns_responder): remove
2380 * src/backends/NetworkManagerGeneric.c
2381 src/backends/NetworkManagerGeneric.h
2382 - (nm_generic_restart_mdns_responder): remove
2384 2008-05-22 Dan Williams <dcbw@redhat.com>
2387 - clean up crypto options; just use --with-crypto=nss or
2388 --with-crypto=gnutls
2390 2008-05-22 Tambet Ingo <tambet@gmail.com>
2392 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2393 anymore, do it right away.
2395 2008-05-22 Tambet Ingo <tambet@gmail.com>
2397 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2398 serial device open when we're not connecting or connected.
2400 * src/nm-cdma-device.c (device_state_changed): Ditto.
2402 2008-05-22 Tambet Ingo <tambet@gmail.com>
2404 Don't remove all devices on waking up, sync with HAL.
2406 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2407 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2408 (hal_manager_hal_reappeared_cb): Just call sync_devices.
2410 2008-05-21 Tambet Ingo <tambet@gmail.com>
2412 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2413 If the default gateway is unreachable, add a route to gateway and try
2416 2008-05-20 Dan Williams <dcbw@redhat.com>
2418 * system-settings/plugins/ifcfg-fedora/reader.c
2419 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2421 2008-05-19 Dan Williams <dcbw@redhat.com>
2423 * system-settings/plugins/ifcfg-fedora/reader.c
2424 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2425 if the ifcfg doesn't specify one (rh #446527)
2427 2008-05-19 Dan Williams <dcbw@redhat.com>
2429 Make the system settings service exit when the bus goes away. Since it's
2430 a bus-activated service, it's lifetime is limited to the bus that activated
2433 * system-settings/src/Makefile.am
2434 system-settings/src/nm-system-config-hal-manager-private.h
2435 - Remove nm-system-config-hal-manager-private.h
2437 * system-settings/src/nm-system-config-hal-manager.c
2438 - (nm_system_config_hal_manager_reinit_dbus,
2439 nm_system_config_hal_manager_deinit_dbus): remove
2441 * system-settings/src/main.c
2442 - (dbus_reconnect): remove
2443 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2444 - (destroy_cb): just quit when the bus goes away
2445 - (start_dbus_service, dbus_init): simplify
2446 - (main): destroy the wired devices hash table after destroying
2447 the HAL manager so we don't have to disconnect signals from the
2450 2008-05-15 Tambet Ingo <tambet@gmail.com>
2452 Move crypto functions from nm-applet to libnm-util.
2454 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2455 (nm_setting_802_1x_set_client_cert)
2456 (nm_setting_802_1x_set_phase2_ca_cert)
2457 (nm_setting_802_1x_set_phase2_client_cert)
2458 (nm_setting_802_1x_set_private_key)
2459 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2460 file (or private key and it's password), read the certificate data.
2462 * libnm-util/crypto_nss.c:
2463 * libnm-util/crypto_gnutls.c:
2464 * libnm-util/crypto.[ch]: Move here from nm-applet.
2466 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2468 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2469 Imlement WPA-EAP configuration reading from sysconfig.
2471 2008-05-16 Dan Williams <dcbw@redhat.com>
2473 * src/nm-device-802-11-wireless.c
2474 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2477 2008-05-14 Dan Williams <dcbw@redhat.com>
2479 Fix Linus' bug in rh #134886
2481 * src/nm-device-802-3-ethernet.c
2482 - (constructor): request initial carrier state
2484 * src/nm-netlink-monitor.c
2485 - (nm_netlink_monitor_request_status): schedule emission of carrier
2486 signals after refilling the link cache. Because the refill is a
2487 synchronous operation, the normal message hander won't get called
2488 since libnl has already consumed the messages.
2489 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2491 2008-05-14 Dan Williams <dcbw@redhat.com>
2493 * src/NetworkManagerSystem.c
2494 - (nm_system_device_is_up_with_iface): clean up
2496 2008-05-13 Dan Williams <dcbw@redhat.com>
2498 Fix refcounting issues over sleep/wake when a VPN connection was active that
2499 caused NM to try registering an object path for a device upon wake that was
2500 the same as an already registered object path.
2503 - (nm_device_take_down): properly handle cases where the device is
2504 no longer active but was just active, and therefore must be
2505 deactivated. When a device moves to unmanaged mode, this function
2506 previously would not deactivate the device, because the state was
2507 already unmanaged by the time this function was called.
2509 * src/vpn-manager/nm-vpn-connection.c
2510 - (device_state_changed): properly handle multiple devices states in
2511 which the device is now deactivated. Code previously didn't handle
2512 transitions to the UNAVAILABLE (like rfkill or carrier off) and
2515 2008-05-13 Dan Williams <dcbw@redhat.com>
2517 * src/nm-device-private.h
2519 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2521 * src/nm-device-802-11-wireless.c
2522 - (nm_device_802_11_wireless_set_enabled): take devices up
2523 and down as appropriate for the rfkill state
2525 2008-05-13 Dan Williams <dcbw@redhat.com>
2527 * marshallers/nm-marshal.list
2528 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2530 * system-settings/plugins/ifcfg-fedora/Makefile.am
2531 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2532 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2533 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2534 events. Solely for use watching ifcfg files to pick up changes
2535 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2537 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2538 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2539 file contents change
2540 - (finalize): clean up inotify watches
2541 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2542 and the connection ifcfg for changes on their hardlinks
2543 - (files_changed_cb): proxy the changed signal back out to listeners
2545 * system-settings/plugins/ifcfg-fedora/plugin.c
2547 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2549 - (read_one_connection): connect to change signals on the new connection
2550 - (dir_changed, connection_changed_handler,
2551 handle_connection_remove_or_new): break out connection change
2552 handling and connection new/remove handling so it can be used from
2553 both the GFileMonitor callback and the NMIfcfgConnection changed
2556 * system-settings/plugins/ifcfg-fedora/reader.c
2557 system-settings/plugins/ifcfg-fedora/reader.h
2558 - (connection_from_file): return the keyfile path the connection would use
2560 2008-05-13 Tambet Ingo <tambet@gmail.com>
2562 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
2563 single PolKitContext which is shared by all. PolKitContext::unref leaks
2564 just about everything, including all open file descriptiors and results
2565 in 99% cpu usage when data arrives to any of the fds that don't belong
2566 to any context anymore.
2568 2008-05-12 Dan Williams <dcbw@redhat.com>
2570 * gfilemonitor/glocaldirectorymonitor.c
2571 gfilemonitor/glocaldirectorymonitor.h
2572 - (g_local_directory_monitor_constructor): actually subscribe to the
2574 - (_g_local_directory_monitor_new): ensure that inotify is started up
2576 * gfilemonitor/glocalfilemonitor.c
2577 gfilemonitor/glocalfilemonitor.h
2578 - (g_local_file_monitor_constructor): actually subscribe to the watch
2579 - (_g_local_file_monitor_new): ensure that inotify is started up
2581 2008-05-11 Dan Williams <dcbw@redhat.com>
2584 - record PolicyKit version
2586 * system-settings/src/nm-polkit-helpers.c
2587 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
2588 with PolicyKit <= 0.6
2590 2008-05-11 Dan Williams <dcbw@redhat.com>
2592 Update Fedora system-settings plugin to support latest API and use
2593 GFileMonitor rather than home-rolled inotify code.
2595 * system-settings/plugins/ifcfg-fedora/Makefile.am
2596 system-settings/plugins/ifcfg-fedora/common.h
2597 system-settings/plugins/ifcfg-fedora/plugin.c
2598 - Update to latest system settings plugin API; use GIO instead of
2599 custom inotify code; use NMIfcfgConnection objects instead of
2600 ConnectionData structures tacked onto NMConnection objects
2602 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2603 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
2604 - Implement an NMExportedConnection subclass mapping ifcfg files to
2607 * system-settings/plugins/ifcfg-fedora/reader.c
2608 system-settings/plugins/ifcfg-fedora/reader.h
2609 - Move ifcfg parsing bits here from parser.c
2611 * system-settings/plugins/ifcfg-fedora/parser.c
2612 system-settings/plugins/ifcfg-fedora/parser.h
2613 - Remove; most code moved to reader.c
2615 2008-05-11 Dan Williams <dcbw@redhat.com>
2620 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
2621 implementation, so that the same change monitoring code can be used
2622 on systems without glib-2.14 (like Fedora 8)
2624 * system-settings/plugins/keyfile/Makefile.am
2625 system-settings/plugins/keyfile/plugin.c
2626 system-settings/plugins/ifcfg-suse/Makefile.am
2627 system-settings/plugins/ifcfg-suse/plugin.c
2628 - Use private gfilemonitor code if GIO is not present
2630 2008-05-09 Tambet Ingo <tambet@gmail.com>
2632 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
2633 NMExportedConnection's 'update' and 'delete' and return error with
2634 descriptive message.
2636 2008-05-08 Dan Williams <dcbw@redhat.com>
2638 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2640 * src/nm-gsm-device.c
2641 src/nm-cdma-device.c
2642 - (real_get_best_auto_connection): implement; allow autoconnection
2643 to GSM & CDMA devices
2645 2008-05-08 Tambet Ingo <tambet@gmail.com>
2647 Use PolicyKit to authorize the system settings' AddConnection method
2648 and the system settings connections' Update and Delete methods.
2650 * libnm-glib/nm-settings.c (impl_exported_connection_update)
2651 (impl_exported_connection_delete, nm_exported_connection_update)
2652 (nm_exported_connection_delete): Return boolean and fill GError
2653 to notify the callers of the reasons why it might have failed.
2655 * libnm-glib/nm-dbus-settings-system.c
2656 (nm_dbus_settings_system_add_connection): Return the error from dbus
2657 call so that the callers can see why it failed.
2659 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
2662 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
2664 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
2665 abstract base class that checks PolicyKit permissions.
2667 * system-settings/src/dbus-settings.c:
2668 (impl_settings_add_connection): Check the policy before carring out
2671 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
2672 Inherit from NMSysconfigConnection, check the policies before
2673 allowing updating or removing.
2675 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
2676 Inherit from NMSysconfigConnection.
2678 * introspection/nm-exported-connection.xml: Annotate "Update" and
2679 "Delete" methods with async flag so that the implementations can get
2680 access to DBusGMethodInvocation.
2682 * system-settings/src/dbus-settings.c
2683 (settings_add_connection_check_privileges): Implement.
2684 (impl_settings_add_connection): Check the privileges before adding a new
2685 connection. Improve error reporting.
2687 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
2688 async so that the implementation can access DBusGMethodInvocation.
2690 * configure.in: Check for PolicyKit.
2692 * policy/org.freedesktop.network-manager-settings.system.policy:
2695 * policy/Makefile.am: Install the policy file.
2697 * configure.in: Add 'policy' subdir.
2699 2008-05-08 Tambet Ingo <tambet@gmail.com>
2701 Rewrite the suse system settings plugin.
2703 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
2705 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
2707 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
2709 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
2711 * system-settings/src/dbus-settings.c: Fix connection reference counting.
2713 * system-settings/src/main.c (load_plugins): Improve error reporting.
2715 * system-settings/src/sha1.[ch] Add.
2717 * system-settings/src/Makefile.am: Add sha1[ch] to build.
2719 2008-05-07 Dan Williams <dcbw@redhat.com>
2721 * system-settings/plugins/keyfile/reader.c
2722 - (read_one_setting_value): handle IP address items separately
2723 - (read_array_of_uint): read IPv4 DNS option as a string array
2724 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
2727 * system-settings/plugins/keyfile/writer.c
2728 - (write_setting_value): handle IP address items separately
2729 - (write_array_of_uint): handle IPv4 DNS option as a string array,
2730 not an array of uint, so that it's user-editable
2731 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
2732 arrays, so they are user-editable
2734 2008-05-07 Dan Williams <dcbw@redhat.com>
2736 * system-settings/plugins/keyfile/Makefile.am
2737 - Change location of the keyfile plugin settings to
2738 /etc/NetworkManager/system-connections
2740 2008-05-05 Tambet Ingo <tambet@gmail.com>
2742 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
2744 * system-settings/plugins/keyfile/plugin.c: Work with
2745 NMKeyfileConnections.
2747 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
2748 Plugins are supposed to return NMExportedConnections now and handle the
2749 updated(), removed(), and GetSecrets().
2750 Store the internal list of connections in hash table to make it easier
2753 2008-05-07 Tambet Ingo <tambet@gmail.com>
2755 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
2756 for multiple IP addresses.
2758 2008-05-07 Tambet Ingo <tambet@gmail.com>
2760 Patch from André Lemos.
2762 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
2765 2008-05-06 Dan Williams <dcbw@redhat.com>
2767 * src/dhcp-manager/nm-dhcp-manager.c
2768 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
2769 NMIP4Config to support multiple IP addresses
2771 * src/NetworkManagerUtils.c
2772 - (nm_utils_merge_ip4_config): update for multiple IP addresses
2774 * src/nm-ip4-config.c
2776 - Store a list of IPv4 address/netmask/gateway tuples
2777 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
2778 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
2779 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
2780 nm_ip4_config_set_address): remove
2781 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
2782 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
2783 new functions; handle multiple IPv4 addresses
2786 src/ppp-manager/nm-ppp-manager.c
2787 src/vpn-manager/nm-vpn-connection.c
2788 src/NetworkManagerPolicy.c
2790 libnm-glib/libnm-glib-test.c
2791 - update for changes to NMIP4Config for multiple IPv4 addresses
2793 * src/NetworkManagerSystem.c
2794 - (nm_system_device_set_ip4_route): don't add the route if any address
2795 is on the same subnet as the destination
2796 - (check_one_address): ignore the exact match, just match family and
2798 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
2800 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
2801 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
2803 * introspection/nm-ip4-config.xml
2804 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
2805 - Add 'addresses' property which is an array of (uuu) tuples of
2806 address/netmask/gateway
2808 * libnm-util/nm-setting-ip4-config.c
2809 - (set_property): use ip-address <-> GValue converters from nm-utils.c
2811 * libnm-glib/nm-ip4-config.c
2812 libnm-glib/nm-ip4-config.h
2813 - Handle D-Bus interface changes to support multiple IP addresses
2815 2008-05-06 Dan Williams <dcbw@redhat.com>
2817 * libnm-util/nm-utils.c
2818 libnm-util/nm-utils.h
2819 - (nm_utils_ip4_addresses_from_gvalue,
2820 nm_utils_ip4_addresses_to_gvalue): new functions
2822 2008-05-06 Tambet Ingo <tambet@gmail.com>
2824 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
2825 the returned connection paths.
2827 2008-05-05 Tambet Ingo <tambet@gmail.com>
2829 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
2830 "PropertiesChanged" signal signature.
2832 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
2833 defined in nm-dbus-glib-types.h.
2834 Don't register the connection on dbus, we're a proxy class to
2835 communicate with an already registered connection over dbus.
2837 2008-04-30 Tambet Ingo <tambet@gmail.com>
2839 Implement new subclasses of NMSettings and NMExportedConnection to make
2840 it easier for the applet to access and modify system settings.
2842 * libnm-glib/nm-dbus-connection.[ch]:
2843 * libnm-glib/nm-dbus-settings.[ch]:
2844 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
2846 * libnm-glib/Makefile.am: Add the new files to build, generate some more
2849 * include/NetworkManager.h: Define the system settings DBus interface.
2851 2008-04-30 Tambet Ingo <tambet@gmail.com>
2853 Implement additional C API for exported connections to make them identical
2854 with the DBus API. Change the (list_connections) virtual function to be
2855 more usable from C - instead of requiring implementers to return a GPtrArray
2856 of dbus paths, return a list of connections.
2858 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
2859 (nm_settings_list_connections):
2860 (nm_exported_connection_new):
2861 (nm_exported_connection_update):
2862 (nm_exported_connection_delete): Implement.
2864 (impl_settings_list_connections):
2865 (impl_exported_connection_update):
2866 (impl_exported_connection_delete): Use the new public functions to make
2867 sure the C and dbus interfaces stay in sync.
2869 * system-settings/src/dbus-settings.c (list_connections): Return a list of
2872 2008-05-02 Dan Williams <dcbw@redhat.com>
2874 * system-settings/plugins/ifcfg-fedora/plugin.c
2875 - (dispose): use right unref call on the DBusGConnection
2877 2008-05-02 Dan Williams <dcbw@redhat.com>
2879 * src/nm-serial-device.c
2880 - (find_terminator): don't compare the whole line, just the size of the
2881 terminator, since some modems put stuff after the terminator, like
2884 2008-05-01 Dan Williams <dcbw@redhat.com>
2886 Patch from Michael Biebl <biebl@debian.org>
2888 * callouts/Makefile.am
2889 callouts/org.freedesktop.nm_dispatcher.service.in
2890 system-settings/src/Makefile.am
2891 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
2892 - use the right install location for dbus-activated stuff
2894 2008-04-30 Dan Williams <dcbw@redhat.com>
2896 * src/nm-gsm-device.c
2897 - (enter_pin): fix setting name passed to applets when asking for a GSM
2900 2008-04-30 Dan Williams <dcbw@redhat.com>
2903 - (nm_manager_error_get_type): remove erroneous NULL enum from table
2905 2008-04-30 Dan Williams <dcbw@redhat.com>
2907 * src/nm-device-802-3-ethernet.c
2908 src/nm-device-802-11-wireless.c
2909 - (real_is_up): return true instead of chaining up to unimplemented
2912 2008-04-30 Dan Williams <dcbw@redhat.com>
2914 * src/NetworkManagerSystem.c
2915 src/NetworkManagerSystem.h
2916 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
2917 functions to check device flags for IFF_UP
2919 * src/nm-serial-device.c
2920 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
2923 * src/nm-device-802-3-ethernet.c
2924 src/nm-device-802-11-wireless.c
2925 - (real_hw_is_up): call nm_system_device_is_up()
2928 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
2929 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
2932 2008-04-29 Dan Williams <dcbw@redhat.com>
2934 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
2936 * marshallers/nm-marshal.list
2939 * src/NetworkManager.c
2940 - (main): let the NMManager handle the NMHalManager
2942 * src/nm-hal-manager.c
2943 src/nm-hal-manager.h
2944 - convert to a GObject, and emit singals when stuff changes. Let the
2945 NMManager handle the signals, instead of the NMHalManager calling
2950 - (remove_one_device): consolidate device removals here
2951 - (dispose): use remove_one_device()
2952 - (nm_manager_get_device_by_udi): make static
2953 - (deferred_hal_manager_query_devices): idle handler to query the HAL
2954 manager for devices at startup or wakeup time
2955 - (nm_manager_new): create and monitor the HAL manager
2956 - (hal_manager_udi_added_cb): new function; do what
2957 nm_manager_add_device() used to do when signalled by the hal manager
2958 - (hal_manager_udi_removed_cb): new function; do what
2959 nm_manager_remove_device() used to do when signalled by the hal
2961 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
2963 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
2964 in our device list that aren't known to HAL
2965 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
2966 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
2968 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
2969 nm_manager_activation_pending, nm_manager_wireless_enabled,
2970 nm_manager_wireless_hardware_enabled,
2971 nm_manager_set_wireless_hardware_enabled): remove, unused
2973 2008-04-28 Dan Williams <dcbw@redhat.com>
2975 Fix the device up/down ambiguities. Up/down state used to be a
2976 conglomeration of hardware state (IFF_UP) and any device-specific things
2977 (supplicant, periodic timers, etc) that the device used to indicate
2978 readiness. Unfortunately, if the hardware was already IFF_UP for some
2979 reason, then the device specific stuff wouldn't get run, and the device
2984 - Create hw_is_up, hw_bring_up, and hw_take_down
2985 - Rename bring_down -> take_down
2986 - (real_hw_is_up): check interface flags for IFF_UP
2987 - (nm_device_hw_is_up): let subclasses figure out their own HW state
2988 - (nm_device_is_up): make static; only used locally
2989 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
2990 if the device is already up; if the device isn't up, bring it up
2991 - (nm_device_hw_take_down): just take down hardware
2992 - (nm_device_bring_up): bring up HW first, then device specific stuff
2993 - (nm_device_take_down): always deactivate device when called; always
2994 try to take hardware down too
2995 - (nm_device_state_changed): take device down when entering unmanaged
2996 state from a higher state
2998 * src/nm-device-802-11-wireless.c
2999 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3001 - (real_take_down, supplicant_iface_state_cb_handler,
3002 supplicant_iface_connection_state_cb_handler,
3003 supplicant_mgr_state_cb_handler): fix some messages
3005 * src/nm-device-802-3-ethernet.c
3006 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3009 2008-04-28 Dan Williams <dcbw@redhat.com>
3013 - (nm_manager_error_get_type): add new error
3014 - (nm_manager_remove_device): don't bother taking down the device here,
3015 the state change from unmanaging the device will do it
3016 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3017 uses it; when going to sleep, just unmanage the device instead of
3018 taking it down, because stuff will cleaned up correctly when the
3019 device gets unmanaged
3021 2008-04-28 Dan Williams <dcbw@redhat.com>
3023 * src/nm-hal-manager.c
3024 - (add_initial_devices): convert to a GSourceFunc prototype
3025 - (nm_manager_state_changed): when coming out of sleep, punt the
3026 device re-addition to an idle handler to let D-Bus events go out
3027 first, fixing a potential dbus-glib assert if the old device was
3028 not yet disposed (due to references held while emitting the D-Bus
3029 signals) but the new device was found, because the mainloop didn't
3030 run between signal emission and add_initial_devices()
3032 2008-04-27 Dan Williams <dcbw@redhat.com>
3034 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3036 * initscript/paldo/NetworkManager.in
3037 initscript/SUSE/networkmanager.in
3038 - Remove last bits of dhcdbd
3040 2008-04-27 Dan Williams <dcbw@redhat.com>
3042 * src/nm-device-802-11-wireless.c
3043 - (link_timeout_cb): don't ask for secrets when disconnected during
3044 association/authentication phase, drivers are still just too crappy
3046 2008-04-27 Dan Williams <dcbw@redhat.com>
3050 dispatcher-daemon/Makefile.am
3051 dispatcher-daemon/NetworkManagerDispatcher.c
3052 initscript/Arch/Makefile.am
3053 initscript/Arch/networkmanager-dispatcher.in
3054 initscript/Gentoo/Makefile.am
3055 initscript/Gentoo/NetworkManagerDispatcher.in
3056 initscript/Mandriva/Makefile.am
3057 initscript/Mandriva/networkmanagerdispatcher.in
3058 initscript/RedHat/Makefile.am
3059 initscript/RedHat/NetworkManagerDispatcher.in
3060 initscript/SUSE/Makefile.am
3061 initscript/SUSE/networkmanager-dispatcher.in
3062 initscript/Slackware/Makefile.am
3063 initscript/Slackware/rc.networkmanager-dispatcher.in
3064 initscript/paldo/Makefile.am
3065 initscript/paldo/NetworkManagerDispatcher.in
3067 man/NetworkManagerDispatcher.8.in
3068 - Remove the dispatcher daemon
3070 2008-04-27 Dan Williams <dcbw@redhat.com>
3072 * callouts/Makefile.am
3073 callouts/nm-dispatcher-action.c
3074 callouts/nm-dispatcher-action.h
3075 callouts/nm-dispatcher.conf
3076 callouts/nm-dispatcher.xml
3077 callouts/org.freedesktop.nm_dispatcher.service
3078 - Re-implement the dispatcher as a system-bus activated service that
3079 NM calls on-demand, rather than an always running daemon
3082 - Add callouts dir to includes to pick up dispatcher defines
3085 - (nm_device_state_changed): call dispatcher on device activated/
3088 * src/vpn-manager/nm-vpn-connection.c
3089 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3092 * src/NetworkManagerUtils.c
3093 src/NetworkManagerUtils.h
3094 - (nm_utils_call_dispatcher): helper to call dispatcher
3096 2008-04-27 Dan Williams <dcbw@redhat.com>
3098 * src/NetworkManagerUtils.c
3099 src/NetworkManagerUtils.h
3100 - remove unneeded includes
3101 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3102 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3103 nm_timeval_cmp, nm_timeval_add): remove, unused
3104 - clean up formatting
3105 - (nm_spawn_process): de-uglify
3107 * src/nm-device-802-11-wireless.c
3108 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3110 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
3112 * initscript/Gentoo/NetworkManager.in:
3113 Fix for starting the daemon.
3115 2008-04-25 Dan Williams <dcbw@redhat.com>
3117 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3119 * src/NetworkManagerSystem.c
3120 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3122 2008-04-25 Dan Williams <dcbw@redhat.com>
3124 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3126 * src/NetworkManagerSystem.c
3127 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3128 implementation of nm_system_device_replace_default_route()
3130 * src/NetworkManagerPolicy.c
3131 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3133 * src/backends/NetworkManagerArch.c
3134 src/backends/NetworkManagerDebian.c
3135 src/backends/NetworkManagerFrugalware.c
3136 src/backends/NetworkManagerGeneric.c
3137 src/backends/NetworkManagerGeneric.h
3138 src/backends/NetworkManagerGentoo.c
3139 src/backends/NetworkManagerMandriva.c
3140 src/backends/NetworkManagerPaldo.c
3141 src/backends/NetworkManagerRedHat.c
3142 src/backends/NetworkManagerSlackware.c
3143 src/backends/NetworkManagerSuSE.c
3144 - (nm_system_device_replace_default_route): remove
3146 2008-04-25 Dan Williams <dcbw@redhat.com>
3148 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3150 * src/NetworkManagerSystem.c
3151 - (validate_ip4_route): remove; use nl_addr_parse() instead
3152 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3153 replace nm_system_device_add_route_via_device_with_iface() in the
3156 * src/backends/NetworkManagerArch.c
3157 src/backends/NetworkManagerDebian.c
3158 src/backends/NetworkManagerFrugalware.c
3159 src/backends/NetworkManagerGeneric.c
3160 src/backends/NetworkManagerGeneric.h
3161 src/backends/NetworkManagerGentoo.c
3162 src/backends/NetworkManagerMandriva.c
3163 src/backends/NetworkManagerPaldo.c
3164 src/backends/NetworkManagerRedHat.c
3165 src/backends/NetworkManagerSlackware.c
3166 src/backends/NetworkManagerSuSE.c
3167 - Remove nm_system_device_add_route_via_device_with_iface()
3169 2008-04-25 Dan Williams <dcbw@redhat.com>
3171 * system-settings/plugins/ifcfg-fedora/parser.c
3172 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3174 2008-04-24 Dan Williams <dcbw@redhat.com>
3176 * dispatcher-daemon/NetworkManagerDispatcher.c
3177 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3179 2008-04-24 Dan Williams <dcbw@redhat.com>
3181 * initscript/RedHat/NetworkManager.in
3182 initscript/RedHat/NetworkManagerDispatcher.in
3183 - Be active at runlevel 2
3184 - Adjust priorities earlier
3186 2008-04-22 Dan Williams <dcbw@redhat.com>
3188 * src/NetworkManagerPolicy.c
3189 - (update_routing_and_dns): when checking for a gateway, look at the
3190 composite IP4 config, not the connection's ip4-config setting, which
3191 doesn't include DHCP-returned information
3193 2008-04-22 Tambet Ingo <tambet@gmail.com>
3195 Implement GKeyFile system settings plugin.
3196 Implement writing system settings (currently supported only by GKeyFile plugin).
3198 * system-settings/src/main.c:
3199 * system-settings/src/dbus-settings.c: Move the communication with plugins
3200 from main.c to dbus-settings.c. Makes it possible to talk to all registered
3201 plugins for adding/updating/removing connections.
3203 * system-settings/src/nm-system-config-interface.c
3204 (nm_system_config_interface_add_connection): Implement
3205 (nm_system_config_interface_update_connection): Implement.
3206 (nm_system_config_interface_remove_connection): Implement.
3208 * system-settings/plugins/keyfile/Makefile.am:
3209 * system-settings/plugins/keyfile/plugin.[ch]:
3210 * system-settings/plugins/keyfile/writer.[ch]:
3211 * system-settings/plugins/keyfile/reader.[ch]: Implement.
3213 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3215 * configure.in: Generate GKeyFile Makefile.
3217 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3218 corruption, need to duplicate the returned string.
3219 (impl_exported_connection_update): Implement.
3220 (impl_exported_connection_delete): Implement.
3222 * introspection/nm-settings-system.xml: Add "AddConnection" method.
3224 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3226 2008-04-22 Dan Williams <dcbw@redhat.com>
3228 Patch from Charles R. Anderson (cra@wpi.edu)
3230 * src/NetworkManagerPolicy.c
3231 - (update_routing_and_dns): don't select devices without a gateway
3232 as having the default route (rh #437338)
3234 2008-04-21 Dan Williams <dcbw@redhat.com>
3236 * src/nm-activation-request.c
3237 src/nm-activation-request.h
3238 - (dispose): ensure to disconnect from the device's state-changed signal
3239 when appropriate so the signal doesn't get handled by an already
3240 disposed NMActRequest
3241 - (device_state_changed): update is_default here too just to make sure
3242 default is only True when the child device is activated
3243 - (nm_act_request_set_default): new function
3245 * src/NetworkManagerPolicy.c
3246 - (update_routing_and_dns): set 'default' on the active connection which
3247 has the default route and DNS
3249 2008-04-21 Dan Williams <dcbw@redhat.com>
3251 * src/NetworkManagerPolicy.c
3252 - (device_state_changed): update routing and DNS when a device goes
3253 into unmanaged or unavailable states too (like rfkill or carrier loss)
3255 2008-04-21 Dan Williams <dcbw@redhat.com>
3257 * include/NetworkManager.h
3258 - Add NMActiveConnectionState enum
3260 * introspection/nm-active-connection.xml
3261 introspection/nm-vpn-connection.xml
3262 - Add 'State' property for overall active connection state
3263 - Add 'Default' property, when True means this active connection
3264 has the default route
3265 - Add PropertyChanged signals so changes actually go out over the bus
3267 * src/nm-active-connection.h
3268 - Add defines for State & Default properties
3270 * src/nm-activation-request.c
3271 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3272 signal to determine active connection state
3274 * src/vpn-manager/nm-vpn-connection.c
3275 src/vpn-manager/nm-vpn-connection.h
3276 src/vpn-manager/nm-vpn-manager.c
3277 src/vpn-manager/nm-vpn-service.c
3278 - Rename old 'state' to 'vpn-state'
3279 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3280 - Add 'state' and 'default' properties, hook up to the vpn connection's
3281 'vpn-state-changed' signal
3283 * libnm-glib/nm-active-connection.c
3284 libnm-glib/nm-active-connection.h
3285 - Add new 'state' and 'default' properties and accessors
3287 * libnm-glib/nm-vpn-connection.c
3288 libnm-glib/nm-vpn-connection.h
3289 - Rename old 'state' property to 'vpn-state'
3290 - Add new 'state' and 'default' properties and accessors
3292 2008-04-21 Dan Williams <dcbw@redhat.com>
3294 * src/nm-ip4-config.c
3295 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3296 not specified (rh #443474)
3298 2008-04-20 Dan Williams <dcbw@redhat.com>
3300 * src/NetworkManagerUtils.c
3301 src/NetworkManagerUtils.h
3302 - (nm_utils_merge_ip4_config): new function; merge settings from an
3303 NMSettingIP4Config to an NMIP4Config object
3306 - (merge_ip4_config): move to NetworkManagerUtils.c
3308 * src/vpn-manager/nm-vpn-connection.c
3309 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3312 2008-04-18 Dan Williams <dcbw@redhat.com>
3314 * libnm-util/nm-setting-ppp.c
3315 libnm-util/nm-setting-ppp.h
3316 - Add 'no-vj-comp' option for TCP header compression
3317 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3320 2008-04-18 Dan Williams <dcbw@redhat.com>
3322 * libnm-util/nm-setting-ppp.c
3323 libnm-util/nm-setting-ppp.h
3324 src/ppp-manager/nm-ppp-manager.c
3325 - Add 'refuse-pap' and 'refuse-mschapv2' options
3327 2008-04-18 Dan Williams <dcbw@redhat.com>
3329 * libnm-util/nm-setting-ppp.c
3330 libnm-util/nm-setting-ppp.h
3331 src/ppp-manager/nm-ppp-manager.c
3332 - Remove the 'usepeerdns' option and always request DNS servers from
3333 the PPP server; the connection chooses to use/override/ignore the
3334 DNS servers returned from the PPP server
3336 2008-04-18 Dan Williams <dcbw@redhat.com>
3338 * libnm-util/nm-setting-ppp.c
3339 libnm-util/nm-setting-ppp.h
3340 src/ppp-manager/nm-ppp-manager.c
3341 - Remove the 'require-mppc' option, because pppd doesn't support it and
3342 it seems to have been an erroneous addition to the PPTP plugin in
3343 the first place (from which the ppp-manager is derived)
3345 2008-04-17 Dan Williams <dcbw@redhat.com>
3347 * libnm-util/nm-setting-pppoe.c
3348 - (verify): require a PPP setting too
3350 * src/ppp-manager/nm-ppp-manager.c
3351 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3354 2008-04-17 Dan Williams <dcbw@redhat.com>
3357 - (nm_device_state_changed): do deactivation and and promotion to
3358 unavailable here, so that the device gets cleaned up before the
3359 manager runs and starts emitting signals; do the
3360 FAILED->DISCONNECTED transition from an idle handler rather than
3361 immediately to guard against recursion
3362 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3363 FAILED->DISCONNECTED handler if it's scheduled
3365 2008-04-17 Dan Williams <dcbw@redhat.com>
3367 * src/nm-device-802-11-wireless.c
3368 - (state_changed_cb): clear AP list when device transitions to
3369 unavailable or unmanaged
3370 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3371 since this is already done in device_cleanup()
3372 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3373 isn't available or managed
3374 - (device_cleanup): use remove_all_aps()
3375 - (remove_all_aps): consolidate code removing all APs
3377 2008-04-17 Dan Williams <dcbw@redhat.com>
3379 * src/nm-serial-device.c
3380 src/nm-serial-device.h
3381 - (wait_for_reply_got_data): break input into lines, and search each
3382 line for responses _and_ terminator strings; also make sure that
3383 the read loop doesn't continue after the timeout is supposed to fire
3384 - (nm_serial_device_wait_for_reply): take an array of terminators too
3386 * src/nm-gsm-device.c
3387 src/nm-cdma-device.c
3388 - Send terminators to nm_serial_device_wait_for_reply()
3390 2008-04-16 Dan Williams <dcbw@redhat.com>
3392 Patch from 陈鑫 <znscnchen@gmail.com>
3394 * src/ppp-manager/nm-pppd-plugin.c
3395 - (get_credentials): return correct value for success; handle case where
3396 pppd just does some checking but doesn't want a password
3397 - (plugin_init): make CHAP work too
3399 2008-04-16 Dan Williams <dcbw@redhat.com>
3401 Patch from 陈鑫 <znscnchen@gmail.com>
3403 * src/ppp-manager/nm-ppp-manager.c
3404 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3406 2008-04-16 Dan Williams <dcbw@redhat.com>
3408 Patch from 陈鑫 <znscnchen@gmail.com>
3410 * src/nm-device-802-3-ethernet.c
3411 - (real_deactivate_quickly): clear the IP interface name on
3412 deactivation, otherwise the wrong interface might get used later
3413 for routing and IP management
3415 2008-04-15 Dan Williams <dcbw@redhat.com>
3417 * libnm-glib/nm-device.c
3418 - (get_product_and_vendor): handle serial devices correctly
3419 - (nm_device_update_description): pass device to get_product_and_vendor()
3421 2008-04-15 Dan Williams <dcbw@redhat.com>
3423 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3425 * src/NetworkManagerSystem.h
3426 src/backends/NetworkManagerArch.c
3427 src/backends/NetworkManagerDebian.c
3428 src/backends/NetworkManagerFrugalware.c
3429 src/backends/NetworkManagerGeneric.c
3430 src/backends/NetworkManagerGeneric.h
3431 src/backends/NetworkManagerGentoo.c
3432 src/backends/NetworkManagerMandriva.c
3433 src/backends/NetworkManagerPaldo.c
3434 src/backends/NetworkManagerRedHat.c
3435 src/backends/NetworkManagerSlackware.c
3436 src/backends/NetworkManagerSuSE.c
3438 - (nm_generic_device_add_ip6_link_address,
3439 nm_system_device_add_ip6_link_address): remove
3441 2008-04-15 Dan Williams <dcbw@redhat.com>
3443 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3445 * src/backends/NetworkManagerArch.c
3446 src/backends/NetworkManagerDebian.c
3447 src/backends/NetworkManagerFrugalware.c
3448 src/backends/NetworkManagerGeneric.c
3449 src/backends/NetworkManagerGeneric.h
3450 src/backends/NetworkManagerGentoo.c
3451 src/backends/NetworkManagerMandriva.c
3452 src/backends/NetworkManagerPaldo.c
3453 src/backends/NetworkManagerRedHat.c
3454 src/backends/NetworkManagerSlackware.c
3455 src/backends/NetworkManagerSuSE.c
3456 src/NetworkManagerSystem.h
3457 - flush_routes -> flush_ip4_routes
3458 - flush_addresses -> flush_ip4_addresses
3460 * src/NetworkManagerSystem.c
3462 src/vpn-manager/nm-vpn-connection.c
3463 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3465 2008-04-15 Dan Williams <dcbw@redhat.com>
3467 Remove exposure of wireless-tools mode types in the API.
3469 * include/NetworkManager.h
3470 - Define NM80211Mode enum
3472 * introspection/generic-types.xml
3473 - Describe NM_802_11_MODE enum
3474 - Remove IW_MODE_* enum
3476 * introspection/nm-access-point.xml
3477 libnm-glib/nm-access-point.c
3478 libnm-glib/nm-access-point.h
3479 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3481 * introspection/nm-device-802-11-wireless.xml
3482 libnm-glib/nm-device-802-11-wireless.c
3483 libnm-glib/nm-device-802-11-wireless.h
3484 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3486 * libnm-util/nm-setting-wireless.c
3487 src/NetworkManagerAP.c
3488 src/NetworkManagerAP.h
3489 src/nm-device-802-11-wireless.c
3490 src/nm-device-802-11-wireless.h
3492 - Use NM80211Mode not IW_MODE_*
3494 2008-04-15 Dan Williams <dcbw@redhat.com>
3496 Enhance nm-online based on a patch from Bill Nottingham.
3500 - Add help messages and option summary
3501 - Add long-format options
3502 - Add a '-x' option to exit if NM isn't running or isn't connecting
3504 2008-04-15 Tambet Ingo <tambet@gmail.com>
3506 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3508 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3510 2008-04-15 Dan Williams <dcbw@redhat.com>
3512 * nm-setting-ip4-config.c
3513 - (ip4_addresses_from_gvalue): handle NULL address array
3515 * nm-setting-8021x.c
3516 - (verify_tls, verify_ttls): warn on failed verification
3518 2008-04-10 Dan Williams <dcbw@redhat.com>
3520 * src/nm-gsm-device.c
3521 - (automatic_registration): accept "+CREG: 0,0"
3522 - (automatic_registration_response): fail on "+CREG: 0,0"
3524 2008-04-10 Tambet Ingo <tambet@gmail.com>
3526 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3528 2008-04-10 Tambet Ingo <tambet@gmail.com>
3530 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
3531 Make it compile again by commenting out broken code that at first didn't work and
3532 now didn't compile either.
3534 2008-04-08 Dan Williams <dcbw@redhat.com>
3536 * libnm-glib/nm-object-cache.c
3537 libnm-glib/nm-settings.c
3538 src/dhcp-manager/nm-dhcp-manager.c
3539 system-settings/plugins/ifcfg-fedora/plugin.c
3540 system-settings/plugins/ifcfg-suse/plugin.c
3541 system-settings/src/nm-system-config-hal-manager.c
3542 libnm-util/nm-utils.c
3543 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3544 not threadsafe anyway
3546 2008-04-08 Dan Williams <dcbw@redhat.com>
3548 * system-settings/src/main.c
3549 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3550 callbacks take a device type too
3552 2008-04-08 Dan Williams <dcbw@redhat.com>
3554 The system settings service will now create a new default DHCP connection
3555 for wired devices that have no existing applicable connection.
3557 * system-settings/src/nm-system-config-hal-manager.c
3558 system-settings/src/nm-system-config-hal-manager.h
3559 - (nm_system_config_hal_manager_get_type_for_udi): new function
3561 * system-settings/src/dbus-settings.c
3562 system-settings/src/dbus-settings.h
3563 - (nm_sysconfig_settings_get_connections): new function
3564 - (nm_sysconfig_settings_is_device_managed): new function
3566 * system-settings/src/main.c
3567 - (load_stuff): check for wired devices that need a default connection
3568 - (get_details_for_udi): get interface and MAC address from HAL
3569 - (add_default_dhcp_connection): add a default connection for a wired
3571 - (device_added_cb, device_removed_cb): do the right thing with
3572 wired devices and their default connections on HAL device events
3574 2008-04-07 Dan Williams <dcbw@redhat.com>
3576 * libnm-glib/nm-device.c
3577 libnm-glib/nm-device.h
3578 - Proxy the 'managed' property
3580 2008-04-07 Dan Williams <dcbw@redhat.com>
3582 * src/nm-gsm-device.c
3583 src/nm-cdma-device.c
3584 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3585 handler to transition to DISCONNECTED
3587 2008-04-07 Dan Williams <dcbw@redhat.com>
3589 Patch from Bill Nottingham
3591 * dispatcher-daemon/NetworkManagerDispatcher.c
3592 - ignore backup/packaging crufy (rh #440143)
3594 2008-04-07 Dan Williams <dcbw@redhat.com>
3596 * include/NetworkManager.h
3597 - Remove the DOWN and CANCELLED device states
3598 - Add UNMANAGED and UNAVAILABLE device states
3599 - Document the device states
3601 * introspection/nm-device.xml
3602 src/nm-device-interface.c
3603 src/nm-device-interface.h
3604 - Add the 'managed' property
3607 - (detail_device): print out device state
3609 * src/NetworkManagerSystem.h
3610 src/backends/NetworkManagerArch.c
3611 src/backends/NetworkManagerDebian.c
3612 src/backends/NetworkManagerFrugalware.c
3613 src/backends/NetworkManagerGentoo.c
3614 src/backends/NetworkManagerMandriva.c
3615 src/backends/NetworkManagerPaldo.c
3616 src/backends/NetworkManagerRedHat.c
3617 src/backends/NetworkManagerSlackware.c
3618 src/backends/NetworkManagerSuSE.c
3619 - (nm_system_device_get_system_config, nm_system_device_get_disabled
3620 nm_system_device_free_system_config): remove; they were unused and
3621 their functionality should be re-implemented in each distro's
3622 system settings service plugin
3624 * src/nm-gsm-device.c
3626 src/nm-cdma-device.c
3627 src/nm-cdma-device.h
3628 - (*_new): take the 'managed' argument
3631 - (nm_device_set_address): remove, fold into nm_device_bring_up()
3632 - (nm_device_init): start in unmanaged state, not disconnected
3633 - (constructor): don't start device until the system settings service
3634 has had a chance to figure out if the device is managed or not
3635 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
3636 don't set device state here, let callers handle that as appropriate
3637 - (nm_device_dispose): don't touch the device if it's not managed
3638 - (set_property, get_property, nm_device_class_init): implement the
3640 - (nm_device_state_changed): bring the device up if its now managed,
3641 and deactivate it if it used to be active
3642 - (nm_device_get_managed, nm_device_set_managed): do the right thing
3643 with the managed state
3645 * src/nm-hal-manager.c
3646 - (wired_device_creator, wireless_device_creator, modem_device_creator):
3647 take initial managed state and pass it along to device constructors
3648 - (create_device_and_add_to_list): get managed state and pass to
3651 * src/nm-device-802-11-wireless.c
3652 - (real_can_activate): fold in most of
3653 nm_device_802_11_wireless_can_activate()
3654 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
3655 - (link_timeout_cb): instead of deactivating, change device state and
3656 let the device state handler to it
3657 - (real_update_hw_address): clean up
3658 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3659 handler to transition to DISCONNECTED if the device isn't rfkilled
3661 * src/nm-device-802-3-ethernet.c
3662 - (set_carrier): move above callers and get rid of prototype
3663 - (device_state_changed): when entering UNAVAILABLE state, schedule an
3664 idle handler to transition to DISCONNECTED if the device has a
3666 - (real_update_hw_address): clean up
3667 - (link_timeout_cb, ppp_state_changed): change state instead of calling
3668 deactivation directly as deactivation doesn't change state anymore
3670 * src/NetworkManagerPolicy.c
3671 - (schedule_activate_check): yay, remove wireless_enabled hack since
3672 the NMManager and wireless devices work that out themselves now
3673 - (device_state_changed): change to a switch and update for new device
3675 - (device_carrier_changed): remove; device handles this now through
3677 - (device_added): don't care about carrier any more; the initial
3678 activation check will happen when the device transitions to
3682 - (dispose): clear unmanaged devices
3683 - (handle_unmanaged_devices): update unmanaged device list and toggle
3684 the managed property on each device when needed
3685 - (system_settings_properties_changed_cb): handle signals from the
3686 system settings service
3687 - (system_settings_get_unmanaged_devices_cb): handle callback from
3688 getting the unmanaged device list method call
3689 - (query_unmanaged_devices): ask the system settings service for its
3690 list of unmanaged devices
3691 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
3693 - (manager_set_wireless_enabled): push rfkill state down to wireless
3694 devices directly and let them handle the necessary state transitions
3695 - (manager_device_state_changed): update for new device states
3696 - (nm_manager_add_device): set initial rfkill state on wireless devices
3697 - (nm_manager_remove_device): don't touch the device if it's unmanaged
3698 - (nm_manager_activate_connection): return error if the device is
3700 - (nm_manager_sleep): handle new device states correctly; don't change
3701 the state of unavailable/unmanaged devices
3703 * libnm-glib/nm-device-802-11-wireless.c
3704 - (state_changed_cb): update for new device states
3706 2008-04-07 Dan Williams <dcbw@redhat.com>
3708 * marshallers/nm-marshal.list
3709 - Add VOID:STRING,UINT marshaller for system settings HAL manager
3711 2008-04-07 Dan Williams <dcbw@redhat.com>
3713 * system-settings/src/main.c
3714 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
3715 plugins to the dbus settings object
3716 - (load_stuff): start the dbus service after grabbing unmanaged devices
3717 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
3718 - (log_handler, logging_setup, logging_shutdown): log output to syslog
3719 - (main): switch default logging to syslog with a 'debug' option to
3720 output to console; start up the HAL manager
3722 2008-04-07 Dan Williams <dcbw@redhat.com>
3724 * introspection/nm-settings-system.xml
3725 introspection/Makefile.am
3726 - Define the unmanaged devices interface for the system settings service
3728 * system-settings/src/nm-system-config-hal-manager.c
3729 system-settings/src/nm-system-config-hal-manager.h
3730 system-settings/src/nm-system-config-hal-manager-private.h
3731 system-settings/src/Makefile.am
3732 - Add a lightweight HAL manager object for tracking network devices for
3733 the purpose of determining unmanaged devices and which devices need
3734 the default DHCP connections
3736 * system-settings/src/nm-system-config-interface.c
3737 system-settings/src/nm-system-config-interface.h
3738 - (nm_system_config_interface_init): add the HAL manager as an argument
3739 - (nm_system_config_interface_get_unmanaged_devices): implement
3740 - Define 'unmanaged-devices-changed' signal
3742 * system-settings/src/dbus-settings.c
3743 system-settings/src/dbus-settings.h
3744 - Implement the unmanaged devices interface; some cleanups
3746 * system-settings/plugins/ifcfg-suse/plugin.c
3747 - Fixup for plugin interface changes
3749 * system-settings/plugins/ifcfg-fedora/plugin.c
3750 - (get_ether_device_udi): new function; find the device that has
3751 a specified MAC address and return its UDI
3752 - (get_udi_for_connection): new function; try to find the specific
3753 device a connection is locked to, if any
3754 - (device_added_cb, device_removed_cb): update unmanaged device list in
3755 response to HAL events
3756 - (get_unmanaged_devices): new function; return unmanaged device list
3757 - (build_one_connection): set the connection's locked device, if any
3758 - (write_auto_wired_connection): remove
3759 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
3760 - (handle_connection_changed): alert listeners that the unmanaged device
3762 - (init): fixup for plugin interface changes, implement unmanaged devices
3764 * system-settings/plugins/ifcfg-fedora/parser.c
3765 system-settings/plugins/ifcfg-fedora/parser.h
3766 - (connection_data_free): clean up connection UDI
3768 2008-04-07 Dan Williams <dcbw@redhat.com>
3770 * system-settings/plugins/ifcfg-fedora/parser.c
3771 - (make_ip4_setting): fix parsing of DNS servers
3773 2008-04-05 Dan Williams <dcbw@redhat.com>
3777 marshallers/Makefile.am
3778 marshallers/nm-marshal-main.c
3779 marshallers/nm-marshal.list
3780 - Consolidate marshallers
3782 * libnm-glib/nm-marshal-main.c
3783 libnm-glib/nm-marshal.list
3784 src/marshallers/Makefile.am
3785 src/marshallers/nm-marshal-main.c
3786 src/marshallers/nm-marshal.list
3789 * libnm-glib/Makefile.am
3791 src/dhcp-manager/Makefile.am
3792 src/ppp-manager/Makefile.am
3793 src/supplicant-manager/Makefile.am
3794 src/vpn-manager/Makefile.am
3795 - Use consolidated marshallers
3797 2008-04-04 Dan Williams <dcbw@redhat.com>
3799 * src/nm-hal-manager.c
3800 src/nm-hal-manager.h
3801 - (hal_init): don't look for hardware here
3802 - (nm_hal_manager_start): new function; look for hardware here instead,
3803 which can be done at a later time than hal_init()
3805 * src/NetworkManager.c
3806 - (main): start HAL manager after entering the main loop
3808 2008-04-03 Dan Williams <dcbw@redhat.com>
3810 * libnm-glib/nm-settings.c
3811 libnm-glib/nm-settings.h
3812 - (nm_exported_connection_get_id): new function
3813 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
3815 2008-04-02 Dan Williams <dcbw@redhat.com>
3817 * src/nm-device-interface.c
3818 src/nm-device-interface.h
3821 - Rename check_connection_conflicts() to check_connection_compatible()
3823 * src/nm-device-802-11-wireless.c
3824 - (real_check_connection_conflicts): remove
3825 - (real_check_connection_compatible): implement; match MAC address
3827 * src/nm-device-802-3-ethernet.c
3828 - (real_check_connection_conflicts): remove
3829 - (real_check_connection_compatible): implement; match MAC address
3830 - (real_get_best_auto_connection): correctly handle PPPoE cases
3833 - (check_connection_allowed): remove; unused until PolicyKit integration
3834 - (internal_activate_device): check whether the connection is compatible
3835 with the device before trying to activate it
3837 2008-04-02 Dan Williams <dcbw@redhat.com>
3839 * system-settings/plugins/ifcfg-fedora/parser.c
3840 - (read_mac_address): new function; read in MAC address and stuff it
3842 - (add_one_wep_key): remove debug spew
3843 - (make_wireless_security_setting): validate the default TX key; don't
3844 add the wireless-security setting if the connection doesn't need
3845 security; don't leak the keys shvarFile on error cases
3846 - (make_wireless_setting, make_wired_setting): populate device's MAC
3849 2008-04-02 Dan Williams <dcbw@redhat.com>
3851 * libnm-util/nm-setting-connection.c
3852 libnm-util/nm-setting-connection.h
3853 - (set_property, get_property, nm_setting_connection_class_init): remove
3854 the 'lockdown' property; it's functionality will be replaced by
3857 2008-04-01 Dan Williams <dcbw@redhat.com>
3859 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
3862 initscript/Makefile.am
3863 initscript/Mandriva/Makefile.am
3864 initscript/Mandriva/networkmanager.in
3865 initscript/Mandriva/networkmanagerdispatcher.in
3866 src/backends/Makefile.am
3867 src/backends/NetworkManagerMandriva.c
3868 system-settings/plugins/Makefile.am
3869 - Add Mandriva support
3871 2008-03-31 Dan Williams <dcbw@redhat.com>
3873 * src/vpn-manager/nm-vpn-service.c
3874 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
3875 errors can be passed back to the caller; also no longer scheduled
3876 as an idle handler, but called directly; and bump up VPN service
3877 spawn timeout, 2s is really short
3878 - (nm_vpn_service_activate): don't schedule the VPN service activation,
3879 but call it directly so that errors are reported on return from
3880 ActivateConnection() and don't get lost. If scheduled as an idle
3881 handler, clients don't have the time to query NM for the new VPN
3882 connection's properties before the VPN connection is torn down again
3883 if the service couldn't be launched, and therefore launch errors
3886 2008-03-31 Dan Williams <dcbw@redhat.com>
3888 * src/vpn-manager/nm-vpn-connection.c
3889 - (device_state_changed): send correct state on device failure too
3890 - (plugin_state_changed): failed state means unexpected disconnection,
3891 thus if the service goes away while the VPN connection is activated
3892 that's a failure too
3894 2008-03-31 Dan Williams <dcbw@redhat.com>
3896 * src/vpn-manager/nm-vpn-manager.c
3897 src/vpn-manager/nm-vpn-manager.h
3898 - Make VPNManager errors more available; add a service-start-failed error
3900 2008-03-31 Dan Williams <dcbw@redhat.com>
3902 * libnm-glib/nm-client.c
3903 libnm-glib/nm-client.h
3904 - (activate_cb): pass the new active connection to callback; fix
3905 message when no callback is specified
3907 2008-03-30 Dan Williams <dcbw@redhat.com>
3909 * libnm-util/nm-setting-wireless-security.c
3910 - (need_secrets): only require key0 if the transmit key index is also
3912 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
3914 2008-03-29 Dan Williams <dcbw@redhat.com>
3916 * libnm-util/nm-setting-8021x.c
3917 libnm-util/nm-setting-ip4-config.c
3918 libnm-util/nm-setting-vpn-properties.c
3919 libnm-util/nm-setting-vpn.c
3920 libnm-util/nm-setting-wireless-security.c
3921 libnm-util/nm-setting-wireless.c
3922 libnm-util/nm-utils.c
3923 src/dhcp-manager/nm-dhcp-manager.c
3924 src/nm-activation-request.c
3927 src/nm-properties-changed-signal.c
3928 src/ppp-manager/nm-pppd-plugin.c
3929 src/supplicant-manager/nm-supplicant-interface.c
3930 src/vpn-manager/nm-vpn-connection.c
3931 - consistently use nm-dbus-glib-types.h
3933 2008-03-29 Dan Williams <dcbw@redhat.com>
3935 * src/vpn-manager/nm-vpn-connection.c
3936 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
3939 * src/nm-activation-request.c
3940 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
3943 2008-03-29 Dan Williams <dcbw@redhat.com>
3945 * libnm-glib/nm-device-802-11-wireless.c
3946 - (access_point_added_proxy): create new APs if not found
3948 2008-03-29 Dan Williams <dcbw@redhat.com>
3950 * libnm-glib/nm-client.c
3951 - (proxy_name_owner_changed): tell wireless devices about rfkill state
3954 2008-03-29 Dan Williams <dcbw@redhat.com>
3956 * system-settings/plugins/ifcfg-fedora/parser.c
3957 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
3958 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
3960 2008-03-29 Dan Williams <dcbw@redhat.com>
3962 * system-settings/plugins/ifcfg-fedora/parser.c
3963 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
3965 2008-03-27 Dan Williams <dcbw@redhat.com>
3968 - (nm_object_queue_notify): don't notify multiple times for the same
3971 * nm-object-private.h
3972 - (handle_ptr_array_return): return NULL if the given array is NULL or
3973 if it has zero elements
3976 - (finalize): use g_ptr_array_foreach() when freeing domains
3977 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
3979 * nm-active-connection.c
3980 - (nm_active_connection_get_devices): use handle_ptr_array_return()
3982 * nm-device-802-11-wireless.c
3983 nm-device-802-11-wireless.h
3984 - (nm_device_802_11_wireless_get_access_points): return const; use
3985 handle_ptr_array_return()
3988 - (nm_object_array_demarshal): always create an array, even of length
3989 zero, to distinguish between "NM returned no items" and "haven't
3993 - (dispose): free active connections too
3994 - (proxy_name_owner_changed): free active connections too when NM goes
3996 - (nm_client_get_devices): return const; use handle_ptr_array_return()
3997 - (nm_client_get_active_connections): use handle_ptr_array_return()
3999 2008-03-26 Dan Williams <dcbw@redhat.com>
4001 Rework VPN connection handling for a more consistent D-Bus API. The
4002 VPNManager object has been removed, and active VPN connections are now the
4003 same as any other active connection. The Manager object's ActivateConnection
4004 and DeactivateConnection methods are used to start and stop a VPN connection,
4005 and the VPNConnection objects are subclasses of the ActiveConnection objects.
4006 When activating a VPN connection, pass the path of the active connection
4007 to which the VPN connection is tied in the 'specific_object' argument.
4009 Consequently, the libnm-glib API has been reworked to match this arrangement,
4010 with the VPNManager object removed, and the NMVPNConnection objects now
4011 being subclasses of NMActiveConnection.
4013 2008-03-25 Dan Williams <dcbw@redhat.com>
4015 Patch from Björn Martensen <bjoern.martensen@gmail.com>
4017 * initscript/Arch/networkmanager.in
4018 initscript/Arch/networkmanager-dispatcher.in
4019 - Updates for Arch Linux (gnome.org #523701)
4021 2008-03-25 Dan Williams <dcbw@redhat.com>
4023 * libnm-glib/nm-ip4-config.c
4024 libnm-glib/nm-active-connection.c
4025 libnm-glib/nm-access-point.c
4026 - Use nm_object_queue_notify() instead of g_object_notify()
4028 * libnm-glib/nm-device.c
4029 - (demarshal_ip4_config): distinguish between successful but missing
4030 ip4-config request, and unsuccessful and missing ip4-config request
4031 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4033 - Use nm_object_queue_notify() instead of g_object_notify()
4035 * libnm-glib/nm-device-802-11-wireless.c
4036 - (demarshal_active_ap): distinguish between successfull but missing
4037 active-ap request, and unsuccessful and missing active-ap request
4038 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4040 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4041 for the NMClient to notify the device that wireless is disabled,
4042 and therefore to clear the AP list and active AP
4043 - Use nm_object_queue_notify() instead of g_object_notify()
4045 * libnm-glib/nm-client.c
4046 - (poke_wireless_devices_with_rf_status): new function
4047 - (update_wireless_status): notify wireless devices of the rfkill status
4048 so they can clean up if needed
4049 - Use nm_object_queue_notify() instead of g_object_notify()
4051 2008-03-25 Dan Williams <dcbw@redhat.com>
4053 * libnm-glib/nm-object.c
4054 libnm-glib/nm-object-private.h
4055 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4056 signals to an idle handler
4057 - (nm_object_get_property): add a timeout to the D-Bus method call
4059 2008-03-25 Dan Williams <dcbw@redhat.com>
4061 * introspection/nm-device-cdma.xml
4062 introspection/nm-device-gsm.xml
4063 introspection/Makefile.am
4064 introspection/all.xml
4065 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4067 * src/nm-gsm-device.h
4069 src/nm-cdma-device.h
4070 src/nm-cdma-device.c
4072 - Implement PropertiesChanged signals
4074 * libnm-glib/nm-cdma-device.c
4075 libnm-glib/nm-cdma-device.c
4076 - Attach to PropertiesChanged signals
4078 2008-03-24 Dan Williams <dcbw@redhat.com>
4080 * libnm-glib/nm-client.c
4081 - (client_device_added_proxy): add new devices to the internal device
4082 list so they appear to clients
4084 2008-03-24 Dan Williams <dcbw@redhat.com>
4086 Massive fixup of libnm-glib to:
4087 a) have all objects (with the exception of VPN) cache their properties and
4088 update them asynchronously on PropertiesChanged signals from NM
4089 b) return internal const data for most attributes/properties instead of
4090 allocated values that the caller must free
4091 c) cache wrapped objects such that a given D-Bus path will always map to the
4092 same GObject returned by libnm-glib
4093 d) remove a few signals and move them to GObject property notifications
4094 e) match recent NM D-Bus API changes for activation/deactivation
4095 f) remove some private functions from libnm-glib headers
4097 2008-03-20 Dan Williams <dcbw@redhat.com>
4100 - (nm_manager_update_state, manager_device_state_changed,
4101 nm_manager_activate_device, connection_added_default_handler,
4102 impl_manager_activate_connection, impl_manager_deactivate_connection):
4103 queue PropertyChanged singals when the active connections change
4105 2008-03-20 Dan Williams <dcbw@redhat.com>
4107 * introspection/nm-manager.xml
4108 introspection/nm-manager-client.xml
4109 - (ActivateConnection): return the object path of the active connection
4111 - (GetActiveConnections): remove
4112 - (DeactivateConnection): new function; deactivate a currently active
4114 - Add an ActiveConnections property which returns an array of
4115 active connection object paths
4117 * introspection/nm-device.xml
4118 - (Deactivate): remove
4120 * introspection/all.xml
4121 - Add ActiveConnection introspection
4123 * introspection/nm-active-connection.xml
4124 - Add the ActiveConnection object
4126 * include/NetworkManager.h
4127 - Add the Connection.Active D-Bus interface
4129 * src/nm-device-interface.c
4130 - (impl_device_deactivate): remove
4132 * src/nm-activation-request.c
4133 src/nm-activation-request.c
4135 - Implement the Connection.Active D-Bus interface
4138 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4139 - (nm_manager_activate_device): return the active connection path
4140 - (connection_added_default_handler, impl_manager_activate_connection):
4141 return the active connection to the caller
4142 - (add_one_connection_element, impl_manager_get_active_connections):
4144 - (impl_manager_deactivate_connection): new function; deactivate an
4147 * libnm-glib/nm-device.c
4148 libnm-glib/nm-device.h
4149 - Remove Deactivate() function
4151 2008-03-19 Dan Williams <dcbw@redhat.com>
4153 * introspection/nm-manager.xml
4154 introspection/nm-manager-client.xml
4155 - Rename the ActivateDevice method to ActivateConnection to better
4156 reflect it's usage; it's arguments get reordered a bit too
4157 - Convert GetActiveConnections method return from a struct to a dict
4159 * include/NetworkManager.h
4160 - Define the dict keys for return value of GetActiveConnections
4163 - impl_manager_activate_device -> impl_manager_activate_connection
4164 - (add_one_connection_element): return a populated hash table, not
4167 * libnm-glib/nm-client.c
4168 libnm-glib/nm-client.h
4169 - nm_client_activate_device -> nm_client_activate_connection
4170 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4171 - (nm_client_get_active_connections): return a GSList of GHashTables,
4172 instead of the custom structures. Each element of the returned list
4173 must be freed with nm_client_free_active_connections_element()
4175 2008-03-18 Dan Williams <dcbw@redhat.com>
4177 * system-settings/plugins/ifcfg-fedora/parser.c
4178 system-settings/plugins/ifcfg-fedora/parser.h
4179 system-settings/plugins/ifcfg-fedora/plugin.c
4180 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4181 profiles. DNS servers and searches must now be stored in the ifcfg
4184 2008-03-18 Tambet Ingo <tambet@gmail.com>
4186 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4187 print out username and password, it's supposed to be a secret.
4189 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
4190 request and set the device state accordingly.
4192 2008-03-18 Tambet Ingo <tambet@gmail.com>
4194 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4196 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4198 2008-03-18 Dan Williams <dcbw@redhat.com>
4200 * src/vpn-manager/nm-vpn-connection.c
4201 - (get_secrets_cb): handle new GetSecrets return format
4203 2008-03-18 Dan Williams <dcbw@redhat.com>
4205 Adapt system settings service for split 802.1x.
4207 * system-settings/src/nm-system-config-interface.h
4208 - clarify return value of get_secrets()
4210 * system-settings/src/dbus-settings.c
4211 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4212 - (check_for_secrets): check if there actually secrets returned by a
4214 - (exported_connection_get_secrets): just return the plugin-returned
4215 hash of settings' secrets if it looks valid
4217 * system-settings/plugins/ifcfg-fedora/plugin.c
4218 - (get_secrets): add split secrets with correct format to reply hash
4220 * system-settings/plugins/ifcfg-fedora/parser.c
4221 system-settings/plugins/ifcfg-fedora/parser.h
4222 - (copy_one_cdata_secret, connection_data_copy_secrets,
4223 connection_data_free, connection_data_add): keep secrets for
4224 different settings in different hashes
4226 2008-03-17 Tambet Ingo <tambet@gmail.com>
4228 Clean up activating device deactivation.
4230 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4231 should be done whether the device activation gets cancelled or the device
4232 is just getting deactivated.
4233 (nm_device_activation_cancel): Remove.
4234 (nm_device_deactivate_quickly): Handle the case where device is activating.
4236 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4237 It does the exact same thing as real_deactivate_quickly().
4239 2008-03-17 Dan Williams <dcbw@redhat.com>
4241 Split the 802.1x bits out of the wireless-security setting so they are
4242 generalized enough for wired 802.1x to use too.
4244 * introspection/nm-exported-connection.xml
4245 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4246 of just a hash of the secrets for one setting
4248 * libnm-util/nm-setting-wireless-security.c
4249 libnm-util/nm-setting-wireless-security.h
4250 - Remove 802.1x-specific stuff
4251 - Added leap-username and leap-password properties for old-school LEAP
4255 - (connection_secrets_updated_cb): take a list of updated settings names,
4258 * src/supplicant-manager/nm-supplicant-config.c
4259 src/supplicant-manager/nm-supplicant-config.h
4260 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4261 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4262 to nm_supplicant_config_add_setting_8021x()
4263 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4264 the supplicant config
4266 * src/nm-device-802-11-wireless.c
4267 - (build_supplicant_config): pass in the 802.1x setting too, if any
4268 - (real_connection_secrets_updated): take a list of updated settings
4271 * src/nm-device-802-3-ethernet.c
4272 src/nm-cdma-device.c
4274 - (real_connection_secrets_updated_cb): take a list of updated settings
4277 * src/nm-activation-request.c
4278 src/nm-activation-request.h
4279 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4280 now passes a list of updated settings names, not just one
4281 - (update_one_setting): new function; handle one updated setting
4282 - (get_secrets_cb): handle multiple settings returned from the
4283 settings service; have to be careful of ordering here as there are
4284 some dependencies between settings (ex. wireless-security and 802.1x
4287 * src/marshallers/nm-marshal.list
4288 - new marshaller for connection-secrets-updated signal
4290 * libnm-util/nm-setting-8021x.c
4291 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4293 - (verify): a valid 'eap' property is now required
4295 * libnm-util/nm-connection.c
4296 - (register_default_settings): add priorities to settings; there are
4297 some dependencies between settings, and during the need_secrets
4298 calls this priority needs to be respected. For example, only the
4299 wireless-security setting knows whether or not the connection is
4300 going to use 802.1x or now, so it must be asked for secrets before
4301 any existing 802.1x setting is
4302 - (nm_connection_lookup_setting_type): expose
4304 * libnm-util/nm-setting-wireless.c
4305 - (verify): should verify even if all_settings is NULL; otherwise won't
4306 catch the case where there is missing security
4308 * libnm-util/nm-setting-wireless-security.c
4309 - Remove everything to do with 802.1x
4310 - Add old-school LEAP specific properties for username and password
4311 - (need_secrets): rework LEAP secrets checking
4312 - (verify): rework for LEAP and 802.1x verification
4314 2008-03-17 Dan Williams <dcbw@redhat.com>
4316 * src/NetworkManagerPolicy.c
4317 - (auto_activate_device): always remove the current activation check
4318 from the pending activation list, otherwise when the policy gets
4319 destroyed on NM exit it will attempt to free the already freed
4322 2008-03-14 Tambet Ingo <tambet@gmail.com>
4324 * src/backends/NetworkManagerSlackware.c
4325 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4327 * src/backends/NetworkManagerSuSE.c: Add missing includes.
4329 2008-03-14 Dan Williams <dcbw@redhat.com>
4332 - (nm_device_interface_get_iface): g_object_get() will return an
4333 allocated value, so this function must not return const
4334 - (nm_device_interface_activate): free returned iface
4336 2008-03-14 Tambet Ingo <tambet@gmail.com>
4338 * libnm-util/Makefile.am: Add new files to build.
4340 * libnm-util/nm-connection.c: Register NMSetting8021x.
4342 * libnm-util/nm-setting-8021x.c
4343 * libnm-util/nm-setting-8021x.h: Implement.
4345 2008-03-14 Tambet Ingo <tambet@gmail.com>
4347 * libnm-util/Makefile.am: Add new files to build.
4349 * libnm-util/nm-connection.c: Register NMSetting8021x.
4351 * libnm-util/nm-setting-8021x.c
4352 * libnm-util/nm-setting-8021x.h: Implement.
4354 2008-03-14 Tambet Ingo <tambet@gmail.com>
4356 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4359 2008-03-14 Dan Williams <dcbw@redhat.com>
4361 * include/wireless-helper.h
4363 - One place for all the junk needed for #including wireless.h
4366 src/NetworkManagerAP.c
4369 libnm-util/nm-utils.c
4370 libnm-util/nm-setting-wireless.c
4371 libnm-glib/nm-device-802-11-wireless.c
4372 libnm-glib/nm-access-point.c
4373 libnm-glib/libnm-glib-test.c
4374 - include wireless-helper.h, not iwlib.h
4377 - Don't need libiw really, just need to check for wireless.h
4379 * src/kernel-types.h
4380 - Remove; used types moved into wpa.c
4382 * src/nm-device-802-11-wireless.c
4383 - (nm_device_802_11_wireless_update_signal_strength,
4384 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4385 nm_device_802_11_wireless_set_mode,
4386 nm_device_802_11_wireless_get_frequency,
4387 nm_device_802_11_wireless_get_ssid,
4388 nm_device_802_11_wireless_set_ssid,
4389 nm_device_802_11_wireless_get_bitrate,
4390 nm_device_802_11_wireless_get_bssid,
4391 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4392 instead of iwlib functions
4394 2008-03-14 Dan Williams <dcbw@redhat.com>
4396 * src/ppp-manager/nm-ppp-manager.c
4397 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4398 should only take the DBusGMethodInvocation argument, not user/pass
4399 too. With dbus-glib, async functions only take 2 C arguments since
4400 the real dbus method arguments get passed back with
4401 dbus_g_method_return()
4403 2008-03-13 Tambet Ingo <tambet@gmail.com>
4405 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
4406 Adapt the changes of NMSettingIP4Config.
4408 2008-03-13 Dan Williams <dcbw@redhat.com>
4410 * src/NetworkManagerUtils.c
4411 src/NetworkManagerUtils.h
4412 - (nm_ether_ntop): replacement for iw_ether_ntop()
4414 * src/NetworkManagerAP.c
4415 src/nm-device-802-11-wireless.c
4416 src/nm-device-802-3-ethernet.c
4417 - s/iw_ether_ntop/nm_ether_ntop/g
4419 2008-03-13 Dan Williams <dcbw@redhat.com>
4421 * src/NetworkManagerPolicy.c
4422 - (update_routing_and_dns): never set the default route through an
4423 IPv4LL addressed device
4425 2008-03-13 Dan Williams <dcbw@redhat.com>
4427 * NetworkManagerUtils.c
4428 NetworkManagerUtils.h
4429 - Remove NMSock stuff
4430 - Remove the completion stuff
4435 NetworkManagerSystem.c
4437 nm-device-802-11-wireless.c
4438 nm-device-802-3-ethernet.c
4439 - Remove NMSock and completion stuff
4440 - Remove nm_ioctl_info()
4442 2008-03-12 Dan Williams <dcbw@redhat.com>
4445 - (merge_ip4_config): avoid duplicates
4447 2008-03-12 Dan Williams <dcbw@redhat.com>
4449 * libnm-util/nm-setting-ip4-config.c
4450 libnm-util/nm-setting-ip4-config.h
4451 - Remove 'manual' and 'autoip' properties
4452 - Add 'method' property
4453 - (verify): fix verification with 'method'
4454 - (finalize): free 'method'
4455 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4459 - (real_act_stage3_ip_config_start): check IP4Config method
4460 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4462 - (merge_ip4_config): IP settings are valid with DHCP too
4463 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4464 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4466 * src/nm-device-802-11-wireless.c
4467 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4468 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4471 * system-settings/plugins/ifcfg-fedora/parser.c
4472 system-settings/plugins/ifcfg-suse/parser.c
4473 - (make_ip4_setting): fix up for 'method'
4475 2008-03-12 Dan Williams <dcbw@redhat.com>
4477 * system-settings/plugins/ifcfg-fedora/parser.c
4478 system-settings/plugins/ifcfg-fedora/parser.h
4479 - (get_ifcfg_name): ignore more file suffixes
4480 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4482 2008-03-12 Dan Williams <dcbw@redhat.com>
4485 - Bring in the bits of gnome-common we actually use (all 15 lines)
4487 2008-03-12 Dan Williams <dcbw@redhat.com>
4489 * system-settings/plugins/ifcfg-fedora/plugin.c
4490 - (write_auto_wired_connection): new function; write out an auto
4491 wired connection file since the applet isn't doing it any more
4492 - (reload_all_connections): write out the auto wired connection file
4493 if there aren't any wired connections already
4494 - (init): don't leak a GError
4496 2008-03-12 Dan Williams <dcbw@redhat.com>
4498 * src/nm-device-interface.c
4499 - (nm_device_interface_activate): print the ID of the connection
4500 that's about to be activated
4502 2008-03-12 Dan Williams <dcbw@redhat.com>
4504 Harmonize the 802.11 bitrate API
4506 * introspection/nm-access-point.xml
4507 - 'Rate' -> 'MaxBitrate'; clarify units
4509 * introspection/nm-device-802-11-wireless.xml
4510 - Clarify units of 'Bitrate'
4512 * src/NetworkManagerAP.c
4513 src/NetworkManagerAP.h
4514 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4515 property to 'max-bitrate'
4516 - (foreach_property_cb): convert rate to Kb/s
4518 * src/nm-device-802-11-wireless.c
4519 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4521 * libnm-glib/nm-access-point.c
4522 libnm-glib/nm-access-point.h
4523 - 'rate' -> 'max-bitrate'
4526 libnm-glib/libnm-glib-test.c
4527 - Fix up for these changes
4529 2008-03-12 Dan Williams <dcbw@redhat.com>
4532 - (nm_device_set_ip4_config): don't send property notifications when
4533 the ip4 config is set to NULL; it causes a PropertyChanged signal
4534 which dbus-glib can't parse because the value is NULL, which isn't
4535 a legal object path. Setting the IP4 config to NULL is only
4536 valid when deactivating a device anyway, so the device state change
4537 will alert listeners that the ip4 config is invalid.
4539 2008-03-12 Dan Williams <dcbw@redhat.com>
4541 * src/nm-properties-changed-signal.c
4542 - (add_to_string): better handling of NULL objects
4544 2008-03-12 Dan Williams <dcbw@redhat.com>
4546 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4547 convert the libnm-glib NMDevice8023Ethernet to cached properties
4549 * introspection/nm-device-802-3-ethernet.xml
4550 - New 'Carrier' property
4551 - New 'PropertiesChanged' signal
4553 * introspection/nm-device.xml
4554 - Remove 'Carrier' property
4555 - Remove 'CarrierChanged' signal
4557 * src/nm-device-interface.c
4558 src/nm-device-interface.h
4559 - (nm_device_interface_init): remove 'carrier' property and
4560 'carrier-changed' signal
4564 - (nm_device_get_carrier, nm_device_set_carrier): remove
4565 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
4566 the link here; wired device will handle that
4567 - (handle_dhcp_lease_change): don't bother updating link here
4568 - (get_property, nm_device_class_init): remove carrier property
4570 * src/nm-device-802-11-wireless.c
4571 - (real_update_link, nm_device_802_11_wireless_class_init): remove
4572 real_update_link(); wireless devices don't use carrier at all
4573 - (link_timeout_cb, supplicant_iface_state_cb_handler,
4574 supplicant_iface_connection_state_cb_handler,
4575 supplicant_mgr_state_cb_handler): remove anything to do with carrier
4577 * src/nm-device-802-3-ethernet.c
4578 src/nm-device-802-3-ethernet.h
4579 - (nm_device_802_3_ethernet_carrier_on,
4580 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
4581 instead of nm_device_set_carrier()
4582 - (device_state_changed): update link from sysfs on activation;
4583 replaces real_update_link()
4584 - (real_update_link): remove, replaced by device_state_changed()
4585 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
4586 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
4587 - (real_get_generic_capabilities, real_can_interrupt_activation): use
4588 new get_carrier function
4589 - (get_property): add 'carrier' property
4590 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
4591 hook into property-changed signal helper
4593 * src/NetworkManagerPolicy.c
4594 - (device_carrier_changed): will only ever be called with a wired device
4595 - (device_added): only hook up to carrier-changed for wired devices
4597 * libnm-glib/nm-device.c
4598 libnm-glib/nm-device.h
4599 - (constructor, nm_device_class_init): remove carrier-changed signal
4600 - (device_carrier_changed_proxy): remove; unused
4601 - (nm_device_get_carrier): remove; carrier a property of wired devices
4603 * libnm-glib/nm-device-802-3-ethernet.c
4604 libnm-glib/nm-device-802-3-ethernet.h
4605 - Convert to cached properties like AP and Wireless objects
4606 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
4607 instead of a 'char *', return value should not be freed
4608 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
4609 - (constructor): hook into properties-changed helper
4610 - (set_property, get_property): new functions
4611 - (nm_device_802_3_ethernet_class_init): export GObject properties
4614 - (detail_device): strdup the wired hardware address too since it's
4617 * libnm-glib/libnm-glib-test.c
4618 - (dump_wired): strdup the wired hardware address too since it's
4621 2008-03-12 Dan Williams <dcbw@redhat.com>
4623 * libnm-util/nm-setting-ip4-config.c
4624 libnm-util/nm-setting-ip4-config.h
4625 - (set_property, get_property, nm_setting_ip4_config_class_init): add
4626 the 'autoip' property from the spec
4628 2008-03-11 Dan Williams <dcbw@redhat.com>
4630 * src/backends/NetworkManagerGeneric.c
4631 src/backends/NetworkManagerGeneric.h
4632 - (nm_generic_device_get_use_dhcp): remove
4634 2008-03-11 Dan Williams <dcbw@redhat.com>
4637 - (nm_device_deactivate): don't need to munge DNS here; that gets done
4638 already in nm_device_set_ip4_config()
4639 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
4640 due to a DHCP rebind fails
4641 - (nm_device_set_ip4_config): send property notifications when the
4643 - (get_property): only report IP4Config property during valid states
4645 * src/NetworkManagerPolicy.c
4646 - (update_routing_and_dns): ignore devices that don't have an ip4
4647 config; add parameter 'force_update' to allow callers to specify
4648 that changes should be made even if the default device doesn't change
4649 - (device_ip4_config_changed): update DNS and routing when the device's
4650 IP4Config changes, like for DHCP updates
4651 - (device_added): listen for ip4-config property changes
4653 2008-03-11 Dan Williams <dcbw@redhat.com>
4655 Fix address handling as a result of DHCP rebind/renew/reboot.
4657 * src/NetworkManagerSystem.c
4658 - (check_one_address): delete an address if it doesn't match a given
4659 one for the same interface
4660 - (nm_system_device_set_from_ip4_config): don't flush the default route,
4661 be smarter about flushing addresses (only flush ones that don't
4662 match the one we're about to apply)
4664 * src/backends/NetworkManagerDebian.c
4665 src/backends/NetworkManagerSuSE.c
4666 src/backends/NetworkManagerArch.c
4667 src/backends/NetworkManagerSlackware.c
4668 src/backends/NetworkManagerRedHat.c
4669 src/backends/NetworkManagerPaldo.c
4670 src/backends/NetworkManagerFrugalware.c
4671 src/backends/NetworkManagerGentoo.c
4672 - (nm_system_delete_default_route): remove
4674 * src/backends/NetworkManagerGeneric.c
4675 src/backends/NetworkManagerGeneric.h
4676 - (nm_generic_enable_loopback): fix the loopback device label
4677 - (nm_generic_delete_default_route): remove; no longer used
4679 2008-03-11 Dan Williams <dcbw@redhat.com>
4681 * src/nm-device-interface.h
4682 - Delimit property name words with '-', otherwise g_object_notify()
4683 doesn't work the way we expect
4685 2008-03-11 Tambet Ingo <tambet@gmail.com>
4687 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
4689 2008-03-11 Dan Williams <dcbw@redhat.com>
4691 * src/NetworkManagerPolicy.c
4692 - (update_routing_and_dns): don't change anything if the default device
4693 hasn't changed; print something out when switching the default route
4696 2008-03-10 Tambet Ingo <tambet@gmail.com>
4700 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
4701 setting. Use "nic-$eth".
4703 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
4704 the device is activating here to fix a race condition.
4706 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
4708 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
4709 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
4710 (nm_ppp_manager_start): Take activation request instead of connection, we might
4711 need it for asking secrets.
4712 (nm_ppp_manager_update_secrets): Implement.
4714 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
4715 ppp manager start. It might be needed for asking secrets.
4717 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
4718 (ppp_state_changed): Handle pppd daemon disappearing.
4719 (pppoe_stage2_config): Send activation request to ppp manager start.
4721 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
4723 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
4724 username and password.
4726 2008-03-10 Dan Williams <dcbw@redhat.com>
4729 - (handle_dhcp_lease_change): apply an IP4 config to a device in
4730 response to a DHCP lease change
4731 - (dhcp_state_changed): handle DHCP lease changes while activated
4732 - (nm_device_set_ip4_config): remove a previously set named config
4733 when setting an ip4 config
4735 2008-03-10 Dan Williams <dcbw@redhat.com>
4737 * src/nm-serial-device.c
4738 - (nm_serial_device_send_command): report errno on error
4739 - (get_reply_got_data): limit the size of the overall buffer
4740 - (wait_for_reply_info_destroy): destroy result string
4741 - (wait_for_reply_got_data): append received data to an overall buffer
4742 until timeout, filled buffer, or error instead of keeping a per-call
4743 buffer. Some devices send data slowly enough that this function
4744 gets called multiple times for the same command stream.
4745 - (nm_serial_device_wait_for_reply): initialize overall buffer for
4746 wait_for_reply_got_data() here
4748 2008-03-10 Dan Williams <dcbw@redhat.com>
4750 * src/nm-cdma-device.c
4751 - (do_dial, init_modem): handle errors from
4752 nm_serial_device_send_command_string()
4754 * src/nm-gsm-device.c
4755 - (do_dial, manual_registration, automatic_registration_get_network,
4756 automatic_registration, enter_pin, check_pin, init_modem): handle
4757 errors from nm_serial_device_send_command_string()
4759 2008-03-10 Dan Williams <dcbw@redhat.com>
4761 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
4763 * src/named-manager/nm-named-manager.c
4764 - (compute_searches): prefer searches before domains
4765 - (compute_domain): new function
4766 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
4767 - (merge_one_ip4_config): if there are no searches in the source config,
4768 merge domains of the source config into the target config
4769 - (compute_nameservers): make formatting of resolv.conf a bit nicer
4771 2008-03-10 Dan Williams <dcbw@redhat.com>
4773 * src/nm-serial-device.c
4774 - (get_reply_got_data): clean up indentation, shrink serial buffer
4775 - (wait_for_reply_got_data): try to handle slower serial devices where
4776 the reply is broken up into multiple reads by concatenating replies
4777 together until either an error is received or the search string is
4780 2008-03-10 Dan Williams <dcbw@redhat.com>
4783 - (nm_device_bring_down): deactivate the device if it's activating too,
4784 not just if it's already activated. This makes sure that everything
4785 from an association attempt is cleaned up (like DHCP for example)
4787 2008-03-10 Dan Williams <dcbw@redhat.com>
4789 * src/nm-serial-device.c
4790 - (config_fd): report error from TCSETA
4791 - (nm_serial_device_open): fail when config_fd() fails
4793 2008-03-10 Dan Williams <dcbw@redhat.com>
4795 * src/nm-ip4-config.c
4796 - (nm_ip4_config_init): allocate searches list
4797 - (finalize): free searches list
4799 2008-03-09 Dan Williams <dcbw@redhat.com>
4801 Patch from Bas Zoetekouw <bas@debian.org>
4803 * src/dhcp-manager/nm-dhcp-manager.c
4804 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
4806 2008-03-09 Dan Williams <dcbw@redhat.com>
4808 Patch from Bas Zoetekouw <bas@debian.org>
4810 * src/nm-ip4-config.c
4812 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
4813 nm_ip4_config_get_num_searches): add 'searches' as distinct from
4814 domains. 'searches' is the correct way to store multiple search
4815 domains, whereas 'domains' is really just supposed to store one
4816 domain. Some sites abuse the DHCP 'domain-name' option to push
4817 search domains to the client.
4818 - (nm_ip4_config_add_domain): group with related functions (my patch)
4820 2008-03-09 Dan Williams <dcbw@redhat.com>
4822 * src/dhcp-manager/nm-dhcp-manager.c
4823 - (dhclient_run): send interface-specific config files to dhclient
4825 2008-03-07 Dan Williams <dcbw@redhat.com>
4827 * system-settings/plugins/ifcfg-fedora/parser.c
4828 - (is_wireless_device): new function; test a device for wireless
4830 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
4831 test the device for wireless extensions to determine the type
4833 2008-03-07 Dan Williams <dcbw@redhat.com>
4835 Change manager's StateChange signal to StateChanged for consistency.
4837 * introspection/nm-manager.xml
4838 - Add 'StateChanged' signal
4839 - Move 'StateChange' down to the deprecated section
4841 * src/nm-hal-manager.c
4842 - (nm_hal_manager_new): connect to 'state-changed' instead
4844 * src/NetworkManagerPolicy.c
4845 - (nm_policy_new): connect to 'state-changed' instead
4849 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
4850 - (nm_manager_class_init): add 'state-changed' and not the deprecation
4853 * libnm-glib/nm-client.c
4854 libnm-glib/nm-client.h
4855 - (constructor, nm_client_class_init, client_state_changed_proxy):
4856 track and proxy 'state-changed' instead of 'state-change'
4858 2008-03-07 Dan Williams <dcbw@redhat.com>
4860 First pass of multiple active device support. Expect bugs.
4862 * src/nm-ip4-config.c
4864 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
4865 there are better ways to do this in the named manager
4869 - (nm_device_can_activate): return whether the device can activate a
4870 connection right now; taking into account things like carrier state
4872 - (nm_device_get_best_auto_connection): renamed from
4873 nm_device_get_best_connection
4874 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
4875 device subclasses themselves, so that each device can override the
4876 MTU from it's NMSetting subclass if needed
4877 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
4878 in NetworkManagerSystem.c, not here
4880 * src/named-manager/nm-named-manager.c
4881 src/named-manager/nm-named-manager.h
4882 - (nm_named_manager_name_owner_changed,
4883 nm_named_manager_dbus_connection_changed): fix for changes to
4884 rewrite_resolv_conf()
4885 - (compute_nameservers): don't need the NMNamedManager at all, remove
4887 - (merge_one_ip4_config): new function; merge ip4 configs together
4888 - (rewrite_resolv_conf): write out resolv.conf from all the stored
4889 ip4 configs; the VPN config takes precedence, then the best
4890 device config, then the rest of the configs
4891 - (get_domain_for_config): take the NMNamedManager as an argument
4892 to check whether the config is the VPN config
4893 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
4894 attribute from ip4 configs
4895 - (add_all_ip4_configs_to_named): add all the configs in priority order
4896 - (remove_ip4_config_from_named): fix for changes to
4897 get_domain_for_config()
4898 - (nm_named_manager_add_ip4_config): assign the config to the right slot
4899 based on its type; callers must pass in the type now
4900 - (get_last_default_domain): remove, unused
4901 - (nm_named_manager_remove_ip4_config): handle config slots correctly
4903 * src/nm-device-802-11-wireless.c
4904 - (real_can_activate): new function
4905 - (real_get_best_auto_connection): renamed from real_get_best_connection
4906 - (real_act_stage4_get_ip4_config): handle MTU override
4908 * src/nm-device-802-3-ethernet.c
4909 - (real_can_activate): new function
4910 - (real_get_best_auto_connection): renamed from real_get_best_connection
4911 - (real_act_stage4_get_ip4_config): new function; handle MTU override
4913 * src/vpn-manager/nm-vpn-connection.c
4914 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
4915 attribute on the ip4 config
4917 * src/NetworkManagerPolicy.c
4918 - (nm_policy_auto_get_best_device): remove
4919 - (nm_policy_device_change_check): remove
4920 - (update_default_route): new function; set the default route via
4921 the specified device
4922 - (get_device_priority): new function; return the priority number of
4923 a device type WRT which one should have the default route. Order is
4924 (highest to lowest) wired, wireless, GSM, CDMA.
4925 - (update_routing_and_dns): new function; determine which device should
4926 have the default route, then update the routing table and DNS
4927 - (maybe_auto_activate_device): new function; if a device is now
4928 available for activation, find out what connection it would like to
4930 - (schedule_activate_check): new function; if a device can be activated
4931 now, schedule the activation. Each device may have only one
4932 pending activation at a given time.
4933 - (device_state_changed): if activation was canceled, try again,
4934 possibly with another connection; if the device was activated,
4935 update routing and DNS; if the device was deactivated, try again
4936 with another connection
4937 - (device_carrier_changed): if there is no carrier, deactivate the
4938 device; otherwise schedule an activation check for the device
4939 - (wireless_networks_changed): schedule an activation check for the
4941 - (device_added): keep track of the signal handler IDs so they can
4942 be removed when the device goes away
4943 - (device_removed): remove any signal handlers that might be attached
4944 to the device; update routing and DNS
4945 - (schedule_activate_all): new function
4946 - (connections_added, connection_added, connection_updated): when
4947 connections change, schedule all devices for an activation check
4948 - (connection_removed): when a device is deactivated because its
4949 connection was removed, schedule another activation check for it
4950 - (nm_policy_destroy): destroy pending activations and disconnect
4951 all device signal handlers
4954 - (nm_manager_activate_device): if the device was already actived,
4956 - (deactivate_old_device): remove
4957 - (connection_added_default_handler, impl_manager_activate_device):
4958 don't deactivate other devices when activating this one
4960 * src/backends/NetworkManagerGentoo.c
4961 src/backends/NetworkManagerFrugalware.c
4962 src/backends/NetworkManagerPaldo.c
4963 src/backends/NetworkManagerRedHat.c
4964 src/backends/NetworkManagerSlackware.c
4965 src/backends/NetworkManagerArch.c
4966 src/backends/NetworkManagerSuSE.c
4967 src/backends/NetworkManagerDebian.c
4968 - (nm_system_get_mtu): remove; MTU should be provided through the
4969 distro's system settings service plugin instead
4970 - (nm_system_device_add_default_route_via_device): remove
4971 - (nm_system_device_add_default_route_via_device_with_iface): remove
4972 - (nm_system_device_replace_default_route): new function; call
4973 generic implementation
4975 * src/backends/NetworkManagerGeneric.c
4976 src/backends/NetworkManagerGeneric.h
4977 - (nm_generic_device_add_default_route_via_device,
4978 nm_generic_device_add_default_route_via_device_with_iface): remove
4979 - (nm_generic_device_replace_default_route): replace the default route
4980 with the given route via some gateway
4982 * src/NetworkManagerSystem.c
4983 src/NetworkManagerSystem.h
4984 - (nm_system_device_set_from_ip4_config): let the policy handle updates
4985 to routing and DNS; but set the MTU here
4986 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
4987 ip_iface of the active device; use the standard MTU setting function
4988 - (nm_system_set_mtu): remove
4989 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
4991 2008-03-07 Tambet Ingo <tambet@gmail.com>
4993 Rework the interaction between ppp manager and pppd plugin. Register a well
4994 known DBUS service in manager and let the plugin call it's methods instead
4995 of listening plugin's signals.
4997 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
4998 of emitting signals.
5000 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5002 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5004 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5005 nm_ppp_manager_start().
5007 * introspection/nm-ppp-manager.xml: New file.
5009 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5010 the case correctly where driver is trying to send -1 for the speed, which gets
5011 casted to u16 and thus is always > 0.
5013 2008-03-07 Dan Williams <dcbw@redhat.com>
5015 * src/nm-hal-manager.c
5016 - (nm_get_device_driver_name): use net.originating_device first, fall
5017 back to physical device. HAL has deprecated physical_device.
5019 * libnm-glib/nm-device.c
5020 - (get_product_and_vendor): use net.originating_device first, fall
5021 back to physical device. HAL has deprecated physical_device.
5022 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5024 2008-03-07 Dan Williams <dcbw@redhat.com>
5027 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5028 last commit; fix that
5029 - (get_link_cache): print error string
5031 2008-03-07 Dan Williams <dcbw@redhat.com>
5034 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5035 don't need this hack any more (Benoit Boissinot)
5037 2008-03-06 Dan Williams <dcbw@redhat.com>
5040 - Die gnome-common, die
5042 2008-03-04 Dan Williams <dcbw@redhat.com>
5044 Patch from Michael Biebl <biebl@debian.org>
5046 * NetworkManager.pc.in
5047 - doesn't actually depend on dbus-1
5049 * libnm-util/nm-utils.h
5050 - remove unused #include <dbus/dbus.h>
5052 * libnm-glib/libnm_glib.pc.in
5053 - depends on glib and dbus-glib
5055 2008-03-02 Dan Williams <dcbw@redhat.com>
5057 * src/NetworkManagerPolicy.c
5058 - s/device_state_changed_idle_id/update_state_id/
5060 2008-03-02 Dan Williams <dcbw@redhat.com>
5064 src/nm-device-802-11-wireless.c
5065 src/nm-device-802-3-ethernet.c
5066 src/NetworkManagerPolicy.c
5067 - s/link_active/carrier
5068 - nm_device_set_active_link() -> nm_device_set_carrier()
5069 - nm_device_has_active_link() -> nm_device_get_carrier()
5071 2008-03-02 Dan Williams <dcbw@redhat.com>
5073 * system-settings/plugins/ifcfg-fedora/parser.c
5074 - (make_wireless_setting): fail connection creation on missing SSID
5076 2008-02-29 Dan Williams <dcbw@redhat.com>
5078 * src/NetworkManagerPolicy.c
5079 - (nm_policy_device_change_check): ensure that a previously active
5080 device with a system connection has a link before denying a switch
5081 to a user connection
5083 2008-02-29 Dan Williams <dcbw@redhat.com>
5085 * src/nm-device-802-11-wireless.c
5086 - (link_timeout_cb): try again if scanning; deactivate the device when
5087 activated if the link dies
5088 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5091 2008-02-29 Dan Williams <dcbw@redhat.com>
5093 * src/nm-device-802-11-wireless.c
5094 src/nm-device-802-11-wireless.h
5095 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5096 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5097 - (device_cleanup): reset the scan interval lower when the device
5099 - (can_scan): base decision mostly off device state, not supplicant
5100 interface state since the supplicant interface state isn't a
5101 great indicator of whether the device is active or not
5102 - (request_wireless_scan): clean up; schedule the next scan here
5103 - (schedule_scan): only back the scan interval off if a new scan
5104 actually gets scheduled; and make scan intervals tighter when the
5105 device is disconnected
5106 - (supplicant_iface_state_cb_handler): fold in the bits of
5107 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5109 - (activation_success_handler): reset scan interval to something
5112 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
5114 reviewed by: Steev <steev@steev.net>
5117 * src/backends/NetworkManagerGentoo.c:
5118 (nm_system_restart_mdns_responder):
5119 Howl is no longer a supported mDNS provider
5121 2008-02-28 Tambet Ingo <tambet@gmail.com>
5123 Get rid of a bunch of unused distro specific functions.
5125 2008-02-28 Tambet Ingo <tambet@gmail.com>
5127 Implement suse plugin for system settings daemon.
5129 * system-settings/plugins/ifcfg-suse/*: Implement.
5131 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5134 * configure.in: Check (without failing) for gio.
5135 Create ifcfg-suse plugin's Makefile.
5137 2008-02-20 Dan Williams <dcbw@redhat.com>
5139 * libnm-util/nm-connection.c
5140 libnm-util/nm-connection.h
5141 - (nm_connection_compare): accept compare flags and pass them to the
5142 setting compare function
5144 * libnm-util/nm-setting.c
5145 libnm-util/nm-setting.h
5146 - (nm_setting_compare): accept compare flags; ignore properties that are
5149 * libnm-util/nm-setting-connection.c
5150 libnm-util/nm-setting-wireless.c
5151 libnm-util/nm-setting-ppp.c
5152 libnm-util/nm-setting-wired.c
5153 - Mark some setting properties as ignorable when doing a fuzzy compare
5156 - (device_activation_precheck): use exact compare
5158 2008-02-20 Dan Williams <dcbw@redhat.com>
5160 * src/NetworkManagerPolicy.c
5161 - (nm_policy_device_change_check): get scope off the connection, not
5162 using the manager helper
5166 - (get_scope_for_proxy): rename from get_type_for_proxy()
5167 - (connection_get_settings_cb): set scope and path on connection, not
5168 using GObject data items
5169 - (get_connection_for_proxy): don't need to return path, since that
5170 can be gotten from the connection
5171 - (get_connection_for_proxy): get path off the connection, not from
5173 - (connection_removed_cb, connection_updated_cb): don't need to get
5174 path from get_connection_for_proxy(); get scope off the connection
5175 instead of using GObject data items
5176 - (connection_added_default_handler, add_one_connection_element): use
5177 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5178 - (nm_manager_get_connection_dbus_path): remove
5179 - (nm_manager_get_connection_scope): remove
5181 2008-02-20 Dan Williams <dcbw@redhat.com>
5183 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5186 * Add 'path' and 'scope' properties to NMConnection since both NM and the
5187 applet were having to hack this in anyway. Remove the 'path' stuff from
5188 NMExportedConnection
5190 * Internally rename NMConnectionType -> NMConnectionScope
5192 * Provide default implementations of the 'get_id' and 'get_settings' methods
5193 of NMExportedConnection
5195 2008-02-15 Dan Williams <dcbw@redhat.com>
5197 * src/nm-device-802-11-wireless.c
5198 - (device_cleanup): release the AP list here too so that the AP list
5199 doesn't survive across suspend/resume and up/down. There is some
5200 room for optimization, for example blow the list away when the card
5201 brought back up, but only if the device has only been down for a
5204 2008-02-15 Dan Williams <dcbw@redhat.com>
5206 * src/nm-hal-manager.c
5207 - (modem_device_creator): recognize new HAL modem capabilities
5209 2008-02-12 Dan Williams <dcbw@redhat.com>
5211 * system-settings/plugins/ifcfg-fedora/plugin.c
5212 - (watch_path): handle IN_DELETE_SELF too
5213 - (handle_connection_changed): notify when removing a connection
5214 - (stuff_changed): don't warn on unknown inotify watches; handle the
5215 case of a file moving out of the profile directory
5217 2008-02-12 Dan Williams <dcbw@redhat.com>
5219 * system-settings/plugins/ifcfg-fedora/parser.c
5220 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5222 2008-02-12 Dan Williams <dcbw@redhat.com>
5224 * libnm-util/nm-utils.c
5225 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5226 just any empty array
5228 2008-02-12 Dan Williams <dcbw@redhat.com>
5230 * system-settings/src/nm-system-config-interface.c
5231 system-settings/src/nm-system-config-interface.h
5232 - (load_connections): get_connections() should now return an allocated
5233 GSList that the system settings service will free
5235 * system-settings/plugins/ifcfg-fedora/plugin.c
5236 system-settings/plugins/ifcfg-fedora/parser.h
5237 system-settings/plugins/ifcfg-fedora/parser.c
5238 - Fix up inotify issues; handle keys-* files, handle new files appearing
5239 in the profile directory, handle resolv.conf file changes
5241 2008-02-10 Dan Williams <dcbw@redhat.com>
5243 * src/nm-device-802-3-ethernet.c
5244 - (real_bring_up): save the supplicant interface state signal id
5245 - (real_bring_down): disconnect from the supplicant interface state
5248 2008-02-07 Dan Williams <dcbw@redhat.com>
5250 * initscript/RedHat/NetworkManager.in
5251 initscript/RedHat/NetworkManagerDispatcher.in
5252 - Add new-style LSB init headers
5254 2008-02-07 Dan Williams <dcbw@redhat.com>
5256 * system-settings/src/dbus-settings.c
5257 system-settings/src/dbus-settings.h
5258 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5260 - (connection_settings_get_secrets): consolidate error returns into
5261 one place; use the new get_secrets() plugin interface function to
5262 get secrets from the plugin itself rather than using GObject data
5265 * system-settings/src/main.c
5266 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5267 load_connections): keep a private list of the plugin-returned
5268 connections, don't use the plugin's GSList
5270 * system-settings/plugins/ifcfg-fedora/plugin.c
5271 - (watch_path): watch the path, not the filename (duh)
5272 - (reload_all_connections): use the direct hash/equal functions; the
5273 ones for int aren't appropriate here
5274 - (get_secrets, system_config_interface_init): implement the
5275 get_secrets() function
5276 - (build_one_connection, find_connection_by_path): ifcfg file path is
5277 now in the connection's ConnectionData instead of being a GObject
5279 - (handle_profile_item_changed): ifcfg file path is now in the
5280 connection's ConnectionData instead of being a GObject data property;
5281 be sure to copy secrets over from the new connection to the existing
5282 connection when updating the connection's settings
5283 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5286 * system-settings/plugins/ifcfg-fedora/parser.c
5287 system-settings/plugins/ifcfg-fedora/parser.h
5288 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5289 connection_data_copy_secrets, connection_data_free,
5290 connection_data_add): new functions; connection data manipulation
5291 - (make_wireless_security_setting): stuff secrets into the
5292 connection data, not as GObject data items; make sure to close
5294 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5295 connection data to the connection
5297 2008-02-07 Dan Williams <dcbw@redhat.com>
5299 * system-settings/src/nm-system-config-interface.c
5300 system-settings/src/nm-system-config-interface.h
5301 - Add a get_secrets() interface function to retrieve secrets for a
5302 specific setting of a specific connection. Document the interface
5305 2008-02-07 Dan Williams <dcbw@redhat.com>
5307 * src/nm-device-802-11-wireless.c
5308 - (handle_auth_or_fail): new function; consolidate device activation
5309 failure check after a certain number of failures getting secrets
5310 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5311 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5312 the connection if secrets were requested more than a few times
5313 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5314 tries here; otherwise they are cleared before the IP configure
5315 timeout, which happens with open system WEP when key is wrong
5316 - (activation_success_handler): clear wireless secrets tries here too
5318 2008-02-07 Dan Williams <dcbw@redhat.com>
5320 * src/NetworkManagerPolicy.c
5321 - (connection_updated): clear invalid tag when connection gets updated
5322 to allow that connection to be tried again
5323 - (nm_policy_new): save signal ids so they can be disconnected when
5324 the policy is destroyed
5325 - (nm_policy_destroy): stop any in-progress state change idle handler,
5326 and disconnect all signals from the manager object so that none
5327 of the policy functions gets called after the policy is destroyed
5329 2008-02-06 Dan Williams <dcbw@redhat.com>
5332 - (finalize): remove devices a bit earlier; clean up system settings
5334 - (nm_manager_name_owner_changed): clean up system settings poke when
5335 the service appears, and try to restart it if it fails
5336 - (poke_system_settings_daemon_cb): try to get the system settings
5337 service started through D-Bus service activation
5338 - (initial_get_connections): start the system settings daemon if it's
5341 2008-02-05 Dan Williams <dcbw@redhat.com>
5343 * src/supplicant-manager/nm-supplicant-config.c
5344 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5345 broadcast networks too
5347 2008-02-04 Dan Williams <dcbw@redhat.com>
5349 * system-settings/plugins/ifcfg-fedora/parser.c
5350 - (make_wireless_security_setting): fix spelling; unencrypted networks
5351 need key_mgmt set too
5352 - (parser_parse_file): validate ifcfg file name and don't try to parse
5353 .bak files; ensure that an error is set whenever NULL gets returned
5355 2008-02-04 Dan Williams <dcbw@redhat.com>
5357 * system-settings/src/Makefile.am
5358 - Install D-Bus service activation file for the system settings
5361 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5362 - D-Bus service activation file for system settings service
5364 2008-02-04 Dan Williams <dcbw@redhat.com>
5366 * system-settings/src/main.c
5367 - (parse_config_file): parse a config file
5368 - (main): accept --config option and read plugins from config file
5370 2008-02-04 Dan Williams <dcbw@redhat.com>
5372 * system-settings/plugins/ifcfg-fedora/plugin.c
5373 - Change reported name to 'ifcfg-fedora'
5374 - Use IFCFG_PLUGIN_NAME
5376 * system-settings/plugins/ifcfg-fedora/plugin.c
5377 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5379 2008-02-04 Dan Williams <dcbw@redhat.com>
5381 * system-settings/plugins/ifcfg-fedora/parser.c
5382 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5383 - (make_connection_setting): use get_ifcfg_name()
5384 - (make_wireless_security_setting): handle shadow key files
5385 - (get_one_wep_key): treat empty string as NULL
5387 2008-02-04 Dan Williams <dcbw@redhat.com>
5389 * src/supplicant-manager/nm-supplicant-manager.c
5390 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5391 glib automatically reschedule
5392 - (nm_supplicant_manager_init): immediately try to start the supplicant
5393 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5396 2008-02-01 Dan Williams <dcbw@redhat.com>
5398 * src/NetworkManagerPolicy.c
5399 - (device_state_changed): schedule a change check when a device gets
5400 deactivated so something happens if you disconnect GSM/CDMA
5402 2008-01-31 Dan Williams <dcbw@redhat.com>
5404 * src/nm-device-802-11-wireless.h
5405 src/nm-device-802-11-wireless.c
5406 - (ap_list_get_ap_by_ssid, is_associated,
5407 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5408 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5409 - (nm_device_802_11_wireless_get_activation_ap): collapse
5410 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5413 2008-01-30 Dan Williams <dcbw@redhat.com>
5415 * system-settings/plugins/ifcfg
5416 * system-settings/plugins/ifcfg-fedora
5417 - Move the ifcfg plugin to ifcfg-fedora
5419 2008-01-24 Dan Williams <dcbw@redhat.com>
5421 * libnm-glib/nm-device-802-11-wireless.c
5422 - (get_access_point): move the "/" check here; check for invalid path
5424 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5425 to get_access_point()
5426 - (access_point_added_proxy, access_point_removed_proxy): don't try
5427 to send signals for non-existent access points
5429 2008-01-24 Dan Williams <dcbw@redhat.com>
5431 * libnm-glib/nm-device-802-11-wireless.c
5432 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5434 2008-01-23 Dan Williams <dcbw@redhat.com>
5436 * libnm-glib/libnm_glib.c
5437 - (libnm_glib_init): make thread joinable
5438 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5440 2008-01-23 Dan Williams <dcbw@redhat.com>
5442 * test/libnm_glib_test.c
5443 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5444 - (main): set up signal handlers; call libnm_glib_shutdown
5446 2008-01-21 Dan Williams <dcbw@redhat.com>
5448 * include/NetworkManager.h
5449 - Add CDMA mobile broadband card device type
5451 * src/nm-hal-manager.c
5452 - (modem_device_creator): handle both CDMA and GSM modems; the device
5453 must now be tagged with 'cdma' or 'gsm' capability
5455 * src/nm-cdma-device.c
5456 src/nm-cdma-device.h
5458 - Add the CDMA mobile broadband card device class
5460 * libnm-util/nm-connection.c
5461 - (register_default_settings): add NMSettingCdma
5463 * libnm-util/nm-setting-cdma.c
5464 libnm-util/nm-setting-cdma.h
5465 libnm-util/Makefile.am
5466 - Add the CDMA mobile broadband card setting class
5468 * libnm-glib/nm-cdma-device.c
5469 libnm-glib/nm-cdma-device.h
5470 libnm-glib/Makefile.am
5471 - Add the CDMA mobile broadband card GLib proxy class
5473 * libnm-glib/nm-client.c
5474 - (get_device): handle CDMA devices too
5476 2008-01-21 Dan Williams <dcbw@redhat.com>
5478 * src/ppp-manager/nm-ppp-manager.c
5479 - (ip4_config_get): set peer address too
5481 * src/ppp-manager/nm-pppd-plugin.c
5482 - (nm_ip_up): try harder to get the peer's address
5484 * src/NetworkManagerSystem.c
5485 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5486 address, use that too. Otherwise, some PPP connections won't work.
5488 2008-01-19 Dan Williams <dcbw@redhat.com>
5490 * src/NetworkManagerPolicy.c
5491 - (nm_policy_device_change_check): system connections override user
5492 connections; don't activate a user connection if there's a currently
5493 active system connection, and new, better system connections always
5494 interrupt user connections
5496 2008-01-19 Dan Williams <dcbw@redhat.com>
5499 - (nm_manager_get_connection_type): new function
5501 2008-01-19 Dan Williams <dcbw@redhat.com>
5503 * src/nm-device-802-11-wireless.c
5504 - (real_get_best_connection): collapse find_best_connection() into this
5507 2008-01-19 Dan Williams <dcbw@redhat.com>
5509 * src/nm-device-802-3-ethernet.c
5510 - (real_get_best_connection): collapse find_best_connection() into this
5513 2008-01-18 Dan Williams <dcbw@redhat.com>
5515 * src/nm-device-802-3-ethernet.c
5516 - (find_best_connection): check MAC address too
5517 - (real_get_best_connection): let autoconnect=True connections activate
5518 for devices that don't have carrier detection
5520 * src/nm-device-802-11-wireless.c
5521 - (find_best_connection): check MAC address too
5523 2008-01-18 Dan Williams <dcbw@redhat.com>
5525 * system-settings/plugins/ifcfg/parser.c
5526 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5528 2008-01-17 Dan Williams <dcbw@redhat.com>
5530 * src/nm-device-802-3-ethernet.c
5531 - (nm_device_802_3_ethernet_carrier_on,
5532 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5533 carrier events that might come in for devices that don't support
5536 2008-01-17 Dan Williams <dcbw@redhat.com>
5538 * src/nm-device-interface.c
5539 - (nm_device_interface_check_connection_conflicts): need to actually
5540 get the interface, not cast to the object
5543 - (nm_device_check_connection_conflicts): need to get the device class,
5544 not cast the device to the device class
5546 2008-01-17 Dan Williams <dcbw@redhat.com>
5548 * src/nm-device-802-11-wireless.c
5549 - (real_check_connection_conflicts): ignore connections that aren't
5550 wireless connections
5552 2008-01-17 Dan Williams <dcbw@redhat.com>
5554 * src/NetworkManagerPolicy.c
5555 - (nm_policy_device_change_check): clear change check idle here
5556 - (device_change_check_done): remove
5557 - (schedule_change_check): simplify
5559 2008-01-17 Dan Williams <dcbw@redhat.com>
5562 - (check_connection_allowed): take an NMDeviceInterface instead of
5563 an NMDevice object as an argument
5564 - (nm_manager_activate_device): pass an NMDeviceInterface to
5565 check_connection_allowed()
5567 2008-01-13 Dan Williams <dcbw@redhat.com>
5569 * libnm-glib/nm-device-802-11-wireless.c
5570 - (nm_device_802_11_wireless_get_access_points): fix memory leak
5572 2008-01-12 Dan Williams <dcbw@redhat.com>
5574 * src/nm-device-802-11-wireless.c
5575 - (activation_success_handler): if a match was found in the scan list
5576 and that match is a hidden AP, update that AP's SSID
5578 2008-01-11 Dan Williams <dcbw@redhat.com>
5580 * src/NetworkManagerAP.c
5581 - (nm_ap_new_fake_from_connection): mark fake APs as fake
5583 * src/nm-device-802-11-wireless.c
5584 - (get_active_ap): do two passes over the scan list if the caller
5585 requests that hidden APs get matched too; during the second pass
5586 when matching hidden APs, ignore the SSID since hidden APs in the
5587 scan list don't have an SSID yet
5588 - (periodic_update): move some checks to
5589 nm_device_802_11_periodic_update() because not all callers need them
5590 - (nm_device_802_11_periodic_update): move some checks here from
5592 - (merge_scanned_ap): if the current AP is fake, then don't do strict
5593 matching on incoming scan results, because the fake AP's flags
5594 might be slightly different (yet still compatible) with the incoming
5595 scan result's flags and they might actually be the same AP; update
5596 the rate on merged APs too
5597 - (activation_success_handler): update the frequency of the fake AP
5598 on successful connection; match hidden APs too since if the
5599 current AP is fake, there might already be a scan result in the
5600 scan list for the desired AP, just without it's SSID filled in yet
5602 2008-01-10 Dan Williams <dcbw@redhat.com>
5604 * src/NetworkManagerAP.c
5605 - (foreach_property_cb): catch more hidden SSID formats
5607 2008-01-10 Dan Williams <dcbw@redhat.com>
5609 Fix gnome.org #464215. Requires the kernel patch titled
5610 "Introduce WEXT scan capabilities" but will handle the patch not being
5611 present, you'll just continue to have problems with hidden SSIDs when
5612 using mac80211-based drivers.
5614 * src/supplicant-manager/nm-supplicant-config.h
5615 src/supplicant-manager/nm-supplicant-config.c
5616 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
5617 whether the driver supports SSID scans or not. If it does, and if
5618 the AP is hidden, use ap_scan=1 instead of ap_scan=2
5620 * src/nm-device-802-11-wireless.c
5621 - (constructor): check whether or not the driver supports SSID scans
5622 - (build_supplicant_config): pass driver SSID scan capability when
5623 building the wireless bits of the supplicant config
5625 2008-01-09 Dan Williams <dcbw@redhat.com>
5629 - (device_activation_precheck, check_connection_complete): remove this
5630 virtual function; incomplete connections should be invalid by
5631 definition, complete-ness should be checked in the setting's
5634 * src/nm-serial-device.c
5636 - (real_check_connection_complete): remove
5638 * libnm-util/nm-setting-serial.c
5639 - (verify): new function; ensure there is a PPP setting too
5641 * libnm-util/nm-setting-gsm.c
5642 - (verify): ensure there is a serial setting too
5644 2008-01-06 Dan Williams <dcbw@redhat.com>
5646 * src/dhcp-manager/nm-dhcp-manager.c
5647 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
5650 2008-01-04 Dan Williams <dcbw@redhat.com>
5652 * src/named-manager/nm-named-manager.c
5653 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
5654 nameservers if the secondary config doesn't have any
5657 2008-01-02 Tambet Ingo <tambet@gmail.com>
5659 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
5660 with G_PARAM_CONSTRUCT so that they get the default values.
5662 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
5663 the monitoring device and prints out the output for now. Or more precicely, doesn't
5664 do absolutely anything right now since the montoring device argument is never set.
5666 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
5667 requires it's own knob to turn it on.
5668 (config_fd): Add NMSettingSerial to the arguments list.
5669 (nm_serial_device_open): Ditto.
5670 (get_reply_got_data): Ignore the terminators at the beginning of the output.
5671 (nm_serial_device_get_io_channel): Implement.
5673 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
5674 a new reference every time (and forgetting to release it sometimes) is a pain and
5675 it's not like NMManager could work without dbus.
5676 (nm_manager_add_device): Register the added device on dbus here.
5678 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
5681 * src/nm-device.c (constructor): Don't export the device here, instead export
5682 it when it's added to the NMManager's device list.
5684 2007-12-31 Dan Williams <dcbw@redhat.com>
5686 * src/nm-device-interface.c
5687 src/nm-device-interface.h
5688 - (nm_device_interface_check_connection_conflicts): new function
5692 - (nm_device_check_connection_conflicts): new function
5693 - (device_activation_precheck): don't require subclasses to implement
5694 check_connection_complete()
5695 - check_connection() -> check_connection_complete()
5697 * src/nm-device-802-11-wireless.c
5698 - (real_check_connection): remove; unused
5699 - (real_check_connection_conflicts): implement, handle lockdown for
5702 * src/nm-device-802-3-ethernet.c
5703 - (real_check_connection): remove; unused
5706 - (check_connection_allowed): new function
5707 - (nm_manager_activate_device): ensure the connection being requested
5708 is allowed to be activated
5710 * src/nm-serial-device.c
5712 - real_check_connection() -> real_check_connection_complete()
5714 2007-12-27 Dan Williams <dcbw@redhat.com>
5716 * src/nm-device-interface.c
5717 src/nm-device-interface.h
5718 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
5719 normalize and expand errors
5720 - (nm_device_interface_init): register errors so they can be marshalled
5722 - (nm_device_interface_activate): ensure that failure of activation
5727 - (device_activation_precheck): implementations of check_connection()
5728 now take a GError and must fill it in if the check fails. Return
5729 more descriptive error if the requested connection is already
5731 - (nm_device_activate): actually try to return descriptive errors on
5734 * src/nm-device-802-11-wireless.c
5735 src/nm-device-802-3-ethernet.c
5736 src/nm-serial-device.c
5738 - (real_check_connection): return more descriptive errors on failure
5740 * src/NetworkManagerPolicy.c
5741 - (nm_policy_device_change_check): print activation errors in the logs
5744 - (nm_manager_error_quark, nm_manager_error_get_type,
5745 nm_manager_class_init): new errors
5746 - (nm_manager_activate_device): handle errors
5747 - (nm_manager_error_new): removed
5748 - (wait_for_connection_expired, connection_added_default_handler,
5749 impl_manager_activate_device): better error handling
5751 2007-12-27 Dan Williams <dcbw@redhat.com>
5753 Fixes gnome.org #466954
5755 * src/supplicant-manager/nm-supplicant-settings-verify.c
5756 - Allow 'frequency' network property
5758 * src/supplicant-manager/nm-supplicant-config.c
5759 src/supplicant-manager/nm-supplicant-config.h
5760 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
5761 for callers to specify the frequency an Ad-Hoc network should operate
5762 on. Some drivers require this to successfully create an Ad-Hoc
5765 * src/nm-device-802-11-wireless.c
5766 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
5767 guint32 value in MHz
5768 - (constructor, nm_device_802_11_wireless_get_frequency): use
5770 - (find_supported_frequency): new function; find a free supported
5771 frequency for a user-created Ad-Hoc network
5772 - (build_supplicant_config): if no frequency was specified for a user-
5773 created Ad-Hoc network, find a free one to use
5774 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
5775 a specific object as user-created
5777 2007-12-27 Dan Williams <dcbw@redhat.com>
5779 * libnm-util/nm-utils.c
5780 libnm-util/nm-utils.h
5781 - (nm_utils_security_valid): add 'adhoc' argument and handle security
5784 2007-12-24 Dan Williams <dcbw@redhat.com>
5786 * libnm-util/nm-setting-wireless.c
5787 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
5788 185, 187, 188, 192, and 196
5790 2007-12-24 Dan Williams <dcbw@redhat.com>
5792 * src/nm-device-802-11-wireless.c
5793 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
5794 a channel # instead of a frequency
5796 2007-12-24 Dan Williams <dcbw@redhat.com>
5798 * src/NetworkManagerAP.c
5799 src/NetworkManagerAP.h
5800 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
5801 - (freq_to_channel): handle split band tables
5802 - (channel_to_freq): handle split band tables, take a band argument
5804 2007-12-24 Dan Williams <dcbw@redhat.com>
5806 * libnm-util/nm-setting-connection.h
5807 libnm-util/nm-setting-connection.c
5808 - Add 'lockdown' member
5810 2007-12-22 Dan Williams <dcbw@redhat.com>
5812 * libnm-util/nm-setting-wireless.c
5813 - (nm_setting_wireless_class_init): add missing 'rate' property
5816 2007-12-18 Dan Williams <dcbw@redhat.com>
5818 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
5820 * src/nm-netlink-monitor.c
5821 src/nm-netlink-monitor.h
5822 - Remove handrolled netlink, use libnl instead
5824 * src/nm-device-802-3-ethernet.c
5825 - (constructor, nm_device_802_3_ethernet_carrier_off,
5826 nm_device_802_3_ethernet_carrier_on): use new names
5828 2007-12-17 Dan Williams <dcbw@redhat.com>
5831 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
5832 and fixes memory leaks)
5835 - (nm_netlink_get_default_handle): handle new versions of libnl that
5836 automatically handle the netlink PID
5838 2007-12-17 Dan Williams <dcbw@redhat.com>
5840 Patch from Michael Biebl <biebl@debian.org>
5843 src/ppp-manager/Makefile.am
5844 - fix up install dir of pppd plugin
5845 - clean up configure.in a bit
5847 2007-12-12 Dan Williams <dcbw@redhat.com>
5849 * system-settings/src/nm-system-settings.conf
5850 - Allow non-root clients (like the applet) to read settings
5852 2007-12-10 Tambet Ingo <tambet@gmail.com>
5854 * Replace all occurences of 'UMTS' with 'GSM'.
5856 2007-12-07 Dan Williams <dcbw@redhat.com>
5858 * src/nm-serial-device.c
5859 - (real_is_up): serial devices are always "up"
5861 2007-12-07 Dan Williams <dcbw@redhat.com>
5864 src/NetworkManagerSystem.c
5865 - (new_nl_handle): ensure that the same netlink pid is never chosen
5866 twice (gnome.org #491047)
5867 - Make more robust against allocation-related failures should they occur
5869 2007-12-07 Dan Williams <dcbw@redhat.com>
5871 Noticed by Christian Persch <chpe@gnome.org>
5873 Always chain up to parent object in dispose and finalize handlers.
5876 2007-12-07 Dan Williams <dcbw@redhat.com>
5878 * src/nm-device-802-11-wireless.c
5879 - Wrap #include of linux/mii.h to fix redefined structures due to
5880 incorrect kernel headers (gnome.org #350061)
5882 2007-12-06 Tambet Ingo <tambet@gmail.com>
5884 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
5885 before doing anything else.
5886 (init_modem): Move modem initialization here.
5888 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
5889 (nm_serial_device_flash): Implement.
5891 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
5892 changes signal is "StateChanged" and not "Status".
5893 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
5895 2007-12-06 Dan Williams <dcbw@redhat.com>
5897 * src/supplicant-manager/nm-supplicant-config.c
5898 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
5899 to only send some options when they make sense; also send phase2
5900 option to the supplicant (possible fix for rh #399631)
5902 2007-12-06 Tambet Ingo <tambet@gmail.com>
5904 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
5905 arguments: This whole file shouldn't really know anything about NMDevices, it
5906 should deal only with device interfaces. Devices might have different ifaces for
5907 different stuff and this place shouldn't know anything about it.
5909 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
5910 (global_state_changed): Implement. In the current NM it's not really important,
5911 but will be required in the case of multiple active devices. (Or even better,
5912 if stuff like that gets moved out from NM).
5914 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
5915 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
5918 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
5919 devices like serial devices (ttyS0 and ppp0 for example).
5920 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
5922 (nm_device_set_ip_iface): Implement.
5923 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
5924 after setting ip4_config from here ...
5925 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
5926 than this function should call nm_system_device_set_from_ip4_config() because no
5927 other code has enough information on which arguments to use. So instead, other code
5928 could just set the new ip4 config using this function and everyone is happy.
5930 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
5931 if we happen to get deactivated while something is pending.
5932 (automatic_registration): Handle the response that indicates pending network
5933 registration and wait until the pending registration is done.
5934 (real_deactivate_quickly): If there's a pending operation, cancel it.
5936 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
5937 (real_deactivate_quickly): ... and remove it when it's down.
5938 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
5940 (nm_serial_device_wait_for_reply): Ditto.
5942 2007-12-05 Tambet Ingo <tambet@gmail.com>
5944 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
5945 (get_network_done): Remove newline, nm_info() does it already.
5946 (real_act_stage1_prepare): Turn the modem echo off.
5948 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
5949 device, set the route to the device interface. This is a hack.
5951 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
5952 return, no need for a new-line.
5953 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
5954 Change the device iface here (ugh).
5955 (real_act_stage4_get_ip4_config): Implement.
5956 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
5957 Restore the device iface.
5959 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
5960 device is not wired or wireless (eg, automatically upped) device.
5962 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
5964 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
5966 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
5967 before calling it's is_device_fn().
5969 2007-12-05 Dan Williams <dcbw@redhat.com>
5971 * libnm-util/nm-utils.c
5972 - (nm_utils_register_value_transformations,
5973 nm_utils_convert_gvalue_hash_to_string): better debug output of
5974 GHashTables of GValues too
5976 2007-12-04 Dan Williams <dcbw@redhat.com>
5978 * initscript/RedHat/NetworkManager.in
5979 - No longer start named; it's D-Bus interface is going away
5981 2007-12-04 Dan Williams <dcbw@redhat.com>
5983 Patch from Michael Biebl <biebl@debian.org>
5985 * system-settings/plugins/ifcfg/Makefile.am
5986 system-settings/src/main.c
5987 system-settings/src/Makefile.am
5988 - Put system settings plugins in NM plugins dir
5990 * src/ppp-manager/Makefile.am
5991 src/ppp-manager/nm-ppp-manager.c
5992 - Move pppd plugin to NM plugins dir
5994 2007-12-04 Dan Williams <dcbw@redhat.com>
5996 * libnm-util/nm-setting-vpn-properties.h
5997 - Clarify usage of the 'data' member of the setting
5999 * libnm-util/nm-setting-vpn-properties.c
6000 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6001 - (set_property): just remove all the settings; don't recreate the has
6002 - (update_one_secret): don't need to create the hash table here since
6003 it should always be present
6005 2007-12-03 Tambet Ingo <tambet@gmail.com>
6007 Implement PIN and PUK requesting.
6009 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6010 (enter_pin): Handle PIN and PUK requests.
6011 (real_act_stage1_prepare): Clear the secret type.
6012 (real_connection_secrets_updated): Implement this class method to get
6013 notified when new secrets arrive.
6014 (nm_umts_device_class_init): Add private data back to the umts device class
6015 to store the required secret type.
6017 2007-12-01 Dan Williams <dcbw@redhat.com>
6019 * system-settings/plugins/ifcfg/parser.c
6020 - (parser_parse_file): don't try to verify NULL connections
6022 2007-12-01 Dan Williams <dcbw@redhat.com>
6024 * system-settings/src/main.c
6025 - (load_connections, add_connection_to_settings): actually export
6026 plugin-provided connections over D-Bus so NM can get them
6028 2007-12-01 Dan Williams <dcbw@redhat.com>
6030 * system-settings/plugins/ifcfg/parser.c
6031 system-settings/plugins/ifcfg/parser.h
6032 system-settings/plugins/ifcfg/plugin.c
6033 - Hook up more inotify bits (untested)
6035 2007-11-29 Dan Williams <dcbw@redhat.com>
6037 * system-settings/src/nm-system-config-interface.h
6038 system-settings/src/nm-system-config-interface.c
6039 - (nm_system_config_interface_init,
6040 nm_system_config_interface_get_connections): add
6042 * system-settings/src/main.c
6043 - (load_plugins, load_connections, main): use a GSList for plugins
6044 to ensure priority ordering
6046 * system-settings/plugins/ifcfg/parser.c
6047 - (ifcfg_error_quark): move to plugin.c, and rename
6049 * system-settings/plugins/ifcfg/plugin.h
6050 system-settings/plugins/ifcfg/plugin.c
6051 - (ifcfg_plugin_error_quark): move here from parser.c
6052 - rework connection loading and initialization
6053 - Add preliminary inotify support for network profile config file
6055 2007-11-28 Tambet Ingo <tambet@gmail.com>
6057 Merge the beginnings of the new GSM card support.
6059 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6060 ppp watch source before killing pppd - If this happens from g_object_unref()
6061 then the ppp manager is already destroyed by the time the watch callback runs.
6063 * src/nm-hal-manager.c: Add a device_type_name string to the device
6064 creators, so that we can print a nice human readable string when a
6067 * src/nm-umts-device.c (automatic_registration_get_network): Query
6068 for the activated network, not much is done with the result thought.
6070 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6071 (ppp_ip4_config): Change the device state to activated here for now.
6072 (real_check_connection): Make sure the connection includes ppp setting.
6074 * libnm-glib/nm-client.c (get_device): Handle umts devices.
6076 * libnm-glib/Makefile.am: Add the new files to build.
6078 * libnm-glib/nm-umts-device.c:
6079 * libnm-glib/nm-umts-device.h: Implement.
6081 2007-11-26 Tambet Ingo <tambet@gmail.com>
6083 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6084 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6086 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6087 the timeout source - this function is only called when the timeout source has
6089 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6090 to be big enough to contain the terminating zero element as well.
6091 The timeout argument is meant to be in seconds now.
6092 (real_deactivate_quickly): Implement.
6094 * src/NetworkManager.conf: Allow root to own
6095 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6097 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6098 (not unsigned ints).
6100 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
6101 small issue with parity bounds - capital letters have lower ascii codes
6102 than lower case letters.
6104 * libnm-util/nm-connection.c (register_default_settings): Register serial
6107 2007-11-22 Tambet Ingo <tambet@gmail.com>
6109 Remove the "index" property from devices as not all device types have this.
6111 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6113 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6114 (wired_device_creator): Get the device interface from hal to create the device.
6115 (wireless_device_creator): Ditto.
6117 * src/nm-device.c (nm_device_init): Remove the index member.
6118 (constructor): Remove the checks for index property, make interface property
6119 a require constructor property.
6120 Use the HAL udi for DBus path for devices.
6121 (nm_device_get_index): Remove.
6122 (set_property): Remove index handling.
6123 (get_property): Ditto.
6124 (nm_device_get_dbus_path): Remove.
6126 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6129 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6130 Access the device index through it's interface.
6131 (nm_device_802_3_ethernet_link_deactivated): Ditto.
6132 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6133 index argument. Add interface argument.
6135 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6136 the useless test_dev argument. Remove index argument. Add interface arugment.
6138 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6139 device index through interface.
6140 (nm_system_set_mtu): Ditto.
6142 * introspection/nm-device.xml: Remove the "Index" property.
6144 2007-11-21 Tambet Ingo <tambet@gmail.com>
6146 * src/nm-serial-device.c:
6147 * src/nm-serial-device.c:
6148 * src/nm-umts-device.c:
6149 * src/nm-umts-device.h: Implement.
6151 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
6152 allocated by libhal.
6153 (modem_device_creator): Implement.
6154 (register_built_in_creators): Register the modem creator.
6156 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
6157 Remove the unused test_dev argument.
6159 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6161 * src/Makefile.am: Add new files to build.
6162 Link in ppp-manager.
6164 * libnm-util/nm-setting-umts.c:
6165 * libnm-util/nm-setting-umts.h:
6166 * libnm-util/nm-setting-serial.c:
6167 * libnm-util/nm-setting-serial.h: Implement.
6169 * libnm-util/Makefile.am: Add new files to build.
6171 2007-11-28 Dan Williams <dcbw@redhat.com>
6173 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6175 Support DHCP-provided static routes.
6177 * src/nm-ip4-config.h
6179 - Add get/set functions for static routes
6181 * src/dhcp-manager/nm-dhcp-manager.c
6182 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6185 * src/NetworkManagerSystem.c
6186 - (nm_system_device_set_from_ip4_config): set any static routes on the
6187 interface when applying the IP4Config
6189 2007-11-28 Dan Williams <dcbw@redhat.com>
6191 * src/nm-device-802-11-wireless.c
6192 - (real_act_stage1_prepare): mark APs created for hidden networks
6195 2007-11-27 Dan Williams <dcbw@redhat.com>
6197 * system-settings/src/nm-system-config-interface.h
6198 - Note how to store secrets on NMSetting objects
6200 * system-settings/src/dbus-settings.c
6201 - (connection_settings_get_secrets): implement
6203 2007-11-27 Dan Williams <dcbw@redhat.com>
6205 * system-settings/plugins/ifcfg/Makefile.am
6206 system-settings/plugins/ifcfg/parser.c
6207 system-settings/plugins/ifcfg/parser.h
6208 system-settings/plugins/ifcfg/plugin.c
6209 - Parse wireless connections too
6211 * system-settings/src/dbus-settings.c
6212 system-settings/src/dbus-settings.h
6213 system-settings/src/main.c
6214 - Handle connection update/removal if the plugin supports it
6216 2007-11-27 Dan Williams <dcbw@redhat.com>
6218 * src/nm-dbus-manager.h
6219 src/nm-hal-manager.c
6220 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6224 src/NetworkManagerDbusUtils.c
6225 src/NetworkManagerDbusUtils.h
6226 - Remove these two source files; they are unused
6228 2007-11-27 Dan Williams <dcbw@redhat.com>
6230 * src/vpn-manager/nm-vpn-manager.c
6231 - (impl_vpn_manager_connect): fix system settings check (found by
6234 2007-11-26 Dan Williams <dcbw@redhat.com>
6236 * Fix warnings so everything compiles with --enable-more-warnings
6238 2007-11-25 Dan Williams <dcbw@redhat.com>
6241 - Rework structure and code to use GModule-loaded plugins and a plugin
6242 interface that plugins export to the system settings service
6244 2007-11-21 Dan Williams <dcbw@redhat.com>
6247 - Add Soren's system settings service. Needs work for distros other
6248 than Fedora; the backends from NM should mostly migrate to here
6249 and be converted to GObjects
6251 2007-11-21 Dan Williams <dcbw@redhat.com>
6253 * libnm-util/nm-setting-vpn-properties.c
6254 - (set_property): must deep-copy the given settings hash, otherwise
6255 double-free errors occur when the setting is disposed of
6257 2007-11-21 Dan Williams <dcbw@redhat.com>
6259 * src/vpn-manager/nm-vpn-act-request.h
6260 src/vpn-manager/nm-vpn-act-request.c
6263 2007-11-20 Dan Williams <dcbw@redhat.com>
6265 * libnm-util/nm-utils.c
6266 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6267 nm_utils_convert_ip4_addr_struct_array_to_string,
6268 nm_utils_register_value_transformations): print out the readable
6269 values of more types of properties of NMSettings subclasses
6271 2007-11-20 Dan Williams <dcbw@redhat.com>
6273 * libnm-util/nm-setting-ip4-config.c
6274 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6275 nm_setting_ip4_config_class_init): apparently dbus-glib can't
6276 marshal GValueArrays inside collections, so switch to types that it
6277 can actually marshal/demarshal
6279 2007-11-16 Dan Williams <dcbw@redhat.com>
6281 * libnm-util/nm-setting-wireless-security.c
6282 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6283 minimal verification of EAP methods too
6284 - (verify): verify phase1 eap methods too
6286 2007-11-15 Dan Williams <dcbw@redhat.com>
6288 * libnm-glib/nm-device.h
6289 libnm-glib/nm-device.c
6290 - (nm_device_get_product, nm_device_get_vendor): should be returning
6293 2007-11-15 Dan Williams <dcbw@redhat.com>
6295 * libnm-glib/nm-device.c
6296 - (get_product_and_vendor): don't try to free things that should be
6299 2007-11-15 Dan Williams <dcbw@redhat.com>
6301 * src/NetworkManagerUtils.c
6302 - (nm_ethernet_address_is_valid): unbreak previous fix
6304 2007-11-15 Dan Williams <dcbw@redhat.com>
6306 * src/supplicant-manager/nm-supplicant-config.c
6307 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6310 2007-11-15 Dan Williams <dcbw@redhat.com>
6312 * src/NetworkManagerUtils.c
6313 - (nm_ethernet_address_is_valid): fix style, clarify
6314 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6316 * src/nm-device-802-11-wireless.c
6317 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6318 - (nm_device_802_11_wireless_get_ssid,
6319 nm_device_802_11_wireless_get_bssid,
6320 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6321 before calling the ioctl; fixes valgrind-reported jump depends on
6322 uninitialized value errors
6324 2007-11-15 Dan Williams <dcbw@redhat.com>
6326 * libnm-util/nm-setting.c
6327 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6328 unecessary to serialize 'name'
6330 * src/nm-activation-request.c
6331 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6334 2007-11-15 Dan Williams <dcbw@redhat.com>
6336 * libnm-util/nm-setting-connection.h
6337 libnm-util/nm-setting-connection.c
6338 - Rename the 'name' property to 'id', because it conflicted with the
6339 NMSetting superclass' 'name' property.
6341 * libnm-util/nm-setting.c
6342 - (nm_setting_to_hash): serialize the 'name' property
6343 - (one_property_cb): ignore 'name' on deserialization of a connection
6345 * src/nm-device-802-11-wireless.c
6346 src/vpn-manager/nm-vpn-connection.c
6347 src/NetworkManagerPolicy.c
6348 - Fix up for NMSettingConnection 'name'->'id' changes
6350 2007-11-13 Dan Williams <dcbw@redhat.com>
6352 * libnm-glib/nm-device-802-11-wireless.h
6353 libnm-glib/nm-device-802-11-wireless.c
6354 - (nm_device_802_11_wireless_get_hw_address): return should be const
6357 libnm-glib/libnm-glib-test.c
6358 - Fixes for above change
6360 2007-11-12 Dan Williams <dcbw@redhat.com>
6362 * src/supplicant-manager/nm-supplicant-settings-verify.c
6363 - Allow fragment_size option
6365 * src/supplicant-manager/nm-supplicant-settings-verify.c
6366 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6367 EAP fragment size than the default to help some TLS connections
6369 2007-11-12 Dan Williams <dcbw@redhat.com>
6371 Make certs actually work. The private key is now a secret, and should be
6372 decrypted when requested by NM. The private key and phase2 private key
6373 passwords are no longer interesting to NM because they should be used by
6374 the settings service to decrypt the private key itself before passing it
6375 to NM, and hence have been removed as fields.
6377 * libnm-util/nm-setting-wireless-security.h
6378 libnm-util/nm-setting-wireless-security.c
6379 - Remove private-key-passwd and phase2-private-key-passwd from
6381 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6382 need_secrets): use property #defines instead strings to keep things
6384 - (need_secrets_tls): if a client certificate is present but no
6385 private key, request the private key
6386 - (set_property, get_property, nm_setting_wireless_security_class_init):
6387 remove private key password stuff, mark private keys as secret
6389 * src/supplicant-manager/nm-supplicant-settings-verify.c
6390 - Remove private_key_passwd and private_key2_passwd from opt_table
6392 2007-11-09 Dan Williams <dcbw@redhat.com>
6394 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6395 Since the vpn-properties are managed and known by the VPN daemons themselves,
6396 libnm-util doesn't know what's secret and what's in the setting's 'data'
6399 * libnm-util/nm-setting.h
6400 libnm-util/nm-setting.c
6401 - Add the ability for subclasses to override update_one_secret
6403 * libnm-util/nm-setting-vpn-properties.c
6404 - Override update_one_secret and just copy the values into the
6407 2007-11-09 Dan Williams <dcbw@redhat.com>
6409 * libnm-glib/nm-settings.h
6410 libnm-glib/nm-settings.c
6411 - (nm_settings_new_error): remove
6412 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6413 clients should use g_set_error() with NM_SETTINGS_ERROR
6415 2007-11-09 Dan Williams <dcbw@redhat.com>
6417 * src/supplicant-manager/nm-supplicant-config.c
6418 - (nm_supplicant_config_add_setting_wireless_security): private key
6419 passwords are never sent to wpa_supplicant, because the supplicant
6420 should never be reading random files from the disk. Clients like
6421 the applet are required to decrypt the private keys and send NM
6422 the decrypted blobs.
6424 2007-11-08 Dan Williams <dcbw@redhat.com>
6426 * libnm-util/nm-setting-wireless-security.h
6427 libnm-util/nm-setting-wireless-security.c
6428 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6429 members to 802-11-wireless-security structure. This should be used
6430 to indicate that the values in private-key and phase2-private-key
6431 are already decrypted by the user agent, and that no
6432 private-key-passwd or phase2-private-key-passwd should be expected.
6433 It is not meant to be a stored configuration value, but meant to
6434 be set when the conneciton is sent to NM over dbus.
6436 2007-11-08 Dan Williams <dcbw@redhat.com>
6438 * libnm-util/nm-connection.h
6439 libnm-util/nm-connection.c
6440 - (nm_connection_need_secrets): add argument to return hints
6442 * src/nm-device-802-11-wireless.c
6443 - (link_timeout_cb, supplicant_connection_timeout_cb,
6444 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6445 nm_connection_need_secrets() change
6447 2007-11-07 Tambet Ingo <tambet@gmail.com>
6449 Rework NMSetting structures: Move each setting to it's own file.
6450 Convert to GObject. Remove home grown setting types and use GTypes.
6451 Use GObject property introspection for hash conversion, enumerating
6454 * libnm-util/nm-setting-connection.[ch]
6455 * libnm-util/nm-setting-ip4-config.[ch]
6456 * libnm-util/nm-setting-ppp.[ch]
6457 * libnm-util/nm-setting-vpn.[ch]
6458 * libnm-util/nm-setting-vpn-properties.[ch]
6459 * libnm-util/nm-setting-wired.[ch]
6460 * libnm-util/nm-setting-wireless.[ch]
6461 * libnm-util/nm-setting-wireless-security.[ch]
6463 New files, each containing a setting.
6465 * libnm-util/nm-setting-template.[ch]: A template for creating new
6466 settings. To use it, just replace 'template' with the new setting
6467 name, and you're half-way done.
6469 * libnm-util/nm-setting.c: Convert to GObject and use GObject
6470 introspection instead of internal types and tables.
6472 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6474 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6475 GValue types defined by dbus-glib for composed types like collections,
6476 structures and maps.
6478 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6479 a setting from connection takes the setting type now. Also, since
6480 the settings are in multiple files, include relevant settings.
6482 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
6485 * src/backends/NetworkManagerGentoo.c:
6486 (nm_system_restart_mdns_responder): Implement restarts for other mdns
6487 providers in Gentoo.
6489 2007-10-31 Dan Williams <dcbw@redhat.com>
6491 * libnm-util/nm-connection.c
6492 - (gvalue_to_string): handle UINT32 arrays
6494 2007-10-31 Dan Williams <dcbw@redhat.com>
6496 * libnm-glib/nm-device.h
6497 libnm-glib/nm-device.c
6498 - (nm_device_get_description): remove
6499 - (nm_device_get_product, nm_device_get_vendor): add
6500 - (nm_device_update_description): new function (private); walk HAL
6501 devices to get product and vendor IDs for a specific device
6503 2007-10-31 Dan Williams <dcbw@redhat.com>
6505 * src/nm-device-802-11-wireless.c
6506 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6508 2007-10-29 Dan Williams <dcbw@redhat.com>
6510 * src/nm-hal-manager.c
6511 - (device_added, device_new_capability): ignore device additions while
6512 asleep. Fixes crash caused when NM goes to sleep, a network device
6513 kernel module is unloaded and reloaded and recognized by NM again.
6515 2007-10-26 Dan Williams <dcbw@redhat.com>
6517 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6519 * src/NetworkManagerAP.c
6520 src/NetworkManagerAP.h
6521 libnm-glib/nm-access-point.c
6522 libnm-glib/nm-access-point.h
6523 - Make 'rate' property a guint32 to better match with WEXT and
6524 wpa_supplicant and to allow representation of higher bitrates
6526 * src/nm-device-802-11-wireless.c
6527 introspection/nm-device-802-11-wireless.xml
6528 libnm-glib/nm-device-802-11-wireless.c
6529 libnm-glib/nm-device-802-11-wireless.h
6530 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6532 * src/nm-device-802-3-ethernet.c
6533 src/nm-device-802-3-ethernet.h
6534 introspection/nm-device-802-3-ethernet.xml
6535 libnm-glib/nm-device-802-3-ethernet.c
6536 libnm-glib/nm-device-802-3-ethernet.h
6537 - Make 'speed' property a guint32 to match other speed/rate types
6538 - Make nm_device_802_3_ethernet_get_speed() static
6541 - Update for the changes above
6543 2007-10-26 Dan Williams <dcbw@redhat.com>
6545 * src/named-manager/nm-named-manager.c
6546 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6547 not calling fclose() twice on some error conditions
6549 2007-10-26 Dan Williams <dcbw@redhat.com>
6551 * src/nm-activation-request.c
6552 - (dispose): clean up indentation; get the right DBusGProxy object to
6553 cancel the GetSecrets pending call on. Need to use the Secrets
6554 proxy, not the regular connection proxy. Otherwise the GetSecrets
6555 pending call doesn't get canceled, and pressing Cancel in the
6556 applet's password dialog could cause get_secrets_cb() to be called
6557 after the activation request has already been destroyed
6559 2007-10-24 Dan Williams <dcbw@redhat.com>
6561 * src/supplicant-manager/nm-supplicant-config.c
6562 - (nm_supplicant_config_add_blob): pass blob data and length for
6564 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
6566 2007-10-24 Dan Williams <dcbw@redhat.com>
6568 * src/supplicant-manager/nm-supplicant-settings-verify.c
6569 - (opt_table): max length for certificates should be 65536
6571 2007-10-24 Dan Williams <dcbw@redhat.com>
6573 * src/supplicant-manager/nm-supplicant-interface.c
6574 - (blob_free): correctly free blob data after use
6575 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
6577 2007-10-24 Dan Williams <dcbw@redhat.com>
6579 * libnm-util/nm-setting.c
6580 - (setting_wireless_security_need_secrets): Fix lookup table logic for
6581 EAP method need secrets
6583 2007-10-24 Dan Williams <dcbw@redhat.com>
6585 * src/backends/NetworkManagerRedHat.c
6586 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
6588 2007-10-23 Dan Williams <dcbw@redhat.com>
6590 * libnm-util/nm-setting.c
6591 libnm-util/nm-setting.c
6592 - (nm_setting_compare): implement
6593 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
6594 compare_one_hash_gvalue): compare the contents of a setting
6596 * libnm-util/nm-connection.c
6597 - (nm_connection_compare): implement
6599 2007-10-23 Dan Williams <dcbw@redhat.com>
6601 * src/nm-activation-request.c
6602 - (get_secrets_cb): handle getting a setting back that is more than
6603 just secrets (ie, user changed auth or EAP method or something)
6605 2007-10-23 Dan Williams <dcbw@redhat.com>
6607 * libnm-util/nm-setting.c
6608 libnm-util/nm-setting.h
6609 - (nm_setting_verify): new function; verify one setting
6610 - (nm_settings_verify_all): rename from nm_settings_verify()
6611 - (setting_connection_verify, setting_wireless_verify): allow NULL
6614 * libnm-util/nm-connection.c
6615 - (nm_connection_replace_settings, nm_connection_verify,
6616 nm_connection_new_from_hash): handle nm_settings_verify() rename
6618 2007-10-23 Dan Williams <dcbw@redhat.com>
6620 * src/nm-device-802-11-wireless.c
6621 - (real_act_stage2_config): use pre-increment on 'tries' to get the
6624 2007-10-23 Dan Williams <dcbw@redhat.com>
6626 * src/supplicant-manager/nm-supplicant-settings-verify.c
6627 - eap_allowed, phase2_allowed: harmonize with allowed values from
6630 2007-10-23 Dan Williams <dcbw@redhat.com>
6632 * src/nm-device-802-11-wireless.c
6633 - (real_act_stage2_config): after the first association failure,
6634 if the connection still needs secrets ask the user for them
6635 explicitly. After the fourth association failure due to bad
6636 secrets, fail the connection entirely. Handles the GetSecrets
6637 loop that NM gets into when the provided secrets don't match up
6638 with the connection details.
6640 2007-10-23 Dan Williams <dcbw@redhat.com>
6642 * src/supplicant-manager/nm-supplicant-config.c
6643 - (nm_supplicant_config_add_setting_wireless_security): only add
6644 WPA-specific options when WPA is in use
6646 2007-10-23 Dan Williams <dcbw@redhat.com>
6648 * src/supplicant-manager/nm-supplicant-config.c
6649 - (nm_supplicant_config_add_setting_wireless_security): 'password'
6650 secret doesn't need to be unhexified
6652 2007-10-23 Dan Williams <dcbw@redhat.com>
6654 * libnm-util/nm-setting.c
6655 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
6656 before trying to do something with it
6658 2007-10-23 Dan Williams <dcbw@redhat.com>
6660 * src/nm-device-802-11-wireless.c
6661 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
6663 2007-10-23 Dan Williams <dcbw@redhat.com>
6665 * src/nm-device-802-11-wireless.c
6666 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
6667 non-SSID-broadcasting APs
6669 2007-10-23 Dan Williams <dcbw@redhat.com>
6671 * src/NetworkManagerAP.c
6672 - (match_cipher, security_compatible): remove
6673 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
6676 2007-10-23 Dan Williams <dcbw@redhat.com>
6678 * libnm-util/nm-utils.c
6679 libnm-util/nm-utils.h
6680 - (nm_utils_ap_security_compatible): common function for checking
6681 whether a specific AP is compatible with an NMConnection
6683 2007-10-23 Dan Williams <dcbw@redhat.com>
6685 * libnm-util/nm-setting.c
6686 - (setting_wireless_security_need_secrets, need_secrets_phase2,
6687 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
6688 need_secrets_password, setting_wireless_security_verify): fix
6689 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
6690 secrets logic for each supported EAP method
6692 2007-10-23 Dan Williams <dcbw@redhat.com>
6694 * src/supplicant-manager/nm-supplicant-config.c
6695 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
6696 config option name, should be "private_key2_passwd"
6698 2007-10-22 Tambet Ingo <tambet@gmail.com>
6700 Implement support for static IP addresses, additional/overridden DNS and
6701 DNS domain search lists.
6703 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
6704 (ip4_addresses_to_gvalue): Implement.
6705 (convert_array_to_byte_array): Implement.
6706 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
6707 NM_S_TYPE_IP4_ADDRESSES.
6708 (nm_setting_hash): Ditto.
6709 (default_setting_clear_secrets): Add a default case for the switch: IP address
6710 shouldn't be secret, ever.
6711 (setting_ip4_config_verify): Update, requires addresses in case of manual
6713 (setting_ip4_config_destroy): Free stuff.
6715 * src/nm-device.c (merge_ip4_config): Implement.
6716 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
6718 2007-10-22 Dan Williams <dcbw@redhat.com>
6720 * libnm-util/nm-setting.c
6721 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
6722 pairwise cipher options for Dynamic WEP
6724 2007-10-21 Dan Williams <dcbw@redhat.com>
6726 * src/NetworkManagerAP.c
6727 src/NetworkManagerAP.h
6728 - Rename 'articifical' -> 'fake' since that's what they are until
6730 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
6731 from the attributes in an NMConnection object
6732 - (security_compatible): better handle Dynamic WEP and LEAP; handle
6734 - (nm_ap_match_in_list): find a matching AP in a scan list
6736 * src/nm-device-802-11-wireless.c
6737 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
6738 AP when searching the scan list; match on frequency and mode too
6739 - (nm_device_802_11_wireless_get_frequency): implement
6740 - (merge_scanned_ap): replace duplicate matching logic with
6741 nm_ap_match_in_list()
6742 - (real_act_stage1_prepare): handle a NULL specific object; ie where
6743 the user is trying to connect to a hidden network that is not yet
6744 known from the scan list
6745 - (activation_success_handler): now that the card knows the AP's BSSID,
6746 there may already be a scanned AP in the scan list that is what
6747 we really wanted to connect to, but didn't know at the time. Use
6748 that instead of the 'fake' AP created at activation start and get
6749 rid of the 'fake' AP
6750 - (cull_scan_list): don't remove fake APs
6752 2007-10-21 Dan Williams <dcbw@redhat.com>
6754 * src/nm-activation-request.h
6755 src/nm-activation-request.c
6756 - (nm_act_request_set_specific_object): new function; allow setting the
6757 specific object if one isn't set yet
6759 2007-10-20 Dan Williams <dcbw@redhat.com>
6761 * src/supplicant-manager/nm-supplicant-config.h
6762 src/supplicant-manager/nm-supplicant-config.c
6763 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
6764 table to store blobs
6765 - (nm_supplicant_config_add_blob): new function; add blob to internal
6767 - (nm_supplicant_config_get_blobs): new function; get stored blobs
6768 - (nm_supplicant_config_add_setting_wireless_security): handle
6769 options that use certificates (ie, blobs)
6771 * src/nm-device-802-11-wireless.c
6772 - (build_supplicant_config): pass a UID (just use the connection path)
6773 to the supplicant config as now required
6775 * src/supplicant-manager/nm-supplicant-interface.c
6776 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
6777 there are any blobs to send to wpa_supplicant, send those first
6778 before sending the network configuration
6780 2007-10-19 Dan Williams <dcbw@redhat.com>
6782 Split the GetSecrets() call off to a separate D-Bus interface so that it
6783 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
6784 should be able to call GetSecrets().
6786 * include/NetworkManager.h
6787 - Define the connection secrets D-Bus interface
6789 * src/vpn-manager/nm-vpn-connection.c
6790 - (clear_need_auth): get the right proxy object for the connection
6792 - (get_connection_secrets): use the connection secrets proxy; send
6793 empty hints in get secrets request
6795 * src/nm-activation-request.c
6796 - (nm_act_request_request_connection_secrets): use the connection
6797 secrets proxy; send empty hints in get secrets request
6801 - (connection_get_settings_cb): set the connection secrets proxy on
6802 the connection object too
6803 - (internal_new_connection_cb): create the connection secrets proxy
6805 * introspection/nm-settings-connection.xml
6806 - Define Connection.Secrets interface and move GetSecrets there
6807 - Add a 'hints' argument to GetSecrets
6809 * libnm-glib/nm-settings.c
6810 libnm-glib/nm-settings.h
6811 - (impl_connection_settings_get_secrets): add 'hints' argument
6813 2007-10-19 Dan Williams <dcbw@redhat.com>
6816 - (constructor): add message about what path a device is exported as
6817 to help in debugging rh #339011
6819 2007-10-17 Dan Williams <dcbw@redhat.com>
6821 * libnm-util/nm-utils.h
6822 libnm-util/nm-utils.c
6823 - (nm_utils_security_valid): common function to help find the intersection
6824 of capabilities of devices and (optionally) access points
6826 2007-10-17 Dan Williams <dcbw@redhat.com>
6828 * src/nm-device-802-11-wireless.c
6829 - (get_wireless_capabilities): add missing braces so that WPA capabilities
6830 don't get erroneously cleared
6832 2007-10-17 Dan Williams <dcbw@redhat.com>
6836 src/nm-hal-manager.c
6837 - (device_removed, finalize, nm_manager_remove_device,
6838 nm_manager_sleep): add a 'deactivate' argument to
6839 nm_manager_remove_device() to fully deactivate devices when necessary
6840 (ie, always except when waking up)
6842 2007-10-16 Dan Williams <dcbw@redhat.com>
6844 * libnm-util/nm-setting.c
6845 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
6846 also isn't valid phase2 autheap method
6848 2007-10-16 Dan Williams <dcbw@redhat.com>
6850 * libnm-glib/nm-client.c
6851 - (update_wireless_status): consolidate updates of wireless status
6852 - (constructor): use update_wireless_status()
6853 - (manager_running): set wireless status off when NM goes away; requery
6854 the wireless status when NM comes back
6856 2007-10-16 Dan Williams <dcbw@redhat.com>
6858 * libnm-glib/nm-client.c
6859 - (nm_client_activate_device): actually use the fixed-up specific
6862 2007-10-16 Dan Williams <dcbw@redhat.com>
6864 * src/nm-hal-manager.c
6865 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
6866 killswitch error messages once
6868 2007-10-16 Dan Williams <dcbw@redhat.com>
6871 - (manager_set_wireless_enabled): don't allow wireless to be enabled
6872 if it's disabled in hardware; don't touch network devices while
6875 2007-10-16 Dan Williams <dcbw@redhat.com>
6877 * libnm-util/nm-client.c
6878 - (nm_client_activate_device): convert NULL specific_object to "/",
6879 which is used in place of NULL
6882 - (impl_manager_activate_device): convert "/" specific_object back into
6885 2007-10-16 Tambet Ingo <tambet@gmail.com>
6887 Implement a generic NMSetting creator from setting name.
6888 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
6889 add a virtual function 'populate_fn'.
6891 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
6892 (register_default_creators): Register setting creators instead of functions
6893 that create and then populate.
6894 (parse_one_setting): Use the common setting creator and then setting specific
6895 poplulation function.
6897 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
6898 they all looked exactly the same.
6899 Add a 'populate_fn' virtual function to NMSetting.
6900 Use default virtual functions in case they are not overriden.
6901 (nm_setting_populate_from_hash): Implement.
6903 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
6904 name, use a defined string.
6905 (real_act_stage4_get_ip4_config): Ditto.
6907 2007-10-16 Tambet Ingo <tambet@gmail.com>
6909 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
6910 HAL is int, not uint.
6912 2007-10-15 Tambet Ingo <tambet@gmail.com>
6914 Implement killswitch polling through HAL.
6916 * src/nm-manager.c: Add wireless hardware status property. Add
6917 'properties-changed' signal for changes in wireless and wireless hardware
6920 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
6921 and update NMManager's wireless hardware state when it has changed.
6922 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
6925 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
6926 values of wireless state and wireless hardware state. Listen for the
6927 'properties-changed' signals, update the cached values and emit notify.
6929 * include/NetworkManager.h: Fix a typo in a comment.
6931 2007-10-14 Dan Williams <dcbw@redhat.com>
6933 * libnm-util/nm-setting.c
6934 - (setting_wireless_security_need_secrets): handle LEAP secrets
6936 2007-10-13 Dan Williams <dcbw@redhat.com>
6938 * libnm-util/nm-setting.h
6939 libnm-util/nm-setting.c
6940 src/supplicant-manager/nm-supplicant-config.c
6941 - Make the 'proto' field of the 802-11-wireless-security field a
6944 2007-10-12 Tambet Ingo <tambet@gmail.com>
6946 Rework the "properties-changed" signal listening implementation.
6947 Add a generic implementation to NMObject class that listens for
6948 the signal and calls property setters of the target NMObject.
6950 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
6952 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
6953 code to the end of file so that all the static functions are available
6954 without extra declarations.
6955 Remove the "properties-changed" signal handling and use the framework from
6957 Implement property setters for properties that change with
6958 "properties-changed" signal.
6960 * libnm-glib/nm-access-point.c: Ditto.
6962 2007-10-12 Tambet Ingo <tambet@gmail.com>
6964 Rework the "properties-changed" signal implementation.
6965 In classes that need to use it, just emit "GObject::notify" and the new
6966 framework takes care of the rest to make the signal available on dbus.
6967 The framework queues the notifications and tries to send as many together
6968 in one signal as possible.
6970 * src/nm-properties-changed-signal.c:
6971 * src/nm-properties-changed-signal.h: Implement.
6973 * src/Makefile.am: Add new files to build.
6975 * src/NetworkManagerAP.c: Use the general framework for properties-changed
6978 * src/nm-device-802-11-wireless.c: Ditto.
6980 2007-10-10 Dan Williams <dcbw@redhat.com>
6983 - (wait_for_connection_expired): ensure info is valid
6984 - (connection_added_default_handler): Should only remove pending
6985 connection info when the manager has the connection that it's
6986 waiting for. Fixes segfault in wait_for_connection_info().
6988 2007-10-10 Dan Williams <dcbw@redhat.com>
6990 * libnm-util/nm-setting.c
6991 libnm-util/nm-setting.h
6992 - Add a default 'user_name' field to the VPN setting, which VPN plugins
6993 can use if they choose. Should be filled in by the settings service
6994 on-the-fly with the currently logged in user's username
6996 2007-10-10 Dan Williams <dcbw@redhat.com>
6998 * src/nm-device-802-11-wireless.c
6999 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7000 as such, because even if the manager fills in the SSID, NM still
7001 has to indicate to wpa_supplicant that the AP isn't broadcasting
7004 2007-10-10 Tambet Ingo <tambet@gmail.com>
7006 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7007 code that used NM's own version of dbus signal handling and custom dictionary
7008 marshalling/unmarshalling. With this change, all that obsolete code can disappear
7009 and we get to maintain over 2000 lines less code.
7011 * libnm-util/dbus-dict-helpers.c:
7012 * libnm-util/dbus-dict-helpers.h: Remove.
7014 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7016 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7018 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7021 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7023 * configure.in: Remove test/libnm-util/Makefile creation.
7025 * test/Makefile.am: Remove libnm-util from SUBDIRS.
7027 * test/libnm-util/: Remove the whole directory.
7029 2007-10-10 Tambet Ingo <tambet@gmail.com>
7031 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
7032 device_state_changed_idle_id variable or it would contain some random value and the
7033 schedule_change_check calls would not do anything.
7035 2007-10-09 Dan Williams <dcbw@redhat.com>
7037 * src/nm-device-802-11-wireless.c
7038 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7039 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7040 isn't broadcasting its SSID; set the non-broadcast flag here; fix
7041 merging of non-SSID-broadcasting APs
7043 2007-10-09 Tambet Ingo <tambet@gmail.com>
7045 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7046 "guint8 *" since it's usually used with GByteArray->data.
7047 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7049 2007-10-09 Tambet Ingo <tambet@gmail.com>
7051 * src/NetworkManagerUtils.c
7052 (nm_utils_is_empty_ssid):
7053 (nm_utils_escape_ssid):
7054 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
7055 lot of places, so they belong to libnm-utils instead.
7057 Now with 100% less compiler warnings:
7059 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7060 (nm_dbus_unescape_object_path): Ditto.
7061 (nm_utils_ssid_to_utf8): Ditto.
7062 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7063 (nm_utils_escape_ssid): Ditto.
7064 (nm_utils_same_ssid): Ditto.
7066 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7067 (add_one_connection_element): Remove an unused variable.
7068 (impl_manager_get_active_connections): Ditto.
7070 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7073 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7074 from the previous commit.
7076 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7077 (real_act_stage1_prepare): Ditto.
7078 (activation_success_handler): Ditto.
7079 (get_property): Ditto.
7081 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7084 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7087 * src/supplicant-manager/nm-supplicant-config.c
7088 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7089 to expected "char *".
7090 (nm_supplicant_config_add_setting_wireless): Ditto.
7091 (nm_supplicant_config_remove_option): Remove, not used.
7093 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7095 (test_wireless_enabled): Ifdef out unused function.
7096 (device_deactivate): Ditto.
7097 (device_state_changed): Ditto.
7098 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7099 (nm_utils_escape_ssid): Ditto.
7101 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7102 (nm_utils_is_empty_ssid): Ditto.
7104 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7107 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7108 (setting_vpn_properties_update_secrets): Ditto.
7109 (int_to_gvalue): Ifdef out for now, not used.
7110 (byte_to_gvalue): Ditto.
7112 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
7115 2007-10-08 Tambet Ingo <tambet@gmail.com>
7117 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7118 about dbus manager, not named manager.
7119 Make sure hal_manager and dbus_mgr are created before trying to unreference.
7121 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7122 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7123 However, the same signal is emitted when we destroy it and there's
7124 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7126 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7127 releasing the DBusGConnection, since proxy needs a conneciton.
7128 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7130 2007-10-08 Dan Williams <dcbw@redhat.com>
7132 * src/NetworkManager.c
7133 - (main): error on unknown command-line options
7135 2007-10-08 Dan Williams <dcbw@redhat.com>
7137 Reimplement the invalid connection list. Don't try to re-activate a
7138 connection that just failed or was canceled.
7141 - (connection_secrets_failed_cb): fail device activation, don't just
7142 deactivate the device. Listeners have to know about the failure.
7144 * src/NetworkManagerPolicy.c
7145 - (nm_policy_auto_get_best_device): exclude invalid connections from
7146 the connection list given to a device's get_best_connection()
7148 - (device_state_changed): tag failed connections as invalid; clear the
7149 tag from successful connections
7151 2007-10-08 Dan Williams <dcbw@redhat.com>
7153 Fix problems with interrupted activation. Previously, choosing an AP
7154 from the menu, then choosing another one before the first connection was
7155 successful wouldn't deactivate the device before starting the new connection
7156 on that same device.
7158 * src/NetworkManagerPolicy.c
7159 - (deactivate_old_device, device_state_changed, state_changed,
7160 nm_policy_new): wrong place to deactivate old devices
7163 - (pending_connection_info_destroy, finalize,
7164 wait_for_connection_expired): decouple destruction of the pending
7165 connection info from the manager device
7166 - (connection_added_default_handler): deactivate any active or
7167 activating device before starting a new activation
7168 - (impl_manager_activate_device): deactivate any active or activating
7169 device before starting a new activation; be sure not to leak
7170 pending connection info if a new activation request arrives but
7171 there's already a pending one in-process
7173 2007-10-08 Dan Williams <dcbw@redhat.com>
7175 * src/NetworkManagerAP.h
7176 src/NetworkManagerAP.c
7177 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
7178 should handle default SSIDs and whether or not to autoconnect
7181 2007-10-08 Dan Williams <dcbw@redhat.com>
7183 * src/NetworkManagerPolicy.c
7184 - (nm_policy_device_change_check): print out connection name where
7187 2007-10-08 Dan Williams <dcbw@redhat.com>
7189 * src/nm-device-802-11-wireless.c
7190 src/nm-device-802-11-wireless.h
7191 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7192 'hidden-ap-found' signal (for internal use only) that allows the
7193 NMManager to fill in the AP's SSID if a connection has that AP's
7194 BSSID in its seen-bssids list
7197 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7198 wireless device's hidden-ap-found signal and fill in the APs SSID
7201 2007-10-07 Dan Williams <dcbw@redhat.com>
7205 - Add a 'connections-added' signal to batch together updates of large
7206 numbers of connections, like when reading from a settings service
7207 the first time. Otherwise, the policy would just activate the first
7208 suitable connection it saw rather than waiting for the full list
7210 - (nm_manager_class_init): register new signal
7211 - (get_type_for_proxy, connection_get_settings_cb,
7212 get_connection_for_proxy): centralize places where a proxy's setting
7213 service is determined
7214 - (free_get_settings_info): if the call being freed is the last call
7215 in a pending call group, fire off the connections-added signal
7216 - (internal_new_connection_cb): add call to a pending call group if
7218 - (list_connections_cb): always create a call group here, because this
7219 call results in a batch of new connections
7220 - (initial_get_connections): start getting system connections first
7221 - (nm_manager_connections_destroy, emit_removed): actually emit the
7222 removed signal when destroying connections
7224 * src/NetworkManagerPolicy.c
7225 - (nm_policy_new, connections_added): handle connections-added signal
7228 2007-10-06 Dan Williams <dcbw@redhat.com>
7230 * src/nm-device-802-11-wireless.c
7231 - (constructor): fix leaked socket
7233 2007-10-06 Dan Williams <dcbw@redhat.com>
7235 * src/NetworkManagerPolicy.c
7236 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
7237 connection in the list returned by nm_manager_get_connections() is
7238 reffed, but they weren't getting unreffed before returning
7240 2007-10-06 Dan Williams <dcbw@redhat.com>
7243 - (connections_to_slist): sort connections first on autoconnect, then
7246 2007-10-06 Dan Williams <dcbw@redhat.com>
7248 * libnm-util/nm-connection.c
7249 - (gvalue_to_string): handle UINT64
7251 2007-10-06 Dan Williams <dcbw@redhat.com>
7253 * src/NetworkManagerPolicy.c
7254 - (connection_updated, nm_policy_new): recheck state when a connection
7257 2007-10-06 Dan Williams <dcbw@redhat.com>
7261 - (nm_manager_get_connection_dbus_path): make static
7262 - (nm_manager_update_connections): remove; unused
7263 - Add a connection-updated signal
7264 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7265 handle connection object updates
7267 2007-10-06 Dan Williams <dcbw@redhat.com>
7269 * src/NetworkManagerPolicy.c
7270 - (connection_removed): deactivate removed connections
7272 2007-10-06 Dan Williams <dcbw@redhat.com>
7274 * libnm-util/nm-connection.c
7275 libnm-util/nm-connection.h
7276 - (nm_connection_replace_settings): new function
7278 2007-10-06 Dan Williams <dcbw@redhat.com>
7280 * libnm-glib/nm-device-802-11-wireless.c
7281 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7282 on error when getting the active access point over D-Bus from NM
7284 2007-10-05 Dan Williams <dcbw@redhat.com>
7286 * libnm-util/nm-setting.c
7287 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7288 to the NMSettingWireless table; it's now a string array not an array
7291 2007-10-05 Dan Williams <dcbw@redhat.com>
7293 * libnm-glib/nm-device-802-11-wireless.c
7294 - Cache properties and update cached properties on D-Bus signals from NM
7296 2007-10-05 Dan Williams <dcbw@redhat.com>
7298 * src/nm-device-802-11-wireless.c
7299 - (set_current_ap): consolidate current_ap handling code into one place
7300 to ensure that PropertiesChanged signals are emitted in all cases
7301 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7302 nm_device_802_11_wireless_dispose): use set_current_ap()
7304 2007-10-05 Dan Williams <dcbw@redhat.com>
7306 * libnm-glib/nm-access-point.c
7307 libnm-glib/nm-access-point.h
7308 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7309 because the value is cached internally now. Callers should not
7310 free the internal value.
7311 - Make signal name defines private
7314 libnm-glib/libnm-glib-test.c
7315 - Don't free value returned from nm_access_point_get_hw_address()
7317 2007-10-04 Dan Williams <dcbw@redhat.com>
7319 * introspection/nm-device-802-11-wireless.xml
7320 src/nm-device-802-11-wireless.h
7321 src/nm-device-802-11-wireless.c
7322 - Add a PropertiesChanged signal for wireless device
7323 - Store currently associated access point
7324 - (periodic_update): generalize; update rate here too and emit the
7325 correct PropertiesChanged signal when stuff changes
7326 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7327 real_activation_cancel_handler): clear current_ap when device is
7329 - (link_to_specific_ap, get_ap_blacklisted,
7330 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7332 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7334 - (real_set_hw_address): emit property changed signal if the card's
7336 - (real_act_stage1_prepare): set the initial current_ap to the AP
7337 the card is supposed to be connecting to
7338 - (activation_success_handler): send out property updates on successful
7340 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7341 for ACTIVE_ACCESS_POINT property because sometimes there won't be
7342 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7343 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7344 is now boxed; add PropertiesChanged signal
7346 2007-10-04 Dan Williams <dcbw@redhat.com>
7348 * libnm-util/nm-connection.c
7349 libnm-util/nm-connection.h
7350 - (nm_connection_verify): new function
7352 2007-10-04 Dan Williams <dcbw@redhat.com>
7354 * libnm-util/nm-setting.c
7355 - (nm_settings_verify): use #defines when possible rather than strings
7356 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7357 - (setting_vpn_verify): tighter validity check on 'service_type'
7359 2007-10-04 Dan Williams <dcbw@redhat.com>
7361 * libnm-glib/nm-settings.c
7362 - (nm_connection_settings_class_init): provide correct type for argument
7363 to the Updated signal so that dbus-glib knows how to marshal it
7365 2007-10-03 Dan Williams <dcbw@redhat.com>
7367 * src/nm-device-802-3-ethernet.c
7368 - (real_get_best_connection): don't create automatic connections
7369 internally; clients should provide a setting that applies to
7370 the device with 'autoconnect: True'. Problem was that these
7371 internally auto-created connections don't have a proxy or service
7372 name becuase they weren't created by a settings daemon, and therefore
7373 clients have no idea what to do with them.
7375 2007-10-03 Dan Williams <dcbw@redhat.com>
7377 * src/nm-device-802-11-wireless.c
7378 src/nm-device-802-11-wireless.h
7379 introspection/nm-device-802-11-wireless.xml
7380 - GetActiveNetworks -> GetAccessPoints
7381 - ActiveNetwork -> ActiveAccessPoint
7382 - NetworkAdded -> AccessPointAdded
7383 - NetowrkRemoved -> AccessPointRemoved
7385 * libnm-glib/nm-device-802-11-wireless.c
7386 libnm-glib/nm-device-802-11-wireless.h
7387 - network-added signal -> access-point-added
7388 - network-removed signal -> access-point-removed
7389 - nm_device_802_11_wireless_get_active_network() ->
7390 nm_device_802_11_wireless_get_active_access_point()
7391 - nm_device_802_11_wireless_get_network_by_path() ->
7392 nm_device_802_11_wireless_get_access_point_by_path()
7393 - nm_device_802_11_wireless_get_networks() ->
7394 nm_device_802_11_wireless_get_access_points()
7396 * libnm-glib/libnm-glib-test.c
7398 src/NetworkManagerPolicy.c
7399 - Fixups for Network -> AccessPoint
7401 2007-10-03 Dan Williams <dcbw@redhat.com>
7403 Add a GetActiveConnections() method on the Manager object.
7407 introspection/nm-manager.xml
7408 - (connection_get_settings_cb): keep connection type around too
7409 - (impl_manager_get_active_connections, add_one_connection_element):
7410 implement; returns all active connections and what devices they
7413 * libnm-glib/nm-client.c
7414 libnm-glib/nm-client.h
7415 introspection/nm-manager-client.xml
7416 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7417 by the caller; free here to avoid memory leak
7418 - (nm_client_get_active_connections): implement; return the list of
7420 - (nm_client_free_active_connection_element): implement; free an element
7421 of the GSList returned by nm_client_get_active_connections()
7423 2007-10-03 Dan Williams <dcbw@redhat.com>
7425 * src/nm-device-802-11-wireless.c
7426 - (nm_device_802_11_wireless_update_bssid): remove
7427 - (get_active_ap): new function; find the AP in the scan list which
7428 matches the current BSSID and SSID of the wireless device
7429 - (nm_device_802_11_periodic_update): get current AP using
7430 get_active_ap() and print AP roam messages
7432 2007-10-01 Dan Williams <dcbw@redhat.com>
7434 * libnm-util/nm-setting.h
7435 - Add a 'timestamp' option to NMSettingConnection
7438 * libnm-util/nm-setting.c
7439 - (uint64_to_gvalue): new function
7440 - (nm_setting_populate_from_hash, nm_setting_hash,
7441 default_setting_clear_secrets): handle UINT64 type
7442 - con_table: add 'timestamp' member
7444 2007-10-01 Dan Williams <dcbw@redhat.com>
7447 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7448 value when the connection can be activated immediately
7450 2007-10-01 Dan Williams <dcbw@redhat.com>
7452 * libnm-glib/nm-device.c
7453 - (nm_device_class_init): actually tell glib about the carrier-changed
7456 2007-10-01 Dan Williams <dcbw@redhat.com>
7459 src/marshallers/Makefile.am
7460 src/marshallers/nm-marshal.list
7461 src/marshallers/nm-marshal-main.c
7462 - Consolidate glib marshallers into one place
7464 * src/dhcp-manager/Makefile.am
7465 src/dhcp-manager/nm-dhcp-manager.c
7466 src/supplicant-manager/Makefile.am
7467 src/supplicant-manager/nm-supplicant-manager.c
7468 src/supplicant-manager/nm-supplicant-interface.c
7469 src/ppp-manager/Makefile.am
7470 src/ppp-manager/nm-ppp-manager.c
7471 src/vpn-manager/Makefile.am
7472 src/vpn-manager/nm-vpn-connection.c
7474 - Use consolidated marshallers
7476 * src/dhcp-manager/nm-dhcp-marshal.list
7477 src/dhcp-manager/nm-dhcp-marshal-main.c
7478 src/supplicant-manager/nm-supplicant-marshal-main.c
7479 src/supplicant-manager/nm-supplicant-marshal.list
7480 src/nm-marshal-main.c
7482 src/ppp-manager/nm-ppp-marshal-main.c
7483 src/ppp-manager/nm-ppp-marshal.list
7484 src/vpn-manager/nm-vpn-marshal-main.c
7485 src/vpn-manager/nm-vpn-marshal.list
7488 2007-10-01 Dan Williams <dcbw@redhat.com>
7490 * include/NetworkManagerVPN.h
7491 - define VPN connection state change reason codes
7493 * src/vpn-manager/Makefile.am
7494 src/vpn-manager/nm-vpn-marshal.list
7495 src/vpn-manager/nm-vpn-marshal-main.c
7496 - Add marshallers for StateChanged signal
7498 * introspection/nm-vpn-connection.xml
7499 - New Banner property
7500 - StateChanged signal now includes a 'reason' argument
7502 * src/vpn-manager/nm-vpn-connection.c
7503 src/vpn-manager/nm-vpn-connection.h
7504 - Add a "Banner" property that contains the returned VPN server login
7505 banner (if any); valid only in the ACTIVATED state
7506 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7507 a 'reason' argument and emits that reason along with the
7508 state-changed signal
7509 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7510 - (nm_vpn_connection_ip4_config_get): save banner for later
7511 - (nm_vpn_connection_get_banner, get_property,
7512 nm_vpn_connection_class_init): implement Banner property
7514 * src/vpn-manager/nm-vpn-service.c
7515 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7516 connection list because elements may get added/removed from it
7517 while iterating over the list
7518 - (connection_state_changed): signal now includes the 'reason' argument
7520 * libnm-glib/nm-vpn-connection.c
7521 libnm-glib/nm-vpn-connection.h
7522 - (nm_vpn_connection_get_banner): new function
7523 - (state_changed_proxy): handle reason argument
7525 2007-09-28 Tambet Ingo <tambet@gmail.com>
7529 Implement device activation through NMManager.
7530 Implement "pending device activation" here - If the connection isn't found,
7531 we try to wait for up to 5 seconds for the connection to be provided.
7532 Add NMConnectionType argument to "connection-added" and "connection-removed"
7534 (nm_manager_get): Remove. Finally.
7536 * src/nm-activation-request.c:
7537 * src/nm-activation-request.h:
7538 Remove all the deferred activation code.
7540 * src/nm-device.c: Remove all the deferred activation code. Once the device
7541 activation is started, it's started. Update the activation virtual function
7544 * src/nm-device-interface.c:
7545 * src/nm-device-interface.h:
7546 Device activation now takes only NMActRequest argument.
7547 Don't expose device activation directly on dbus, it's supposed to go through
7550 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
7552 Use the new device activation methods through NMManager.
7554 * introspection/nm-manager-client.xml:
7555 * introspection/nm-manager.xml:
7556 * libnm-glib/nm-client.c:
7557 * libnm-glib/nm-client.h:
7558 Add device activation method.
7560 * libnm-glib/nm-device.c:
7561 * libnm-glib/nm-device.h:
7562 * introspection/nm-device.xml:
7563 Remove device activation method. It's done through NMManager now.
7565 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
7566 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
7568 2007-09-28 Dan Williams <dcbw@redhat.com>
7570 * libnm-glib/nm-vpn-connection.c
7571 - (nm_vpn_connection_get_state): try to update state if the current
7574 2007-09-27 Dan Williams <dcbw@redhat.com>
7576 Patch from Bill Nottingham
7578 * src/supplicant-manager/nm-supplicant-config.c
7579 - (ADD_STRING_VAL): use correct length for binary blobs when sending
7580 data to the supplicant
7582 2007-09-27 Dan Williams <dcbw@redhat.com>
7584 * src/NetworkManagerSystem.c
7585 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
7586 and all address manipulation here should be happening on the
7587 _VPN_ device, not the active device
7589 2007-09-26 Dan Williams <dcbw@redhat.com>
7593 src/nm-activation-request.c
7594 src/nm-activation-request.h
7595 - Move the GetSecrets stuff out of the NMManager instance because it
7596 doesn't really need to be there and complicates things
7599 - (connection_secrets_failed_cb, device_activation_go): connect to the
7600 connection-secrets-failed signal and deactivate the device if
7601 the GetSecrets call fails
7603 * src/nm-device-802-11-wireless.c
7604 - (link_timeout_cb, supplicant_connection_timeout_cb,
7605 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
7606 secrets and give correct hints about whether new secrets should be
7607 asked for by the client or not
7609 2007-09-26 Dan Williams <dcbw@redhat.com>
7611 * src/vpn-manager/nm-vpn-connection.c
7612 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
7613 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
7614 to the secrets-updated signal of the NMConnection since updating
7615 the secrets is done within the scope of the NMVPNConnection object
7617 - (get_connection_secrets): fix an uninialized variable usage error
7619 2007-09-26 Dan Williams <dcbw@redhat.com>
7621 * libnm-util/nm-setting.c
7622 - (setting_vpn_properties_update_secrets): implement so VPN secrets
7623 actually get updated when the user enters them
7625 2007-09-26 Dan Williams <dcbw@redhat.com>
7627 * libnm-glib/nm-vpn-plugin.c
7628 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
7630 2007-09-26 Dan Williams <dcbw@redhat.com>
7632 * include/NetworkManagerVPN.h
7633 - Add a NEED_AUTH state
7635 * src/vpn-manager/nm-vpn-connection.c
7636 - Implement the NEED_AUTH state. First ask the VPN service plugin if
7637 the connection needs secrets, and if so, then ask the settings
7638 service to fill in the secrets. Then start the connection.
7640 2007-09-26 Dan Williams <dcbw@redhat.com>
7642 * src/vpn-manager/nm-vpn-manager.c
7643 - (new_vpn_error, impl_vpn_manager_connect): set errors
7645 2007-09-26 Dan Williams <dcbw@redhat.com>
7647 * introspection/nm-vpn-plugin.xml
7648 libnm-glib/nm-vpn-plugin.c
7649 libnm-glib/nm-vpn-plugin.h
7650 - (impl_vpn_plugin_need_secrets): implement a call that should return
7651 the name of the NMSetting in an NMConnection that may require
7652 secrets specific to that VPN plugin
7654 2007-09-26 Dan Williams <dcbw@redhat.com>
7658 - (nm_manager_get_connection_secrets): make static, unused outside
7660 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
7662 2007-09-26 Tambet Ingo <tambet@gmail.com>
7664 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
7666 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
7667 unreference the connection.
7669 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
7670 passing properties hash and routes string list, pass NMConnection (in hashed form).
7672 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
7673 as GSList, no need to copy stuff around anymore.
7674 (nm_vpn_connection_activate): Update the plugin activation method.
7676 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
7677 routes argument to GSList.
7679 2007-09-26 Tambet Ingo <tambet@gmail.com>
7681 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
7682 state and try to get the secrets.
7684 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
7685 connections from NMManager and let the device to choose the best from the list.
7686 Since the connection list is sorted by system ones first and user ones later,
7687 the devices still prefer system connections like they did before.
7688 (deactivate_old_device): Implement. When a device starts activation, we have a
7689 policy (for now at least) to deactivate any other device that might be either
7690 active or still activating.
7692 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
7693 It's set on construction, there will be no other way to access it.
7695 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
7696 device events and drive the device, not the other way around.
7698 * src/nm-device-802-3-ethernet.c: Ditto.
7700 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
7701 sent along, pass it on to virtual functions.
7703 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
7704 for now, but should really be public instead of nm_device_get_iface() since iface
7705 is a property of the DeviceInterface, not Device.
7706 (impl_device_activate): Don't touch NMManager!
7708 2007-09-26 Jürg Billeter <j@bitron.ch>
7710 * initscript/paldo/NetworkManager.in:
7711 * initscript/paldo/NetworkManagerDispatcher.in:
7712 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
7713 (nm_system_flush_loopback_routes): update paldo backend
7715 2007-09-26 Tambet Ingo <tambet@gmail.com>
7717 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
7718 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
7719 which means none of the devices get brought down properly, which in turn leaves
7720 DHCP client running.
7722 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
7723 (supplicant_connection_timeout_cb): Ditto.
7725 2007-09-25 Dan Williams <dcbw@redhat.com>
7728 - (device_activation_go): small hack to work around race when
7729 activating deferred connections; should solve this in a better way
7731 2007-09-25 Dan Williams <dcbw@redhat.com>
7733 * introspection/nm-device.xml
7734 libnm-glib/nm-device.c
7735 libnm-glib/nm-device.h
7736 - Add 'Carrier' property to exported NMDevice objects
7738 * src/nm-device-interface.h
7739 src/nm-device-interface.c
7741 - Add a 'carrier' property to internal NMDevice objects
7743 2007-09-25 Dan Williams <dcbw@redhat.com>
7745 * src/nm-device-802-11-wireless.c
7746 - (ap_auth_enforced): also return the encryption status of the AP so
7747 that callers can differentiate easily between unencrypted APs
7748 and encrypted ones, in addition to whether the AP has an
7750 - (link_timeout_cb, supplicant_connection_timeout_cb,
7751 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
7752 previously would request secrets from unencrypted APs at times
7754 2007-09-25 Dan Williams <dcbw@redhat.com>
7757 - (nm_manager_update_state): new function; updates state and emits
7758 appropriate signals ensuring a state-change signal for the same state
7759 never gets emitted twice in a row.
7760 - (manager_device_state_changed): handle more device state to get a
7761 better picture of the overall NM state
7763 2007-09-25 Dan Williams <dcbw@redhat.com>
7765 * libnm-glib/nm-settings.c
7766 libnm-glib/nm-settings.h
7767 - (new_error -> nm_settings_new_error): make public so that subclasses
7768 can use the same error domain. Also pass a valid error code to
7769 g_error_new_literal() so that libdbus doesn't assert when converting
7770 the GError into a DBusError
7771 - (impl_settings_list_connections, impl_connection_settings_get_id,
7772 impl_connection_settings_get_settings,
7773 impl_connection_settings_get_secrets): use new error creator
7776 2007-09-25 Dan Williams <dcbw@redhat.com>
7778 * src/NetworkManager.c
7779 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
7781 2007-09-25 Dan Williams <dcbw@redhat.com>
7783 * src/supplicant-manager/nm-supplicant-manager.c
7784 - (poke_supplicant_cb, nm_supplicant_manager_init,
7785 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
7786 nm_supplicant_manager_startup): when the supplicant isn't running,
7787 try to start it periodically via system bus activation. Fixes
7788 a problem where if wpa_supplicant goes away, NM gets stuck waiting
7789 for the supplicant to come back
7791 2007-09-25 Dan Williams <dcbw@redhat.com>
7793 Ensure that old activation requests are forgotten about; previously
7794 hitting Cancel in the password dialog would deactivate whatever device
7795 that password was requested for, even if that wasn't the currently
7796 activating connection.
7800 - (nm_manager_get_connection_secrets): track the pending call
7801 object so it can be canceled later if needed
7802 - (nm_manager_cancel_get_connection_secrets): cancel a pending
7803 GetSecrets call for a particular connection
7805 * src/nm-activation-request.c
7806 - (dispose): cancel any outstanding GetSecrets calls on the
7809 2007-09-25 Dan Williams <dcbw@redhat.com>
7811 * src/NetworkManagerPolicy.c
7812 - (nm_policy_device_change_check): handle devices that have a
7813 deferred activation. These devices are not really active _yet_,
7814 but need to be treated as such here. Don't interrupt them
7817 * src/nm-device-interface.c
7818 - (impl_device_activate): handle devices that have a deferred activation
7819 like activating or active devices. When multiple active devices
7820 get committed, the device shouldn't be deactivated until the
7821 connection details are available to avoid DoS and such. Currently,
7822 any active, activating, or deferred activation device is deactivated
7823 here before starting the new activation request.
7825 2007-09-25 Dan Williams <dcbw@redhat.com>
7827 Properly re-query secrets from the settings daemon when stuff fails.
7829 * src/nm-device-802-11-wireless.c
7830 - (ap_auth_enforced): handle static WEP correctly here by differentiating
7831 between Shared Key and Open System auth modes
7832 - (link_timeout_cb, supplicant_connection_timeout_cb,
7833 real_act_stage4_ip_config_timeout): clear existing secrets and
7834 request new ones when something fails due to a suspected wrong key
7835 - (real_act_stage2_config): fix for new request_new argument to
7836 nm_manager_get_connection_secrets()
7840 - (nm_manager_get_connection_secrets): return error status; pass
7841 new request_new argument on to the settings daemon
7843 * introspection/nm-settings-connection.xml
7844 - New 'request_new' argument to the GetSecrets call that hints to the
7845 settings daemon to ask the user for completely new secrets
7847 * libnm-glib/nm-settings.c
7848 libnm-glib/nm-settings.h
7849 - (impl_connection_settings_get_secrets): handle new 'request_new'
7852 2007-09-25 Dan Williams <dcbw@redhat.com>
7854 * libnm-util/nm-connection.c
7855 libnm-util/nm-connection.h
7856 - (nm_connection_clear_secrets): new function; clear secrets out of
7857 each NMSetting in an NMConnection
7859 * libnm-util/nm-setting.h
7860 libnm-util/nm-setting.c
7861 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
7862 secrets out of an NMSetting
7863 - (nm_setting_connection_new, nm_setting_ip4_config_new,
7864 nm_setting_wired_new, nm_setting_wireless_new,
7865 nm_setting_wireless_security_new, nm_setting_ppp_new,
7866 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
7867 to default handler default_setting_clear_secrets()
7869 2007-09-25 Dan Williams <dcbw@redhat.com>
7871 * src/nm-activation-request.c
7872 src/nm-activation-request.h
7873 - (nm_act_request_is_deferred): new function
7875 2007-09-24 Dan Williams <dcbw@redhat.com>
7877 * src/nm-device-802-11-wireless.c
7878 - (activation_success_handler): update signal strength immediately
7881 2007-09-24 Dan Williams <dcbw@redhat.com>
7883 * libnm-util/nm-setting.c
7884 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
7886 2007-09-24 Dan Williams <dcbw@redhat.com>
7888 * src/NetworkManagerPolicy.c
7889 - (nm_policy_auto_get_best_device): don't interrupt activation of a
7890 device by deactivating it because it doesn't have a "best connection".
7891 Since autoconnect=False connections aren't automatically chosen,
7892 NM would interrupt activation of such a connection because it
7893 would never be "best" due to autoconnect=False.
7895 2007-09-24 Dan Williams <dcbw@redhat.com>
7898 - (nm_manager_get_connection_secrets): Add a long timeout so the user
7899 actually has some time to enter a key before the GetSecrets call
7902 2007-09-24 Dan Williams <dcbw@redhat.com>
7904 * introspection/nm-manager.xml
7906 - (impl_manager_legacy_state): fix 'state' method call return value
7908 2007-09-24 Matthias Clasen <mclasen@redhat.com>
7910 * test/Makefile.am: Install nm-tool
7912 2007-09-24 Dan Williams <dcbw@redhat.com>
7914 Patch from Ross Burton <ross@burtonini.com>
7917 callouts/nm-dhcp-client-action.c
7919 src/vpn-manager/nm-vpn-connection.c
7920 libnm-glib/libnm-glib-test.c
7923 2007-09-24 Dan Williams <dcbw@redhat.com>
7925 * libnm-util/nm-utils.h
7926 libnm-util/nm-utils.c
7927 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
7930 2007-09-23 Dan Williams <dcbw@redhat.com>
7932 * vpn-daemons/vpnc/properties/nm-vpnc.c
7933 - Update for new VPN properties API bits; instead of passing around
7934 a lot of random things, everything goes into the NMConnection
7937 2007-09-23 Dan Williams <dcbw@redhat.com>
7939 * libnm-util/nm-setting.c
7940 - Correctly dispose of settings objects if creating them from a hash
7943 2007-09-23 Dan Williams <dcbw@redhat.com>
7945 * libnm-util/nm-setting.c
7946 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
7947 the hash table in a standard manner. Clients of libnm-util should
7948 only call g_hash_table_remove_all(), never destroy the hash table
7951 2007-09-22 Dan Williams <dcbw@redhat.com>
7953 * src/nm-device-802-11-wireless.c
7954 - (real_bring_up): update signal strength every 6 seconds, not 2. No
7955 real reason to do it so often, and reduces wakeups for clients.
7957 2007-09-21 Dan Williams <dcbw@redhat.com>
7959 * src/nm-device-802-11-wireless.c
7960 - (build_supplicant_config): wpa_supplicant requires the option
7961 key_mgmt=NONE for unencrypted networks
7962 - (real_act_stage2_config): clarify log message on activation
7964 2007-09-21 Dan Williams <dcbw@redhat.com>
7966 * test/nm-supplicant-test.c
7968 - Remove supplicant test binary; no longer applicable
7970 2007-09-21 Dan Williams <dcbw@redhat.com>
7972 * src/supplicant-manager/nm-supplicant-manager.c
7973 - (nm_supplicant_manager_init): poke the supplicant at startup to
7974 activate it on the system bus
7976 2007-09-20 Dan Williams <dcbw@redhat.com>
7978 * initscript/RedHat/NetworkManager.in
7979 - dhcdbd is no longer used, so don't try to start it from the initscripts
7981 2007-09-20 Dan Williams <dcbw@redhat.com>
7984 - (nm_device_is_activating): work around a race between auto-activation
7985 and the user activating the same device that is being auto-activated
7987 2007-09-20 Dan Williams <dcbw@redhat.com>
7989 * src/nm-device-interface.c
7990 - (impl_device_activate): until multiple active device support lands,
7991 ensure only one device can be active at a time
7993 2007-09-20 Dan Williams <dcbw@redhat.com>
7995 * src/supplicant-manager/nm-supplicant-config.c
7996 src/supplicant-manager/nm-supplicant-config.h
7997 - (nm_supplicant_config_add_option): hide secrets from system logs
7999 2007-09-20 Dan Williams <dcbw@redhat.com>
8001 * src/NetworkManagerPolicy.c
8002 - (nm_policy_device_change_check): re-enable the wireless device change
8003 checking code; insted of checking for SSIDs, check for the same
8006 2007-09-20 Dan Williams <dcbw@redhat.com>
8008 * src/nm-device-802-11-wireless.c
8009 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8010 composite link state when determining when to start the disconnection
8011 timer; that link state is already based on the supplicant interface's
8012 status which is exactly what's already being examined, plus the link
8013 state is a conglomeration of various things that we don't want here
8015 2007-09-20 Dan Williams <dcbw@redhat.com>
8017 * libnm-glib/nm-access-point.c
8018 - (handle_property_changed): strength is a UCHAR
8020 2007-09-20 Dan Williams <dcbw@redhat.com>
8022 * src/supplicant-manager/nm-supplicant-config.c
8023 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8024 string list keywords too since that's what wpa_supplicant wants
8026 2007-09-20 Dan Williams <dcbw@redhat.com>
8028 * libnm-util/nm-setting.c
8029 - (convert_strv_to_slist): dupe the values in the list because since
8030 the list is a boxed value, it'll get destroyed when it's container
8031 (like a hash table or whatever) gets destroyed
8033 2007-09-20 Tambet Ingo <tambet@gmail.com>
8035 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8038 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8040 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8041 just use (g_object_set_data_full).
8043 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8044 that NMSettingVPN->routes is a GSList, convert it to char **.
8045 (nm_vpn_connection_ip4_config_get): Free routes when done.
8046 (nm_vpn_connection_activate): Ditto.
8048 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8049 (real_act_stage2_config): Use defined setting names.
8051 2007-09-20 Dan Williams <dcbw@redhat.com>
8053 * src/nm-device-802-11-wireless.c
8056 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8057 so that the device can be deactivated if secrets are wrong
8059 2007-09-20 Dan Williams <dcbw@redhat.com>
8061 * introspection/nm-settings-connection.xml
8062 libnm-glib/nm-settings.c
8063 libnm-glib/nm-settings.h
8064 - Make GetSecrets asynchronous on the server side
8066 2007-09-20 Dan Williams <dcbw@redhat.com>
8070 - (nm_device_activate): actually check if a given connection
8071 exists before assuming it doesn't
8073 2007-09-20 Tambet Ingo <tambet@gmail.com>
8075 * libnm-util/nm-connection.c (register_default_creators): Use defined
8076 setting names. Register NMSettingVPN and NMSettingVPNProperties.
8078 * libnm-util/nm-setting.c: Define property name strings, use them.
8079 Implement NMSettingVPN and NMSettingVPNProperties settings.
8080 Implement NM_S_TYPE_GVALUE_HASH.
8081 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8082 (setting_connection_verify): Rename 'devtype' property to 'type'.
8084 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8087 * src/vpn-manager/nm-vpn-service.c: Ditto.
8089 * src/vpn-manager/nm-vpn-connection.c: Ditto.
8091 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8092 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8094 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8095 names. NMSettingConnection->devtype got renamed to 'type'.
8097 * src/nm-device-802-3-ethernet.c (find_best_connection):
8098 (real_get_best_connection): Ditto.
8100 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8102 * libnm-glib/nm-vpn-manager.[ch]: Update.
8104 2007-09-19 Dan Williams <dcbw@redhat.com>
8106 * src/NetworkManagerAP.c
8107 src/NetworkManagerAP.h
8108 introspection/nm-access-point.xml
8109 - Change strength-changed signal into a properties-changed signal
8110 for all properties, not just strength. Export that signal over dbus
8111 so listeners don't have to poll NM for changes.
8112 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8113 get exported over D-Bus, so break up the logic and let other bits
8114 decided when to export the AP
8115 - (nm_ap_new_from_ap): remove, unused
8117 * src/nm-device-802-11-wireless.c
8118 - (merge_scanned_ap): only export APs that are actually on the device
8119 list, not every AP created internally
8121 * libnm-glib/nm-access-point.c
8122 libnm-glib/nm-access-point.h
8123 - Cache properties internally and only hit DBus when needed. Get
8124 property updates from NM signals
8126 2007-09-16 Dan Williams <dcbw@redhat.com>
8128 * libnm-util/nm-connection.c
8129 libnm-util/nm-connection.h
8130 - (nm_connection_for_each_setting_value): new function; iterate over
8131 each setting's value and call a user-provided function with details
8134 * libnm-util/nm-setting.c
8135 libnm-util/nm-setting.h
8136 - (nm_setting_enumerate_values): new function; enumerate the values
8137 of a specific NMSetting subclass for a user-provided function with
8138 details about that value
8139 - Change wep_tx_keyidx to a uint32
8140 - Create settings value tables for each setting defining their type,
8141 key name, offset into the NMSetting subclass' structure, and whether
8142 they are required and/or a secret
8143 - (nm_setting_populate_from_hash): generic function to populate an
8144 NMSetting from a GHash table, make all settings use it
8145 - (nm_setting_hash): generic function to derive a GHashTable from
8146 an NMSetting object, make all settings use it
8148 2007-09-14 Dan Williams <dcbw@redhat.com>
8150 Remove unused stuff in libnm-util
8153 libnm-util/Makefile.am
8154 libnm-util/cipher-private.h
8155 libnm-util/cipher-wep-ascii.c
8156 libnm-util/cipher-wep-ascii.h
8157 libnm-util/cipher-wep-hex.c
8158 libnm-util/cipher-wep-hex.h
8159 libnm-util/cipher-wep-passphrase.c
8160 libnm-util/cipher-wep-passphrase.h
8161 libnm-util/cipher-wpa-psk-hex.c
8162 libnm-util/cipher-wpa-psk-hex.h
8163 libnm-util/cipher-wpa-psk-passphrase.c
8164 libnm-util/cipher-wpa-psk-passphrase.h
8167 libnm-util/dbus-helpers.c
8168 libnm-util/dbus-helpers.h
8169 libnm-util/gnome-keyring-md5.c
8170 libnm-util/gnome-keyring-md5.h
8173 src/nm-device-802-11-wireless.c
8174 test/libnm-util/Makefile.am
8175 test/libnm-util/test-ciphers.c
8176 test/libnm-util/test-dbus-helpers.c
8177 test/libnm-util/test-inputs.h
8180 2007-09-14 Dan Williams <dcbw@redhat.com>
8182 * libnm-util/dbus-method-dispatcher.c
8183 libnm-util/dbus-method-dispatcher.h
8186 2007-09-14 Dan Williams <dcbw@redhat.com>
8188 Implement deferred activation support in the device class.
8190 * src/nm-device-interface.c
8191 src/nm-device-interface.h
8192 - (nm_device_interface_activate): take more arguments to support
8193 deferred activation; callers must pass one of (connection) OR
8194 (service_name, connection_path)
8195 - (impl_device_activate): connection validation is punted to the device
8196 to be able to handle deferred activation. Yes, this means errors
8197 don't get returned from the Activate() dbus call, and yes, that
8198 should be fixed somehow later.
8202 - (clear_act_request): clear additional deferred activation stuff too
8203 - (deferred_activation_timeout_cb): new function; clean up when
8204 deferred activation times out.
8205 - (deferred_activation_start_cb): new function; when the connection
8206 finally becomes available, start device activation
8207 - (nm_device_activate): attach to the right signals of the activation
8208 request if we need to defer activation until the connection is valid
8210 * src/NetworkManagerPolicy.c
8211 - (nm_policy_device_change_check): update for additional arguments
8212 required for nm_device_interface_activate(). Pass NULL for these
8213 though because this function already knows exactly which
8216 2007-09-14 Dan Williams <dcbw@redhat.com>
8218 Implement deferred activation handling in the NMActRequest class. When a
8219 client wants to activate a device but must create the NMConnection details
8220 on the fly, there likely hasn't been enough time yet for NM to receive the
8221 new connection signal and grab all the connection details. So the
8222 activation is deferred (and bounded by a timer) for a while, and if the
8223 connection appears within the window, it is activated.
8225 * src/nm-activation-request.c
8226 src/nm-activation-request.h
8227 - (nm_act_request_class_init): two new signals to support deferred
8228 activation, to allow the listener to handle both timeout and success
8229 - (nm_act_request_new_deferred): new function, starts the deferred
8230 activation timeout handler and listens to the NMManager for
8231 new-connection signals to notice when the connection comes in
8233 2007-09-14 Dan Williams <dcbw@redhat.com>
8237 - (nm_manager_get_connection_service_name,
8238 nm_manager_get_connection_dbus_path): get details about a connection
8239 known internally by the NMManager
8240 - (nm_manager_class_init): fix connection add/remove signal marshalers
8241 because NMConnection is now a GObject subclass
8242 - Use constant for the gobject data tag used on NMConnection objects for
8243 storing the associated DBusGProxy
8245 2007-09-14 Dan Williams <dcbw@redhat.com>
8250 src/supplicant-manager/Makefile.am
8251 src/dhcp-manager/Makefile.am
8252 src/backends/Makefile.am
8253 src/named-manager/Makefile.am
8254 src/ppp-manager/Makefile.am
8255 src/vpn-manager/Makefile.am
8256 test/libnm-util/Makefile.am
8257 test/test-common/Makefile.am
8258 - Remove utils/; it was unused
8260 2007-09-13 Dan Williams <dcbw@redhat.com>
8262 * libnm-glib/nm-vpn-manager.h
8263 libnm-glib/nm-vpn-manager.c
8264 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8266 2007-09-13 Dan Williams <dcbw@redhat.com>
8268 * src/nm-device-802-3-ethernet.c
8269 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8270 netlink monitor carrier signals on dispose, not bring down. The
8271 carrier signals should be handled over the entire lifetime of the
8272 device anyway, not created/destroyed on up or down.
8274 2007-09-13 Dan Williams <dcbw@redhat.com>
8276 * libnm-glib/nm-device.c
8277 libnm-glib/nm-device.h
8278 - (nm_device_activate): take a connection object path rather than an
8279 NMConnection because NMConnection isn't exported over D-Bus and
8280 therefore it dbus-glib can't automatically get an object path from it
8282 2007-09-13 Dan Williams <dcbw@redhat.com>
8284 * libnm-util/nm-setting.c
8285 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8287 2007-09-13 Tambet Ingo <tambet@gmail.com>
8289 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8291 2007-09-12 Tambet Ingo <tambet@gmail.com>
8293 * src/vpn-manager/nm-vpn-connection.[ch]:
8294 * src/vpn-manager/nm-vpn-manager.[ch]:
8295 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
8296 dbus-glib, GObjects, signals etc.
8298 * libnm-glib/nm-vpn-manager.[ch]:
8299 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8300 so much, rewrite these too.
8302 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8303 the new introspection files.
8305 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8307 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8308 the header with the same name from libnm-utils.
8310 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8312 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8314 * introspection/nm-vpn-plugin.xml: Implement.
8316 * introspection/nm-vpn-connection.xml: Implement.
8318 * introspection/nm-vpn-manager.xml: Implement.
8320 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8321 the named manager argument, it can just as easily get it as the caller.
8322 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8324 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8326 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8328 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8331 * libnm-util/nm-connection.c: Ditto.
8333 * src/NetworkManagerMain.h: Remove, it's finally empty.
8335 * configure.in: Remove utils/ from build.
8337 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8338 of hard-coded strings.
8340 * utils/: Move it over to libnm-util.
8342 * test/Makefile.am: Link against libnm-util now that util/ is gone.
8344 * dispatcher-daemon/Makefile.am: Ditto.
8346 * src/Makefile.am: Ditto.
8348 2007-09-12 Dan Williams <dcbw@redhat.com>
8350 Wireless connections can be made with config data from the applet now.
8354 * src/supplicant-manager/nm-supplicant-config.h
8355 src/supplicant-manager/nm-supplicant-config.c
8356 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8357 - (nm_supplicant_config_add_setting_wireless,
8358 nm_supplicant_config_add_setting_wireless_security): new functions;
8359 add key/value pairs from the settings objects to the supplicant
8362 * src/nm-device-802-11-wireless.c
8363 - (cull_scan_list): fix check to not prune currently associated AP
8364 - (build_supplicant_config, real_act_stage2_config): call the functions
8365 of the NMSupplicantConfig that parse settings objects rather than
8366 doing it manually here
8368 2007-09-12 Dan Williams <dcbw@redhat.com>
8370 * src/supplicant-manager/nm-supplicant-interface.c
8371 src/supplicant-manager/nm-supplicant-marshal.list
8372 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8373 "connection-error" signal arguments should be STRING not CHAR
8375 2007-09-12 Dan Williams <dcbw@redhat.com>
8377 * src/NetworkManagerUtils.c
8378 src/NetworkManagerUtils.h
8379 - (nm_utils_hexstr2bin): new function
8381 2007-09-11 Dan Williams <dcbw@redhat.com>
8384 - (connection_get_settings_cb): emit connection-added signal
8385 - (connection_removed_cb): uncomment bits for system settings service,
8386 send connection-removed when appropriate
8387 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8388 the stack by trying to g_object_set_data() on something that's
8389 not a GObject; handle case where settings service returns
8390 empty settings hash table
8392 2007-09-11 Dan Williams <dcbw@redhat.com>
8394 * src/NetworkManagerPolicy.c
8395 - (connection_added, connection_removed): trigger device change checks
8396 on connection changes
8398 2007-09-11 Dan Williams <dcbw@redhat.com>
8400 * src/nm-activation-request.c
8401 - (connection_secrets_updated_cb): fix c&p error in signal emission
8403 2007-09-11 Dan Williams <dcbw@redhat.com>
8405 * src/nm-device-802-11-wireless.c
8406 - (real_connection_secrets_updated): fix erroneous check
8408 2007-09-11 Dan Williams <dcbw@redhat.com>
8410 * introspection/nm-device.xml
8411 libnm-glib/nm-device.c
8412 libnm-glib/nm-device.c
8413 - Fix Activate call argument borkage; Activate takes 3 arguments
8415 2007-09-11 Dan Williams <dcbw@redhat.com>
8417 * libnm-glib/nm-access-point.c
8418 libnm-glib/nm-access-point.c
8419 - (nm_access_point_get_frequency): now returns guint32 to match
8420 property change on 2007-09-10
8422 2007-09-11 Dan Williams <dcbw@redhat.com>
8424 * src/nm-device-802-11-wireless.c
8425 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8426 somewhere defines 'index' and I missed this one when I fixed the
8427 shadow declaration errors earlier
8429 2007-09-11 Dan Williams <dcbw@redhat.com>
8431 * libnm-util/nm-connection.c
8432 - (nm_connection_update_secrets, need_secrets_check): move
8433 802-11-wireless-security need_secrets checks to the setting object
8434 itself, where it belongs
8436 * libnm-util/nm-setting.c
8437 libnm-util/nm-setting.h
8438 - (nm_setting_need_secrets): new function
8439 - (setting_wireless_security_verify,
8440 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8441 - (setting_wireless_security_need_secrets): mostly copy code over
8442 from nm-connection.c
8444 2007-09-11 Dan Williams <dcbw@redhat.com>
8446 * libnm-util/nm-setting.c
8447 libnm-util/nm-setting.h
8448 - (nm_setting_update_secrets): new function; add a virtual function that
8449 subclasses can implement to update their secrets
8450 - (setting_wireless_security_update_secrets): implement that function
8451 for the 802-11-wireless-security subclass
8453 * libnm-util/nm-connection.c
8454 libnm-util/nm-connection.h
8455 - (nm_connection_update_secrets): update secrets for a Setting and
8456 emit a signal on success
8461 - (connection_get_settings_cb): enable system settings bits
8462 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8463 to request secrets from the settings dbus service and to
8464 push those secrets to the NMConnection itself
8466 * src/nm-activation-request.c
8467 src/nm-activation-request.h
8468 - Attach to the 'secrets-updated' signal of the NMConnection that's
8469 currently being activated, and proxy that signal to other listeners.
8470 Goes through the activation request because the activation request
8471 is the thing that manages the lifetime of the NMConnection that's
8474 * src/nm-device-802-11-wireless.c
8475 - (real_connection_secrets_updated): implement the connection secrets
8476 updated notification and restart activation when secrets are
8478 - (real_act_stage2_config): request secrets from the settings dbus
8479 service if secrets are needed
8483 - (clear_act_request, nm_device_activation_cancel,
8484 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8485 where the activation request is cleared
8486 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8487 updated secrets signal of activation request and add a function
8488 that subclasses can override to handle it easily
8490 2007-09-11 Tambet Ingo <tambet@gmail.com>
8492 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8493 removal of NetworkManagerAPList.
8495 2007-09-10 Dan Williams <dcbw@redhat.com>
8497 * src/NetworkManagerAP.c
8498 src/NetworkManagerAP.h
8499 introspection/nm-access-point.xml
8500 - Change 'freq' property to a guint32 instead of a double since we
8501 weren't using the floating point bits anyway
8503 2007-09-10 Dan Williams <dcbw@redhat.com>
8505 * NetworkManagerAP.c
8507 NetworkManagerPolicy.c
8508 NetworkManagerSystem.c
8509 NetworkManagerUtils.c
8510 NetworkManagerUtils.h
8511 nm-device-802-11-wireless.c
8512 nm-device-802-3-ethernet.c
8515 vpn-manager/nm-dbus-vpn.c
8516 - Warning fixes; casts and removal of unused variables
8518 2007-09-10 Dan Williams <dcbw@redhat.com>
8520 * include/NetworkManager.h
8521 - Kill NMNetworkType; AP types don't matter any more
8523 * src/NetworkManagerAPList.c
8524 src/NetworkManagerAPList.h
8526 - Kill; NMAccessPointList has outlived it's usefulness
8528 * src/NetworkManagerAP.c
8529 src/NetworkManagerAP.h
8530 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8531 functions; check if an NMConnection object is compatible with the
8533 - (freq_to_channel, channel_to_freq): utility functions for
8534 channel <-> frequency conversion
8538 - (nm_device_get_best_connection): pass the specific object around
8539 (which might be the object path of a specific AP to connect to).
8540 The get_best_connection() call should populate this on return
8541 if needed (wireless does).
8543 * src/nm-device-802-3-ethernet.c
8544 - (real_get_best_connection): handle specific_object argument
8546 * src/NetworkManager.c
8547 src/NetworkManagerMain.h
8548 - Remove unused includes
8550 * src/nm-device-802-11-wireless.c
8551 src/nm-device-802-11-wireless.h
8552 - Convert the ap_list into a GSList from an NMAccessPointList
8553 - No need for caching the 'activation_ap' since this is now determined
8554 from the specific_object of the activation request, which is
8555 populated from the get_best_connection() call or from a user request
8556 - (nm_device_802_11_wireless_update_bssid): fix warning
8557 - (get_wireless_capabilities): fix error message format arguments
8558 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
8559 - (find_best_connection, real_get_best_connection): implement
8560 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
8561 move here from NetworkManagerAPList
8562 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
8563 - (real_act_stage1_prepare): just ensure an AP exists, connection is
8564 already verified earlier
8565 - (real_act_stage2_config): use nm_connection_need_secrets()
8567 * src/NetworkManagerPolicy.c
8568 - (nm_policy_auto_get_best_device): handle specific objects
8569 - (create_connection): remove; automatic connection creation functionality
8570 is handled by the Connection objects
8571 - (nm_policy_device_change_check): handle specific_object
8573 * libnm-util/nm-connection.c
8574 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
8576 2007-09-10 Dan Williams <dcbw@redhat.com>
8579 - (query_connections): fix uninitialized variable problem that caused
8581 - (nm_manager_add_device): take devices down on startup so that we can
8582 be assured that nm_device_is_up() won't short-circuit the init
8583 process. Hack until the is_up check gets split into two pieces
8584 that aren't behaviorally confusing.
8586 2007-09-09 Dan Williams <dcbw@redhat.com>
8588 * introspection/nm-device.xml
8589 - The 'Activate' method now takes 3 arguments, a service name for the
8590 settings service (user or system), the object path of the connection
8591 to activate, and the specific object to activate, if any
8593 * src/nm-device-interface.c
8594 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
8596 - (impl_device_activate): adapt to new Activate arguments; validate
8597 the service name and get the Connection object from the NMManager
8598 before starting to activate the device with the specified connection
8600 * src/nm-device-802-3-ethernet.c
8601 - (real_get_best_connection): find the best connection, or create a
8602 default one if no existing connections can be used
8604 * src/NetworkManagerPolicy.c
8605 - (nm_policy_auto_get_best_device): Get the device's best connection
8606 and only pick the device if it has one
8607 - (nm_policy_device_change_check): disable wireless bits for now until
8608 wireless get_best_connection() can be implemented (replacing "best_ap");
8609 don't create a default connection here as the device subclass will do
8614 - (nm_manager_get): make NMManager a singleton and expose the getter
8616 - Rework internal NMManager connection handling to use the same
8617 routines for both the system and user settings services. Most calls
8618 take a new NMConnectionType argument specifying either system or user
8620 - (nm_manager_get_connection_by_object_path): new function; get a
8621 connection keyed on its object path
8623 * src/NetworkManager.c
8624 - (main): use nm_manager_get()
8626 2007-09-09 Dan Williams <dcbw@redhat.com>
8630 - (nm_device_get_best_connection): new function; get best connection
8631 for the device at that time
8633 2007-09-09 Dan Williams <dcbw@redhat.com>
8635 * src/nm-device-interface.h
8636 - Add NMDeviceInterfaceError with an UnknownConnection error
8638 2007-09-09 Dan Williams <dcbw@redhat.com>
8640 Stupid mistake on my part; object path and interface for settings service
8641 and connection objects can be the same, only the service name must be
8642 different for the system and user settings services.
8644 * include/NetworkManager.h
8646 introspection/nm-settings-connection.xml
8647 introspection/nm-settings.xml
8648 libnm-glib/nm-settings.c
8649 - (nm_connection_settings_init, query_user_connections,
8650 new_connection_cb): Unify NetworkManagerSettings and Connection
8651 interface name and object path
8653 2007-09-06 Dan Williams <dcbw@redhat.com>
8655 * libnm-glib/nm-object.c
8656 - (nm_object_get_string_property, nm_object_get_object_path_property,
8657 nm_object_get_int_property, nm_object_get_uint_property,
8658 nm_object_get_boolean_property, nm_object_get_byte_property,
8659 nm_object_get_double_property, nm_object_get_byte_array_property):
8660 clear GValues after copying their contents, fixes memory leaks
8661 after every property access because dbus-glib copies the values
8662 from the DBusMessage into the GValue already.
8664 2007-09-06 Dan Williams <dcbw@redhat.com>
8666 * introspection/nm-access-point.xml
8667 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
8668 them to be. There's some magic property name parsing going on in
8669 dbus-glib that breaks up property names based on studly-caps and
8670 puts - between words.
8672 * libnm-glib/nm-access-point.c
8673 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
8676 2007-09-06 Dan Williams <dcbw@redhat.com>
8679 - (nm_manager_user_connections_destroy): clear the user connections hash
8680 table, don't destroy it
8681 - (finalize): only destroy the hash table on NMManager finalization
8683 2007-09-02 Dan Williams <dcbw@redhat.com>
8685 * include/NetworkManager.h
8686 libnm-glib/nm-settings.c
8687 - defines for the user settings daemon D-Bus bits
8689 * src/NetworkManager.c
8690 - Remove stuff that referred to the old NetworkManagerInfo service
8692 * src/vpn-manager/nm-dbus-vpn.h
8693 - Move old NMI defines to the only place they are used still
8695 * libnm-util/nm-connection.c
8696 libnm-util/nm-connection.h
8697 src/nm-activation-request.c
8698 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
8702 - Get connections and their settings from the user settings daemon
8703 at the appropriate times
8705 2007-09-02 Dan Williams <dcbw@redhat.com>
8707 * libnm-util/nm-setting.c
8708 - (nm_settings_verify): correct setting name is 'connection', not 'info'
8709 - (setting_wireless_hash): set the right value on the item
8711 2007-09-02 Dan Williams <dcbw@redhat.com>
8715 - Remove, no longer useful
8717 2007-08-30 Dan Williams <dcbw@redhat.com>
8720 src/NetworkManagerDbus.c
8721 src/NetworkManagerDbus.h
8722 src/vpn-manager/nm-dbus-vpn.c
8723 - Remove, no longer necessary. Move last bits to the only place its
8724 used, in nm-dbus-vpn.c
8726 * src/NetworkManagerAPList.c
8728 src/NetworkManager.c
8729 src/nm-device-802-11-wireless.c
8730 src/vpn-manager/nm-vpn-manager.c
8731 src/vpn-manager/nm-vpn-service.c
8732 src/NetworkManagerPolicy.c
8734 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
8735 that was message_is_error()
8737 2007-08-30 Dan Williams <dcbw@redhat.com>
8740 - Include config.h to get defines for endiannes (gnome.org #420216)
8742 2007-08-30 Dan Williams <dcbw@redhat.com>
8744 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
8746 * src/ppp-manager/Makefile.am
8747 - use -fPIC (gnome.org #471825)
8749 2007-08-29 Dan Williams <dcbw@redhat.com>
8751 * include/NetworkManager.h
8752 - Keep NMConnection object path in sync
8754 * libnm-glib/nm-settings.c
8755 libnm-glib/nm-settings.h
8756 - Break D-Bus object registration out of the init function, because
8757 every object that's exported over D-Bus needs to use the _same_
8758 DBusConnection. Otherwise, each object would get a different object
8759 path tree and wouldn't be callable.
8761 2007-08-29 Dan Williams <dcbw@redhat.com>
8763 * libnm-util/nm-setting.h
8764 libnm-util/nm-setting.c
8765 libnm-util/nm-connection.c
8766 src/NetworkManagerPolicy.c
8767 - 'info' settings object should be 'connection' says the spec
8768 at NetworkManagerConfigurationSpecification
8770 2007-08-29 Dan Williams <dcbw@redhat.com>
8772 * libnm-glib/nm-settings.c
8773 libnm-glib/nm-settings.h
8774 - make the dbus path a property of the object, and autogenerate it.
8775 It can't be composed of the 'id' field becuase that's not available
8776 yet during the GObject creation in nm_connection_settings_init()
8778 2007-08-29 Dan Williams <dcbw@redhat.com>
8780 * introspection/nm-settings-connection.xml
8781 introspection/nm-settings.xml
8782 - Service name -> NetworkManagerUserSettings because two services
8783 can't share part of the same path. I'm not really sure how we'll use
8784 the same code with the system-settings daemon...
8786 2007-08-28 Dan Williams <dcbw@redhat.com>
8788 * src/nm-device-interface.c
8789 src/nm-device-interface.h
8790 - Kill one more bit of NMData
8792 2007-08-28 Dan Williams <dcbw@redhat.com>
8794 * src/NetworkManagerSystem.h
8797 src/nm-hal-manager.c
8798 src/NetworkManager.c
8799 src/nm-device-802-11-wireless.c
8800 src/nm-hal-manager.h
8801 src/nm-device-802-3-ethernet.c
8802 src/vpn-manager/nm-vpn-service.h
8803 src/vpn-manager/nm-vpn-manager.c
8804 src/vpn-manager/nm-vpn-manager.h
8805 src/vpn-manager/nm-vpn-service.c
8806 src/nm-device-802-11-wireless.h
8807 src/NetworkManagerMain.h
8808 src/nm-device-802-3-ethernet.h
8809 src/backends/NetworkManagerGentoo.c
8810 src/backends/NetworkManagerPaldo.c
8811 src/backends/NetworkManagerFrugalware.c
8812 src/backends/NetworkManagerRedHat.c
8813 src/backends/NetworkManagerSlackware.c
8814 src/backends/NetworkManagerGeneric.c
8815 src/backends/NetworkManagerArch.c
8816 src/backends/NetworkManagerSuSE.c
8817 src/backends/NetworkManagerGeneric.h
8818 src/backends/NetworkManagerDebian.c
8821 2007-08-28 Dan Williams <dcbw@redhat.com>
8823 * src/NetworkManagerMain.h
8824 src/nm-device-802-11-wireless.c
8825 src/NetworkManager.c
8826 - Remove invalid AP list from NMData; need to rework this somewhat, but
8827 for now we should set the 'invalid' property on individual APs, and when
8828 we need to invalidate a whole ESS, set the 'invalid' on every member of
8831 2007-08-28 Dan Williams <dcbw@redhat.com>
8833 * src/NetworkManagerAP.c
8834 src/NetworkManagerAP.h
8835 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
8836 'autoconnect' property instead
8838 * src/NetworkManager.c
8839 src/NetworkManagerMain.h
8840 src/NetworkManagerPolicy.c
8841 src/NetworkManagerPolicy.h
8842 - Remove the 'allowed_ap_list', which should be replaced by
8843 NMConnection/NMSettings instead, since _those_ are the allowed
8844 things that NM can connect to
8846 * src/nm-device-802-11-wireless.c
8847 - Remove both allowed_ap_list usage and 'fallback' checking
8849 2007-08-28 Dan Williams <dcbw@redhat.com>
8852 src/named-manager/nm-named-manager.c
8853 src/named-manager/nm-named-manager.h
8854 src/NetworkManager.c
8855 src/vpn-manager/nm-vpn-manager.c
8856 src/NetworkManagerMain.h
8857 src/NetworkManagerSystem.c
8858 - Remove the named-manager object from NMData structure in preparation
8859 for NMData's timely death. Make the NMNamedManager the singleton that
8862 2007-08-28 Dan Williams <dcbw@redhat.com>
8864 Remove NMAPSecurity objects, they are replaced with flags on the APs for
8865 each AP's capabilities, and by NMConnection/NMSettings objects for user
8866 defined connections.
8868 * include/NetworkManager.h
8869 - Redefine 802.11 security properties. There are now device capabilities
8870 and AP flags and AP security flags. It was way to unclear before.
8873 src/nm-ap-security-leap.h
8874 src/nm-ap-security-leap.c
8875 src/nm-ap-security-wpa-eap.c
8876 src/nm-ap-security-wpa-eap.h
8877 src/nm-ap-security-private.h
8878 src/nm-ap-security-wpa-psk.c
8879 src/nm-ap-security-wpa-psk.h
8880 src/nm-ap-security-wep.c
8881 src/nm-ap-security-wep.h
8882 src/nm-ap-security.c
8883 src/nm-ap-security.h
8884 - Removed, to be replaced with NMConnection/NMSettings objects
8888 - Removed, to be replaced by code that talks to the new info daemon
8889 interface and gets NMConnection/NMSettings objects
8891 * src/backends/NetworkManagerSuSE.c
8892 - Remove usage of NMAPSecurity; should be replaced by a system-level
8893 info-daemon that does the same thing but talks the new info-daemon
8896 * src/NetworkManagerAP.h
8897 src/NetworkManagerAP.c
8898 src/NetworkManagerAPList.c
8899 libnm-glib/libnm-glib-test.c
8900 - Remove usage of NMAPSecurity objects and adjust to new flags for
8903 * libnm-glib/nm-access-point.c
8904 libnm-glib/nm-access-point.h
8905 introspection/nm-access-point.xml
8907 - Adjust to new flags for AP security
8911 src/vpn-manager/nm-dbus-vpn.c
8912 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
8913 stuff which is the only place it's used
8915 * src/nm-device-interface.c
8916 src/nm-device-interface.h
8917 introspection/nm-device.xml
8918 src/nm-activation-request.c
8919 src/nm-activation-request.h
8921 - Add a new 'specific_object' argument that hints to NM what actual
8922 AP or other device-specific thing the connection should apply to.
8923 NMConnection objects can apply to more than one actual device/AP.
8925 * libnm-util/nm-connection.c
8926 * libnm-util/nm-connection.h
8927 - Add 'have_secrets" call stubs
8929 * libnm-util/cipher.h
8930 - Move NM_AUTH_TYPE_* defines here for now
8932 * src/nm-device-802-11-wireless.c
8933 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
8936 * src/NetworkManagerDbus.c
8937 * src/NetworkManagerPolicy.c
8938 - Remove usage of update_allowed_networks, should be pushing data in
8941 2007-08-27 Tambet Ingo <tambet@gmail.com>
8943 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
8944 dbus-glib frees it when the call is done.
8946 2007-08-26 Dan Williams <dcbw@redhat.com>
8948 * introspection/nm-device.xml
8949 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
8951 2007-08-26 Dan Williams <dcbw@redhat.com>
8953 * src/nm-device-802-3-ethernet.c
8954 - (constructor): move connection of interface-connected/disconnected
8955 signals here from real_bring_up(). Should be listening to netlink
8956 for carrier events no matter what the initial state of the device
8959 2007-08-26 Dan Williams <dcbw@redhat.com>
8961 * src/nm-netlink-monitor.c
8962 - (nm_netlink_monitor_class_init): fix marshalling types for
8963 interface-connected/interface-disconnected
8964 - (nm_netlink_monitor_event_handler): clean up carrier on/off
8967 2007-08-26 Dan Williams <dcbw@redhat.com>
8969 Convert to using interface indexes as the primary method of identifying
8970 devices inside NetworkManager. Indexes are (?) stable, but devices can
8971 be renamed at any time. Device object paths now refer to the device
8972 index rather than the name, and you can map those two manually if you like
8973 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
8974 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
8975 to use interface indexes rather than names.
8977 2007-08-26 Dan Williams <dcbw@redhat.com>
8979 * src/nm-netlink-monitor.h
8980 - Remove one last bit of wireless-event signal
8982 2007-08-26 Dan Williams <dcbw@redhat.com>
8984 * src/nm-netlink-monitor.c
8985 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
8986 don't need the 'wireless-event' signal anymore since that's all
8987 handled by wpa_supplicant
8989 2007-08-25 Dan Williams <dcbw@redhat.com>
8991 It's 2007. Remove support for drivers that don't support wireless scanning.
8994 include/NetworkManager.h
8995 src/NetworkManagerUtils.c
8996 src/NetworkManagerPolicy.c
8997 src/nm-device-802-11-wireless.c
8998 - Remove special handling for non-scanning devices and mark them
8999 as unsupported/unhandled
9001 2007-08-20 Dan Williams <dcbw@redhat.com>
9003 * src/nm-device-802-11-wireless.c
9004 src/nm-device-802-3-ethernet.c
9005 - (real_is_up): move device-specific tests before generic IFF_UP test,
9006 because when the card is pulled or the module removed, the device
9007 is already !IFF_UP and then device-specific cleanup (removing
9008 the supplicant interface, periodic checks, etc) never gets done
9010 2007-08-20 Dan Williams <dcbw@redhat.com>
9013 - (nm_manager_remove_device): bring device down before disconnecting
9014 signal handlers, so that the 'state' signal will get broadcast when
9015 the device enters the DOWN state
9016 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9017 of states that cause the NMManager to recheck its state
9019 2007-08-20 Dan Williams <dcbw@redhat.com>
9021 * src/supplicant-manager/nm-supplicant-interface.c
9022 - (interface_disconnect_done): don't try to dispose of the net proxy
9023 when it may already have been disposed of
9025 2007-08-20 Dan Williams <dcbw@redhat.com>
9027 * src/nm-device-802-11-wireless.c
9028 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9029 the SSID isn't available; this can happen when the card is pulled
9030 or the module unloaded, during the post-removal deactivation
9031 paths, when the ioctl returns ENODEV
9033 2007-08-20 Dan Williams <dcbw@redhat.com>
9035 * src/nm-device-802-11-wireless.c
9036 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9037 frequency, and mode match. Applets are now responsible for grouping
9040 2007-08-20 Dan Williams <dcbw@redhat.com>
9042 * src/NetworkManagerAP.c
9043 * src/NetworkManagerAP.h
9044 - (nm_ap_print_self): new function
9046 * src/NetworkManagerAPList.c
9047 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9050 2007-08-17 Dan Williams <dcbw@redhat.com>
9052 * src/nm-device-802-3-ethernet.c
9053 - (real_bring_down): don't try to dispose of stuff that might not
9056 2007-08-17 Dan Williams <dcbw@redhat.com>
9058 * src/NetworkManagerAP.c
9059 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9060 applet. This ensures that the case between the seen-bssids and
9061 the bssids reported by the driver match.
9063 2007-08-17 Dan Williams <dcbw@redhat.com>
9065 * src/nm-device-802-11-wireless.c
9066 - (device_cleanup): disconnect the interface in wpa_supplicant before
9067 we dispose of the interface proxy in NM
9069 2007-08-16 Dan Williams <dcbw@redhat.com>
9071 * libnm-glib/nm-client.c
9072 - (nm_client_init): create VPN connections hash table with key free
9074 - (proxy_vpn_connection_added): VPN connections hash table key should
9075 be a duplicated value, not the same memory address as the VPN
9076 connection name. This is because the VPN connection name could
9077 potentially be freed and set to something else during the lifetime
9078 of the NMVPNConnection object.
9080 2007-08-16 Tambet Ingo <tambet@gmail.com>
9082 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9083 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9084 with the file descriptors. Send a child setup function to change the pppd
9087 2007-08-15 Dan Williams <dcbw@redhat.com>
9089 * src/supplicant-manager/nm-supplicant-interface.c
9090 - (try_remove_iface): new function, ask wpa_supplicant to remove
9092 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9093 disposing of the NMSupplicantInterface. Otherwise weird stuff
9094 happens on hotplug if wpa_supplicant doesn't tear down and readd
9095 the interface internally
9097 2007-08-15 Dan Williams <dcbw@redhat.com>
9099 * src/nm-device-802-11-wireless.c
9100 - (real_bring_down): move most of this function into device_cleanup()
9101 so that it can be called from elsewhere
9102 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9103 and stuff on dispose. These would normally get cleaned up when
9104 the device is marked down and deactivated, but when the device is
9105 hot-unplugged, it's already down and real_down() never gets run
9107 2007-08-15 Dan Williams <dcbw@redhat.com>
9110 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9111 caused a reference leak on device for which NM requested a key
9113 2007-08-15 Dan Williams <dcbw@redhat.com>
9115 * libnm-glib/nm-client.c
9116 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9118 2007-08-15 Tambet Ingo <tambet@gmail.com>
9120 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9121 nothing is using it at the moment, but it'll be all useful and stuff later on.
9123 * libnm-util/nm-setting.h: Define NMSettingPPP.
9125 * libnm-util/nm-setting.c: Implement NMSettingPPP.
9127 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9129 * src/Makefile.am: Add ppp-manager to SUBDIRS.
9131 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9133 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9135 2007-08-14 Tambet Ingo <tambet@gmail.com>
9137 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9139 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9140 an issue with dbus-glib bindings generator. The issue is, the generated C caller
9141 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9142 name and different arguments and it won't compile anymore. To fix this, we now have
9143 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9144 that is new API + compatibility API and used by the daemon. The other,
9145 nm-manager-client.xml is only the new API without compatibility bits and is used
9146 by libnm-glib to make it compile.
9148 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9150 * src/nm-manager.c (impl_manager_legacy_sleep)
9151 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9152 interface functions for 0.6 branch.
9154 2007-08-14 Dan Williams <dcbw@redhat.com>
9156 * src/NetworkManagerAP.c
9157 - (nm_ap_new_from_properties): fix mistaken check of return value
9158 from memcmp (should expect 0)
9160 2007-08-14 Dan Williams <dcbw@redhat.com>
9162 (force-commit to fix wrong comment and partial commit of r2685; this
9163 commit actually applies to r2685)
9165 * src/NetworkManagerUtils.c
9166 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9167 ignores trailing nulls in the SSID to work around mismatches in
9168 expectations between WEXT and what the info-daemon passes back. The
9169 info-daemon would pass back the correct length, but due to the
9170 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9171 the device would always have an SSID + 1 depending on what versions
9172 of wpa_supplicant, the kernel, and NM you have. This was most often
9173 visible by just quitting the applet and relaunching, which caused
9174 NM to reassociated to the same network over again when reloading
9177 * src/NetworkManagerPolicy.c
9178 src/NetworkManagerUtils.h
9179 src/nm-device-802-11-wireless.c
9180 - Update for new parameter to nm_utils_same_ssid()
9182 2007-08-14 Dan Williams <dcbw@redhat.com>
9184 * src/NetworkManagerAP.c
9185 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
9186 I encountered a BSS that wasn't just hiding it's ESSID, it was
9187 setting the BSSID to all 0s. That confused the heck out of NM,
9188 plus it's useless and probably out-of-spec.
9190 2007-08-14 Dan Williams <dcbw@redhat.com>
9192 * callouts/Makefile.am
9193 src/dhcp-manager/nm-dhcp-manager.c
9194 src/dhcp-manager/nm-dhcp-manager.h
9195 src/dhcp-manager/Makefile.am
9196 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9198 2007-08-14 Dan Williams <dcbw@redhat.com>
9200 * src/dhcp-manager/nm-dhcp-manager.c
9201 - (dhclient_run): don't pass -x to dhclient until we figure out if
9202 it's really needed, get rid of unused xtra_args parameter
9204 2007-08-14 Dan Williams <dcbw@redhat.com>
9206 * include/NetworkManagerVPN.h
9207 src/vpn-manager/nm-dbus-vpn.c
9208 src/vpn-manager/nm-dbus-vpn.h
9209 src/vpn-manager/nm-vpn-act-request.c
9210 src/vpn-manager/nm-vpn-act-request.h
9211 src/vpn-manager/nm-vpn-service.c
9212 src/vpn-manager/nm-vpn-service.h
9213 libnm-glib/nm-vpn-connection.c
9214 libnm-glib/nm-vpn-connection.h
9215 libnm-glib/nm-client.h
9216 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
9217 NMVPNServiceState to clarify what they apply to
9218 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9219 NMVPNActStage -> NMVPNConnectionState for the same reason
9221 * libnm-glib/nm-client.c
9222 - Constant + type renames from above
9223 - Properly handle NameOwnerChanged/manager_running signals
9224 for NM service; only emit when state really changes
9225 - Use hash tables correctly so that the key (which was previously owned
9226 by the D-Bus message) now has the same lifetime as the value, since
9227 the key is now taken from the the NMVPNConnection itself. This
9228 really fixes the double-VPN names in the applet
9230 2007-08-13 Dan Williams <dcbw@redhat.com>
9232 Patch from Michael Biebl <biebl@debian.org>
9236 - Update for vpn-properties move
9238 2007-08-13 Dan Williams <dcbw@redhat.com>
9240 * libnm-glib/nm-client.c
9241 - Convert internal VPN connection tracking from a list to a hash table
9242 to easily avoid duplicates
9243 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9244 must be freed by the caller, like nm_client_get_devices()
9245 - (nm_client_remove_vpn_connection): don't let the removal signal
9246 leak through for NMVPNConnection objects that aren't actually
9248 - (manager_running): throw away VPN connection list when NM goes away,
9249 like with the device list
9251 2007-08-13 Dan Williams <dcbw@redhat.com>
9253 * src/dhcp-manager/nm-dhcp-manager.c
9254 - Stop any dhclient instance that might be already running for a
9255 particular interface before starting an NM spawned dhclient. Fixes
9256 dhclient processes left over if NM crashes, stuff like that.
9258 2007-08-13 Dan Williams <dcbw@redhat.com>
9260 * src/NetworkManagerAP.c
9261 - (finalize): don't try to g_array_free (NULL, ...), which happened
9262 when the AP wasn't broadcasting it's SSID
9264 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
9266 * include/NetworkManager.h: added DBus path for connection settings.
9268 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9269 nm_connection_settings_signal_updated,
9270 nm_connection_settings_signal_removed): new functions to wrap the
9272 (nm_connection_settings_init): register GObject with DBus.
9273 (nm_connection_settings_get_dbus_object_path): new function.
9275 * libnm-glib/Makefile.am: added libnmutil to link flags.
9277 2007-08-13 Tambet Ingo <tambet@gmail.com>
9279 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9281 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9282 libnm_glib directory got merged with libnm-glib/.
9284 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9286 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9287 Rename the library from libnm-glib to libnm_glib to maintain the library API
9288 compatibility with 0.6 branch.
9290 * Makefile.am: Remove gnome/ SUBDIR.
9292 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9294 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9296 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9298 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9300 Remove checks for wpa_supplicant binary, it's used over dbus.
9301 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9303 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9304 Link the binaries with libnm_glib.la.
9306 2007-08-12 Dan Williams <dcbw@redhat.com>
9308 * src/NetworkManagerPolicy.c
9309 - (nm_policy_device_change_check): fix policy to deactivate old device
9310 before activating new one, at least until the multiple active
9311 device support lands
9313 2007-08-12 Dan Williams <dcbw@redhat.com>
9315 * src/NetworkManagerPolicy.c
9316 - (nm_policy_new): hook up to connection-added / connection-removed
9317 signals instead of connections-changed
9319 2007-08-12 Dan Williams <dcbw@redhat.com>
9321 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
9322 Robert Frank <rfrank@redhat.com>
9324 * src/dhcp-manager/nm-dhcp-manager.c
9325 src/dhcp-manager/nm-dhcp-manager.c
9327 - Spawn and communicate with dhclient directly, through means of a
9328 custom dhclient callout script. Process callout D-Bus signals
9329 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
9330 sent via gobject signals rather than being driven by the dhcp manager
9333 2007-08-12 Dan Williams <dcbw@redhat.com>
9335 * callouts/nm-dhcp-client-action.c
9336 - (build_message): ignore non-DHCP-related environment variables
9338 2007-08-12 Dan Williams <dcbw@redhat.com>
9342 callouts/Makefile.am
9343 callouts/nm-dhcp-client-action.c
9344 callouts/nm-dhcp-client.conf
9345 - Add dhclient-executed callout that takes the place of dhclient-script
9346 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9349 2007-08-09 Tambet Ingo <tambet@gmail.com>
9351 [Based on patch by Helmut Schaa <hschaa@suse.de>]
9353 * libnm-glib/nm-client.h:
9354 * libnm-glib/nm-object.h:
9355 * libnm-glib/nm-vpn-connection.h:
9356 * libnm-glib/nm-settings.h:
9357 * libnm-glib/nm-device.h:
9358 * libnm-glib/nm-ip4-config.h:
9359 * libnm-glib/nm-access-point.h:
9360 * libnm-glib/nm-device-802-3-ethernet.h:
9361 * libnm-util/nm-setting.h:
9362 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9364 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9366 * libnm-glib/nm-access-point.c: Strength has type char.
9368 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9369 to fix build. GnomeDruid is deprecated in recent libgnomeui.
9371 * introspection/nm-access-point.xml: Strength property is char, not int.
9373 * src/NetworkManagerAP.c (set_property): Set strength from char.
9374 (get_property): Handle hidden APs (with empty SSID).
9375 Get strength value from char.
9376 (nm_ap_class_init): Strength property has char type.
9378 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
9380 * introspection/Makefile.am:
9381 * introspection/nm-settings.xml:
9382 * introspection/nm-settings-connection.xml: added Settings interfaces.
9384 * libnm-glib/nm-settings.[ch]:
9385 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9386 containing the DBus implementation.
9388 2007-07-26 Dan Williams <dcbw@redhat.com>
9390 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9392 * src/NetworkManagerSystem.c
9393 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9394 same subnet (#437396)
9396 2007-07-26 Dan Williams <dcbw@redhat.com>
9398 Patch from Kelemen Gábor <kelemeng@gnome.hu>
9400 * gnome/vpn-properties/nm-vpn-properties.c
9401 - Fix translatable strings (#445865)
9403 2007-07-26 Dan Williams <dcbw@redhat.com>
9405 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9408 - Remove useless junk (#412530)
9410 2007-07-10 Christopher Aillon <caillon@redhat.com>
9412 Patch from Robert Buchholz <rbu@gentoo.org>:
9416 * introspection/Makefile.am:
9417 Make make distcheck work again.
9419 2007-06-27 Dan Williams <dcbw@redhat.com>
9421 * Make SSIDs GByteArrays everywhere
9422 * Rename "essid" -> "ssid" everywhere that's appropriate
9423 * Refcount activation_ap member of the 802.11 wireless device class
9425 2007-06-27 Tambet Ingo <tambet@ximian.com>
9427 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9429 2007-06-22 Tambet Ingo <tambet@ximian.com>
9431 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9432 that we got a new AP when we just update existing AP properties.
9434 2007-06-21 Tambet Ingo <tambet@ximian.com>
9436 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9438 * nm-utils.[ch]: Remove.
9440 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9441 objects for easy property access and dbus connection handling.
9443 * libnm-glib/nm-client.c: Derive from NMObject.
9445 * libnm-glib/nm-device.c: Ditto.
9447 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9449 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9451 * libnm-glib/nm-ip4-config.c: Ditto.
9453 * libnm-glib/nm-access-point.c: Ditto.
9455 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9456 comparision. Currently used by the device activation code to determine if the new
9457 activation is the same as the old one.
9459 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9460 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9461 able to ask password for the AP.
9463 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9464 up if the device is already connected, tear down it's connection (if it isn't the
9465 same as new one) and start the activation.
9467 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9469 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9470 the issue where all APs are always listed as encrypted.
9472 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9473 their own registered paths.
9475 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9476 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9478 2007-06-13 Tambet Ingo <tambet@ximian.com>
9480 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9483 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9484 because the handling code will cause the next state change and signal listeners
9485 get the signals in wrong order.
9487 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9488 correctly in case of pending activation.
9490 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9491 Convert the essid byte array to string correctly, including the terminating NULL.
9493 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9494 mode with correct types.
9496 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9497 constructed info to dbus call instead of the activation request.
9499 2007-06-11 Christopher Aillon <caillon@redhat.com>
9501 Patch from Christian Persch <chpe@gnome.org>
9503 * libnm-glib/Makefile.am:
9504 * dispatcher-daemon/Makefile.am:
9505 Use the correct variables, the correct paths, and correct ordering. (446315)
9507 2007-06-11 Tambet Ingo <tambet@ximian.com>
9509 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9510 argument. The activation request is easy to retrieve.
9512 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9513 just to be a convenient location for devices to store random stuff.
9515 2007-06-11 Christopher Aillon <caillon@redhat.com>
9517 Patch from Alex Smith <alex@alex-smith.me.uk>
9519 * src/backends/NetworkManagerFrugalware.c:
9520 Update the FrugalWare backend to fix a few segfaults. (#392642)
9522 2007-06-08 Tambet Ingo <tambet@ximian.com>
9524 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9526 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9528 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9530 2007-06-06 Tambet Ingo <tambet@ximian.com>
9532 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9534 Implement NMSettingIP4Config.
9535 Finish NMSettingWired by adding all known members.
9536 (setting_wired_verify): Implement.
9537 Finish NMSettingWireless by adding all known members.
9538 (setting_wireless_verify): Implement.
9540 * libnm-util/nm-connection.c: Register "ipv4" setting.
9541 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9542 dump function, we can introspect the GHashTable which is used for sending connections
9545 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9546 Take GByteArray for essid, it's really not a string.
9548 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9549 Start DHCP request if setting is not passed or if it states that DHCP should be used.
9550 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9551 means overriding the values we got from DHCP.
9552 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
9553 (nm_device_deactivate_quickly): Ditto.
9555 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
9558 2007-05-07 Tambet Ingo <tambet@ximian.com>
9560 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
9563 * libnm-glib/nm-device-802-11-wireless.c:
9564 (nm_device_802_3_ethernet_activate): Remove.
9566 * libnm-glib/nm-device-802-3-ethernet.c
9567 (nm_device_802_3_ethernet_activate): Remove.
9569 * libnm-glib/nm-device.c (nm_device_activate): Implement.
9571 * src/nm-device-802-3-ethernet.c: Implement the new activation using
9574 * src/nm-device-802-11-wireless.c: Store an activation AP once the
9575 activation has started.
9576 Implement the new activation using NMConnection.
9578 * src/nm-activation-request.c: Store a generic connection object instead
9579 of a wireless-specific AP.
9581 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
9582 on device type, create a device specific connection object suitable for
9585 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
9586 specific check to validate the connection and on success start the
9589 * src/nm-device-interface.h: Add a activate virtual function to the
9590 interface definition.
9592 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
9593 (impl_device_activate): Implement.
9595 * introspection/nm-device.xml: Add a generic device activation interface
9596 that accepts an abstract NMConnection structure that has device-specific
9599 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
9600 activation interface.
9602 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
9603 activation interface.
9605 * libnm-util/nm-connection.c:
9606 * libnm-util/nm-connection.h:
9607 * libnm-util/nm-setting.c:
9608 * libnm-util/nm-setting.h: Add.
9610 * libnm-util/Makefile.am: Build the added files.
9612 * src/nm-dbus-manager.c
9613 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
9614 DbusConnection argument from 'name-owner-changed' signal. The manager
9615 is already passed as a first argument to the signal and the connection
9616 is easy enough to get from it.
9618 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
9619 Update the signature of the function.
9621 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
9624 * src/NetworkManager.c: Ditto.
9626 * src/named-manager/nm-named-manager.c
9627 (nm_named_manager_name_owner_changed): Ditto.
9629 * src/supplicant-manager/nm-supplicant-manager.c
9630 (nm_supplicant_manager_name_owner_changed): Ditto.
9632 * src/nm-hal-manager.c (name_owner_changed): Ditto.
9634 * src/dhcp-manager/nm-dhcp-manager.c
9635 (nm_dhcp_manager_name_owner_changed): Ditto.
9637 * src/nm-hal-manager.c: Add a list of device detectors and creators
9638 to make it easier to add new devices. Each device type has it's own
9639 entry in the table so adding new device types is only a matter of
9640 implementing a couple of functions, one for device detection and the
9641 other for device creation.
9643 2007-04-25 Dan Williams <dcbw@redhat.com>
9645 * initscript/RedHat/NetworkManager.in: remove trailing backslash
9648 2007-03-30 Dan Williams <dcbw@redhat.com>
9650 * src/NetworkManagerSystem.c
9651 - (nm_system_device_set_ip4_route): clean up and fix argument
9652 to nm_dev_sock_open()
9654 2007-03-28 Tambet Ingo <tambet@ximian.com>
9656 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
9657 data to correct types instead of always using string.
9659 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
9660 _not_ have NM_802_11_CAP_PROTO_NONE.
9661 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
9664 2007-03-27 Tambet Ingo <tambet@ximian.com>
9666 * libnm-glib/Makefile.am: Fix the build issue.
9668 2007-03-26 Tambet Ingo <tambet@ximian.com>
9670 * libnm-glib/nm-vpn-connection.h:
9671 * libnm-glib/nm-vpn-connection.c: Implement.
9673 * libnm-glib/nm-client.c: Add VPN support.
9675 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
9678 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
9681 2007-03-26 Dan Williams <dcbw@redhat.com>
9683 * src/NetworkManagerAPList.c
9684 * src/nm-device-802-11-wireless.c
9685 * src/NetworkManagerAP.c:
9686 - Store last seen as glong instead of GTimeVal.
9687 - Fix the upper bound of capabilities, it's a bitfield.
9689 2007-03-16 Tambet Ingo <tambet@ximian.com>
9691 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
9693 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
9694 "manager-running" signal that notifies the appearance/disappearance of NM.
9695 (nm_client_sleep): Implement.
9697 * libnm-glib/nm-device.c:
9698 * libnm-glib/nm-device-802-11-wireless.c:
9699 * libnm-glib/nm-device-802-3-ethernet.c:
9701 Don't inherit from DBusGProxy, add a proxy to private
9702 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
9703 for anything but their own dbus interface. DBusGProxy objects support only one
9704 interfaces and to work around this, NMDevice has spearate proxy for each dbus
9705 interface. The nice side effect of this change is that we do not create a new
9706 DBusGProxy object for each property access.
9708 2007-03-15 Tambet Ingo <tambet@ximian.com>
9710 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
9711 with zeroes before passing them to functions - the functions never do that and
9712 reading the values back may produce wrong values.
9713 (real_bring_up): Store the signal handler id ...
9714 (real_bring_down): ... So that it can be removed here.
9715 Disconnect the supplicant interface here as well.
9716 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
9717 from the access point instead of old $device/Networks/$essid.
9719 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
9720 device state is connected (instead of just having link/carrier).
9722 * src/nm-activation-request.c: Don't store NMData in activation request, it's
9723 already easily accessible through the device.
9725 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
9726 store it within the object.
9727 (nm_ap_get_dbus_path): Export it to public as well.
9729 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
9732 2007-03-12 Dan Williams <dcbw@redhat.com>
9734 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
9735 for non-carrier-detect capable devices, and useless for carrier-detect
9736 devices since we get notifications from netlink about carrier status anyway.
9738 * src/nm-device-802-3-ethernet.c
9739 - remove 'link_source_id' member from private data
9740 - (probe_link): remove and collapse into real_update_link()
9741 - (nm_device_802_3_periodic_update): remove
9742 - (real_is_up): check for sup_iface rather than link_source_id
9743 - (real_bring_up): return gboolean for success/fail; require that
9744 sup_iface be valid for device bringup to succeed
9745 - (real_bring_down): zero out link signal ids
9748 - (nm_device_activate_stage2_device_config): fail activation if device
9750 - (real_act_stage4_get_ip4_config): fail activation if device bringup
9752 - (nm_device_bring_up): return success/fail
9755 - bring_up now returns success/fail
9757 * src/nm-device-802-11-wireless.c
9758 - (real_bring_up): return success from bringup
9760 2007-03-07 Dan Williams <dcbw@redhat.com>
9762 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
9763 * src/nm-ap-security-wpa-psk.c
9764 - (real_write_supplicant_config): work with PSKs that may contain
9765 zeros in the binary format rather than treating it as a string
9767 2007-03-02 Tambet Ingo <tambet@ximian.com>
9769 * libnm-glib/nm-device-802-11-wireless.c
9770 (nm_device_802_11_wireless_get_capabilities): Implement.
9772 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
9774 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
9776 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
9777 reply only if it's not NULL. Not sure why this started happening right now.
9779 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
9780 code paths for when devices get removed on shutdown or when a device is just
9782 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
9783 gets freed so any signal from a device (disconnected for instance) would invoke
9784 NMState update which would crash.
9785 (nm_manager_remove_device): Bring the device down when it gets removed.
9787 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
9788 the unused dev_type.
9790 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
9791 reference to the added device, NMManager will own it (if it wants).
9793 * test/nm-tool.c: Rewrite using libnm-glib.
9795 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
9796 We get signalled when it changes.
9798 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
9801 * libnm-glib/nm-device.c: Cache the device state property.
9803 * libnm-glib/nm-access-point.c: Cache the strength property.
9805 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
9806 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
9807 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
9808 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
9809 the device is down, activating, or activated (in case of A/B/G cards).
9810 Remove some old dead ifdef'ed out code that used to configure wireless devices,
9811 it's all done through supplicant now.
9813 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
9814 counting issues with pending calls which caused leaks and crashes when
9815 interface was removed (now that the interface actually gets removed).
9817 * src/nm-call-store.c: Make a copy of data before running a foreach
9818 with user callback on it - The most common usage pattern is to cancel
9819 (and thus remove) all pending calls with foreach which would modify
9820 the hash table we're iterating over.
9822 * src/nm-manager.c: When a device is added, make sure it is "up". When
9823 it's removed or disabled due to disabling wireless or networking, bring
9826 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
9828 * src/nm-device-802-11-wireless.c:
9829 * src/nm-device-802-3-ethernet.c:
9831 - Remove "init" virtual function, all gobjects have a place for that
9832 already (constructor).
9833 - Replace "start" virtual function with "bring_up", devices can be
9834 brought up and down more than just on startup now.
9835 - Add "is_up" virtual function.
9836 - Implement one way to bring a device down instead of previous 4 different
9837 ways, each of witch did something different.
9839 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
9840 all it needs is the device interface.
9842 Get rid of NMData.dev_list (3 members to go).
9843 Get rif of NMData in a lot of places.
9845 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
9847 2007-02-23 Dan Williams <dcbw@redhat.com>
9849 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
9851 * src/NetworkManagerAP.c
9852 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
9853 OR-ing rather than AND-ing
9855 2007-02-20 Tambet Ingo <tambet@ximian.com>
9857 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
9858 "network-removed" signals.
9860 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
9862 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
9863 when receiving the signal from dbus.
9865 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
9868 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
9869 deactivation of the previously activated device working again.
9871 * src/nm-activation-request.c: Remove NMActStage property and it's getter
9874 * src/nm-device.c (nm_device_is_activated): Remove.
9875 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
9877 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
9878 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
9879 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
9880 NM_DBUS_SIGNAL_STATE_CHANGE signal.
9881 Remove NMNetworkStatus and NMActStage enums.
9883 2007-02-19 Tambet Ingo <tambet@ximian.com>
9885 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
9886 Handle device state changes and disconnect VPN if it's device deactivates.
9890 * src/nm-dbus-device.c:
9891 * src/nm-dbus-device.c:
9892 * src/nm-dbus-net.c:
9893 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
9895 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
9897 * src/nm-device.c (nm_device_get_by_udi):
9898 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
9899 implemented in the correct location (NMManager).
9900 Rip out all the test_device stuff.
9902 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
9903 failure handlers, it's all done by NMDevice already.
9905 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
9906 Remove the iochannel hack to route the unix signals to the main thread since
9907 we're not threaded anymore.
9909 * src/NetworkManagerAP.c: Implement HWAddress property.
9911 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
9912 automatically with dbus-glib.
9914 * src/nm-netlink-monitor.c:
9915 * src/nm-netlink-monitor.h:
9916 - Move it low in the class hierarchy, don't reference any NM types.
9917 - Remove private data from the header.
9918 - Use type safe checks in public API methods.
9919 - Make it a singleton so we don't have to pass the single reference around.
9921 2007-02-16 Tambet Ingo <tambet@ximian.com>
9923 * introspection/nm-ip4-config.xml: Implement.
9925 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
9927 * libnm-glib/nm-ip4-config.c:
9928 * libnm-glib/nm-ip4-config.c: Implement.
9930 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
9931 securities. APs reference security.
9933 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
9934 be exported over DBUS.
9936 * src/nm-device-802-3-ethernet.c: Ditto.
9938 * src/NetworkManagerAP.c:
9939 * src/NetworkManagerAP.h:
9940 - Convert to GObject, export over DBUS.
9942 * src/nm-ip4-config.h:
9943 * src/nm-ip4-config.h:
9944 - Convert to GObject, export over DBUS.
9946 2007-02-12 Dan Williams <dcbw@redhat.com>
9948 Patch from Helmut Schaa <hschaa@suse.de>
9950 * vpn-daemons/pptp/configure.in
9951 vpn-daemons/pptp/Makefile.am
9952 vpn-daemons/openvpn/configure.in
9953 vpn-daemons/openvpn/Makefile.am
9954 vpn-daemons/vpnc/configure.in
9955 vpn-daemons/vpnc/Makefile.am
9956 - Add --without-gnome switch which disables building gnome bits
9958 2007-02-12 Tambet Ingo <tambet@ximian.com>
9960 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
9962 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
9964 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
9967 * introspection/nm-device.xml: Remove 'UseDhcp' property.
9969 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
9971 Totally break NetworkManager. Please use 0.6 branch until futher notice.
9974 - Remove old low-level dbus interface implementations and replace them
9978 - Require dbus-glib >= 0.72.
9979 - Plug in new sources to build.
9982 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
9983 to make it more convenient to use from GObject based programs.
9986 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
9988 2007-02-09 Tambet Ingo <tambet@ximian.com>
9990 * src/nm-device-802-11-wireless.c:
9991 - Add "network-added" and "network-removed" signals.
9992 - Use gobject boilerplate macros to define the GObject.
9993 - Implement wireless device activation.
9994 - Remove activation_failure_handler and activation_success_handler
9995 and instead listen on state-changed signals and run the same code
9999 - Implment NMDeviceInterface::deactivate.
10000 - Remove activation_failure_handler and activation_success_handler
10001 virtual methods. Each device which is interested in these events
10002 can just listen on it's state changed signals.
10004 * src/NetworkManagerPolicy.c:
10005 - Move a bit more NMData usage to NMManager.
10006 - Remove activation scheduling bits.
10007 - Add listeners for wireless device's "network-added" and
10008 "network-removed" signals.
10009 - Listen device changed signals and deactivate currently activated
10010 device when another device start activating (for now).
10011 - Remove (nm_policy_schedule_device_change_check): There's never a need
10012 for calling this, the policy code knows exactly when this should happen,
10013 by listening on events from NMManager and NMDevices.
10015 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10018 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10019 method on the specific device instead of going to through policy code
10020 and determining the device type by passed in AP's existance.
10022 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10023 abstract NMDevice deactivation.
10025 2007-02-08 Tambet Ingo <tambet@ximian.com>
10027 * src/NetworkManager.c:
10028 - Set up all the shiny new managers.
10030 * src/NetworkManagerPolicy.c:
10031 - Add the beginnings of new NMPolicy code. Instead of requireing all
10032 classes to call into policy code, make the policy code kind of like
10033 a supervisor that monitors what's going on and drives the whole NM.
10035 * src/nm-hal-manager.c:
10036 * src/nm-hal-manager.h:
10037 - Collect all libhal code scattered around NM to this one class.
10038 - Listen libhal and NMManager events and add/remove devices to
10041 * src/nm-manager.c:
10042 * src/nm-manager.h:
10043 - Implment a replacement for NMData. NMData is now officially
10046 2007-02-05 Tambet Ingo <tambet@ximian.com>
10048 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
10049 * src/supplicant-manager/nm-supplicant-interface.h
10050 * src/supplicant-manager/nm-supplicant-interface.c
10051 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10052 argument to boolean from enum.
10054 Make NMDevice abstract class, remove almost all references to it's
10055 subclasses (the last place gets removed with new policy manager). Add
10056 NMDeviceInterface (which NMDevice implements) so that when we have
10057 NMDevice exported over DBUS, there's a common NMDevice interface which
10058 all instances have, plus there's a device specific interface for each
10060 Remove functions (nm_device_is_802_3_ethernet) and
10061 (nm_device_is_802_11_wireless). There are already standard GObject macros
10062 for type safe checks.
10063 Use the updated supplican manager API.
10065 * src/nm-device-interface.h:
10066 * src/nm-device-interface.c:
10067 * src/nm-call-store.h:
10068 * src/nm-call-store.c: Implement.
10070 * src/supplicant-manager/nm-supplicant-interface.c:
10071 * src/supplicant-manager/nm-supplicant-interface.h:
10072 * src/supplicant-manager/nm-supplicant-manager.c:
10073 * src/supplicant-manager/nm-supplicant-manager.h:
10074 - Remove all private data type references from public header files.
10075 - Remove all references to other NM classes, this class is just a
10076 proxy between wpa_supplicant and NM so it doesn't have to know
10078 - Convert to dbus-glib bindings.
10079 - Type safe checks for public methods' arguments.
10080 - Store pending DBUS call ids to NMCallStore.
10082 * src/supplicant-manager/nm-supplicant-config.c:
10083 - Store config values in a GHashTable instead of GSList.
10085 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10087 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10090 * src/nm-device.c: Use the new DHCP manager API.
10092 * src/nm-activation-request.c:
10093 * src/nm-activation-request.h:
10094 - Remove all dhcp related properties and methods.
10096 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10098 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10100 * src/dhcp-manager/nm-dhcp-manager.c:
10101 * src/dhcp-manager/nm-dhcp-manager.h:
10102 - Convert it to GObject since we need to signal state changes.
10103 - Remove all references to other NM classes, this class is one
10104 of the lowest classes in our hierarchy.
10105 - One less class to use NMActRequest.
10106 - Make it singleton, one less user of NMData.
10107 - Remove a couple of sleep() calls.
10108 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10109 One less class to use the NM's custom tailored signal handlig.
10111 * Makefile.am: Generate marshallers, add them to build.
10113 2007-02-02 Dan Williams <dcbw@redhat.com>
10119 - Remove last bits referencing gnome applet
10121 2007-02-02 Dan Williams <dcbw@redhat.com>
10123 * src/vpn-manager/nm-vpn-service.c
10124 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10125 and NBNS server addresses
10127 2007-02-02 Tambet Ingo <tambet@ximian.com>
10129 * src/nm-dbus-manager.c:
10130 * src/nm-dbus-manager.h:
10131 - Convert all internal DBUS code to use dbus-glib bindings.
10132 - Remove GObject properties, we don't need them here.
10133 - Don't explicitly set things to NULL after freeing, glib is
10134 happy to do it if asked nicely (G_DEBUG=gc-friendly).
10135 - Make public API argument checks type safe.
10136 - Remove unnecessary (and wrong) cast to GObject for the first
10137 argument to g_signal_* calls - The first argument is a gpointer.
10138 - Export DBusGConnection to other cool classes that (are going to)
10141 2007-01-26 Dan Williams <dcbw@redhat.com>
10143 * libnm-util/dbus-dict-helpers.c
10144 libnm-util/dbus-dict-helpers.h
10145 - Coordinate style with wpa_supplicant version to minimize diff
10146 - Add uint32 array support
10147 - (nmu_dbus_dict_append_uint32_array): new function
10148 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10149 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10150 version; allow adding string array elements individually
10152 * test/libnm-util/test-dbus-dict-helpers.c
10153 - Test uint32 arrays
10155 2007-01-27 Jürg Billeter <j@bitron.ch>
10157 * src/backends/NetworkManagerPaldo.c
10158 - (nm_system_update_dns): clear nscd hosts cache
10160 2007-01-04 Dan Williams <dcbw@redhat.com>
10162 Threading removal related cleanups:
10164 - Use the glib default main context. Remove the device main context
10165 member from NMDevice, and the main_context member from NMData. Change
10166 all the idle and timeout scheduler functions to use plain
10167 g_idle_add() and g_timeout_add().
10169 - As a side-effect of the first change, nm_dbus_manager_get() no longer
10170 takes an argument; fix that up too.
10172 - Remove all locking, which is useless since we no longer use threads. For
10173 example, nm_get_device_by_iface_locked() has been removed. The global
10174 device list lock, the AP List lock, and all static locks in
10175 NetworkManagerPolicy.c have been removed. The locking utility functions
10176 in NetworkManagerUtils.c have also been removed.
10178 - Other cleanups in spacing and code style
10180 2007-01-01 Dan Williams <dcbw@redhat.com>
10182 Found by Bill Moss:
10184 * src/supplicant-manager/nm-supplicant-interface.c
10185 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10186 the supplicant interface wasn't already disconnected. Always
10187 call removeNetwork and disconnect unless the supplicant interface
10188 is in the DISCONNECTED or INACTIVE state.
10190 2006-12-28 Dan Williams <dcbw@redhat.com>
10192 Use a single thread for everything. With the move to wpa_supplicant
10193 and communication over D-Bus, there's no reason for multiple threads.
10194 Almost all of the blocking code has been removed, with one exception in
10195 the DHCP manager and a few in the VPN manager. This commit removes the
10196 per-device worker thread and fixes activation cancellation in the absence
10197 of threads. Further removal of thread-related code would be removing
10198 any locking code (like the device list lock) and simplification of logic
10199 around areas of code or data structures that are currently locked.
10202 dhcp-manager/nm-dhcp-manager.c
10203 nm-device-802-11-wireless.c
10204 nm-device-802-3-ethernet.c
10207 - Remove usage of multiple threads
10209 2006-12-19 Dan Williams <dcbw@redhat.com>
10211 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10212 plus a few other patches from wpa_supplicant bugzilla.
10215 src/NetworkManagerPolicy.c
10216 src/NetworkManagerUtils.c
10217 src/NetworkManagerUtils.h
10218 src/nm-ap-security-leap.c
10219 src/nm-ap-security-wep.c
10220 src/nm-ap-security-wpa-eap.c
10221 src/nm-ap-security-wpa-psk.c
10222 src/nm-ap-security.c
10223 src/nm-ap-security.h
10224 src/nm-device-802-11-wireless.c
10225 src/nm-device-802-11-wireless.h
10226 src/supplicant-manager/nm-supplicant-config.c
10227 src/supplicant-manager/nm-supplicant-config.h
10228 src/supplicant-manager/nm-supplicant-interface.c
10229 src/supplicant-manager/nm-supplicant-interface.h
10230 src/supplicant-manager/nm-supplicant-marshal.list
10231 src/supplicant-manager/nm-supplicant-settings-verify.c
10232 src/supplicant-manager/nm-supplicant-settings-verify.h
10233 - Move all connection management and association handling to
10234 wpa_supplicant over dbus, rather than spawning a private copy
10236 2006-12-19 Dan Williams <dcbw@redhat.com>
10238 * src/NetworkManagerPolicy.c
10239 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10240 better locking of the device change check handler ID. Incorrect
10241 locking was causing lost device change requests
10243 2006-12-18 Dan Williams <dcbw@redhat.com>
10245 * libnm-util/dbus-dict-helpers.c
10246 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10247 _nmu_dbus_dict_entry_get_byte_array): replace usage of
10248 dbus_message_iter_get_array_len() (Gnome.org #382898)
10250 2006-12-18 Dan Williams <dcbw@redhat.com>
10252 * gnome/libnm_glib/libnm_glib.c
10253 - Change dbus_connection_close() -> dbus_connection_unref()
10255 2006-12-11 Dan Williams <dcbw@redhat.com>
10257 * src/supplicant-manager/nm-supplicant-interface.c
10258 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10259 wpa_supplicant interface state
10260 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10261 state before transitioning to READY state
10263 2006-12-04 Dan Williams <dcbw@redhat.com>
10265 * src/nm-device-802-11-wireless.c
10266 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10267 odd length of ESSID returned from ieee80211 stack-based drivers
10269 2006-12-04 Dan Williams <dcbw@redhat.com>
10271 * src/nm-device-802-11-wireless.c
10272 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10273 IE handling blocks that cause mis-parsing of the IE
10275 2006-12-04 Dan Williams <dcbw@redhat.com>
10277 * src/nm-device-802-11-wireless.c
10278 - (init_supplicant_interface): new function; pull supplicant interface
10279 setup code out into standalone function since it must be called from
10280 two different places
10281 - (real_init): sup_mgr is now in private object data; get and track
10282 the supplicant manager object over the NMDevice subclass' lifetime
10283 and register a signal handler for its state signals; only try to
10284 initialize the supplicant interface if the supplicant manager is in
10285 the IDLE state (and therefore is ready for requests)
10286 - (request_wireless_scan): reschedule the scan request if (a) there is
10287 no supplicant interface yet (meaning wpa_supplicant isn't running
10288 or isn't ready yet), or (b) if the supplicant interface isn't ready
10290 - (supplicant_iface_connection_state_cb): new function; stub for
10291 handling supplicant interface connection state signals
10292 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10294 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10295 supplicant manager object that's being tracked starting with this
10298 2006-12-04 Dan Williams <dcbw@redhat.com>
10300 * src/supplicant-manager/nm-supplicant-interface.c
10301 - (nm_supplicant_interface_set_property): track signal handler ID
10302 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10304 2006-12-04 Dan Williams <dcbw@redhat.com>
10306 * src/supplicant-manager/nm-supplicant-interface.[ch]
10307 - (nm_supplicant_interface_get_state): new function
10309 2006-12-04 Dan Williams <dcbw@redhat.com>
10311 * src/supplicant-manager/nm-supplicant-interface.c
10312 - (bssid_properties_cb): don't treat DBus errors as valid
10313 scanned AP messages
10315 2006-12-04 Dan Williams <dcbw@redhat.com>
10317 * src/supplicant-manager/nm-supplicant-interface.[ch]
10318 - (nm_supplicant_interface_get_connection_state): new function
10319 - define new supplicant connection states
10320 - send a signal when the supplicant connection state changes
10322 2006-12-03 Dan Williams <dcbw@redhat.com>
10324 * src/supplicant-manager/Makefile.am
10325 src/supplicant-manager/nm-supplicant-connection.h
10326 src/supplicant-manager/nm-supplicant-connection.c
10327 src/supplicant-manager/nm-supplicant-config.h
10328 src/supplicant-manager/nm-supplicant-config.c
10329 src/supplicant-manager/nm-supplicant-types.h
10330 src/supplicant-manager/nm-supplicant-interface.h
10331 src/supplicant-manager/nm-supplicant-interface.c
10332 - Rename NMSupplicantConnection -> NMSupplicantConfig
10334 2006-12-03 Dan Williams <dcbw@redhat.com>
10336 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
10340 - Move VPN-related translatables to .skip
10342 * vpn-daemons/pptp/po/POTFILES.in
10343 - Update with new translatables
10345 2006-12-02 Dan Williams <dcbw@redhat.com>
10347 Patch from Christian Persch <chpe@gnome.org>
10349 * gnome/applet/Makefile.am
10350 gnome/applet/applet-dbus-devices.c
10351 gnome/applet/applet-notifications.c
10352 gnome/applet/applet.c
10353 gnome/applet/applet.h
10354 gnome/applet/main.c
10355 - Be a GtkStatusIcon on GTK+ >= 2.10
10357 2006-12-02 Dan Williams <dcbw@redhat.com>
10359 * gnome/applet/applet.c
10360 - (nma_update_info): fix two unecessary allocations
10362 2006-12-02 Dan Williams <dcbw@redhat.com>
10364 Patch from Michael Biebl <biebl@teco.edu>
10366 man/NetworkManager.1.in
10367 man/NetworkManagerDispatcher.1.in
10368 man/NetworkManager.8.in
10369 man/NetworkManagerDispatcher.8.in
10370 - Add .SH NAME stanzas
10371 - Move NM & NM Dispatcher manpages to section 8 (admin)
10373 2006-12-02 Dan Williams <dcbw@redhat.com>
10375 Patch from Christian Persch <chpe@gnome.org>
10378 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10380 2006-11-29 Tambet Ingo <tambet@ximian.com>
10382 Patch by Timo Hoenig <thoenig@suse.de>:
10383 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10386 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10387 we can't use the one from the main source directory.
10389 2006-11-27 Dan Williams <dcbw@redhat.com>
10391 Patch from Christian Persch <chpe@gnome.org>
10393 * gnome/applet/applet-dbus-devices.c
10394 - (hal_info_product_cb): fix memleak; free duped string.
10397 2006-11-27 Dan Williams <dcbw@redhat.com>
10399 Patch from Christian Persch <chpe@gnome.org>
10401 * gnome/applet/menu-items.c
10402 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10403 as gtk_progress_set_percentage is deprecated. Should
10404 work as far back as GTK+ 2.4. Gnome.org #379780
10406 2006-11-26 Dan Williams <dcbw@redhat.com>
10408 Scan using wpa_supplicant over DBus.
10410 * src/nm-device-802-11-wireless.c
10411 - remove wireless extensions netlink event handler bits
10412 (wireless_event_helper, nm_device_802_11_wireless_event)
10413 - remove wireless extensions scan event handler bits
10414 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10415 hex2byte, hex2num, request_and_convert_scan_results,
10416 free_process_scan_cb_data, scan_results_timeout,
10417 schedule_scan_results_timeout, cancel_scan_results_timeout)
10418 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10419 and request scans from the supplicant interface rather than directly
10420 - Move functionality of convert_scan_results() to cull_scan_list() and
10421 supplicant_iface_scanned_ap_cb()
10422 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10423 at the scan interval when the current scan has finished
10424 - (supplicant_iface_state_cb): start scanning when the supplicant
10425 interface enters the READY state, and stop scanning when it
10426 enters the DOWN state
10427 - (cull_scan_list): weed out old access points from the scan list
10428 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10429 point into an NMAccessPoint and merge it into the device's scan list
10431 * src/supplicant-manager/nm-supplicant-interface.c
10432 src/supplicant-manager/nm-supplicant-interface.h
10433 - Add a new signal "scan-result" which is issued when the supplicant
10434 notifies NM that a scan has completed
10435 - Add a new signal "scanned-ap" that notifies listeners of a new access
10436 point found in the scan. Called once for each access point that
10437 the supplicant interface object receives from the supplicant as a
10438 result of the "scanResults" method call
10439 - (wpas_iface_query_scan_results): don't wait 4s before querying
10440 for the initial scan results
10441 - (scan_request_cb): new function; send listeners the result
10442 (success, error) of a wireless scan request
10443 - (nm_supplicant_interface_request_scan): new function; ask the
10444 supplicant to perform an immediate wireless scan
10446 2006-11-25 Dan Williams <dcbw@redhat.com>
10448 * src/supplicant-manager/Makefile.am
10449 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10450 add HAL cflags/includes and named-manager includes directory
10452 * src/supplicant-manager/nm-supplicant-interface.h
10453 - New state STARTING to handle transition from INIT to READY where
10454 the addInterface pending call is still outstanding
10456 * src/supplicant-manager/nm-supplicant-interface.c
10457 - track pending calls differently since we may have more than one
10458 going on at any given time
10459 - request scan results from wpa_supplicant; but don't do it more often
10460 than every 4 seconds. Drivers that do background scanning
10461 (like the 'ipw' drivers) send a continuous stream of scan completion
10462 notifications, so we don't want to hammer the supplicant or dbus
10463 with requests for all scan results every time we get a completion
10466 2006-11-25 Dan Williams <dcbw@redhat.com>
10468 * src/supplicant-manager/nm-supplicant-types.h
10469 - new file; move all supplicant manager object typedefs here for
10472 * src/supplicant-manager/nm-supplicant-interface.c
10473 src/supplicant-manager/nm-supplicant-interface.h
10474 - new file; an object that interfaces an NMDevice object to the
10475 supplicant and handles signals from the supplicant. This object
10476 does all necessary DBus communication with wpa_supplicant.
10478 * src/supplicant-manager/nm-supplicant-manager.c
10479 src/supplicant-manager/nm-supplicant-manager.h
10480 - Actually do something. Track the state of the wpa_supplicant service
10481 and deal with its comings & goings. Handle life events of
10482 supplicant interfaces too.
10483 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10485 * src/supplicant-manager/nm-supplicant-connection.h
10486 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10488 * src/supplicant-manager/Makefile.am
10489 - Add new files to build, and add libnm-util to includes
10491 * src/nm-marshal.list
10492 - New marshaler type: VOID:UINT,UINT
10494 * src/nm-device-802-3-ethernet.c
10495 - (real_init): grab a supplicant interface
10496 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10497 - (supplicant_iface_state_cb): new function, stub for handling
10498 supplicant interface state changes
10500 * src/nm-device-802-11-wireless.c
10501 - (real_init): grab a supplicant interface
10502 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10503 - (supplicant_iface_state_cb): new function, stub for handling
10504 supplicant interface state changes
10506 * src/NetworkManager.c
10507 - (main): create and keep the supplicant manager around for the lifetime
10511 - Link to the supplicant manager sub-library and use the supplicant
10514 2006-11-25 Dan Williams <dcbw@redhat.com>
10516 Rework DBus manager signal handling to be more flexible. Previously,
10517 only one signal handler could be registered for a particular interface.
10518 The DBus manager now reference counts DBus bus matches and allows multiple
10519 clients to register signal handlers for the same interface and sender.
10521 * src/NetworkManager.c
10522 - (main): track NMI signal handler ID and remove it when we quit
10524 * src/NetworkManagerMain.h
10525 - Keep track of NMI signal handler ID
10527 * src/nm-dbus-manager.c
10528 src/nm-dbus-manager.h
10529 - rework signal handling; each signal handler references one signal
10530 match, but a signal match may be referenced by one or more
10531 signal handlers. Matches are refcounted and are destroyed when the
10532 last signal handler that references the match is removed. This is
10533 necessary because two signal handlers may end up requiring the same
10534 dbus bus match, so the match must live until the last signal handler
10535 is destroyed (for example, with the wpa_supplicant network interface
10538 * src/dhcp-manager/nm-dhcp-manager.c
10539 - (nm_dhcp_manager_new): track DHCP signal handler id
10540 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10542 * src/vpn-manager/nm-vpn-service.c
10543 - (nm_vpn_service_add_watch): track VPN service signal handler id
10544 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10546 2006-11-25 Dan Williams <dcbw@redhat.com>
10548 Suggested by Helmut Schaa <hschaa@suse.de>
10550 * src/vpn-daemons/nm-vpn-service.c
10551 - (supplicant_child_setup): new function
10552 - (supplicant_exec): make child process use a new process group id
10554 * src/nm-device-802-11-wireless.c
10555 - (nm_vpn_service_child_setup): new function
10556 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
10559 2006-11-19 Dan Williams <dcbw@redhat.com>
10561 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
10562 * gnome/vpn-properties/nm-vpn-properties.c
10563 - clean up after renamed VPN connection
10565 2006-11-19 Dan Williams <dcbw@redhat.com>
10567 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
10568 * gnome/applet/applet-dbus-vpn.c
10569 - (nma_dbus_vpn_properties_cb): sort VPN connections
10571 * gnome/vpn-properties/nm-vpn-properties.c
10572 - (init_app): sort VPN connections
10574 2006-11-09 Dan Williams <dcbw@redhat.com>
10576 * src/NetworkManagerAPList.c
10577 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
10578 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
10579 from the nm_ap_list_get_ap_by_address() call was incorrect and
10580 broke hidden SSID matching. Found by Bill Moss.
10582 2006-10-25 Dan Williams <dcbw@redhat.com>
10585 - (nm_dbus_nm_set_active_device): return an empty success message on
10586 success, rather than falling through to the error case.
10588 2006-10-25 Dan Williams <dcbw@redhat.com>
10590 * src/NetworkManagerUtils.c
10591 - (nm_utils_supplicant_request_with_check): suppress messages for the
10594 2006-10-24 Dan Williams <dcbw@redhat.com>
10596 Reduce the number of times the Gnome applet wakes up, especially when
10597 it's doing absolutely nothing and is hidden. Initial patch by
10600 * gnome/applet/applet-dbus.c
10601 - (nma_dbus_filter): when NM isn't around, or when it goes away,
10602 kill the redraw timeout. When NM starts up, start the redraw
10603 timeout. Also, if we get kicked off the bus for some reason,
10604 start the reconnection timeout if one's not already running.
10605 - (nma_dbus_init): better handling of error conditions, don't leak
10606 a half-initialized dbus connection
10607 - (nma_dbus_connection_watcher): consolidate places we reinitialize
10608 the applet's data, just call nm_dbus_init_helper()
10609 - (nma_start_dbus_connection_watch): new function, starts a periodic
10610 timeout that calls nma_dbus_connection_watcher()
10611 - (nma_dbus_init_helper): if we get a successful connection, kill the
10612 reconnection timeout, and don't start the reconnection timeout
10613 unconditionally anymore
10615 * gnome/applet/applet-dbus.h
10616 - Expose nma_start_dbus_connection_watch()
10618 * gnome/applet/applet.c
10619 - (nma_update_state): no longer static, called from applet-dbus.c for
10620 immediate UI updates on certain events
10621 - (nma_set_running): new function; take over setting applet->running,
10622 when not running (ie, NM is not active), don't activate the redraw
10623 timeout because we're not showing the applet anyway. When we are
10624 running (ie, NM is active), and only when we're running, start the
10626 - (nma_destroy): kill the redraw timeout by setting 'not running', and
10627 kill any reconnection timeout
10628 - (nma_get_instance): move one-off dbus initialization code here since
10629 nm_dbus_init_helper() gets called more than once, possibly by the
10630 reconnection timeout function too. And, when we start up, if we
10631 can't get a connection to the bus, start the reconnection timeout.
10632 But don't start the redraw timeout yet, only do that when we get
10633 NM's state and find out if it's running or not.
10635 * gnome/applet/applet.h
10636 - Add the reconnection GSource ID
10637 - Add prototypes for nma_set_running() and the no-longer-static
10640 2006-10-24 Dan Williams <dcbw@redhat.com>
10642 * src/vpn-daemons/nm-dbus-vpnc.c
10643 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
10644 pending call tracker
10645 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
10646 pending call tracker; register one-vpn-connection update pending
10647 call in pending call tracker
10648 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
10649 update pending call in pending call tracker
10650 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
10651 update pending call in pending call tracker; don't block waiting
10654 2006-10-19 Robert Love <rml@novell.com>
10656 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
10659 2006-10-14 Dan Williams <dcbw@redhat.com>
10661 * src/dhcp-manager/nm-dhcp-manager.c
10662 - (get_ip4_string, get_ip4_uint32s): have the caller pass
10663 the dbus connection and the device object path rather than
10664 constructing it inside both functions. Saves a bit of memory
10665 and clarifies a failure path.
10666 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
10667 and allocate device path here rather than each of the two
10670 2006-10-13 Dan Williams <dcbw@redhat.com>
10672 * src/NetworkManager.c
10673 - (nm_name_owner_changed_handler): handle NMI coming and going,
10674 this somehow droppout in the refactor
10676 2006-10-13 Dan Williams <dcbw@redhat.com>
10678 * Huge DBus refactor:
10679 - Create a "DBus Manager" object which manages the connection and
10680 sends signals on NameOwnerChanged and connection/disconnection events,
10681 handles reconnection to the bus if NM gets kicked off, and abstracts
10683 - Remove DBusConnection members from places where they are no
10684 longer needed due to the refactor, like the dbus-connection
10685 property of the named manager, and from NMData
10686 - Reformats a bunch of the code to gnome style
10687 (8-space tabs, braces on same line as statement, 80-col width).
10688 Consider it open season to reformat any bits to gnome style.
10689 style that aren't already.
10691 2006-10-13 Dan Williams <dcbw@redhat.com>
10693 * src/supplicant-manager/Makefile.am
10696 * src/supplicant-manager/nm-supplicant-manager.[ch]:
10697 - Make it a minimal GObject
10699 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
10700 - Verify settings destined for wpa_supplicant
10702 * src/supplicant-manager/nm-supplicant-connection.[ch]:
10703 - Minimal GObject to track wpa_supplicant controlled device
10706 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
10708 * gnome/applet/applet.c: (nma_update_info),
10709 (nma_act_stage_to_pixbuf), (nma_update_state):
10710 Mark missing strings for translation. Fixes bug #343306.
10712 2006-10-01 Dan Williams <dcbw@redhat.com>
10714 * src/vpn-manager/nm-vpn-manager.c
10715 - (nm_vpn_manager_load_services): split and clean up
10716 for readability and correctness. Restrict VPN service
10717 files to ending in ".name", as was meant from the
10718 beginning (but not coded in). Better error reporting.
10720 2006-10-01 Dan Williams <dcbw@redhat.com>
10723 - Clean up formatting of debug/info/warning log messages
10725 2006-09-27 Robert Love <rml@novell.com>
10727 Patch by Tambet Ingo <tambet@ximian.com>:
10728 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
10731 2006-09-07 Dan Williams <dcbw@redhat.com>
10734 test/libnm-util/Makefile.am
10735 test/nm-supplicant-test.c
10736 - Add test program emulating the way NM drives wpa_supplicant
10737 to help debug supplicant issues
10739 2006-08-24 Dan Williams <dcbw@redhat.com>
10743 src/supplicant-manager/Makefile.am
10744 src/supplicant-manager/nm-supplicant-manager.c
10745 src/supplicant-manager/nm-supplicant-manager.h
10746 - Add skeleton bits of the wpa_supplicant manager
10748 2006-08-24 Dan Williams <dcbw@redhat.com>
10750 Patch from Ed Catmur:
10751 * src/NetworkManagerUtils.c
10752 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
10753 if netmask is 0 (Gnome #352634)
10755 2006-08-17 Robert Love <rml@novell.com>
10757 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
10758 package is now DBUS-enabled and listens for the NM signals.
10760 2006-08-14 Dan Williams <dcbw@redhat.com>
10762 * Patch from Christian Persch <chpe gnome org>
10765 vpn-daemons/openvpn/po/LINGUAS
10766 vpn-daemons/openvpn/configure.in
10767 vpn-daemons/pptp/po/LINGUAS
10768 vpn-daemons/pptp/configure.in
10769 vpn-daemons/vpnc/po/LINGUAS
10770 vpn-daemons/vpnc/configure.in
10771 - Convert to LINGUAS method so translators don't have to modify
10772 configure.in, just stuff in po/. Gnome #343132, requires intltool
10775 2006-08-14 Dan Williams <dcbw@redhat.com>
10777 Patch from Alex Smith <alex.extreme2@gmail.com>
10779 src/backends/Makefile.am
10780 src/backends/NetworkManagerFrugalware.c
10781 - Add support for Frugalware
10783 2006-08-13 Dan Williams <dcbw@redhat.com>
10785 Patch from Valentine Sinitsyn <e_val@inbox.ru>
10786 * src/nm-device-802-11-wireless.c
10787 - (supplicant_exec): spawn wpa_supplicant without debug spew
10790 2006-08-13 Dan Williams <dcbw@redhat.com>
10792 Patch from Valentine Sinitsyn <e_val@inbox.ru>
10793 * src/nm-ap-security.c
10794 src/nm-ap-security.h
10795 - Add authentication_required bits for subclasses to specify whether
10796 or not real authentication is required for connections, i.e. whether
10797 the AP rejects us when an encryption key is wrong or not.
10799 * src/nm-ap-security-wep.c
10800 src/nm-ap-security-wpa-eap.c
10801 src/nm-ap-security-wpa-psk.c
10802 src/nm-ap-security-leap.c
10803 - Implement authentication_required appropriately for each method
10805 * src/nm-device-802-11-wireless.c
10806 - Be smarter about when to request a key; for example, using a wrong key
10807 in WEP shared key mode previously just timed out and did not request
10810 2006-08-13 Dan Williams <dcbw@redhat.com>
10812 * gnome/libnm_glib/libnm_glib.c
10813 - dbus_connection_disconnect() -> dbus_connection_close() for
10816 2006-08-07 Dan Williams <dcbw@redhat.com>
10818 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10819 * src/NetworkManagerSystem.c
10820 - Respect specified MTU. Gnome #344967
10822 2006-08-07 Dan Williams <dcbw@redhat.com>
10824 * src/vpn-manager/nm-vpn-service.c
10825 - Simplify print_vpn_config() arguments
10827 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10828 * src/vpn-manager/Makefile.am
10829 src/vpn-manager/nm-vpn-service.c
10830 - Add new API for passing VPN config options as a dict. Gnome #344967
10832 2006-08-06 Dan Williams <dcbw@redhat.com>
10834 * gnome/applet/applet-dbus-devices.c
10835 gnome/applet/applet-dbus-vpn.c
10836 gnome/applet/applet-dbus.c
10837 gnome/applet/applet-dbus.h
10841 - Make pending call tracking code generic,
10842 so we can use it in NM as well as the applet
10844 2006-08-06 Dan Williams <dcbw@redhat.com>
10846 * src/nm-activation-request.c
10847 - Refcount pending call objects
10849 2006-08-06 Dan Williams <dcbw@redhat.com>
10851 Patch from Christan Chiesa <christanc@gmail.com>
10853 - Tell sha1.c to use bigendian mode on PPC
10855 2006-08-04 Robert Love <rml@novell.com>
10857 Glib Memory Slices!
10858 * configure.in: Require glib 2.10 or later.
10859 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
10860 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
10861 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
10862 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
10863 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
10864 Memory Slices are the greatest thing since bread slices.
10865 * src/NetworkManagerAP.c: Also, fix memory leak.
10867 2006-08-01 Robert Love <rml@novell.com>
10869 * gnome/applet/main.c: Shutdown all VPN connections on logout.
10871 2006-07-31 Robert Love <rml@novell.com>
10873 * src/backends/interface_parser.c: Declarations must begin the block.
10875 2006-07-24 Dan Williams <dcbw@redhat.com>
10877 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
10878 * src/backends/Makefile.am
10879 src/backends/NetworkManagerArch.c
10880 src/backends/NetworkManagerDebian.c
10881 src/backends/NetworkManagerGeneric.c
10882 src/backends/NetworkManagerGeneric.h
10883 src/backends/NetworkManagerGentoo.c
10884 src/backends/NetworkManagerPaldo.c
10885 src/backends/NetworkManagerRedHat.c
10886 src/backends/NetworkManagerSlackware.c
10887 src/backends/NetworkManagerSuSE.c
10888 - Genericize common backend functions
10890 2006-07-18 Robert Love <rml@novell.com>
10892 * configure.in: Add "--with-notify" option to allow disabling of
10895 2006-07-13 Dan Williams <dcbw@redhat.com>
10897 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
10898 * gnome/applet/applet.glade
10899 gnome/applet/Makefile.am
10900 gnome/applet/nm-gconf-wso.c
10901 gnome/applet/nm-gconf-wso-leap.c
10902 gnome/applet/nm-gconf-wso-leap.h
10903 gnome/applet/wireless-security-manager.c
10904 gnome/applet/wso-leap.c
10905 gnome/applet/wso-leap.h
10906 include/NetworkManager.h
10907 libnm-util/dbus-helpers.c
10908 libnm-util/dbus-helpers.h
10910 src/NetworkManagerAP.c
10911 src/nm-ap-security.c
10912 src/nm-ap-security-leap.c
10913 src/nm-ap-security-leap.h
10914 - Add LEAP authentication support
10916 2006-07-13 Dan Williams <dcbw@redhat.com>
10918 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
10920 src/backends/NetworkManagerArch.c
10921 src/backends/NetworkManagerDebian.c
10922 src/backends/NetworkManagerGentoo.c
10923 src/backends/NetworkManagerPaldo.c
10924 src/backends/NetworkManagerRedHat.c
10925 src/backends/NetworkManagerSlackware.c
10926 src/backends/NetworkManagerSuSE.c
10927 - Convert hardcoding of 'ip' path to configure-time
10930 2006-07-12 Leonid Kanter <leon@asplinux.ru>
10932 * configure.in: added ru to ALL_LINGUAS
10934 2006-07-10 Dan Williams <dcbw@redhat.com>
10936 Patch from Valentine Sinitsyn <e_val@inbox.ru>
10938 - (real_act_stage3_ip_config_start): don't infinite loop when
10939 dhcdbd isn't running (Gnome #346845)
10941 2006-07-09 Dan Williams <dcbw@redhat.com>
10943 * gnome/applet/applet.c
10944 - (nma_destroy): don't pass NULL to notify_notification_close
10947 2006-07-09 Dan Williams <dcbw@redhat.com>
10949 * gnome/applet/applet.c
10950 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
10952 2006-07-04 Tor Krill <tor@krill.nu>
10954 Patch from Valentine Sinitsyn <e_val@inbox.ru>
10955 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
10956 (nm_system_restart_mdns_responder), (ArchReadConfig),
10957 (nm_system_device_get_system_config):
10958 - Explicitly check for DHCP configuration
10959 - Check if daemons are running before starting them
10961 2006-06-25 Dan Williams <dcbw@redhat.com>
10963 * libnm-util/dbus-dict-helpers.[ch]
10964 test/libnm-util/test-dbus-dict-helpers.c
10965 - Add string array support
10967 2006-06-24 Dan Williams <dcbw@redhat.com>
10969 * src/dhcp-manager/nm-dhcp-manager.c
10970 - (nm_dhcp_manager_process_signal): clean up spacing
10972 2006-06-21 Dan Williams <dcbw@redhat.com>
10974 * src/nm-dbus-device.c
10975 - (nm_dbus_device_get_driver): don't try to stuff a NULL
10978 2006-06-21 Raivis Dejus <orvils@gmail.com>
10980 * configure.in: Added 'lv' to ALL_LINGUAS
10982 2006-06-19 Dan Williams <dcbw@redhat.com>
10984 * src/NetworkManagerAP.c
10985 - Clarify usage of user_created
10987 * src/nm-ap-security-wep.c
10988 src/nm-ap-security-wpa-eap.c
10989 src/nm-ap-security-wpa-psk.c
10990 src/nm-ap-security.c
10991 src/nm-ap-security.h
10992 - s/user_created/adhoc, because we really do mean adhoc
10994 Patch from Bernard Blackham <bernard@blackham.com.au>
10995 * src/nm-device-802-11-wireless.c
10996 - (supplicant_send_network_config): instead of user_created,
10997 use adhoc, and do AP_SCAN 2 for adhoc networks
10999 2006-06-18 Robert Love <rml@novell.com>
11001 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11002 we have a value to set. Gconf generates a warning if `val' is NULL.
11003 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11004 unless we actually received a valid private key file passphrase or
11005 password. Otherwise, we don't know to later ask the applet to pull
11006 the key from the keyring.
11008 2006-06-17 Dan Williams <dcbw@redhat.com>
11010 * libnm-util/dbus-dict-helpers.[ch]
11011 test/libnm-util/test-dbus-dict-helpers.c
11012 - Fixes for zero-length byte arrays
11013 - Replace return values of 0 with FALSE for clarity
11014 - Test zero-length byte arrays
11016 2006-06-17 Dan Williams <dcbw@redhat.com>
11018 * libnm-util/dbus-dict-helpers.[ch]
11019 test/libnm-util/test-dbus-dict-helpers.c
11020 - Add helpers for byte arrays
11021 - Rework bits of the testcase
11023 2006-06-16 Dan Williams <dcbw@redhat.com>
11025 * libnm-util/Makefile.am
11026 * libnm-util/dbus-dict-helpers.[ch]
11027 - Add some helpers to take the pain out of using dict types in
11030 * test/libnm-util/Makefile.am
11031 * test/libnm-util/test-dbus-dict-helpers.c
11032 - Test cases for the dict helper functions
11034 2006-06-15 Robert Love <rml@novell.com>
11036 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11037 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
11038 if there is no key to pass.
11039 * libnm-util/dbus-helpers.c: Given the above, we can trust always
11040 receiving a non-NULL key.
11042 2006-06-14 Robert Love <rml@novell.com>
11044 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11048 2006-06-14 Dan Williams <dcbw@redhat.com>
11050 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
11051 * src/nm-device-802-11-wireless.c
11052 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11053 or ones where the driver is unknown
11054 - (supplicant_exec): don't wait for supplicant startup here
11055 - (supplicant_interface_init): finer grained polling for supplicant
11058 2006-06-13 Robert Love <rml@novell.com>
11060 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11061 if it is currently set to TRUE. Otherwise, we will reset the value
11062 when we connect normally.
11063 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11064 the old BSSID is valid, too. The recently added ESSID check may not be
11065 sufficient (we can remove it?). What we really want to catch is the
11066 case of going from all-zeros to the BSSID of some other network, which
11067 happens on failure.
11069 2006-06-09 Dan Williams <dcbw@redhat.com>
11071 * src/NetworkManagerSystem.[ch]
11072 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11073 it was unused and pointless
11074 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11075 fix for set_up_down_with_iface change
11077 * src/vpn-manager/nm-vpn-connection.c
11078 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11080 * src/backends/NetworkManagerPaldo.c
11081 src/backends/NetworkManagerRedHat.c
11082 src/backends/NetworkManagerSuSE.c
11083 src/backends/NetworkManagerArch.c
11084 src/backends/NetworkManagerDebian.c
11085 src/backends/NetworkManagerGentoo.c
11086 - (nm_system_enable_loopback): use set_up_down_with_iface where
11088 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11091 2006-06-09 Dan Williams <dcbw@redhat.com>
11093 Patch from Peter Jones:
11094 * src/nm-device-802-11-wireless.c
11095 - (nm_device_802_11_wireless_update_bssid): make sure that the
11096 SSID hasn't changed from what we expect before automatically
11097 updating the saved BSSID from a new AP
11099 2006-06-08 Robert Love <rml@novell.com>
11101 Add 'fallback' support. NetworkManager will attempt to brute-force
11102 connect to networks marked as fallback if there are no better wireless
11103 connections available. This is useful as a method of last resort, to
11104 work around driver problems, and for use with hidden networks.
11105 * gnome/applet/applet-dbus-devices.c,
11106 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11107 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11108 pass it on via DBUS.
11109 * gnome/applet/applet.c: No fallback by default.
11110 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11111 Update other-network-dialog to add UI checkbox toggling fallback.
11112 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11113 propery from AP object. Add "fallback" property to AP object.
11114 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11115 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11116 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11117 separate function. Add get_best_fallback_ap() for returning an AP
11118 on which to attempt fallback.
11119 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11120 * test/nm-set-fallback: New file. Sets a given network as fallback.
11122 2006-06-07 Robert Love <rml@novell.com>
11124 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11125 checked that the return type was GCONF_VALUE_STRING, not the correct
11126 GCONF_VALUE_BOOL, and thus it never worked.
11127 * src/NetworkManagerAPList.c: Before concluding that two networks are
11128 identical based on their BSSID, make sure that the BSSID in question
11129 is actually valid. Specifically, an empty or all zero BSSID does not
11131 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11132 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11133 similar invariant clean up.
11135 2006-06-02 Robert Love <rml@novell.com>
11137 * gnome/applet/applet.c: Update copyright years. Add Novell.
11139 2006-05-28 Dan Williams <dcbw@redhat.com>
11141 * gnome/applet/applet.glade
11142 gnome/vpn-properties/nm-vpn-properties.glade
11143 - Set window icons on dialogs (Gnome.org #333420)
11145 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
11147 * gnome/vpn-properties/nm-vpn-properties.glade:
11148 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11149 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11150 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11151 - Make the VPN properties pages prettier and more HIG
11152 compliant. Gnome Bug #336913.
11154 2006-05-28 Dan Williams <dcbw@redhat.com>
11156 Patch from Christian Persch <chpe@gnome.org>
11157 * gnome/vpn-properties/nm-vpn-properties.c
11158 * gnome/vpn-properties/nm-vpn-properties.glade
11159 - HIG-ification love (Gnome.org #336846)
11161 2006-05-28 Dan Williams <dcbw@redhat.com>
11163 Patch from Christian Persch <chpe@gnome.org>
11165 gnome/vpn-properties/nm-vpn-properties.c
11166 - (main): Fix option parsing. Gnome.org #336847
11168 2006-05-28 Dan Williams <dcbw@redhat.com>
11170 * gnome/vpn-properties/nm-vpn-properties.c
11171 - (find_vpn_ui_by_service_name): protect against NULL service names
11172 - (update_edit_del_sensitivity): protect against NULL service names
11175 2006-05-28 Dan Williams <dcbw@redhat.com>
11177 Patch from Chris Fuller <crf@grandecom.net>:
11178 * src/nm-device-802-11-wireless.c
11179 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11180 don't dispose of wireless-specific stuff unless it is actually
11181 initialized. Gnome.org #341263
11183 2006-05-28 Dan Williams <dcbw@redhat.com>
11185 * src/NetworkManagerPolicy.c
11186 - (nm_policy_device_change_check): don't switch devices if the "best"
11187 AP is essentially the same as the current activation request, but
11188 the current activation request isn't done activating yet. Fixes
11189 multiple requests for keyring password on startup for Gnome applet.
11192 2006-05-26 Nicolas Trangez <eikke@eikke.com>
11194 * src/NetworkManager.c: use GOptions instead of getopt
11195 * configure.in: bump glib required version to >= 2.6 for GOption
11198 2006-05-25 Robert Love <rml@novell.com>
11200 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11201 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
11202 instead of dumping ifdef's throughout the code.
11203 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11204 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11205 use nm_ioctl_info() in lieu.
11207 2006-05-25 Robert Love <rml@novell.com>
11209 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11210 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11211 not using gcrypt. Otherwise, we get a linker error.
11213 2006-05-25 Robert Love <rml@novell.com>
11215 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11216 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11217 configure flag to disable building of the GNOME-based applet.
11219 2006-05-25 Robert Love <rml@novell.com>
11221 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11222 parameter from link, because it shadows a global variable with some
11223 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
11224 should never have exported to the entire system a common four letter
11225 word. But we here at NetworkManager are team players. Fixes
11228 2006-05-25 Arangel Angov <ufo@linux.net.mk>
11230 * configure.in: Added mk.po, Macedonian translation.
11232 2006-05-24 Robert Love <rml@novell.com>
11234 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11235 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11236 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11238 2006-05-24 Robert Love <rml@novell.com>
11240 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11241 libnm-util/Makefile.am, src/Makefile.am,
11242 vpn-daemons/openvpn/auth-dialog/Makefile.am,
11243 vpn-daemons/openvpn/properties/Makefile.am,
11244 vpn-daemons/pptp/auth-dialog/Makefile.am,
11245 vpn-daemons/pptp/properties/Makefile.am,
11246 vpn-daemons/vpnc/auth-dialog/Makefile.am,
11247 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11248 user passed for --datadir, if anything, when setting the GNOME locale
11249 directory. It should be a function of the specified datadir and not
11252 2006-05-24 Robert Love <rml@novell.com>
11254 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11255 src/NetworkManager.c: Take care to call bindtextdomain with the
11256 location of msgid files.
11257 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11260 2006-05-22 Robert Love <rml@novell.com>
11262 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11263 stage4_timeout on failure unless the wireless network is Ad-Hoc.
11264 99% of the time there is a real problem with wireless, and a
11265 seemingly successful connection via Zeroconf just confuses the user.
11266 And that 1% of the time the network is probably Ad-Hoc, anyhow.
11268 2006-05-22 Robert Love <rml@novell.com>
11270 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11271 autofs on interface up if NIS is configured. On interface down, do
11274 2006-05-22 Robert Love <rml@novell.com>
11276 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11277 to avoid calling g_object_unref() on stale pointers on error in
11278 nma_icons_free(). This happens because we short-circuit loaded the
11279 icons on the first failure but then free all icons. Normally we have
11280 no issue because the icons were zero'ed out malloc, but we have stale
11281 pointer data after nma_icon_theme_changed().
11282 * gnome/applet/main.c: Return error code if nma_new() failed.
11284 2060-05-21 Dan Williams <dcbw@redhat.com>
11286 * initscript/NetworkManager.in
11287 - Ensure both dhcdbd and named are started before NM
11289 2006-05-21 Dan Williams <dcbw@redhat.com>
11292 - Bump version to 0.7 to signify we are in 0.7 development
11294 2006-05-21 Dan Williams <dcbw@redhat.com>
11296 Patch from Adam Schreiber <sadam@clemson.edu>
11297 * gnome/vpn-properties/nm-vpn-properties.c
11298 - (main): correct Gnome program name (gnome.org #342498)
11300 2006-05-21 Dan Williams <dcbw@redhat.com>
11302 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11304 * src/NetworkManagerDbus.[ch]
11305 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11306 clarify that function's argument should be an escaped dbus object
11307 path, and look for path segment end before returning a match
11308 * src/nm-dbus-nm.c:
11309 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11311 2006-05-17 Robert Love <rml@novell.com>
11313 Functionality to differentiate Ad-Hoc networks from infrastructure
11314 networks in the applet, by displaying a special icon:
11315 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11316 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11317 * gnome/applet/menu-items.c: Set a special icon in the scan list for
11318 ad-hoc networks. TODO: Add a third icon representing "encrypted and
11319 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
11320 networks, encrypted or not.
11321 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11322 accessor functions to get and set the mode of a given network,
11323 wireless_network_get_mode() and wireless_network_set_mode().
11325 2006-05-17 Robert Love <rml@novell.com>
11327 Functionality to automatically add BSSIDs to the allowed-MAC list as
11328 one roams from access point to access point on a given network:
11329 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11330 helper function to compare two ether_addr structures and return TRUE
11331 if they contain the same MAC address.
11332 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11334 * src/nm-device-802-11-wireless.c: New function to update the BSSID
11335 stored with the current AP. If the BSSID has indeed changed, we
11336 send it out to the applet, allowing the allowed-MAC list to grow
11337 automatically in response to roaming.
11339 2006-05-16 Robert Love <rml@novell.com>
11341 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11342 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11344 2006-05-13 Dan Williams <dcbw@redhat.com>
11346 * src/nm-device-802-3-ethernet.c
11347 - (real_get_generic_capabilities): Don't ignore devices that can't do
11348 carrier detect (Debian bug #366373)
11350 2006-05-11 Dan Williams <dcbw@redhat.com>
11352 Patch from Michael Biebl <biebl@teco.edu>
11353 * src/backends/NetworkManagerDebian.c
11354 - Debian backend fixups
11356 2006-05-10 Robert Love <rml@novell.com>
11358 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11360 2006-05-09 Robert Love <rml@novell.com>
11362 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11363 private certificate passphrase, if any, in the GNOME Keyring.
11364 * libnm-utils/dbus-helpers.c: Update.
11366 2006-05-05 Dan Williams <dcbw@redhat.com>
11368 * src/nm-device-802-11-wireless.c
11369 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11370 nm_device_802_11_wireless_disable_encryption() since that's all
11371 we use it for anymore; we don't ever set WEP keys ourselves.
11372 - (real_deactivate_quickly): reset SSID and encryption keys
11373 - (real_deactivate): move SSID and encryption key reset to
11374 real_deactivate_quickly(), which gets run before us anyway
11376 2006-05-05 Robert Love <rml@novell.com>
11378 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11379 root has a wacky default of its own (or, more common, a user has a
11380 bad umask and uses su/sudo to restart NetworkManager). Anything
11381 other than 0022 does not do what we want with, for example,
11382 resolv.conf. This problem is amplified by our judicious use of
11383 fopen(), which uses mode 0666 -- implying that the only way to get
11384 the permissions we want is with a umask of 0022.
11386 2006-05-05 Dan Williams <dcbw@redhat.com>
11388 * gnome/libnm_glib/libnm_glib.c
11389 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11390 to reconnect; instead wait a bit more with each reconnect attempt
11391 up to a max of one minute.
11393 2006-05-04 Ryan Lortie <desrt@desrt.ca>
11395 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11396 the WirelessNetwork structure using the proper function instead of
11397 just casting it directly to (const char *) (gnome.org #336991)
11399 2006-05-03 Robert Love <rml@novell.com>
11401 * src/backends/NetworkManagerSuSE.c: Respect the variable
11402 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11403 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11404 to dynamically update /etc/resolv.conf.
11406 2006-05-02 Peter Jones <pjones@redhat.com>
11408 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11410 2006-05-02 Robert Love <rml@novell.com>
11412 Patch by Timo Hoenig;
11413 * tests/nm-online.c: Print pretty status indicator as timeout winds
11414 down. Also fix possible race between DBUS startup and failure
11417 2006-05-01 Robert Love <rml@novell.com>
11419 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11422 2006-04-27 Jeremy Katz <katzj@redhat.com>
11424 * src/nm-device.c (discover_device_type): Actually use the hal
11425 device type instead of ioctl poking
11427 2006-04-26 Robert Love <rml@novell.com>
11429 * tests/nm-online.c: New file. Simple utility that returns exit status
11430 noting whether the connection is offline or online. If offline on
11431 start, it waits 30 seconds (or a command-line given value) for an
11432 online signal. If it times out, it again returns offline. This is
11433 useful for scripts that want to wait for network connections.
11435 2006-04-25 Robert Love <rml@novell.com>
11437 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11438 key mode (the authentication algorithm), e.g. open or shared, when we
11439 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
11440 only shared was broken. If the user specified a shared key, set it
11441 explicitly, otherwise let wpa_supplicant go with the default.
11443 2006-04-24 Dan Williams <dcbw@redhat.com>
11445 * src/nm-device-802-11-wireless.c
11446 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11448 2006-04-24 Dan Williams <dcbw@redhat.com>
11450 Commit the async scanning patch
11452 * src/nm-device-802-11-wireless.c
11453 - get rid of scan_mutex
11454 - (wireless_event_helper): act on wireless scan events
11455 - (real_start): schedule a pending scan
11456 - (link_to_specific_ap): fake the link to the AP during a scan
11457 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11458 strength during scans
11459 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11460 nm_device_set_bitrate): unused with new scanning code, disable
11461 - (nm_device_wireless_schedule_scan): removed
11462 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11463 - (request_and_convert_scan_results): new function; retrieve scan
11464 results from the driver and schedule the processing function
11465 - (scan_results_timeout): timeout triggered when card doesn't send
11466 a scan results wireless event during a certain interval
11467 - (schedule_scan_results_timeout): new function; schedule the scan
11469 - (cancel_scan_results_timeout): new function; cancel the scan
11471 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11472 to do the scanning. Otherwise, just request a scan but don't
11473 grab results here; instead schedule a timeout for scan results and
11474 let netlink notify us of scan completion events
11475 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11476 - (cancel_pending_scan): new function; cancel a pending wireless scan
11477 - (supplicant_status_cb): ignore disconnect events while scanning
11478 - (supplicant_exec): wait a bit longer for the supplicant to start up
11479 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11481 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11483 2006-04-24 Dan Williams <dcbw@redhat.com>
11485 * gnome/applet/applet-dbus.c
11486 - Disable the pending call debug stuff, seems under control now
11488 2006-04-20 Robert Love <rml@novell.com>
11490 Fix bug where hidden ESSID's would not show up in the applet, even
11491 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
11492 because nm_policy_device_list_update_from_allowed_list() would merge
11493 the data, putting a name to the hidden networks, but never notify NMI
11494 of the changes. Simple fix is to invoke the function
11495 nm_dbus_signal_wireless_network_change() if we make a mapping.
11496 * src/NetworkManagerAPList.c: Call the function
11497 nm_dbus_signal_wireless_network_change() if we made a successful
11498 BSSID to ESSID mapping, notifying the applet of the "new" network.
11499 * src/NetworkManagerAPList.h: Update the prototypes for both
11500 nm_ap_list_copy_essids_by_address() and
11501 nm_ap_list_copy_one_essid_by_address().
11503 2006-04-20 Robert Love <rml@novell.com>
11505 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11506 not set. Just return zero.
11508 2006-04-20 Robert Love <rml@novell.com>
11510 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11511 only one copy of nm-vpn-properties is running at a time via the 'ol
11512 X selection trick. This prevents the user from opening two "VPN
11513 Connections" windows from within the applet, which leads to mass
11515 * clipboard.c: New file, implementing simple X selection logic.
11516 * clipboard.h: New file.
11517 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11519 2006-04-18 Nicolas Trangez <eikke@eikke.com>
11521 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11523 initscript/Gentoo/Makefile.am
11524 initscript/Gentoo/NetworkManagerDispatcher.in
11526 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11529 2006-04-16 Dan Williams <dcbw@redhat.com>
11531 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11533 initscript/Slackware/Makefile.am
11534 initscript/Slackware/rc.networkmanager-dispatcher.in
11535 initscript/Slackware/rc.networkmanager.in
11536 - Update slackware initscripts
11538 2006-04-10 Robert Love <rml@novell.com>
11540 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11541 the "delete_event" signal on the druid's parent window and handle it
11542 our way, lest using the WM to close the druid results in a series of
11543 bloody and ultimately lethal errors.
11545 2006-04-10 Robert Love <rml@novell.com>
11547 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11548 'Back' too or else the 'Forward' option is initially disabled despite
11551 2006-04-06 Robert Love <rml@novell.com>
11553 Fix bad but simple bug where an active modem connection did not update
11554 NM's connection state, breaking any app that did online/offline:
11555 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
11556 represented whether a dial up connection is active, or not.
11557 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
11558 to modem activation and deactivation.
11559 * src/NetworkManagerDbus.c: When asked our state, do not return
11560 disconnected if the modem is active.
11562 2006-04-04 Robert Love <rml@novell.com>
11564 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
11565 applet. It just confuses the crap out of people and does not make a
11566 lot of sense, as the daemon still runs.
11568 2006-04-02 Tor Krill <tor@krill.nu>
11570 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
11571 in start of service.
11572 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
11573 get Archlinux backend up to date.
11575 2006-03-29 Robert Love <rml@novell.com>
11577 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
11578 to add support for per-route MSS and improve support for per-interface
11580 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
11581 optionally take an MSS parameter and set it for the given route.
11582 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
11583 NMIP4Config's stored MSS, if any.
11584 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
11585 the interface's MTU and the route's MSS, respectively. Add functions
11586 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
11587 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
11589 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
11590 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
11591 nm_ip4_config_set_mss.
11592 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
11594 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
11595 Change the retval of nm_system_get_mtu to guint32.
11596 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
11597 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
11598 servers can specify MTU's, we should set it here if the MTU was not
11601 2006-03-27 Jürg Billeter <j@bitron.ch>
11604 * initscript/Makefile.am:
11605 * initscript/paldo/Makefile.am:
11606 * initscript/paldo/NetworkManager.in:
11607 * initscript/paldo/NetworkManagerDispatcher.in:
11608 * src/backends/Makefile.am:
11609 * src/backends/NetworkManagerPaldo.c:
11610 - Add paldo support
11612 2006-03-27 Dan Williams <dcbw@redhat.com>
11614 Patch from Christian Persch <chpe@gnome.org>
11615 * gnome/applet/applet.glade
11616 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
11618 2006-03-27 Dan Williams <dcbw@redhat.com>
11620 Patch from Diffe <diffie@blazebox.homeip.net>
11621 * src/backends/NetworkManagerSlackware.c
11622 - Don't restart howl, since it's been replaced by Avahi
11623 in most distributions
11625 2006-03-27 Dan Williams <dcbw@redhat.com>
11627 Patch from Tor Krill <bugzilla@krill.nu>
11629 initscript/Makefile.am
11630 src/backends/Makefile.am
11631 src/backends/NetworkManagerArch.c
11632 initscript/Arch/Makefile.am
11633 initscript/Arch/networkmanager-dispatcher.in
11634 initscript/Arch/networkmanager.in
11635 - Add Arch Linux support, fixes gnome.org #335147
11637 2006-03-27 Dan Williams <dcbw@redhat.com>
11639 Patch from Diffe <diffie@blazebox.homeip.net>
11640 * initscript/Slackware/rc.networkmanager
11641 - update, fixed gnome.org #333368
11643 2006-03-27 Robert Love <rml@novell.com>
11645 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
11646 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
11648 2006-03-27 Robert Love <rml@novell.com>
11650 Patch by Jürg Billeter <j@bitron.ch>:
11651 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
11653 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
11654 as we prefer glibc over kernel headers, if possible.
11656 2006-03-27 Robert Love <rml@novell.com>
11658 Patch by Jon Escombe <list@dresco.co.uk>:
11659 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
11660 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
11661 fail, don't bail out. We don't expect all of the various WPA-EAP
11662 values to be present.
11663 * src/nm-ap-security.c: We need to match all capabilities for each
11664 encryption type, not any one of them.
11666 2006-03-27 Robert Love <rml@novell.com>
11668 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
11669 restart, not reload, ypbind. Unfortunately there is no superior
11672 2006-03-24 Christopher Aillon <caillon@redhat.com>
11674 * gnome/applet/applet-notifications.c:
11675 When displaying a notification, make sure to get rid of the
11676 previous notification so as to not have competing bubbles,
11677 and stop leaking the old one.
11679 * gnome/applet/applet.c:
11680 * gnome/applet/applet.h:
11681 Add a new 'notification' member to the applet, and zero it out
11682 and free it appropriately.
11684 2006-03-23 Robert Love <rml@novell.com>
11686 Patch by j <j@bootlab.org>:
11687 * gnome/applet/applet.glade: Don't set the invisible_char property,
11688 which simply overrides the GTK default. By and by, this behavior
11689 ought to be fixed in Glade.
11691 2006-03-22 Robert Love <rml@novell.com>
11693 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
11695 2006-03-22 Robert Love <rml@novell.com>
11697 Bug fix by Timo Hoenig <thoenig@suse.de>:
11698 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
11699 disconnect. Otherwise, we have the daemon surviving DBUS restarts
11700 and the applet going AWOL.
11702 2006-03-22 Robert Love <rml@novell.com>
11704 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
11705 preprocessor define and use it instead of open-coded the DHCP
11706 timeout, which is currently 25 seconds, everywhere.
11708 2006-03-22 Robert Love <rml@novell.com>
11710 Implement "Dynamic WEP", which is basically WPA authentication and WEP
11711 key exchange via WPA, ostensibly providing good security without
11712 requiring hardware that supports full WPA. Also, add UI elements to
11713 allow the user to select the pairwise & group cipher for WPA Enterprise
11715 * gnome/applet/applet.glade: Update glade file.
11716 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
11717 key type, too, to and from gconf.
11718 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
11719 wso_wpa_create_key_type_model(), noting whether we are handling PSK
11720 or EAP configuration, and in the latter case add in "Dynamic WEP" if
11721 the capabilities match.
11722 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
11724 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
11725 serialize from UI to DBUS.
11726 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
11728 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
11729 nmu_security_serialize_wpa_eap_with_cipher(), and
11730 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
11731 serialize/deserialize the key type via DBUS as the new third DBUS
11733 * libnm-util/dbus-helpers.h: Update prototypes.
11734 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
11735 too. If the key type is WEP104, do Dynamic WEP, which means
11736 "IEEE8021X" for "key_mgmt". Also add support for user-specified
11737 pairwise and group ciphers (fixes a FIXME).
11739 2006-03-21 Robert Love <rml@novell.com>
11741 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
11742 nm_system_get_mtu(), which returns a user-provided or system-mandated
11743 MTU value for a given device, if any, or zero if no such value
11744 exists. Add nm_system_set_mtu() to set the MTU for a given device
11745 if we have a provided value.
11746 * src/nm-device.c: Set the MTU of devices.
11747 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
11748 * src/backends/NetworkManagerDebian.c,
11749 src/backends/NetworkManagerGentoo.c,
11750 src/backends/NetworkManagerRedHat.c,
11751 src/backends/NetworkManagerSlackware.c: Implement stub functions.
11753 2006-03-21 Robert Love <rml@novell.com>
11755 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
11756 configuration file.
11758 2006-03-17 Robert Love <rml@novell.com>
11760 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
11761 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
11762 it, in case it is not running in the first place. We just want its
11763 configuration reloaded. Also, do not "rcypbind stop" on device down.
11765 2006-03-15 Robert Love <rml@novell.com>
11767 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
11768 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
11769 label "WEP 40/128-bit" is inconsistent because the physical key size
11770 is 40 or 104-bits, to which a 24-bit initialisation vector is
11771 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
11772 to read "40/104" or "64/128". I do not care much which, but most
11773 users think of "silver" and "gold" encryption as 64 and 128-bits, so
11774 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
11775 WEP passphrase support only handles 128-bit keys, and any future
11776 64-bit passphrase support will require a new option (no way to auto-
11777 detect the target key size), explicitly label our passphrase support
11778 "WEP 128-bit Passphrase".
11780 2006-03-15 Robert Love <rml@novell.com>
11782 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
11783 the system init scripts (or some other mechanism) starting it (or a
11784 compatible DBUS service) before NetworkManager runs. This means that
11785 distributions might need to update their init scripts. This fixes
11786 possible races and is quite a bit cleaner.
11787 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
11788 starting the NetworkManager daemon.
11791 2006-03-14 Robert Love <rml@novell.com>
11793 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
11794 before adding anything.
11796 2006-03-13 Robert Love <rml@novell.com>
11798 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
11799 widgets, too, if they exist, in case the user hit the back button.
11800 Fixes a bug where the details page contains the widgets of multiple
11801 VPN modules (Novell bug #157048).
11803 2006-03-13 Robert Love <rml@novell.com>
11805 Patch by Timo Hoenig <thoenig@suse.de>:
11806 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
11807 daemon survive DBUS restarts, too.
11809 2006-03-10 Robert Love <rml@novell.com>
11811 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
11813 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
11814 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
11815 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
11816 in response to "toggled" signal on new toggle.
11818 2006-03-10 Robert Love <rml@novell.com>
11820 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
11821 serialization if strings are NULL, lest DBUS get angry.
11823 2006-03-10 Robert Love <rml@novell.com>
11825 * src/nm-ap-security-wpa-eap.c: Don't log the password.
11827 2006-03-09 Robert Love <rml@novell.com>
11829 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
11832 2006-03-09 Dan Williams <dcbw@redhat.com>
11834 Track pending call requests in the applet, and report how many are
11835 outstanding, and how long each completed one takes.
11837 * gnome/applet/applet-dbus-devices.c
11838 gnome/applet/applet-dbus-vpn.c
11839 - Track pending calls
11841 * gnome/applet/applet-dbus.[ch]
11842 - Remove some unused enums
11843 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
11844 new functions to track dbus pending calls and spit out some
11845 statistics about them
11847 2006-03-09 Robert Love <rml@novell.com>
11849 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
11850 nm_ap_set_timestamp() take the second and micro-second parameters as
11851 direct arguments, which avoids both a dynamic memory allocation and a
11852 structure-to-structure copy! Add a new interface, the aptly named
11853 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
11854 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
11855 the return from nm_ap_get_timestamp(). New users should use the new
11856 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
11857 the extreme benefit to performance.
11858 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
11859 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
11861 2006-03-08 Robert Love <rml@novell.com>
11863 * gnome/applet/applet.glade: Hide the password entry text with
11866 2006-03-08 Robert Love <rml@novell.com>
11868 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
11869 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
11870 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
11871 a second argument, NMData.
11872 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
11873 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
11874 config files as trusted.
11876 2006-03-06 Robert Love <rml@novell.com>
11878 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
11879 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
11880 to exit the applet. As a sweet side-effect, idea courtesy of Chris
11881 Rivera, detect if the applet was auto-started. If so, ask the user
11882 if he or she would like to stop automatically running the applet on
11883 login. If so, disable autostart.
11885 2006-03-06 Robert Love <rml@novell.com>
11887 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
11888 directory in CFLAGS so developers can actually use NetworkManager.h.
11890 2006-03-06 Robert Love <rml@novell.com>
11892 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
11893 open-coded integer constants. Add state_to_string() to map a given
11894 state to a textual description, and provide that when notifying of
11896 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
11897 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
11898 this header directly, but it is currently not installed on most
11901 2006-03-05 Dan Williams <dcbw@redhat.com>
11903 Process netlink messages in device subclasses rather than in
11904 NetworkManager.c. Also add support for recognizing Wireless Events.
11907 - Find GLIB_GENMARSHAL
11910 - Since we're marshalling custom types for wireless event signals,
11911 we get to create our own marshallers using GLIB_GENMARSHAL
11913 * src/NetworkManager.c
11914 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
11915 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
11916 cut down somewhat. We no longer process signals here.
11917 - (nm_data_new): create the netlink monitor here, and remove a
11918 useless call to nm_policy_schedule_device_change_check()
11919 - (nm_data_free): get rid of the netlink monitor here
11920 - (nm_device_link_activated, nm_device_link_deactivated): removed
11921 - (main): don't create the netlink monitor here, let nm_data_new
11922 do that. Call nm_policy_schedule_device_change_check() right
11923 before we jump to the mainloop to figure out which device
11926 * src/NetworkManagerSystem.[ch]
11927 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
11928 convert back and forth from interface names to interface
11931 * src/nm-device-802-11-wireless.c
11932 - (real_init): connect to wireless-event signals from the netlink
11934 - (nm_device_802_11_wireless_event): new function, schedule handler
11935 for wireless event signals from the netlink monitor object. We
11936 want the handler to run in the device's context
11937 - (wireless_event_helper): handle wireless-event signals from netlink
11938 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
11941 * src/nm-device-802-11-wireless.h
11942 - remove unused prototype for nm_device_802_11_wireless_new
11944 * src/nm-device-802-3-ethernet.c
11945 - (real_init): new function; set up signal handlers for link events
11946 - (nm_device_802_3_ethernet_link_activated): new function, schedule
11947 handler for netlink link activated events on device's main loop
11948 - (link_activated_helper): when we get a link activated event, set
11949 the device's link to be active
11950 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
11951 handler for netlink link deactivated events on device's main loop
11952 - (link_deactivated_helper): when we get a link deactivated event, set
11953 the device's link to be inactive
11954 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
11957 * src/nm-device-802-3-ethernet.h
11958 - remove unused prototype for nm_device_802_3_ethernet_new
11960 * src/nm-device.[ch]
11961 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
11962 but locks the device list
11963 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
11965 * src/nm-netlink-monitor.[ch]
11966 - (nm_netlink_monitor_class_install_signals): New signal
11968 - (nm_netlink_monitor_new): keep reference to NMData so we can get
11970 - (nm_netlink_monitor_event_handler): expand for wireless events too
11972 * src/nm-marshal-main.c
11973 - Include generated nm-marshal.c and nm-marshal.h
11975 * src/nm-marshal.list
11976 - List of custom marshal functions
11978 2006-03-05 Dan Williams <dcbw@redhat.com>
11980 * gnome/applet/applet-notifications.h
11981 - Protect prototype of nma_send_event_notification() because it
11982 includes libnotify-specific types
11983 - Include libnotify/libnotify.h too, since we technically need it
11985 * gnome/applet/applet.c
11986 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
11987 - (nma_show_vpn_login_banner_dialog): add some error checking
11989 2006-03-04 Dan Williams <dcbw@redhat.com>
11991 Clean up activation cancellation. Should be a lot faster now. Observed
11992 an issue with wireless devices between stage 2 and 3 of activation, where
11993 activation would be cancelled, but the device thread wouldn't notice until
11994 the supplicant association timed out. Reorganize activation such that
11995 a cancellation handler gets immediately scheduled in the device's thread,
11996 and devices have a chance to perform any custom cleanup too.
11998 * src/nm-device.[ch]
11999 - (activation_cancel_handler): new device-type-specific function
12000 for cleaning up device-type-specific stuff on cancellation
12001 - (cancel_activation): removed
12002 - (nm_device_activation_cancel): subsume functionality of
12003 real_cancel_activation, but instead of doing anything, punt
12004 operation to a handler that's run in device-thread context
12005 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12007 - (activation_handle_cancel_helper): cancellation handler run in
12008 device-thread context, calls device-type-specific cancelation,
12009 then tears down the activation request
12010 - (real_activation_cancel_handler): generic cancellation handler,
12011 deals with cancelling any in-process DHCP request
12012 - (nm_device_activate_stage1_device_prepare,
12013 nm_device_activate_stage2_device_config,
12014 nm_device_activate_stage3_ip_config_start,
12015 nm_device_activate_stage4_ip_config_get,
12016 nm_device_activate_stage4_ip_config_timeout,
12017 nm_device_activate_stage5_ip_commit): don't call
12018 nm_device_schedule_activation_handle_cancel() any more, since
12019 cancellation will have been already scheduled for us by
12020 nm_device_activation_cancel(). Just exit the function and
12021 assume that the cancel handler will be called next.
12023 * src/nm-device-802-3-ethernet.c
12024 - (real_act_stage2_config): remove; didn't do anything anyway
12026 * src/nm-device-802-11-wireless.c
12027 - (supplicant_status_cb): ensure we don't do anything if the activation
12029 - (real_activation_cancel_handler): implement; cancel user key request
12030 on activation cancellation
12032 2006-03-04 Dan Williams <dcbw@redhat.com>
12034 * src/nm-device-802-11-wireless.c
12035 - (supplicant_send_network_config): assume that drivers that don't
12036 support WPA pretty much suck, and can't handle NM scanning
12037 along with wpa_supplicant.
12039 2006-03-03 Robert Love <rml@novell.com>
12041 * configure.in: Bump version to 0.6.0.
12044 2006-03-03 Robert Love <rml@novell.com>
12046 * configure.in: Require DBUS 0.60 or later.
12048 2006-03-03 Dan Williams <dcbw@redhat.com>
12050 Fix a crash if an "Other wireless network" was chosen, failed, then
12051 chosen again from the applet's menu. If the other network wasn't
12052 noticed in a scan, it wouldn't have any capabilities, but would still
12053 be listed because the user forced the network. To fix this, we set
12054 sensible capabilities on the forced network, which will get overwritten
12055 with the correct ones if the network shows up later in a scan.
12057 * src/nm-ap-security.h
12058 - Add a new "get_default_capabilities_func" member to the
12061 * src/nm-ap-security.c
12062 - (nm_ap_security_get_default_capabilities): new function
12064 * src/nm-ap-security.c
12065 src/nm-ap-security-wep.c
12066 src/nm-ap-security-wpa-psk.c
12067 src/nm-ap-security-wpa-eap.c
12068 - Implement get_default_capabilities_func() for all, which
12069 uses the information contained in a specific NMAPSecurity
12070 object to determine default AP capabilites necessary
12071 to support that object
12073 As a secondary measure, we now prune artificial access points that fail
12074 to be activated right away. The thing failed, and we have no scan data for
12075 it, so it's pretty much useless since security information is only saved
12076 in the applets when a connection is successful.
12078 * src/NetworkManagerAPList.c
12079 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12080 not artificial. If we see it, it's no longer a figment of the
12081 user's imagination :)
12083 * src/NetworkManagerPolicy.c
12084 - (nm_policy_activation_failed): send along the failed AP if we
12087 * src/nm-device-802-11-wireless.c
12088 - (real_activation_failure_handler): remove artificial APs from
12089 the device list, because activation failed
12091 2006-03-02 Robert Love <rml@novell.com>
12093 Add support for retrieving both the per-device speed and the
12094 per-network maximum supported rate. Then change the getProperties
12095 DBUS API for both networks and devices to report this informaiton.
12096 Finally, display the information via both nm-applet and nm-tool:
12097 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12099 * gnome/applet/applet.c: Display the device's speed in the 'Connection
12100 Information' dialog.
12101 * gnome/applet/applet.glade: Update the UI to show per-device speed.
12102 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12103 network_device_get_speed() and network_device_set_speed() for
12104 retrieving and setting, respectively, a network device's current
12106 * src/nm-dbus-device.c: Send the device's speed on getProperties.
12107 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12108 in the function nm_device_802_11_wireless_get_bitrate() -- it does
12109 not matter (yet) what the units are, because we only feed it its own
12110 output. Implement SIOCGIRATE and set the per-network maximum
12111 supported rate during scanning.
12112 * src/nm-device-802-11-wireless.h: Export the function
12113 nm_device_802_11_wireless_get_bitrate().
12114 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12115 function nm_device_802_3_ethernet_get_speed() for returning an
12116 802.3's current speed, in Mb/s.
12117 * test/nm-tool.c: Display the per-device current speed, if available,
12118 and the per-network maximum rate.
12120 2006-03-02 Dan Williams <dcbw@redhat.com>
12122 * src/nm-device-802-11-wireless.c
12123 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12124 card when it gets initialized. Since devices don't get added to
12125 the scan list until they are initialized, this function wasn't
12126 setting the intitial scan interval correctly, and was leaving
12127 it at 0. This caused cards to get many scan requests in a short
12128 amount of time when they were initialized
12130 2006-03-02 Robert Love <rml@novell.com>
12132 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12133 active device. But do not do what we used to do and override the
12134 state, which caused the dreaded icon race of '05.
12136 2006-03-02 Robert Love <rml@novell.com>
12138 Commit Dan's update of my previous commit:
12139 * src/nm-device-802-11-wireless.c: Always set the mode, because the
12140 set_mode() function itself does the check. But do only set the
12141 frequency if in Ad-Hoc mode.
12143 2006-03-02 Robert Love <rml@novell.com>
12145 Patch by Brian Magnuson <magnuson@rcn.com>:
12146 * src/nm-device-802-11-wireless.c: During scanning, only set the
12147 wireless mode to infrastructure if it is not currently in
12148 infrastructure mode. For some driver, setting the mode is a costly
12149 operation, apparently.
12151 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
12153 * Makefile.am: use the correct dir for autostart mechanism.
12155 2006-02-28 Dan Williams <dcbw@redhat.com>
12157 Patch from Brian Magnuson <magnuson@rcn.com>
12158 * gnome/applet/applet.c
12159 - (nma_show_vpn_failure_dialog): fix errors left over from
12160 libnotify support changes
12162 2006-02-28 Dan Williams <dcbw@redhat.com>
12164 * src/vpn-manager/nm-vpn-act-request.[ch]
12165 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12167 - (nm_vpn_act_request_is_failed): new function; return whether or
12168 not the vpn activation request has failed
12170 * src/vpn-manager/nm-vpn-manager.c
12171 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12172 daemon to kill the connection when the activation request fails.
12173 Fixes issue where NM would get confused if the VPN activation
12174 request timed out, and would not allow further VPN connections
12177 2006-02-28 Dan Williams <dcbw@redhat.com>
12179 * gnome/applet/applet.c
12180 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12181 overlapping connection requests, disable all VPN menu items
12182 but the active VPN connection
12184 2006-02-28 Dan Williams <dcbw@redhat.com>
12186 * src/vpn-manager/nm-vpn-connection.c
12187 - (nm_vpn_connection_set_parent_device): fix C&P error which
12188 called g_object_unref() on the connection's parent device
12189 when it should have been ref-ed instead. Fixes crash with
12190 repeated vpn connect requests
12192 2006-02-28 Christopher Aillon <caillon@redhat.com>
12194 * gnome/applet/applet.glade:
12195 Mark a few strings non-translatable, since they shouldn't be.
12197 2006-02-28 Dan Williams <dcbw@redhat.com>
12199 * src/vpn-manager/nm-vpn-service.c
12200 - (nm_vpn_service_start_connection): if the vpn service daemon is
12201 already running, don't blindly ask it to connect, but wait until
12202 it's in the STOPPED state first. Fixes an assertion when user
12203 starts a second vpn connection without stopping the first.
12204 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12205 dbus service exists before continuing with the connection
12206 process, and reduce latency while waiting for it to become
12208 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12209 waiting for the vpn service daemon to become available
12210 - General log message cleanups; show progress via "Stage x of 4"
12211 rather than not telling anyone how many stages there are
12213 2006-02-28 Robert Love <rml@novell.com>
12215 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12216 * src/backends/NetworkManagerSuSE.c: Implement the interface
12217 nm_system_should_modify_resolv_conf() for SUSE.
12218 * src/backends/NetworkManagerDebian.c,
12219 src/backends/NetworkManagerGentoo.c,
12220 src/backends/NetworkManagerRedHat.c,
12221 src/backends/NetworkManagerSlackware.c: Add stub.
12222 * src/named-manager/Makefile.am: Grab includes from src.
12223 * src/named-manager/nm-named-manager.c: Allow backends to disable the
12224 automatic updating of resolv.conf. This is useful for testing,
12225 broken static configurations, and administrator lock-down.
12227 2006-02-28 Dan Williams <dcbw@redhat.com>
12229 * src/nm-device-802-11-wireless.c
12230 - Move all the wpa_supplicant-related management stuff into its
12231 own struct, just for oranization's sake
12232 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12233 to a GIOChannel/GSource
12234 - (supplicant_log_stdout): new function; grab output from the
12235 wpa_supplicant stdout pipe and write it to our logs.
12237 2006-02-27 Christopher Aillon <caillon@redhat.com>
12239 * src/nm-device-802-11-wireless.c:
12240 Err, fix thinko in my previous commit.
12242 2006-02-28 Robert Love <rml@novell.com>
12244 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12246 2006-02-28 Robert Love <rml@novell.com>
12248 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12249 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12250 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12251 deserializers are responsible for freeing the returned DBUS strings.
12253 2006-02-27 Christopher Aillon <caillon@redhat.com>
12255 * src/nm-device-802-11-wireless.c:
12256 The scan list is being pruned prematurely. We should prune after
12257 the device has gone MIA for three scans, not one. Split out the
12258 interval to realtime seconds function to better serve this.
12260 2006-02-27 Robert Love <rml@novell.com>
12262 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12263 Open the pid file O_TRUNC, so if it already exists we truncate it to
12264 zero length. Also, be more verbose about warnings generated during
12265 writing out the pid file. Finally, always write out the pid file if
12266 in daemon mode. Use "--pid-file" to override the default.
12268 2006-02-27 Robert Love <rml@novell.com>
12270 Patch by R. Vinay <rvinay@novell.com>:
12271 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12272 'last_attempt_success' when removing a VPN connection, too. (Fixes
12273 Novell bug #153628).
12275 2006-02-27 Robert Love <rml@novell.com>
12277 * gnome/applet/applet.glade: Set "activates_default" on passphrase
12278 entry so user can hit <ENTER> after entering passphrase (Novell bug
12281 2006-02-27 Dan Williams <dcbw@redhat.com>
12284 - Mass search/replace of:
12286 NMWirelessApplet -> NMApplet
12287 NM_*_WIRELESS_APPLET -> NM_*_APPLET
12288 (it ain't just for wireless anymore, ma!)
12289 - Fix duplicate function name printing when using nm_warning
12290 - wireless-applet.glade -> applet.glade
12292 2006-02-27 Dan Williams <dcbw@redhat.com>
12294 * dispatcher-daemon/NetworkManagerDispatcher.c
12295 - Accept --pid-file with a path to a pidfile, write it out on
12296 startup, and delete it on shutdown
12298 * src/NetworkManager.c
12299 - Accept --pid-file with a path to a pidfile, write it out on
12300 startup, and delete it on shutdown
12301 - Move nm_print_usage() lower
12303 * initscripts/RedHat/NetworkManager.in
12304 - Use new --pid-file option
12305 - Fix service stopping to wait a bit for NM to quit
12307 * initscripts/RedHat/NetworkManagerDispatcher.in
12308 - Use new --pid-file option
12310 2006-02-26 Dan Williams <dcbw@redhat.com>
12313 - make and install nm-crash-logger
12315 * src/nm-logging.[ch]
12316 - New files; consolidate logging and crash handling
12318 * src/nm-crash-logger.c
12320 - Standalong crashlogger for NM, grab a backtrace
12323 * src/NetworkManager.[ch]
12324 - Remove signal handling and put it into nm-logging.c
12326 2006-02-26 Dan Williams <dcbw@redhat.com>
12329 gnome/applet/Makefile.am
12330 - Conditionalize all the notify stuff
12332 Merge most of Chris Aillon's notification patch:
12334 * gnome/applet/applet-notifications.[ch]
12335 - New files; show a notification
12337 * gnome/applet/applet-dbus-devices.[ch]
12338 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12339 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12340 new functions, do the right thing when a device change occurs
12342 * gnome/applet/applet-dbus.c
12343 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12344 signals, so we can handle them specially
12346 * gnome/applet/applet.[ch]
12347 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12348 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12349 - (nmwa_notify_state): remove
12350 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12351 notification work is now done when the appropriate dbus signals
12353 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12354 defer execution of the notification/dialog stuff. That was an
12355 artifact of the previous multi-threaded nature of the applet
12356 and is now pointless.
12357 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12358 no longer needed. Function folded into applet-notifications.c
12360 * src/NetworkManagerPolicy.c
12361 - (nm_policy_activation_finish): send the AP along with the device
12362 status change signal, if the connection is wireless. Should
12363 fix the race where applet would show a connection to "unknown"
12365 2006-02-25 Robert Love <rml@novell.com>
12367 Add WPA Enterprise support:
12368 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12369 nm-gconf-wso-wpa-eap.h.
12370 * gnome/applet/nm-gconf-wso-wpa-eap.c,
12371 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
12372 serialization and deserialization.
12373 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12374 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12375 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12376 * gnome/applet/wireless-applet.glade: Add UI for configurating security
12377 settings related to WPA Enterprise.
12378 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12379 instantiate WPA Enterprise wireless-security-option.
12380 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12381 Implement WPA Enterprise wireless-security-option object.
12382 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12384 * libnm-util/cipher-wpa-psk-hex.c,
12385 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12386 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12387 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12388 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12389 including the cipher to DBUS method, and
12390 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12392 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12393 nm-ap-security-wpa-eap.h
12394 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12395 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12396 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12397 files. Implement NMAPSecurityWPA_EAP object.
12398 * src/nm-ap-security-wpa-psk.c: Cleanup.
12399 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12400 an NMAPSecurityWPA_EAP object via the method
12401 nm_ap_security_wpa_eap_new_deserialize().
12402 * src/nm-dbus-nm.c: Cleanup.
12403 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12404 WPA Enterprise support.
12406 2006-02-24 Robert Love <rml@novell.com>
12408 Patch from Timo Hoenig <thoenig@suse.de>:
12409 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12411 2006-02-24 Robert Love <rml@novell.com>
12413 Patch from Dan Winship <danw@novell.com>:
12414 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
12415 area to transparent.
12417 2006-02-21 Dan Williams <dcbw@redhat.com>
12419 * gnome/applet/applet.[ch]
12420 gnome/applet/applet-dbus.c
12421 - Implement notification support for VPN messages too
12423 2006-02-21 Dan Williams <dcbw@redhat.com>
12425 * gnome/applet/applet-dbus-info.c
12426 - Clean up warning messages to not double-print the function
12428 2006-02-21 Dan Williams <dcbw@redhat.com>
12430 * gnome/applet/applet-compat.c
12431 - (convert_one_entry): accept entries without a key_type and
12432 convert them to unencrypted networks
12434 2006-02-21 Dan Williams <dcbw@redhat.com>
12436 * gnome/libnm_glib/libnm_glib.c
12437 - Use __func__ everywhere we can
12439 - Use dbus pending calls rather than blocking
12440 - Reduce busywaits for our thread to start and stop
12441 (gnome.org #330562)
12442 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12443 stomp on others using the default shared dbus connection.
12444 Fixes #rh177546# and gnome.org #326572
12446 2006-02-21 Dan Williams <dcbw@redhat.com>
12448 Patch from Rodney Dawes <dobey@novell.com>
12450 gnome/applet/Makefile.am
12451 gnome/applet/applet.c
12452 - Add libnotify support if '--enable-notify=yes' is passed
12455 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
12457 * configure.in (ALL_LINGUAS): ko added. (Korean)
12459 2006-02-15 Robert Love <rml@novell.com>
12461 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12462 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12463 and WPA_SUPPLICANT_CONTROL_SOCKET.
12465 2006-02-15 Robert Love <rml@novell.com>
12467 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12468 information about what connection stage we are at, provide the total
12469 number of stages, e.g. "Stage 2 of 5", so users know how far along
12470 they are if they experience problems.
12472 2006-02-15 Robert Love <rml@novell.com>
12474 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12475 define to $sysconfdir.
12476 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12477 editing dialog, vpn_edit_widget, which fixes a bug where editing one
12478 type of VPN and then editing another results in a mangled dialog
12479 box containing the widgets from both VPNs (fixes Novell #150854).
12480 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12482 2006-02-14 Robert Love <rml@novell.com>
12484 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12485 syslog's file descriptor.
12487 2006-02-14 Robert Love <rml@novell.com>
12489 Fix bug around since the change to "deal with APs changing settings on
12490 us," checked in on the fifth of February in the year of the dog,
12491 wherein connecting to non-broadcast encrypted networks always fails
12492 because nm_ap_get_encrypted() always returns FALSE, even when the user
12493 provided a key, because the newly-created fake AP does not have any
12494 capabilities set, which is a sypmtom of security settings not matching
12495 capabilities (Novell bug #150784):
12496 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12497 nm_ap_add_capabilities_from_security(), which sets the given AP's
12498 capabilities off the given security settings. Also improve our
12499 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12500 NM_AUTH_CIPHER_AUTO.
12501 * src/nm-device-802-11-wireless.c: Call the function
12502 nm_ap_add_capabilities_from_security() to ensure that capabilities
12503 match newly updated security settings.
12505 2006-02-14 Robert Love <rml@novell.com>
12507 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12508 error as a string, not an integer, if possible; do not print the
12509 function name twice; always give the interface, if possible; misc.
12512 2006-02-12 Dan Williams <dcbw@redhat.com>
12514 Patch from Tom Parker <palfrey@tevp.net>
12515 * src/NetworkManagerSystem.h
12516 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12519 * src/backends/NetworkManagerDebian.c
12520 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12523 2006-02-12 Dan Williams <dcbw@redhat.com>
12525 * vpn-daemons/openvpn/intltool-extract.in
12526 vpn-daemons/openvpn/intltool-merge.in
12527 vpn-daemons/openvpn/intltool-update.in
12528 vpn-daemons/pptp/intltool-extract.in
12529 vpn-daemons/pptp/intltool-merge.in
12530 vpn-daemons/pptp/intltool-update.in
12531 - Remove from CVS, they should get created by intltoolize,
12534 2006-02-12 Dan Williams <dcbw@redhat.com>
12536 * vpn-daemons/pptp/src/pppd/patchlevel.h
12537 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12538 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12539 Makefile-defined VERSION
12541 2006-02-09 Dan Williams <dcbw@redhat.com>
12543 Patch from: Vinay A R <rvinay@novell.com>
12544 * src/vpn-manager/nm-vpn-act-request.[ch]
12545 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12546 IPSec VPNs require them for std gateway.
12547 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12548 and 'user_routes_count'
12549 - (nm_vpn_act_request_get_user_routes): new function; gets user
12550 defined routes from NMVPNActRequest object, returns the string
12553 * src/vpn-manager/nm-vpn-manager.[ch]
12554 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
12555 for 'user_routes' and 'user_routes_count'
12557 * src/vpn-manager/nm-dbus-vpn.c
12558 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
12559 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
12561 * src/vpn-manager/nm-vpn-service.c
12562 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
12565 Modifications by Dan:
12566 * src/vpn-manager/nm-vpn-service.c
12567 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
12570 * vpn-daemons/vpnc/src/nm-vpnc-service.c
12571 * vpn-daemons/pptp/src/nm-pptp-service.c
12572 * vpn-daemons/openvpn/src/nm-openvpn-service.c
12573 - Grab user routes from dbus message
12574 - Free all string arrays we got from dbus
12576 2006-02-07 Robert Love <rml@novell.com>
12578 Patch by Stefan Seyfried <seife@suse.de>:
12579 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
12581 2006-02-06 Robert Love <rml@novell.com>
12583 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
12585 2006-02-06 Robert Love <rml@novell.com>
12587 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
12588 test ">=" is never false. If no newline is found, we loop forever.
12589 We can just check for ">" because the following if() will see the
12590 zero-th argument if the while() gets that far.
12592 2006-02-05 Dan Williams <dcbw@redhat.com>
12594 Refine handling of non-broadcast networks.
12596 * src/NetworkManagerAPList.c
12597 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
12598 property from scanned AP to the AP from the device list
12600 * src/nm-device-802-11-wireless.c
12601 - (supplicant_send_network_config): use ap_scan=1 for all networks
12602 except non-SSID-broadcasting and Ad-Hoc networks. Use
12603 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
12604 networks since those don't have APs.
12605 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
12606 AP as non-SSID-broadcasting
12607 - (process_scan_results): don't handle non-SSID-broadcasting here
12609 2006-02-05 Dan Williams <dcbw@redhat.com>
12611 * src/nm-device-802-11-wireless.c
12612 - (get_supplicant_timeout): new function; return
12613 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
12614 14 channels. These are likely a/b/g cards, like Atheros, and
12615 slow as hell to scan.
12616 - (supplicant_timeout_cb, supplicant_monitor_start): use
12617 get_supplicant_timeout()
12619 2006-02-05 Dan Williams <dcbw@redhat.com>
12621 * src/dhcp-manager/nm-dhcp-manager.c
12622 - Loose a commit race with Robert; make sure size check
12623 uses size of DHCP_SERVICE_LEN, not hardcoded 15
12625 2006-02-05 Robert Love <rml@novell.com>
12627 Patch by Christoph Brill <chrisbrill@gmx.net>:
12628 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
12629 with DHCP_SERVICE_NAME.
12631 2006-02-05 Dan Williams <dcbw@redhat.com>
12633 Remove anything having to do with device_setup_func from the
12634 AP security objects, since it's no longer used.
12636 * src/nm-ap-security.h
12637 - Kill device_setup_func and nm_ap_security_device_setup()
12639 * src/nm-ap-security-wep.c
12640 src/nm-ap-security-wpa-psk.c
12641 - (real_device_setup): remove
12643 * src/nm-ap-security.c
12644 - (real_device_setup): remove
12645 - (nm_ap_security_device_setup): remove
12647 * src/nm-device-802-11-wireless.[ch]
12648 - (nm_device_802_11_wireless_set_wep_enc_key): make static
12649 - (set_wireless_config, wireless_configure_adhoc): remove; unused
12650 and done by wpa_supplicant now anyway
12652 2006-02-05 Dan Williams <dcbw@redhat.com>
12654 * src/nm-device-802-11-wireless.c
12655 - (ap_need_key, real_act_stage2_config): deal with APs changing
12656 settings on us. Previously NM would loop asking for the
12657 key but getting the same one back. Now, if the NMI-supplied
12658 cipher doesn't overlap with the scanned AP capabilities,
12659 we request a completely new key from the user.
12661 2006-02-05 Dan Williams <dcbw@redhat.com>
12663 * src/NetworkManagerUtils.c
12664 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
12665 Handle newline killing better
12667 2006-02-05 Dan Williams <dcbw@redhat.com>
12669 * gnome/applet/nm-gconf-wso.c
12670 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
12671 of unencrypted access point security info.
12673 2006-02-03 Robert Love <rml@novell.com>
12675 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
12676 user's encryption key, so we print the err_msg_cmd not the command,
12677 if available. So long as SUPPLICANT_DEBUG is default, this makes
12680 2006-02-03 Christopher Aillon <caillon@redhat.com>
12682 * initscript/RedHat/NetworkManagerDispatcher.in:
12683 * initscript/RedHat/NetworkManager.in: modify the pidfile location
12684 Patch from Dan Walsh <dwalsh@redhat.com>
12686 2006-02-03 Robert Love <rml@novell.com>
12688 * dispatcher-daemon/NetworkManagerDispatcher.c,
12689 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
12690 but use the sysconfdir.
12692 2006-02-03 Robert Love <rml@novell.com>
12694 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
12695 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
12697 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
12698 nm_ip4_config_get_hostname() and
12699 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
12700 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
12701 leak g_strdup() result.
12703 2006-02-03 Robert Love <rml@novell.com>
12705 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
12706 broadcast == TRUE. Also, copy broadcast and artificial properties
12707 from source network to destination in nm_ap_copy().
12708 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
12709 since we now default new networks to non-hidden.
12711 2006-02-03 Dan Williams <dcbw@redhat.com>
12713 * gnome/applet/main.c
12714 - (main): change the NEVER->ALWAYS so we start at the
12715 beginning of the session, if being session-managed
12717 2006-02-03 Dan Williams <dcbw@redhat.com>
12719 * gnome/applet/main.c
12720 - (main): in a variation on Robert's patch, change
12721 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
12724 2006-02-02 Robert Love <rml@novell.com>
12726 * src/Makefile.am: If we aren't going to create the run directory at,
12727 uh, run-time, create it during install. Then users just doing
12728 'make install' are cool, too. While we are here, create the
12729 dispatcher.d directory, too.
12730 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
12731 the exact run directory.
12732 * Makefile.am: Install nm-applet.desktop.
12734 2006-02-02 Robert Love <rml@novell.com>
12736 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
12737 structure, which denotes whether or not the AP is hidden. This is a
12738 superset of 'artificial' -- we need 'broadcast' because a hidden AP
12739 can show up in the scan list. Add nm_ap_get_broadcast() and
12740 nm_ap_set_broadcast() accessor interfaces.
12741 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
12742 nm_ap_set_broadcast().
12743 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
12744 "getProperties" method, which denotes whether or not the given
12746 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
12747 an artificial network. Set broadcast to TRUE when scanning returns
12748 an ESSID and FALSE when not.
12749 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
12750 from "getProperties" method on a network. Possible TODO is to
12751 somehow display this.
12752 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
12754 2006-02-02 Dan Williams <dcbw@redhat.com>
12756 * src/nm-device-802-11-wireless.c
12757 - (supplicant_interface_init): don't try to create
12758 /var/run/NetworkManager, since that should be done by
12759 the distro package. Causes problems for stuff like SELinux
12761 2006-02-02 Robert Love <rml@novell.com>
12763 Patch by Sureshkumar T <tsureshkumar@novell.com>:
12764 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
12765 Check for and handle empty string for iface.
12767 2006-02-01 Robert Love <rml@novell.com>
12769 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
12772 2006-01-31 Dan Williams <dcbw@redhat.com>
12774 * nm-applet.desktop
12775 - Add --sm-disable to Exec arguments, presuming that when
12776 using autostart, we don't want session management
12778 2006-01-31 Robert Love <rml@novell.com>
12780 * src/NetworkManagerAP.c: Add two new manufacturer default network
12781 names: linksys-a and linksys-g. These are found (at least) on the
12782 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
12785 2006-01-31 Robert Love <rml@novell.com>
12787 * src/NetworkManagerAP.c: Optimize the function
12788 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
12789 machine code. This is the first in a series of code tweaks aiming to
12790 generate better machine code and make NetworkManager all the better.
12791 Just kidding. Who has time to go through the assembly generated for
12792 every function? I certainly don't. I have a wife, a kid, a job,
12793 a mortgage, a mistress. But this function was so bad, I was called
12794 to arms. Like the book.
12796 2006-01-31 Robert Love <rml@novell.com>
12798 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
12799 AP is not broadcasting, to scan with probe request frames. Required
12800 for non-broadcast networks.
12802 2006-01-31 Robert Love <rml@novell.com>
12804 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
12805 preprocessor define (still 20s). Fix message text in nm_info()
12806 s/too too/took too/.
12808 2006-01-30 Dan Williams <dcbw@redhat.com>
12810 * src/nm-device-802-11-wireless.c
12811 - (supplicant_monitor_start): increase connect/auth timeout to
12812 20 seconds from 10 seconds
12814 2006-01-30 Dan Williams <dcbw@redhat.com>
12817 - Define LOCALSTATEDIR
12819 * src/nm-device-802-11-wireless.c
12820 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
12821 socket where we want it to
12823 * src/wpa_ctrl.[ch]
12824 - (wpa_ctrl_open): accept location to put local control socket
12826 2006-01-30 Robert Love <rml@novell.com>
12828 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
12829 get_ip4_string() for "domain_name".
12831 2006-01-30 Robert Love <rml@novell.com>
12833 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12834 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
12835 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
12836 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
12837 support for "Automatic" pairwise and group cipher configuration by
12838 letting wpa_supplicant handle the details. Add UI elements, new
12839 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
12840 charm. Note this does more than add a nice feature, it fixes a bug.
12841 Apparently, some people have AP's where the pairwise cipher does not
12842 match the group cipher. Insane, but true.
12844 2006-01-30 Dan Williams <dcbw@redhat.com>
12846 * gnome/applet/applet-dbus-devices.c
12847 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
12848 functions, grab device driver name from NetworkManager
12849 - (nmwa_dbus_device_properties_cb): call functions to get driver
12851 * gnome/applet/applet.c
12852 - (nmwa_update_info): show driver name in Connection Information
12855 * gnome/applet/nm-device.[ch]
12856 - (network_device_get_driver, network_device_set_driver): add
12857 accessors for driver name
12859 * gnome/applet/wireless-applet.glade
12860 - Add line for driver name to Connection Information dialog
12862 * src/nm-dbus-device.c
12863 - (nm_dbus_device_get_driver): new function to return driver name
12864 - (nm_dbus_device_methods): hook up driver name function to dbus
12867 - (get_driver_name): new function
12868 - (detail_device): grab and show driver name
12870 2006-01-30 Robert Love <rml@novell.com>
12872 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
12873 does not parse the markup if it is not part of the format.
12875 2006-01-30 Robert Love <rml@novell.com>
12877 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
12878 FALSE, we have no security options for this dialog, so we throw up
12879 an error dialog instead of a broken passphrase dialog. Fixes
12881 * gnome/applet/wireless-security-manager.c,
12882 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
12883 does not add any security options, not even NONE, print a warning
12884 and return FALSE. This let's functions constructing a dialog bail
12885 out if the device's capabilities and the network's requirements have
12888 2006-01-27 Robert Love <rml@novell.com>
12890 * configure.in: Require wpa_supplicant. Detect location of binary and
12891 use it. Override with "--with-wpa_supplicant=foo".
12892 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
12893 path to wpa_supplicant but use the auto-detected or user-provided
12894 value from configure.
12896 2006-01-27 Robert Love <rml@novell.com>
12898 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
12899 but the DHCP server did not return a hostname, try to look up our
12900 name via DNS and set the system hostname to that.
12902 2006-01-27 Dan Williams <dcbw@redhat.com>
12904 * src/backends/NetworkManagerRedHat.c
12905 - Add NM_CONTROLLED system network script support for RH/Fedora
12907 2006-01-27 Dan Williams <dcbw@redhat.com>
12909 * src/backends/NetworkManagerGentoo.c
12910 - (nm_system_device_get_disabled): add missing function.
12913 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
12915 * configure.in: Added vi in ALL_LINGUAS line.
12917 2006-01-26 Robert Love <rml@novell.com>
12919 * src/Makefile.am, src/kernel-types.h: Now that two different source
12920 files are feeling the crack-addled leakage of kernel types such as
12921 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
12922 types in user-space -- define a header and include it as needed.
12923 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
12924 * src/nm-device-802-3-ethernet.h: Remove defines.
12925 * src/wpa.c: Remove defines and include kernel-types.h.
12927 2006-01-26 Robert Love <rml@novell.com>
12929 * TODO: Update. WPA support is in the bag and HAL restarts (should)
12932 2006-01-26 Robert Love <rml@novell.com>
12934 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
12935 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
12936 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
12937 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
12938 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
12939 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
12940 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
12941 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
12942 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
12943 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
12944 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12945 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
12946 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
12947 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
12948 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
12949 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
12950 Kill unused variables, labels, and static functions. Don't pass
12951 string literals as the format string for printf-like functions.
12953 2006-01-25 Dan Williams <dcbw@redhat.com>
12955 * gnome/applet/wireless-applet.glade
12956 - Remove WPA2 Checkbox
12958 * gnome/applet/wireless-security-manager.c
12959 - (wsm_set_capabilities): split up sections for wpa and wpa2.
12960 This means the Wireless Security menu now has two WPA options,
12961 one for "WPA Personal" and one for "WPA2 Personal"
12963 * gnome/applet/wso-wpa-psk.[ch]
12964 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
12965 'wpa2' argument to determine WPA version to use
12966 - (append_dbus_params_func): pass stored WPA version to cipher
12967 rather than using the (removed) checkbox
12969 2006-01-24 Robert Love <rml@novell.com>
12971 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
12972 before we g_strdup(), not the ultimate string.
12974 2006-01-23 Dan Williams <dcbw@redhat.com>
12976 * src/NetworkManagerAP.[ch]
12977 - (nm_ap_new_from_ap): copy original essid too
12978 - (nm_ap_unref): free original essid
12979 - (nm_ap_get_orig_essid): new function
12980 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
12981 but keep original essid around too
12983 * src/nm-device-802-11-wireless.c
12984 - (supplicant_send_network_config): send wpa_supplicant the
12985 _original_ essid, and not as a string, but in hex. Should
12986 allow us to connect to more APs that use wierd character
12987 encodings for their essids
12989 * utils/nm-utils.[ch]
12990 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
12991 to UTF-8. If it's not already valid UTF-8, we check LANG and
12992 use the current locale as a hint for what encoding the essid
12993 might be in. Obviously not 100% accurate, but the idea here is
12994 that if a user's locale is ex. ja_JP, they are more likely than
12995 not to be in Japan, where access points will likely be in some
12998 2006-01-23 Dan Williams <dcbw@redhat.com>
13000 * libnm-util/cipher-private.h
13001 libnm-util/cipher.c
13002 libnm-util/cipher.h
13003 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13005 2006-01-23 Robert Love <rml@novell.com>
13007 Patch by Timo Hoenig <thoenig@suse.de>:
13008 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13009 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13010 by DHCP and pass it to the backends, allowing distribution-specific
13011 behavior with respect to the DHCP-supplied hostname (if nothing else,
13012 some distributions might not want to set the hostname).
13013 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13014 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13015 Also update our NIS behavior.
13016 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13017 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13018 Add stub functions.
13020 2006-01-23 Robert Love <rml@novell.com>
13022 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13023 gnome-session does autostart. TODO: We need to install this to
13024 $prefix/share/autostart/.
13026 2006-01-22 Dan Williams <dcbw@redhat.com>
13028 * src/NetworkManagerAP.[ch]
13030 src/nm-device-802-11-wireless.c
13031 - Make nm_ap_get_essid return "const char *"
13033 2006-01-22 Dan Williams <dcbw@redhat.com>
13035 * src/NetworkManagerAP.[ch]
13036 - (nm_ap_get_matched, nm_ap_set_matched): remove
13038 * src/NetworkManagerAPList.[ch]
13039 - (nm_ap_list_diff): removed
13040 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13041 deal with access points changing essids on us
13043 * src/nm-device-802-11-wireless.c
13044 - (add_new_ap_to_device_list): move AP dbus signal logic to
13045 src/NetworkManagerAPList.c
13046 - (real_can_interrupt_activation): new function; allow interruption
13047 of device activation if we are waiting for a network key
13049 * src/NetworkManagerPolicy.c
13050 - (nm_policy_device_change_check): allow interruption of currently
13051 activating devices if the device allows it. Previous behavior
13052 would refuse to activate a just-plugged wired device if a
13053 wireless device was waiting for a key.
13055 * src/nm-device.[ch]
13056 - (nm_device_can_interrupt_activation): new function; ask devices
13057 whether their activation can be interrupted
13059 2006-01-20 Robert Love <rml@novell.com>
13061 * Makefile.am, configure.in: Add new man subdirectory.
13062 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13063 man/Makefile.am: Add man pages for NetworkManager and its
13064 crime-solving bumbling buddy, NetworkManagerDispatcher.
13065 * man/.cvsignore: Add.
13066 * initscript/Debian/NetworkManager,
13067 initscript/Gentoo/NetworkManager.in,
13068 initscript/RedHat/NetworkManager.in,
13069 initscript/RedHat/NetworkManagerDispatcher.in,
13070 initscript/SUSE/networkmanager-dispatcher.in,
13071 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13073 2006-01-20 Robert Love <rml@novell.com>
13075 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13076 instead of queuing. This prevents the running of multiple NM
13077 daemons concurrently, which does not work whatsoever and results in
13078 neither daemon working correctly. Also, we don't handle queuing and
13079 name-owner-changes, anyhow.
13081 2006-01-20 Robert Love <rml@novell.com>
13083 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13084 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13087 2006-01-19 Robert Love <rml@novell.com>
13089 * configure.in: Require hal 0.5.0 or later.
13091 2006-01-18 Robert Love <rml@novell.com>
13093 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13094 Allow backends to flag a device (in whatever distro-dependent way
13095 they so desire) as disabled. NM will ignore any such device.
13096 * src/backends/NetworkManagerDebian.c,
13097 src/backends/NetworkManagerRedHat.c,
13098 src/backends/NetworkManagerSlackware.c: Add stub function
13099 nm_system_device_get_disabled() that always returns FALSE (enabled).
13100 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13101 SUSE-specific configuration structure. Fill it in from the
13102 NM_CONTROLLED variable in the system networking scripts. If this var
13103 exists and is "no", we ignore the device.
13105 2006-01-17 Robert Love <rml@novell.com>
13107 * configure.in: Remove 'no' language. Replaced by 'nb', which is
13108 identical for NM. For a full discussion, see the thread at
13109 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13111 2006-01-17 Dan Williams <dcbw@redhat.com>
13114 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13115 function. Fixes crash when wired DHCP fails.
13117 2006-01-16 Robert Love <rml@novell.com>
13119 * src/Makefile.am: Don't install NMLoadModules
13120 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13121 from src/ to test/ as no one uses it anymore. Note that I would be
13122 fine with removing it altogether.
13124 2006-01-16 Robert Love <rml@novell.com>
13126 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13127 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13128 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13129 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13130 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13131 src/nm-netlink-monitor.c: Don't miss any initializers on structure
13132 declarations, ever.
13133 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13134 NM_STATE_DISCONNECTED is zero).
13136 2006-01-16 Robert Love <rml@novell.com>
13138 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
13139 uninitialized parameter and buffer overflow. Novell #143496.
13141 2006-01-16 Dan Williams <dcbw@redhat.com>
13143 Apply the PtP Address bits of a patch from Tim Niemueller
13145 * src/nm-ip4-config.[ch]
13146 - Add ip4_ptp_address member to object
13147 - (nm_ip4_config_copy): copy ptp address too
13148 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13150 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13151 rather than local tunnel ip address
13153 * src/vpn-manager/nm-vpn-service.c
13154 - (print_vpn_config): update for PtP address
13155 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13156 DBusMessageIters in preparation for getting routes from the VPN
13157 service daemons too
13159 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13160 - (send_config_info): update for PtP address, clean up code
13161 - (main): update for PtP address, clean up code, fix typo
13163 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13164 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13166 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13167 - (pptp_ip_up): update for PtP address
13169 * vpn-daemons/pptp/src/nm-pptp-service.c
13170 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13172 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13173 - (print_vpn_config): update for PtP address
13174 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13176 2006-01-16 Dan Williams <dcbw@redhat.com>
13178 * gnome/applet/applet.c
13179 - (nmwa_add_networks_helper): don't indicate an active network
13180 if NM is disconnected or asleep
13182 2006-01-16 Dan Williams <dcbw@redhat.com>
13184 * src/NetworkManagerPolicy.c
13185 - (nm_policy_device_change_check): switch devices if we lose the link
13186 on an ethernet device.
13188 2006-01-16 Dan Williams <dcbw@redhat.com>
13190 * gnome/applet/wso-wpa-psk-hex.[ch]
13191 - Renamed -> wso-wpa-psk.[ch]
13193 * gnome/applet/wso-wpa-psk.[ch]
13196 * gnome/applet/wso-wpa-psk-passphrase.[ch]
13197 - Removed, rolled into wso-wpa-psk.[ch]
13199 * gnome/applet/Makefile.am
13200 - Updated for above changes
13202 * gnome/applet/wireless-applet.glade
13203 - Consolidate WPA-PSK options into one notebook
13204 widget, and make dialogs invisible by default
13205 to fix screen oddities
13207 * gnome/applet/wireless-security-manager.c
13208 - (wsm_set_capabilities): create the new wpa-psk widget rather
13209 than both the old hex & passphrase ones
13211 2006-01-16 Dan Williams <dcbw@redhat.com>
13213 * gnome/applet/other-network-dialog.c
13214 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13216 2006-01-16 Dan Williams <dcbw@redhat.com>
13218 * gnome/applet/applet.c
13219 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13220 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13221 prevention to realize window before trying to get server
13224 * gnome/applet/other-network-dialog.c
13225 - (nmwa_other_network_dialog_run): fix up focus-stealing
13226 prevention to realize window before trying to get server
13229 * gnome/applet/passphrase-dialog.c
13230 - (nmi_passphrase_dialog_new): fix up focus-stealing
13231 prevention to realize window before trying to get server
13234 2006-01-16 Robert Love <rml@novell.com>
13236 Patch from Timo Hoenig <thoenig@suse.de:
13237 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13238 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13239 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13240 libnm-util/dbus-helpers.h: add checks whether headers are used
13241 within a C++ build.
13243 2006-01-16 Dan Williams <dcbw@redhat.com>
13245 * gnome/applet/wireless-security-option.c
13246 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13248 2006-01-16 Dan Williams <dcbw@redhat.com>
13250 * libnm-util/cipher-wpa-psk-passphrase.c
13251 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13252 be 8 - 63 characters inclusive
13254 2006-01-16 Dan Williams <dcbw@redhat.com>
13257 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13259 2006-01-13 Robert Love <rml@novell.com>
13261 Patch by T Sureshkumar <tsureshkuman@novell.com>:
13262 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13263 modules that do not use an interface.
13265 2006-01-13 Dan Williams <dcbw@redhat.com>
13269 - Allow subclasses to implement deactivate_quickly()
13270 - (nm_device_deactivate_quickly): call subclass
13271 deactivate_quickly() methods
13272 - (nm_device_set_active_link): small cleanups, and don't
13273 deactivate the device right away because we risk a deadlock
13274 when called from device thread, waiting for the device
13275 thread to cancel activation
13277 * src/nm-device-802-11-wireless.c
13278 - (real_deactivate_quickly): new function
13279 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13280 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13281 so that we kill the supplicant when we sleep too
13282 - (supplicant_interface_init): work around naive naming attempts of
13283 wpa_ctrl when naming sockets
13285 2006-01-13 Dan Williams <dcbw@redhat.com>
13287 * src/nm-device-802-11-wireless.c
13288 - (supplicant_cleanup): delete old device control sockets too
13289 - (supplicant_get_device_socket_path): new function to consolidate
13290 locations that need a path to a device's control socket
13292 2006-01-12 Robert Love <rml@novell.com>
13294 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13295 description so that the description is unique for each
13296 pair (device,provider). Fixes Novell #142773.
13298 2006-01-12 Dan Williams <dcbw@redhat.com>
13300 * src/nm-device-802-11-wireless.c
13301 - (supplicant_exec): ensure GError is correctly initialized
13302 Reported by Diego González (gnome.org #326708)
13304 2006-01-11 Robert Love <rml@novell.com>
13306 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13307 define if_mii(), open code the same results, and do so without any
13310 2006-01-11 Robert Love <rml@novell.com>
13312 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13313 that wso_foo_new() returned non-NULL. Instead, only append the new
13314 wso to wsm->options if the wso is non-NULL. The crux is that we
13315 assume that the relevant key types are implied by WEP and WPA as
13316 appropriate. To be sure, they should be, but we should not expect
13317 drivers to not be oozing piles of wolf fecal matter.
13319 2006-01-11 Robert Love <rml@novell.com>
13321 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13322 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13323 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13324 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13325 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13326 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13327 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13328 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13329 comparing values within DBL_EPSILON. Also fix shadowed variable
13332 2006-01-11 Dan Williams <dcbw@redhat.com>
13334 Add options for WPA2 and WPA1+CCMP (AES).
13336 * gnome/applet/wireless-applet.glade
13337 - Add UI bits for WPA+CCMP
13339 * gnome/applet/other-network-dialog.c
13340 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13341 and don't allow creation of WPA2 Ad-Hoc networks since
13342 wpa_supplicant doesn't support them
13344 * gnome/applet/wireless-security-manager.c
13345 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13346 on to the specific wireless security option being created
13348 * gnome/applet/wireless-security-option.[ch]
13349 - (wso_wpa_create_key_type_model): new utility function to create
13350 the model required for WPA Key Type combo box
13352 * gnome/applet/wso-private.h
13353 gnome/applet/wireless-security-option.h
13354 - Move private function prototypes into wso-private.h
13356 * gnome/applet/wso-wpa-psk-hex.[ch]
13357 gnome/applet/wso-wpa-psk-passphrase.[ch]
13358 - (append_dbus_params_func): get WPA version from checkbox and pass
13359 it to the dbus serialization helper
13360 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13361 key type combo changes
13362 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13365 * libnm-util/cipher-wpa-psk-hex.c
13366 libnm-util/cipher-wpa-psk-passphrase.c
13367 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13368 new function; allow the cipher to be changed after object creation
13370 * src/nm-ap-security-wpa-psk.c
13371 - (set_description): Do WPA2 descriptions too
13373 * src/nm-ap-security.c
13374 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13376 2006-01-11 Robert Love <rml@novell.com>
13378 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13379 is defined in <linux/mii.h> to return the mii_ioctl_data structure
13380 from the ifreq structure in lieu of an open coded solution. Removes
13381 a life-threatening type-punning.
13382 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13383 types, ever, whatsoever, baby.
13385 2006-01-11 Robert Love <rml@novell.com>
13387 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13388 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13389 assignments to applet->nm_state into a new nmwa_set_state() function
13390 for both cleanliness and to help debugging.
13392 2006-01-10 Robert Love <rml@novell.com>
13394 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
13395 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13396 seconds, exclusive. That is, we want to sleep x seconds such that
13399 2006-01-10 Robert Love <rml@novell.com>
13401 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13402 the attr fields according to the example in the email available at
13403 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13404 Conversely, we do have to free 'name', so we do so, fixing a leak.
13406 2006-01-10 Robert Love <rml@novell.com>
13408 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13409 sure that we close the socket!
13411 2006-01-10 Robert Love <rml@novell.com>
13413 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13414 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13415 src/nm-device.c: Fix a FIXME! Reimplement the function
13416 nm_device_update_hw_address() in device subclass variants,
13417 nm_device_802_3_ethernet_set_address() and
13418 nm_device_802_11_wireless_set_address(), hook them up, and use them.
13419 This fixes the existing bug where MAC addresses are all zeros.
13421 2006-01-10 Robert Love <rml@novell.com>
13423 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13424 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13425 option to give users ability to globally disconnect and put NM to
13426 sleep. This is useful as a 'lockdown mode' for flying, security, and
13429 2006-01-09 Robert Love <rml@novell.com>
13431 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
13432 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13433 User-space does not supply these types, so we have to define them
13434 ourselves. The relevant kernel maintainer refused to accept a patch
13435 switching these headers to the proper C99 types.
13437 2006-01-09 Dan Williams <dcbw@redhat.com>
13439 Apply Robert's 'tray icon redo' patch with fixes
13440 * gnome/applet/applet.c
13441 gnome/applet/applet.h
13442 - Instead of using a menu bar + menu item, simulate menu
13443 behavior using a popup menu. Highlight the area around
13444 the icon more like a menu too, by playing with the
13445 applet's size requisition
13447 2006-01-09 Timo Hoenig <thoenig@suse.de>
13448 * libnm-util/dbus-helpers.c
13449 libnm-util/dbus-helpers.h
13450 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13451 to 'exception_namespace' (:namespace is a keyword in
13454 2006-01-09 Dan Williams <dcbw@redhat.com>
13456 * src/NetworkManagerPolicy.c
13457 - (nm_policy_device_change_check): don't autoswitch away from
13458 Ad-Hoc networks, since there's really no concept of
13462 - (nm_dbus_nm_create_wireless_network): mark created networks
13465 * src/nm-device-802-11-wireless.c
13466 - (real_activation_success_handler): add user-created Ad-Hoc
13467 networks to the device's scan list
13469 2006-01-08 Dan Williams <dcbw@redhat.com>
13471 We now require a patch for wpa_supplicant to support Ad-Hoc
13473 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13475 * src/nm-device-802-11-wireless.c
13476 - (supplicant_send_network_config): turn off wpa_supplicant's
13477 scanning. Fixes Ad-Hoc networks.
13479 2006-01-08 Dan Williams <dcbw@redhat.com>
13481 * src/nm-ap-security.c
13482 src/nm-ap-security.h
13483 - Add a user_created argument to the write_supplicant_config
13486 * src/nm-ap-security-wep.c
13487 src/nm-ap-security-wpa-psk.c
13488 src/nm-device-802-11-wireless.c
13489 - Make Ad-Hoc mode somewhat work, at least write the
13490 correct options to wpa_supplicant
13492 2006-01-08 Dan Williams <dcbw@redhat.com>
13494 * src/nm-device-802-11-wireless.c
13495 - Remove unused code from the old device activation path
13497 2006-01-08 Dan Williams <dcbw@redhat.com>
13499 * libnm-util/dbus-helpers.c
13500 - (nmu_security_serialize_wpa_psk): pass a blank key through
13501 dbus when key == NULL
13503 2006-01-08 Dan Williams <dcbw@redhat.com>
13505 * gnome/applet/nm-gconf-wso-wpa-psk.c
13506 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13507 correct arguments to nmu_security_deserialize_wpa_psk()
13509 * src/nm-ap-security-wpa-psk.c
13510 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13511 arguments to nmu_security_deserialize_wpa_psk()
13513 2006-01-08 Dan Williams <dcbw@redhat.com>
13515 * gnome/applet/wso-wpa-psk-hex.c
13516 gnome/applet/wso-wpa-psk-passphrase.c
13517 - Hook up the append_dbus_params_func() function
13519 2006-01-08 Dan Williams <dcbw@redhat.com>
13521 * src/nm-device-802-11-wireless.c
13522 - (get_wireless_capabilities): correctly detect driver WPA
13525 2006-01-08 Dan Williams <dcbw@redhat.com>
13527 * gnome/applet/Makefile.am
13528 gnome/applet/wso-wpa-psk-hex.c
13529 gnome/applet/wso-wpa-psk-hex.h
13530 - New files, implement WPA-PSK Hex key input
13532 * gnome/applet/wireless-applet.glade
13533 - Change existing wpa-psk stuff to wpa-psk-hex
13534 - Add new widgets for wpa-psk-passphrase
13536 * gnome/applet/wireless-security-manager.c
13537 - (wsm_set_capabilities): enable WPA options
13539 * gnome/applet/wso-wpa-psk-passphrase.c
13540 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13541 for WPA-PSK passphrase
13543 2006-01-08 Dan Williams <dcbw@redhat.com>
13545 * include/NetworkManager.h
13546 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13547 applet/info-daemons
13549 * gnome/applet/passphrase-dialog.c
13550 - Use the constant. Fixes a bug where the arguments to
13551 dbus_message_new_error() were incorrect
13553 * src/nm-dbus-nmi.c
13556 2006-01-07 Dan Williams <dcbw@redhat.com>
13558 * src/nm-device-802-11-wireless.c
13559 - Add a link timeout so we allow the supplicant time to
13560 reassociate if it can, before we deactivate the card
13561 - Fix up link status and link updating so things work better
13563 2006-01-07 Dan Williams <dcbw@redhat.com>
13565 * src/nm-device-802-11-wireless.c
13566 - Switch over to using wpa_supplicant
13567 - Add a timeout of 10s for association of the supplicant
13568 - Start the monitor callback of the supplicant
13570 2006-01-07 Dan Williams <dcbw@redhat.com>
13572 * src/NetworkManagerUtils.c
13573 - (nm_utils_supplicant_request,
13574 nm_utils_supplicant_request_with_check):
13575 pass correct buffer length to wpa_ctrl_request()
13577 2006-01-07 Dan Williams <dcbw@redhat.com>
13579 * src/nm-device-private.h
13581 - (nm_device_activate_schedule_stage3_ip_config_start): make
13582 this function available to subclasses
13584 2006-01-06 Robert Love <rml@novell.com>
13586 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
13587 user plugging in a network cable signals their preference for to
13588 switch, unless the user explicitly selected a wireless network and
13589 therefore signaled their preference for said wireless network over
13590 wired. In other words, do exactly what makes sense.
13592 2006-01-06 Robert Love <rml@novell.com>
13594 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
13595 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
13596 src/NetworkManagerWireless.h: Remove, no longer used and they keep
13597 showing up in my greps.
13599 2006-01-06 Robert Love <rml@novell.com>
13601 * gnome/applet/applet-dbus-devices.c,
13602 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
13603 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
13604 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
13605 New Network' both failed in the non-encrypted case because we were
13606 not appending the security options to the DBUS message. And
13607 'Connect to Other' was also failing in the encrypted case because
13608 we were not incrementing to the next DBUS parameter. All fixed.
13609 Thanks to dcdw for some debugging help.
13611 2006-01-06 Robert Love <rml@novell.com>
13613 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
13614 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
13615 hangup code and add per-device hangup. Tie last commit into the
13616 GNOME applet. TODO: Save, understand, and respond to the state of
13617 each dialup device.
13619 2006-01-06 Robert Love <rml@novell.com>
13621 Patch by Timo Hoenig <thoenig@suse.de>:
13622 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
13623 hangup specific dialup devices.
13624 * src/backends/NetworkManagerDebian.c,
13625 src/backends/NetworkManagerGentoo.c,
13626 src/backends/NetworkManagerRedHat.c,
13627 src/backends/NetworkManagerSlackware.c: Add stub backend.
13628 * src/backends/NetworkManagerRedHat.c,
13629 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
13630 hangup specific dialup devices.
13632 2006-01-04 Robert Love <rml@novell.com>
13634 * gnome/applet/applet-dbus-devices.c,
13635 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
13636 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
13639 2006-01-04 Dan Williams <dcbw@redhat.com>
13641 First dump of wpa_supplicant-related code. It's not hooked up to
13642 anything yet though. Thanks to Kay Sievers for
13643 wpa_supplicant_wrapper.c, which formed the basis for this work,
13644 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
13648 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
13650 * src/NetworkManagerUtils.[ch]
13651 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
13652 Add convenience functions for talking to wpa_supplicant
13654 * src/nm-ap-security.[ch]
13655 src/nm-ap-security-wep.c
13656 src/nm-ap-security-wpa-psk.[ch]
13657 - Update and implement real_write_supplicant_config functions
13658 in all security types
13659 - (nm_ap_security_wpa_psk_new_from_ap): implement in
13660 nm-ap-security-wpa-psk.c
13662 * src/nm-device-802-11-wireless.c
13663 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
13664 wpa_supplicant_start, wpa_supplicant_interface_init,
13665 wpa_supplicant_send_network_config): add functions to talk to
13666 wpa_supplicant and write network config to it
13668 2006-01-04 Robert Love <rml@novell.com>
13670 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
13671 values so that distribution-backends can differentiate between the
13672 various types (modem, ISDN, et cetera) of dialup device that they
13674 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
13677 2006-01-03 Dan Williams <dcbw@redhat.com>
13679 * src/NetworkManagerPolicy.c
13681 src/nm-device-802-11-wireless.c
13682 - Move wireless-specific activation failure and success code
13683 into wireless device class
13685 2006-01-03 Robert Love <rml@novell.com>
13687 Patch by Preggna S:
13688 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
13689 IPsec does not require that a VPN client be bound to an interface,
13690 due to the use of the in-kernel IPSec bits. So make the tunnel
13693 2006-01-03 Dan Williams <dcbw@redhat.com>
13695 * src/NetworkManagerAP.c
13696 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
13697 the WPA IE specifies that WEP is supported
13699 * src/nm-device-802-11-wireless.c
13700 - (process_scan_results): don't mark an AP as supporting WEP
13701 if there's already other encryption capability info
13703 2006-01-03 Dan Williams <dcbw@redhat.com>
13705 * src/dhcp-manager/nm-dhcp-manager.c
13706 - Recognize activation cancellation when waiting for DHCP
13707 configuration from dhcdbd
13708 - Ignore non-dhcdbd messages
13711 - (real_act_stage3_ip_config_start): return to correct behavior
13712 of letting the dhcp-manager notify us of failure or
13713 success rather than incorrectly doing that ourselves
13714 - (nm_device_activate_stage4_ip_config_get): deal with
13715 activation cancellation a bit earlier
13717 2006-01-03 Dan Williams <dcbw@redhat.com>
13719 * src/nm-device-802-11-wireless.c
13721 - Add hooks to subclasses for stage3_ip_config_start and
13722 stage4_ip_config_timeout
13724 * src/nm-device-802-3-ethernet.c
13725 - (real_get_generic_capabilities): make devices NM-supported
13728 2006-01-03 Robert Love <rml@novell.com>
13730 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
13731 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
13732 latter cannot differentiate between error and the address -1; misc.
13735 2006-01-03 Dan Williams <dcbw@redhat.com>
13737 * src/NetworkManager.c
13738 - Move link-checking/probing into the device subclasses
13741 * src/nm-device.[ch]
13742 src/nm-device-802-11-wireless.c
13743 src/nm-device-802-3-ethernet.c
13744 - Do periodic link checking in device subclasses rather
13745 than being triggered from NetworkManager.c
13746 - discover_wireless_capabilities -> get_wireless_capabilities
13747 - discover_generic_capabilities -> get_generic_capabilities
13748 - Device subclass activation routines now return a value of type
13749 NMActStageReturn to indicate what step to perform next
13750 - Devices now override stage4_get_ip4_config if they choose
13752 2006-01-01 Dan Williams <dcbw@redhat.com>
13754 * src/nm-device-802-11-wireless.c
13755 - (real_init): don't chain up to parent init because we don't
13756 need to do that anymore
13759 - (discover_device_type): fix arguments to ioctl() to correctly
13760 pass interface name
13761 - (nm_device_new): consolidate generic device initialization into
13763 - (real_init): remove, consolidated to nm_device_new()
13764 - (nm_device_deactivate, real_deactivate): consolidate
13766 2006-01-01 Dan Williams <dcbw@redhat.com>
13768 * src/nm-activation-request.c
13769 - Change dhcp_state member of the NMActRequest structure
13770 from guint8 to guint32
13772 * src/dhcp-manager/nm-dhcp-manager.[ch]
13773 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
13774 than guint8 to match the dbus argument. Turns out we were
13775 overwriting memory since we were passing in only a guint8
13777 2005-12-31 Dan Williams <dcbw@redhat.com>
13779 * refactor NMDevice into a GObject-based framework with separate
13780 objects for wired and wireless. The following files are no
13781 longer used but should stick around for a bit so we don't
13782 loose code through the cracks:
13783 NetworkManagerDevice.c
13784 NetworkManagerDevice.h
13785 NetworkManagerWireless.c
13786 NetworkManagerWireless.h
13788 The intent here is to allow each device type to manage its own
13789 connection & activation life-cycle, ie to allow wireless devices
13790 to interface with wpa_supplicant, etc. There's a fair bit of
13791 encapsulation breakage right now that should gradually get pulled
13792 back into each device, along with things like periodic property
13793 updates and link probing.
13795 2005-12-29 Dan Williams <dcbw@redhat.com>
13797 * include/NetworkManager.h
13798 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
13799 between networks that don't have any encryption at all
13801 2005-12-29 Dan Williams <dcbw@redhat.com>
13803 * test/test-common.c
13806 - Move to a test-common subdirectory
13808 * test/libnm-util/test-ciphers.c
13809 - Move test data to test-inputs.h
13810 - Test WPA ciphers too
13812 * test/libnm-util/test-dbus-helpers.c
13813 - Test serialization/deserialization of ciphers
13815 2005-12-29 Dan Williams <dcbw@redhat.com>
13817 * gnome/applet/applet-dbus-devices.c
13818 - Replace 'enc' parameter with 'capabilities' for wireless networks
13819 in dbus calls to NM
13820 - Set capabilities on WirelessNetwork objects
13821 - Receive and save type-specific device capabilities too
13823 * gnome/applet/applet-dbus-info.c
13824 gnome/applet/applet-dbus.c
13825 - Passphrase dialog no longer a singleton; new instance gets created
13826 on each request. Updates to deal with that.
13828 * gnome/applet/applet.c
13829 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
13830 than single 'encrypted' flag
13831 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
13833 - Passphrase dialog updates per above
13835 * gnome/applet/menu-items.c
13836 - (network_menu_item_update): use AP capabilities to determine
13839 * gnome/applet/nm-device.[ch]
13840 - Add accessors for type-specific device capabilities
13842 * gnome/applet/other-network-dialog.c
13843 - Rework to respect device capabilities. i.e., if the device doesn't
13844 support WPA, remove that option from the security dropdown
13846 * gnome/applet/passphrase-dialog.c
13847 - Massive rework so that a new instance is created each time
13848 it's used, to support wireless network capabilities
13850 * gnome/applet/wireless-network.[ch]
13851 - Add accessors and members for wireless network capabilities
13853 * gnome/applet/wireless-security-manager.[ch]
13854 - (wsm_set_capabilities): called after creation to set which
13855 security options get shown to the user
13857 2005-12-29 Dan Williams <dcbw@redhat.com>
13859 * libnm-util/cipher-wpa-psk-passphrase.c
13860 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
13863 2005-12-23 Dan Williams <dcbw@redhat.com>
13865 * gnome/applet/applet-dbus-info.c
13866 - (nmi_dbus_get_key_for_network): if there's no entry in
13867 GConf for a network, assume we want a new key
13868 - (nmi_save_network_info): serialize wireless security info
13869 into GConf so its saved
13872 - Fix warning as we may not be passed security info when
13873 connecting to a wireless network
13875 2005-12-23 Dan Williams <dcbw@redhat.com>
13877 * gnome/applet/applet-compat.c
13878 - Fix bugs in GConf entry conversion
13880 * gnome/applet/applet-dbus-info.c
13881 - (nmi_dbus_get_network_properties): handle case of the BSSID
13882 list being zero-length
13884 * libnm-util/cipher-*
13885 libnm-util/dbus-helpers.c
13886 - All ciphers must now return hashed keys as UTF-8 valid
13887 hexadecimal strings, ie "8f3dae4023". They are pushed
13888 through dbus as strings too.
13889 - Consolidate various functions that do bin->hex and hex->bin
13890 conversion into cipher.c
13892 * src/nm-ap-security-wep.c
13893 src/nm-ap-security-wpa-psk.c
13894 - Handle NULL keys since we may not know keys right away
13896 * src/nm-dbus-nmi.c
13897 - (nm_dbus_get_network_data_cb): actually advance to the start
13898 of the wireless security info before we try to deserialize it
13900 * libnm-util/test-ciphers.c
13901 - Update cipher tests for the change to UTF-8 hexadecimal strings
13903 2005-12-22 Dan Williams <dcbw@redhat.com>
13905 * gnome/applet/applet-compat.[ch]
13906 - Convert old-format GConf and keyring entries
13907 when the applet starts up.
13909 * gnome/applet/applet.c
13910 - (nmwa_get_instance): Call the conversion function
13911 on startup before dbus is initialized
13913 2005-12-22 Dan Williams <dcbw@redhat.com>
13915 * gnome/applet/applet-dbus-info.c
13916 - Remove nmi_dbus_create_error_message() in favor of
13917 nmu_create_dbus_error_message()
13918 - (nmi_dbus_get_network_properties): Error message cleanups
13919 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
13920 gconf key rather than 'addresses', since they really are BSSIDs
13921 - (nmi_dbus_get_network_properties): Dispose of the security
13922 object when we're done with it
13924 2005-12-21 Dan Williams <dcbw@redhat.com>
13926 * Consolidate the info-daemon's "updateNetworkInfo" and
13927 "addNetworkAddress" calls into just "updateNetworkInfo"
13929 2005-12-21 Dan Williams <dcbw@redhat.com>
13931 * Make connection after key retrieval work again
13933 2005-12-21 Dan Williams <dcbw@redhat.com>
13935 * gnome/applet/nm-gconf-wso*
13936 - Make the serialize functions return gboolean
13939 * gnome/applet/nm-gconf-wso.c
13940 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
13941 parent class handling so we don't segfault
13943 * src/NetworkManagerAP.[ch]
13944 - (nm_ap_get_capabilities): new function, return capabilities
13945 now that something can use them
13946 - (nm_ap_set_encrypted): assume that an access point supports
13947 both WEP104 and WEP40 if its set encrypted. FIXME: can
13948 we even tell whether it just supports WEP40?
13950 * src/NetworkManagerDevice.c
13951 - (ap_need_key): resurrect and update for the New World Order
13952 - (nm_device_wireless_get_activation_ap): if we're not given
13953 security info to use, create some based on access point
13956 * src/nm-ap-security-wep.c
13957 - (nm_ap_security_wep_new_from_ap): create a new object
13958 based on a certain access point's capabilities
13960 * src/nm-ap-security.c
13961 - (nm_ap_security_new_from_ap): delegate creation of a new
13962 object based on access point capabilities to a subclass
13963 - (nm_ap_security_copy_properties): don't segfault if we
13964 don't have a key yet
13967 - (nm_dbus_nm_set_active_device): provide more informative
13968 output when errors occur. Also construct security info
13969 for a given access point if we weren't given any
13971 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
13973 * configure.in: Added Lithuanian to ALL_LINGUAS.
13975 2005-12-21 Dan Williams <dcbw@redhat.com>
13978 - Add some testcases for WEP ciphers
13980 2005-12-17 Dan Williams <dcbw@redhat.com>
13984 2005-12-17 Dan Williams <dcbw@redhat.com>
13986 * include/NetworkManager.h
13987 - Finally kill NMEncKeyType
13989 * gnome/applet/applet-dbus-info.c
13990 - (nmi_save_network_info): convert to NMGConfWSO
13992 * gnome/applet/nm-gconf-wso-*.c
13993 - Implement gconf serialization functions
13995 * src/NetworkManagerPolicy.c
13996 - (nm_policy_activation_finish): fix up meaning of
13997 automatic/user_requested
13999 2005-12-17 Dan Williams <dcbw@redhat.com>
14002 - More applet cleanups
14003 - Use the dbus-method-dispatcher
14005 * libnm-util/dbus-method-dispatcher.[ch]
14006 - Generalize the implementation from NM in
14007 NetworkManagerUtils.c
14009 2005-12-16 Dan Williams <dcbw@redhat.com>
14012 - Fix up the passphrase dialog to use all the
14013 WirelessSecurityOption stuff (untested)
14015 2005-12-16 Dan Williams <dcbw@redhat.com>
14017 * Move nm_gconf_get_*_helper() functions to separate files,
14018 gconf-helpers.c & gconf-helpers.h
14020 * New NMGConfWSO objects for managing the gconf side of things.
14021 Eventually these should be merged with the
14022 WirelessSecurityOption objects and a common base (that can
14023 serialize/deserialize from dbus & gconf) should be
14024 refactored out, but for now they are separate.
14026 2005-12-16 Robert Love <rml@novell.com>
14028 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14029 binaries unless they exist (nm_spawn_process() emits a warning if
14030 asked to spawn a non-existant process).
14032 2005-12-16 Dan Williams <dcbw@redhat.com>
14034 * gnome/applet/applet-dbus-info.c
14035 - Clean up lots of gconf-related code
14037 2005-12-16 Robert Love <rml@novell.com>
14039 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14041 2005-12-16 Dan Williams <dcbw@redhat.com>
14043 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14045 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14046 bits still to be done)
14048 2005-12-16 Dan Williams <dcbw@redhat.com>
14050 * Finally move info-daemon related stuff out of
14051 NetworkManagerDbus.c to nm-dbus-nmi.c
14053 2005-12-16 Dan Williams <dcbw@redhat.com>
14055 * Kill auth_method for access points, since that's now done
14056 by NMAPSecurity objects
14058 * Add a copy-constructor of sorts to NMAPSecurity
14059 (how do you do this properly in glib???)
14061 2005-12-15 Dan Williams <dcbw@redhat.com>
14063 * Exorcise encryption key hashing on APs
14064 * Use libnm-util's serialization/deserialization in both the
14066 * Random other stuff
14068 2005-12-15 Robert Love <rml@novell.com>
14070 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14071 is being added to the icon naming spec, so let's use that (Tango CVS
14072 has the icon). Because it is new, however, we fall back to the
14073 current "gnome-lockscreen" if the new icon is not around, thus
14074 behavior is the same.
14075 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
14078 2005-12-15 Robert Love <rml@novell.com>
14080 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14081 well, help to give. Couple other misc. bits.
14083 2005-12-15 Dan Williams <dcbw@redhat.com>
14085 * libnm-util/dbus-helpers.[ch]
14086 - Make this the one-stop-shop for serializing/deserializing
14087 AP & connection security settings over dbus. Both NM
14088 and applets should use this to ensure consistent dbus
14089 API going forwared.
14091 2005-12-15 Robert Love <rml@novell.com>
14093 Patch by Timo Hoenig <thoenig@suse.de>:
14094 * src/NetworkManagerDbus.c
14095 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14096 if HAL jumps off the system bus. Otherwise libdbus
14097 (dbus_connection_dispatch) will try to run the filter
14098 function of our libhal context which is already freed.
14100 2005-12-15 Alexander Shopov <ash@contact.bg>
14102 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14104 2005-12-14 Dan Williams <dcbw@redhat.com>
14106 * include/NetworkManager.h
14107 src/NetworkManagerWireless.c
14108 - Rearrange 802.11 wireless-specific capabilities again
14111 - Forgot to add wpa.c/wpa.h to the makefiles
14113 * src/NetworkManagerAP.[ch]
14114 - Implement access point capabilities and parse the
14115 WPA/RSN IEs into the capability bitfield
14116 - Switch the "encrypted" attribute to utilize the bitfield
14117 and capabilities rather than being independent
14119 * src/NetworkManagerDevice.c
14120 - (nm_device_wireless_get_activation_ap): break it horribly
14121 until we can push NMAPSecurity objects into access point
14122 objects and through the activation chain
14123 - Stuff WPA & RSN IEs into AP capabilities
14126 - Take a shot at actually making setActiveDevice work
14129 - Make the API a bit saner
14131 2005-12-14 Dan Williams <dcbw@redhat.com>
14133 * include/NetworkManager.h
14134 - Add 802.11-specific capability for 802.1x key
14138 - Pull in WPA IE and RSN IE parsing code from
14139 wpa_supplicant so we can determine access point
14141 - Move WPA-related constants here from NetworkManagerAP.h
14142 and NetworkManagerDevice.c
14144 * src/NetworkManagerDevice.c
14145 src/NetworkManagerAP.[ch]
14146 - Use WPA-related constants from wpa.h
14148 2005-12-14 Dan Williams <dcbw@redhat.com>
14150 * include/NetworkManager.h
14151 - Update and split 802.11 wireless-specific capabilities from
14152 generic device capabilities
14154 * src/NetworkManagerDevice.c
14155 src/NetworkManagerDevicePrivate.h
14156 - (nm_device_wireless_discover_capabilities): Move 802.11
14157 wireless-specific capability checks to
14158 NetworkManagerWireless.c
14159 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14160 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14162 * src/NetworkManagerWireless.[ch]
14163 - (nm_802_11_wireless_discover_capabilities): Check extended
14164 802.11 wireless-specific capabilities of the driver
14166 2005-12-14 Robert Love <rml@novell.com>
14168 Patch from Stefan Scheler <sscheler@suse.de>:
14169 * src/NetworkManagerDevice.c: call backend code to activate and
14171 * src/NetworkManagerSystem.h: add new NIS interfaces.
14172 * src/backends/NetworkManagerDebian.c,
14173 src/backends/NetworkManagerGentoo.c,
14174 src/backends/NetworkManagerRedHat.c,
14175 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14177 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14179 2005-12-14 Dan Williams <dcbw@redhat.com>
14181 * src/nm-ap-security*.[ch]
14182 - Add AP security abstractions to NetworkManager
14184 * src/nm-dbus-device.c
14185 - Begin to parse new format dbus messages from the applet
14186 and construct an AP security object from the message
14188 * libnm-util/dbus-helpers.c
14189 - Use message iters so we can append the key as a fixed
14190 array of bytes, which actually works rather than
14191 using dbus_message_append_args() as we were before
14193 2005-12-14 Dan Williams <dcbw@redhat.com>
14195 * src/NetworkManagerDbus.c
14196 gnome/applet/applet-dbus.c
14197 - Fix up dbus service replacement options. The applet
14198 should allow replacement, NM itself should not.
14200 2005-12-13 Robert Love <rml@novell.com>
14202 * src/named-manager/nm-named-manager.c: Revert earlier commit.
14203 Instead, fail silently if config is NULL by not asserting and not
14204 returning FALSE. Also, make sure we always fclose() the file.
14206 2005-12-13 Robert Love <rml@novell.com>
14208 Patch by Stefan Scheler <sscheler@suse.de>:
14209 * src/nm-ip4-config.h, src/nm-ip4-config.c,
14210 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14211 via DHCP. Still need the backends to commit the NIS domain name and
14212 and servers to yp.conf as needed.
14214 2005-12-13 Robert Love <rml@novell.com>
14216 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14217 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14219 2005-12-13 Robert Love <rml@novell.com>
14221 * src/named-manager/nm-named-manager.c: Don't unref the config until
14222 after we call rewrite_resolv_conf(), because get_last_default_domain()
14223 needs to access the config. Fixes "rewrite_resolv_conf: assertion
14224 `config != NULL' failed" assertion failures and "Could not commit DNS
14227 2005-12-12 Dan Williams <dcbw@redhat.com>
14229 * libnm-util/dbus-helpers.[ch]
14230 libnm-util/Makefile.am
14231 - new helper calls to consolidate locations where
14232 NM's setDevice method is called
14234 * gnome/applet/applet-dbus-devices.c
14235 gnome/applet/wireless-security-option.c
14237 - Implement dbus message param append function for
14238 all wireless security options
14240 2005-12-12 Robert Love <rml@novell.com>
14242 * libnm-util/cipher-wep-passphrase.c,
14243 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14244 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14245 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14246 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14247 When handling keys, we don't care what the sign is. The compiler
14248 guarantees us that we get our 8-bits, which is all we care about.
14249 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
14251 2005-12-12 Dan Williams <dcbw@redhat.com>
14253 * gnome/applet/applet-dbus-devices.[ch]
14254 gnome/applet/applet.c
14255 gnome/applet/other-network-dialog.c
14256 gnome/applet/wireless-security-manager.[ch]
14257 gnome/applet/wireless-security-option.[ch]
14259 - Push the wireless security options further into the applet
14261 2005-12-12 Robert Love <rml@novell.com>
14263 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14264 return any name servers. That is perfectly valid. (Novell #134369).
14266 2005-12-11 Dan Williams <dcbw@redhat.com>
14268 * gnome/applet/wso-*
14269 gnome/applet/wireless-security-option.*
14270 gnome/applet/Makefile.am
14271 - split each security option out so we can eventually
14272 have each one build up their own dbus message
14273 arguments to send to NM
14275 2005-12-11 Dan Williams <dcbw@redhat.com>
14277 * Make validation of the key work correctly
14279 2005-12-11 Dan Williams <dcbw@redhat.com>
14281 * Hook more bits of the Other Network Dialog up to the
14282 wireless security manager stuff, and restructure
14283 bits of the dialog so there's less code.
14285 2005-12-10 Dan Williams <dcbw@redhat.com>
14287 * gnome/applet/Makefile.am
14288 - Add libnm-util to includes
14289 - Add libnm-util to link list
14290 - Add wireless-security-common.* to compile list
14292 * gnome/applet/other-network-dialog.c
14293 - Convert to using the WirelessSecurityManager code and
14296 * gnome/applet/passphrase-dialog.c
14297 - Comment out references to stuff in the glade file that
14298 cause runtime errors until it can be fixed up
14299 to use the WirelessSecurityManager code
14301 * gnome/applet/wireless-applet.glade
14302 - Rename some widgets
14303 - Add widgets for the WirelessSecurityManager code
14304 - Remove passphrase-related stuff since that's now
14305 handled by the WirelessSecurityManager code
14307 2005-12-10 Dan Williams <dcbw@redhat.com>
14309 * gnome/applet/applet-dbus-devices.c
14310 - Print out error message details for dbus pending call callbacks
14311 - Move nmwa_dbus_update_devices() up
14313 * gnome/applet/applet-dbus-vpn.c
14314 - Print out error message details for dbus pending call callbacks
14316 2005-12-10 Dan Williams <dcbw@redhat.com>
14320 - Remove cipher-manager.* because we don't need it
14321 - Forgot to add gnome-keyring-md5 files to compile list
14323 2005-12-09 Dan Williams <dcbw@redhat.com>
14328 - Add a utility library for clients of NetworkManager. It's
14329 only targetted at applets for the moment, and contains
14330 a generalized 802.11 cipher framework for different
14331 types of keys (WEP & WPA Hex, ASCII, Passphrase)
14333 2005-12-09 Robert Love <rml@novell.com>
14335 * src/NetworkManagerDevice.c: handle error better in
14336 nm_device_set_mode().
14338 2005-12-08 Robert Love <rml@novell.com>
14340 * include/NetworkManager.h: add WPA capabilities constants
14341 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14342 or WPA2 and add the capabilities bits as appropriate.
14344 2005-12-08 Robert Love <rml@novell.com>
14346 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14347 NetworkManagerDispatcher.
14348 * configure.in, initscript/SUSE/.cvsignore,
14349 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14352 2005-12-08 Robert Love <rml@novell.com>
14354 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14356 2005-12-08 Robert Love <rml@novell.com>
14358 * src/NetworkManagerDevice.c: We want to fall back on and default to
14359 IW_MODE_AUTO, not -1, which is more in line with our previous
14360 behavior. Otherwise, we try to set the wireless mode to -1 in
14361 nm_device_set_mode().
14363 2005-12-07 Robert Love <rml@novell.com>
14365 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14366 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14367 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14368 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14369 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14370 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
14373 2005-12-07 Robert Love <rml@novell.com>
14375 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14376 supplied IP is invalid, fall back to DHCP.
14378 2005-12-07 Dan Williams <dcbw@redhat.com>
14380 * Convert NETWORK_MODE_* constants to IW_MODE_*
14381 * Make all the get_mode/set_mode functions take and return 'int'
14382 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14384 2005-12-07 Robert Love <rml@novell.com>
14386 * src/NetworkManagerDevice.c: strncpy() buffer check.
14387 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14389 2005-12-06 Dan Williams <dcbw@redhat.com>
14391 * gnome/applet/applet-dbus.c
14392 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14394 * gnome/applet/applet-dbus-vpn.c
14395 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14396 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14397 to TRUE here if stage was ACTIVATED
14399 2005-12-06 Dan Williams <dcbw@redhat.com>
14401 * Change nm_device_is_* functions to better names:
14402 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14403 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14405 2005-12-06 Dan Williams <dcbw@redhat.com>
14407 * Change naming of NMDeviceType to something more sensible:
14408 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14409 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14410 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14412 2005-12-06 Dan Williams <dcbw@redhat.com>
14414 * Move NetworkManager.h -> include/NetworkManager.h
14415 * Split out VPN stuff into include/NetworkManagerVPN.h
14416 * Fix up makefiles to include new location
14417 * Fix up sources to include NetworkManagerVPN.h
14419 2005-12-06 Dan Williams <dcbw@redhat.com>
14421 Various changes in the applet to move VPN connection "state" -> "stage",
14422 which it actually is. I'd like to change the signal as well when we
14423 break compat in the near future.
14425 2005-12-06 Dan Williams <dcbw@redhat.com>
14427 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14428 * initscript/Slackware/rc.networkmanager
14431 * src/backends/NetworkManagerSlackware.c
14432 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14435 2005-12-05 Robert Love <rml@novell.com>
14437 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14438 to free, particularly here as it just barfs.
14440 2005-12-05 Dan Williams <dcbw@redhat.com>
14442 * gnome/applet/applet-dbus.c
14443 - Work with dbus 0.6 too
14445 2005-12-03 Dan Williams <dcbw@redhat.com>
14447 * src/NetworkManagerUtils.[ch]
14448 src/nm-ip4-config.c
14449 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14450 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14452 2005-12-01 Robert Love <rml@novell.com>
14454 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14455 need a NULL for the '...' parameter, too, to fill the so-called
14458 2005-12-01 Robert Love <rml@novell.com>
14460 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14461 interface is already gone, so don't call rtnl_link_change() to down
14462 it (which will segfault, anyhow).
14464 2005-11-22 Robert Love <rml@novell.com>
14466 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14467 gateway is not set, just print a little note. Configurations without
14468 gateways are valid.
14470 2005-11-22 Robert Love <rml@novell.com>
14474 2005-11-20 Ilkka Tuohela <hile@iki.fi>
14476 * configure.in: Added Finnish translation to ALL_LINGUAS
14478 2005-11-14 Robert Love <rml@novell.com>
14480 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14481 Niemueller <tim@niemueller.de>.
14483 2005-11-08 Dan Williams <dcbw@redhat.com>
14485 Patch from Bill Moss <bmoss@clemson.edu>
14486 * src/NetworkManagerDevice.c
14487 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14488 of nm_policy_schedule_activation_finish() to prevent a
14489 race condition that causes the link to be dropped
14491 2005-11-08 Dan Williams <dcbw@redhat.com>
14493 Patch from Bill Moss <bmoss@clemson.edu>
14494 * src/NetworkManagerAPList.c
14495 src/NetworkManagerDevice.c
14496 src/NetworkManagerDbus.c
14497 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14498 we get more readable ether/mac addresses
14500 2005-11-02 Christopher Aillon <caillon@redhat.com>
14502 * gnome/applet/main.c: Don't set the restart command. This fixes
14503 the issue where the restart command was getting copies of all its
14504 arguments for each time the applet was restarted.
14506 2005-11-02 Robert Love <rml@novell.com>
14508 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14509 if the widget state differs from our saved state. This ensures we
14510 do not enter an endless loop of death and destruction. Also, this
14511 guarantees us that we enforce the widget state.
14513 2005-11-02 Robert Love <rml@novell.com>
14515 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14516 * gnome/applet/applet-dbus-devices.c: invoke the new function
14517 nmwa_enable_wireless_set_active() to ensure that the state of the
14518 'Enable Wireless' checkbox matches the daemon's state. This is a
14519 concern because the daemon remembers the state.
14521 2005-11-02 Robert Love <rml@novell.com>
14523 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14524 Enabled", as checkboxes should be actions/commands not positive
14525 statements, otherwise they are confusing in the unselected case. See
14526 examples in GNOME HIG, Chapter 6.
14528 2005-11-02 Robert Love <rml@novell.com>
14530 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
14531 show a list of wireless networks or the wireless devices or the
14532 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
14533 a bad bug: If wireless is disabled and the user picks a wireless
14534 network, NM will switch to the network, only to immediately switch
14535 back, as wireless is disabled. This also reassures people that NM
14536 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
14538 2005-11-02 Christopher Aillon <caillon@redhat.com>
14540 * gnome/applet/applet.c:
14541 * gnome/applet/applet.h:
14542 Partial backout of Dan's timeout animation patch.
14543 Timeout IDs cannot legally be 0, so revert the code in place to handle
14544 a timeout ID of 0 to denote the timeout isn't running.
14546 2005-11-02 Christopher Aillon <caillon@redhat.com>
14548 * src/NetworkManagerPolicy.c:
14549 (nm_policy_device_change_check) Clarify wireless switch nm_info text
14551 2005-10-28 Robert Love <rml@novell.com>
14553 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
14554 "Import Saved Configuration..." to make it clear that importing is
14555 not the next step, but an option. As an aside, a nice TODO would be
14556 to move Importing out of the vpn-specific dialog and into the main
14557 property editor, as Importing goes with Adding, but that will require
14558 some rearchitecting of the VPN stuff I suspect.
14560 2005-10-27 Dan Williams <dcbw@redhat.com>
14562 Start using libnl. You need 1.0-pre3 or higher. Eventually
14563 we should replace most of the distro-specific backend code
14566 Get it here: http://people.suug.ch/~tgr/libnl/
14570 - Add checks for libnl pkgconfig file
14571 - Use LIBNL_LIBS & LIBNL_CFLAGS
14573 * src/NetworkManagerSystem.c
14574 src/nm-ip4-config.[ch]
14575 - Use libnl rather than ioctl() for most things
14576 - Remove unused functions
14578 2005-10-27 Robert Love <rml@novell.com>
14580 * src/backends/NetworkManagerSuSE.c: fix warning message text
14582 2005-10-27 Christopher Aillon <caillon@redhat.com>
14584 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
14586 2005-10-27 Christopher Aillon <caillon@redhat.com>
14588 * gnome/applet/applet.c: The applet's about dialog can advertise our
14589 project page <http://www.gnome.org/projects/NetworkManager/>
14591 2005-10-26 Christopher Aillon <caillon@redhat.com>
14593 * gnome/applet.c: Also use translator credits if we don't have
14594 the new GtkAboutDialog (older versions of GTK+)
14596 2005-10-26 Robert Love <rml@novell.com>
14598 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
14599 failure; correct usage text for "--no-daemon"
14601 2005-10-25 Dan Williams <dcbw@redhat.com>
14603 * src/NetworkManagerDevice.c
14604 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
14606 - (free_process_scan_cb_data): unref the device when freeing results
14607 - (nm_device_wireless_process_scan_results): free scan results a bit later
14608 so we don't unref the device underneath ourselves
14610 2005-10-25 Dan Williams <dcbw@redhat.com>
14612 * Back out 2005-10-24 commit from Tor Krill. Patch
14613 causes nameservers never to be removed from named.
14615 2005-10-24 Dan Williams <dcbw@redhat.com>
14617 Clean up wireless scanning and wireless link probing.
14619 * src/NetworkManagerDevice.c
14620 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
14621 just see if there's an activation request on the device, and check the
14622 current link against the activation request access point's ESSID.
14623 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
14624 - (nm_device_wireless_process_scan_results): actually free our scan data, and
14625 don't call process_scan_results() on zero-length data
14626 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
14627 15 seconds (from 10)
14629 2005-10-24 Dan Williams <dcbw@redhat.com>
14631 Cleanup some applet stuff:
14633 - Animation timeouts. If NM died while the applet was animating,
14634 the applet would not hide itself. This is now fixed.
14636 - Remove some dead code
14638 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
14639 to nmi_passphrase_dialog_cancel() since we no longer use threads.
14641 - Track animation timeout using a gboolean rather than the timeout's
14642 ID, since timeout IDs can legally be 0.
14644 2005-10-24 Dan Williams <dcbw@redhat.com>
14646 * src/backends/interface_parser.c
14647 - Add void to function declarations that need it
14648 to match patch from Engin AYDOGAN
14650 * src/backends/interface_parser.h
14651 - Remove unused prototype for ifparser_interfaces()
14653 Patch from Engin AYDOGAN <engin@bzzzt.biz>
14654 * src/backends/interface_parser.h:
14655 - Compile fixes for gcc 4.0.2 (add void)
14657 2005-10-24 Dan Williams <dcbw@redhat.com>
14659 Patch from Tor Krill <tor@krill.nu>
14660 * src/named-manager/nm-named-manager.c
14661 - Write more than just the first nameserver to /etc/resolv.conf
14662 - Write out valid /etc/resolv.conf on exit
14664 2005-10-21 Christopher Aillon <caillon@redhat.com>
14666 * gnome/applet/applet-dbus-vpn.c:
14667 Get rid of spurious newlines in debug console output
14669 2005-10-21 Christopher Aillon <caillon@redhat.com>
14671 * src/backends/NetworkManagerGentoo.c:
14672 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
14674 2005-10-20 Robert Love <rml@novell.com>
14676 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
14677 direct comparison of floating point values, which is never correct.
14678 Also some misc. cleanup.
14680 2005-10-19 Robert Love <rml@novell.com>
14682 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
14684 2005-10-19 Robert Love <rml@novell.com>
14686 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
14687 sensitivity of the buttons. Specificaly, do the right thing if
14688 there are no entries.
14690 2005-10-19 Christopher Aillon <caillon@redhat.com>
14692 * configure.in: Update check for adequate wireless-tools
14693 with an AC_TRY_COMPILE for the new symbols we use.
14695 2005-10-19 Dan Williams <dcbw@redhat.com>
14697 * src/NetworkManagerDevice.c
14698 - (process_scan_results): don't drop the last (or only)
14699 access point we see
14701 2005-10-19 Christopher Aillon <caillon@redhat.com>
14703 * src/backends/NetworkManagerSlackware.c:
14704 Patch from Nico <lordllucifer@gmail.com>
14705 - Update the Slackware backend.
14707 2005-10-18 Christopher Aillon <caillon@redhat.com>
14709 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
14710 if we've got GLib 2.8.0
14712 2005-10-18 Robert Love <rml@novell.com>
14714 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
14715 function nm_schedule_state_change_signal_broadcast() when we
14716 deactivate a device, too.
14718 2005-10-18 Robert Love <rml@novell.com>
14720 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
14721 be used uninitialized.
14723 2005-10-18 Christopher Aillon <caillon@redhat.com>
14725 * test/libnm_glib_test.c: Test unregistering, too.
14727 2005-10-17 Christopher Aillon <caillon@redhat.com>
14729 * configure.in: Bump to 0.5.0
14731 2005-10-17 Dan Williams <dcbw@redhat.com>
14734 - Remove WPA-related constants so they aren't part of the
14737 2005-10-17 Christopher Aillon <caillon@redhat.com>
14739 * gnome/applet/applet.c:
14740 * gnome/applet/applet.h:
14741 Desensitize the 'Connection Information' menu item when there is
14742 no active connection.
14744 2005-10-17 Christopher Aillon <caillon@redhat.com>
14746 * gnome/libnm_glib/libnm_glib.c:
14747 Make libnm_glib_unregister_callback () actually unregister the callback
14749 2005-10-17 Robert Love <rml@novell.com>
14751 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
14752 two seconds -- tries is updated every 1/10 of a second, not every
14755 2005-10-17 Christopher Aillon <caillon@redhat.com>
14757 * gnome/applet/applet-dbus-info.c:
14758 Let D-BUS know that we haven't handled a message when we haven't.
14760 2005-10-17 Robert Love <rml@novell.com>
14762 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
14763 in order to remain 64-bit clean.
14765 2005-10-17 Christopher Aillon <caillon@redhat.com>
14767 * gnome/applet/applet-dbus-info.c:
14768 Find network encryption keys asynchronously
14770 2005-10-17 Robert Love <rml@novell.com>
14772 * src/backends/NetworkManagerDebian.c,
14773 src/backends/NetworkManagerRedHat,
14774 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
14777 2005-10-17 Robert Love <rml@novell.com>
14779 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
14782 2005-10-17 Christopher Aillon <caillon@redhat.com>
14784 * src/NetworkManagerDevice.c: (process_scan_results)
14785 Fix logic that checks to see whether we have an ESSID.
14787 2005-10-15 Dan Williams <dcbw@redhat.com>
14789 Move scanning code into NetworkManager rather than use iwlib's
14790 iw_scan() function, so that we can figure out AP capabilities.
14793 - Add AP capability bits
14795 * src/NetworkManagerAP.[ch]
14796 - Add capability field to NMAccessPoint structure
14797 - Add WPA & RSN Information Element fields and accessor
14798 functions to NMAccessPoint
14800 * src/NetworkManagerDevice.c
14801 - Remove usage of iw_scan
14802 - Add scanning code to NetworkManager rather than use
14803 iw_scan() from iwlib
14805 * src/NetworkManagerUtils.[ch]
14806 - (nm_dispose_scan_results): remove, unused
14808 2005-10-14 Christopher Aillon <caillon@redhat.com>
14810 * gnome/libnm_glib/libnm_glib.c:
14811 * gnome/libnm_glib/libnm_glib.h:
14812 Use guint instead of gint for callback IDs.
14814 2005-10-12 Christopher Aillon <caillon@redhat.com>
14816 * gnome/applet/applet.c:
14817 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
14818 every 1000ms. It will unconditionally call nmwa_update_state which
14819 kills the existing animation timeout and registers a new one with a
14820 callback to draw a new frame every 100ms. There are 11 connecting
14821 icon frames, so the last 2 frames kept getting dropped. Only reset
14822 the animation timeout if we aren't animating.
14824 2005-10-11 Dan Williams <dcbw@redhat.com>
14826 * gnome/applet/applet-dbus-devices.c
14827 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
14828 We want to grab the product & vendor from net.physical_dev
14829 rather than info.parent.
14831 2005-10-11 Dan Williams <dcbw@redhat.com>
14833 * src/NetworkManagerDevice.c
14834 - Use the driver's WE version for scanning rather than
14835 the WE version NM was compiled with. Fixes random
14836 crashes in iw_scan () in iwlib.
14838 2005-10-10 Dan Williams <dcbw@redhat.com>
14840 * Remove nm_system_load_device_modules() from backend files
14841 and from NetworkManager.c
14843 2005-10-10 Dan Williams <dcbw@redhat.com>
14845 * src/NetworkManagerPolicy.c
14846 - Fix some bugs introduced by the capabilities patch
14848 2005-10-10 Dan Williams <dcbw@redhat.com>
14850 * gnome/applet/applet-dbus-info.c
14851 - (nmi_dbus_get_network_key): hide the menu when putting up
14852 the keyring dialog. (not sure if the code is right...)
14854 2005-10-09 Dan Williams <dcbw@redhat.com>
14856 Patch from Bill Moss <bmoss@clemson.edu>
14857 * src/NetworkManagerDevice.c
14858 - (nm_device_set_user_key_for_network): don't try to set auth
14859 mode on the AP from the allowed list if it's NULL
14861 2005-10-09 Dan Williams <dcbw@redhat.com>
14863 * Replace the "driver support level" stuff with capabilities. The
14864 capability field is a bitfield that is more flexible than the
14865 old driver support level thing. It's mostly so we can easily
14866 figure out what supports WPA and what doesn't, but should be
14867 quite useful later.
14869 2005-10-09 Dan Williams <dcbw@redhat.com>
14876 - Added new "nm-tool" tool that gives quite a bit more
14879 2005-10-07 Robert Love <rml@novell.com>
14881 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
14882 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
14883 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
14884 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
14887 2005-10-07 Robert Love <rml@novell.com>
14889 * configure.in: Change our compile flags for the betterment of mankind.
14890 Add "-Wstrict-prototypes" because we comply anyhow and missing a
14891 prototype is very bad on 64-bit platforms as types default to int but
14892 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
14893 "-Wmissing-declarations" to warn if we define an exported function
14894 but fail to put it in a header.
14896 2005-10-07 Robert Love <rml@novell.com>
14898 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
14899 by the name nm_update_device_wireless_timeouts() and once tried,
14900 without success, to steal my pet turtle.
14902 2005-10-07 Robert Love <rml@novell.com>
14904 * Cleanup prototypes: put some functions in header files and mark
14905 others as 'static' -- feel free to invert
14906 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
14907 nm_vpn_manager_vpn_connection_list_copy()
14908 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
14909 nm_vpn_service_get_dbus_connection()
14910 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
14911 nm_vpn_manager_vpn_connection_list_copy()
14912 * src/vpn-manager/nm-vpn-service.c: make
14913 nm_vpn_service_act_request_failed() and
14914 nm_vpn_service_stage2_daemon_wait() static
14915 * src/vpn-manager/nm-vpn-service.h: add prototype for
14916 nm_vpn_service_get_dbus_connection()
14918 2005-10-06 Christopher Aillon <caillon@redhat.com>
14920 * gnome/applet/applet.c:
14921 * gnome/applet/applet.h:
14922 * gnome/applet/icons/Makefile.am:
14923 Convey information about the current connection stage in the
14924 icons themselves instead of creating a separate progress bar.
14926 2005-10-04 Robert Love <rml@novell.com>
14928 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
14929 convert an ether_addr structure's MAC into a string, because the
14930 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
14931 versus 07:3B:04, while the former will not.
14933 2005-10-04 Robert Love <rml@novell.com>
14935 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14936 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
14937 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
14938 default route in the 'Connection Information' dialog, send primary
14939 and secondary name servers in in "getProperties" DBUS method, add
14940 network_device_{get,set}_{primary,secondary}_dns(), The primary and
14941 secondary domain name servers are crucial pieces of information
14942 that a user might need in debugging a network problem.
14944 2005-10-04 Robert Love <rml@novell.com>
14946 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14947 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
14948 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
14949 default route in the 'Connection Information' dialog, send default
14950 route in "getProperties" DBUS method, add network_device_set_route(),
14951 and network_device_get_route(). The Gateway is a crucial piece of
14952 connection-related information that a user might need in debugging a
14955 2005-10-03 Robert Love <rml@novell.com>
14957 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
14960 2005-10-02 Dan Williams <dcbw@redhat.com>
14962 * Shorten time taken to sleep by fastpathing bits of device deactivation
14963 necessary for sleep.
14965 * Fix issue where deactivating a device might deactivate the active
14966 VPN connection, even if the VPN was not using the device.
14968 2005-10-02 Dan Williams <dcbw@redhat.com>
14970 * gnome/applet/applet.c
14971 - Adjust signal strength -> icon mapping values slightly
14972 (so that 51% signal doesn't show a 75% icon) by adding
14973 5% to the values. ex: > 5% now shows 25% icon, > 30%
14974 shows 50% icon, etc.
14976 2005-09-29 Robert Love <rml@novell.com>
14978 * src/NetworkManager.c: removed unused variable.
14980 2005-09-28 Dan Williams <dcbw@redhat.com>
14982 Support for named + DBus, using Red Hat DBus patches for named. You
14983 can find those patches here, with "dbus" in the patch's filename:
14985 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
14987 Don't forget the named dbus service file either.
14989 Instead of writing a config file and spawing a named process, NM will
14990 use an already-running dbus-enabled named if it finds one. NM will
14991 update named's forwarder configuration on the fly using dbus.
14993 If there is no dbus-enabled named running, NM will automatically fall
14994 back to writing the most-recent DNS server information to /etc/resolv.conf
14995 and calling nm_system_update_dns() to kick the system's resolver.
14997 Accordingly, all named-related configure-time options have been removed.
14999 2005-09-26 Robert Love <rml@novell.com>
15001 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15003 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15004 bug in error path if "ASKPASSWORD" is "no".
15006 2005-09-26 Robert Love <rml@novell.com>
15008 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15009 comment in /etc/resolv.conf -- ';' is not.
15011 2005-09-19 Dan Williams <dcbw@redhat.com>
15013 * src/backends/NetworkManagerRedHat.c:
15014 * src/backends/NetworkManagerDebian.c:
15015 * src/backends/NetworkManagerSlackware.c:
15016 * src/backends/NetworkManagerGentoo.c:
15017 * src/backends/NetworkManagerSUSE.c:
15018 Fix invocations of "/sbin/ip address" to use short form instead
15020 2005-09-19 Christopher Aillon <caillon@redhat.com>
15022 * src/nm-dbus-device.c: Don't assert when getting
15023 addresses of a not yet connected interface.
15025 * gnome/applet/applet.c: Free icons if loading fails.
15026 Use translator-credits so translators can make themselves known.
15028 2005-09-15 Christopher Aillon <caillon@redhat.com>
15030 * src/NetworkManagerAP.c:
15031 * src/NetworkManagerAP.h:
15032 * src/NetworkManagerDevice.c:
15033 Set a blacklist for certain common manufacturer default ESSIDs:
15034 APs with these ESSIDs are extremely likely to be completely
15035 different networks: connecting to one should not make NM
15036 auto-connect to every other AP with the same default ESSID.
15038 2005-09-12 Christopher Aillon <caillon@redhat.com>
15040 * gnome/applet/wireless-applet.glade:
15041 The passphrase entry should also activate the default
15043 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15045 * gnome/applet/applet-dbus-devices.c:
15046 * gnome/applet/applet.c:
15047 * gnome/applet/nm-device.c:
15048 * gnome/applet/nm-device.h:
15049 * src/NetworkManagerUtils.c:
15050 * src/NetworkManagerUtils.h:
15051 * src/nm-dbus-device.c:
15052 I've got a fever, and the only cure for it is less ioctl.
15053 Make NM push IP data rather than make the applet open a socket
15056 2005-09-10 Christopher Aillon <caillon@redhat.com>
15058 * gnome/applet/applet.c:
15059 * gnome/applet/applet-dbus-devices.c:
15060 * gnome/applet/applet-dbus-info.c:
15061 * gnome/applet/passphrase-dialog.c:
15062 * gnome/libnm_glib/libnm_glib.c:
15063 * gnome/vpn-properties/nm-vpn-properties.c:
15065 * src/backends/NetworkManagerRedHat.c:
15066 * src/named-manager/nm-named-manager.c:
15067 * src/NetworkManagerAPList.c:
15068 * src/NetworkManager.c:
15069 * src/NetworkManagerDbus.c:
15070 * src/NetworkManagerDevice.c:
15071 * src/NetworkManagerPolicy.c:
15072 * src/NetworkManagerSystem.c:
15073 * src/nm-dbus-device.c:
15074 * src/nm-dbus-nm.c:
15075 * src/vpn-manager/nm-vpn-manager.c:
15076 * src/vpn-manager/nm-vpn-service.c:
15077 * test/libnm_glib_test.c:
15078 * test/nminfotest.c:
15079 * test/nmtestdevices.c:
15080 Fix a bunch of 'unused variable' compiler warnings
15082 * NetworkManager.h:
15083 * gnome/applet/applet-dbus-info.c:
15084 * gnome/applet/applet-dbus-info.h:
15085 * gnome/applet/applet.c:
15086 * gnome/applet/applet.h:
15087 * src/NetworkManager.c:
15088 * src/NetworkManagerDbus.c:
15089 * src/NetworkManagerDbus.h:
15090 * src/NetworkManagerDevice.c:
15091 * src/NetworkManagerDevice.h:
15092 * src/NetworkManagerMain.h:
15093 * src/NetworkManagerWireless.c:
15094 * src/NetworkManagerWireless.h:
15095 * src/nm-dbus-nm.c:
15096 Make NetworkManager be smart about how frequently to scan
15097 based on its current state. Remove the UI for choosing when
15098 to scan. Scanning still may disabled completely by the user
15099 via the "Wireless Enabled" menu item.
15101 2005-09-09 Christopher Aillon <caillon@redhat.com>
15103 * gnome/applet/applet.c:
15104 Also overlay the vpn connecting icons onto the wired icon,
15107 * gnome/vpn-properties/nm-vpn-properties.glade:
15108 Clean up a few strings to use better grammar and proper casing.
15110 2005-09-08 Christopher Aillon <caillon@redhat.com>
15112 * gnome/applet/vpn-connection.c:
15113 * gnome/applet/vpn-connection.h:
15114 Add nmwa_vpn_connection_is_activating ()
15116 * gnome/applet/applet.c:
15117 * gnome/applet/applet.h:
15118 * gnome/applet/icons/nm-vpn-connecting*.png:
15119 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15120 the user know something's happening between clicking the VPN item and it
15121 actually being connected.
15123 2005-09-07 Christopher Aillon <caillon@redhat.com>
15125 * gnome/applet/applet-dbus-info.c: need to free attributes in the
15126 failure case as well.
15128 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
15130 * gnome/panel/eggtrayicon.[ch]:
15131 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15133 2005-09-07 Dan Williams <dcbw@redhat.com>
15135 Patch from Bill Moss <bmoss@clemson.edu>
15136 * src/applet-dbus.c
15137 - (nmwa_dbus_filter): strip whitespace from beginning
15138 and end of VPN login banner
15140 2005-09-07 Dan Williams <dcbw@redhat.com>
15142 * The great VPN Manager rewrite of 2005
15144 2005-09-07 Christopher Aillon <caillon@redhat.com>
15146 * gnome/applet/menu-items.c:
15147 * gnome/applet/nm-device.c:
15148 * gnome/applet/wireless-network.c:
15149 * gnome/libnm_glib/libnm_glib.c:
15150 * src/NetworkManagerDbusUtils.c:
15151 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15152 g_malloc0 doesn't return NULL
15154 2005-09-06 Dan Williams <dcbw@redhat.com>
15156 Patch from Tomislav Vujec <tvujec@redhat.com>
15157 * src/NetworkManagerDevice.c
15158 - (nm_get_device_by_udi): don't return a device when we
15159 actually didn't find what we were looking for
15161 2005-09-06 Christopher Aillon <caillon@redhat.com>
15163 * gnome/applet/applet-dbus-devices.c:
15164 * gnome/applet/applet-dbus-devices.h:
15165 * gnome/applet/applet-dbus.c:
15166 * src/NetworkManagerDbus.c:
15167 * src/NetworkManagerDbus.h:
15168 * src/NetworkManagerDevice.c:
15169 * src/nm-dbus-device.c:
15170 Make NM push updates about active device strength when it changes,
15171 rather than having the applet poll every 2s.
15173 2005-09-05 Christopher Aillon <caillon@redhat.com>
15175 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15176 network_device_set_strength
15178 2005-09-04 Dan Williams <dcbw@redhat.com>
15180 Patch from Bill Nottingham <notting@redhat.com>
15181 * src/NetworkManagerDevice.c
15182 - (nm_device_activation_cancel): reset the quit_activation flag
15184 2005-09-04 Dan Williams <dcbw@redhat.com>
15186 * src/nm-activation-request.c
15187 - (nm_act_request_unref): actually free the structure,
15188 which we didn't seem to be doing before
15190 2005-09-04 Dan Williams <dcbw@redhat.com>
15192 Patch from John Palmieri <johnp@redhat.com>
15193 * gnome/applet/applet-dbus-devices.c
15194 - Fix up unreffing of DBusMessage objects
15196 2005-09-04 Dan Williams <dcbw@redhat.com>
15198 Patch from John Palmieri <johnp@redhat.com>
15199 * gnome/applet/nm-device.c
15200 - (nm_device_unref): clear network_device's memory _before_ freeing it
15202 2005-09-02 Christopher Aillon <caillon@redhat.com>
15204 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15206 2005-09-02 Bill Nottingham <notting@redhat.com>
15208 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15210 2005-09-01 Dan Williams <dcbw@redhat.com>
15212 * src/NetworkManager.c
15213 - (nm_remove_device_from_list): rename to nm_remove_device
15214 - (nm_hal_device_removed): call nm_remove_device()
15216 * src/NetworkManagerDevice.c
15217 - Change the NMWirelessScanCB member 'reschedule' which
15218 wasn't used to 'force' to indicate that we need to
15219 force a scan when adding a device
15222 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15223 from the device list
15224 - (nm_dbus_nm_wake): Re-add all devices to the device list
15226 2005-09-01 Robert Love <rml@novell.com>
15228 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15229 and the check "!iface" in the error case is probably never true.
15231 2005-09-01 Dan Williams <dcbw@redhat.com>
15233 Patch from Bill Nottingham <notting@redhat.com>
15234 * src/backends/NetworkManagerRedHat.c
15235 - Add initial dialup support to Red Hat/Fedora backend
15237 2005-09-01 Dan Williams <dcbw@redhat.com>
15239 * gnome/applet/applet-dbus-devices.c
15240 - Sort both wireless networks and devices again, which got
15241 broken when removing threading
15243 2005-09-01 Christopher Aillon <caillon@redhat.com>
15245 * gnome/applet/applet.c:
15246 Only show the "Stop/Start All Wireless Devices" menuitem
15247 if we actually have wireless devices.
15249 * gnome/applet/applet-dbus-info.c:
15250 * gnome/applet/applet.c:
15251 * gnome/applet/other-network-dialog.c:
15252 * gnome/applet/vpn-password-dialog.c:
15253 Drop the gtk_dialog_run () calls in favor of connecting to
15254 "response" signals, needed now that the applet is not threaded.
15256 2005-08-31 Dan Williams <dcbw@redhat.com>
15258 Patch from Bill Moss <bmoss@clemson.edu>
15259 * src/NetworkManagerDevice.c
15260 - (nm_device_wireless_scan): fix scan timeout values
15262 2005-08-30 Dan Williams <dcbw@redhat.com>
15264 * gnome/applet/wireless-applet.glade
15265 - HIG-ify the Other Wireless Networks dialog a bit more
15266 - Fix some potential segfaults in the info dialog
15268 2005-08-30 Dan Williams <dcbw@redhat.com>
15270 * gnome/applet/applet-dbus-devices.c
15271 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15273 2005-08-30 Dan Williams <dcbw@redhat.com>
15275 * gnome/applet/applet-dbus.[ch]
15276 - Remove all the nmwa_dbus_call_method_xxxx functions since
15277 they weren't being used anyway
15279 2005-08-30 Bastien Nocera <hadess@hadess.net>
15281 * test/nmtestdevices.c: (print_usage), (main):
15282 Check the number of arguments, and fix a typo
15284 2005-08-29 Dan Williams <dcbw@redhat.com>
15286 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15287 * gnome/applet/applet.c
15288 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15290 2005-08-29 Dan Williams <dcbw@redhat.com>
15293 - Don't use threads any more. Anything that blocks
15294 (like gtk_dialog_run()) will have to get fixed up which
15295 should happen quickly. We really only had threads to make
15296 the animation smooth, and when everything got converted over
15297 to DBus Pending Calls, the need for threads kind of went away
15299 2005-08-29 Christopher Aillon <caillon@redhat.com>
15301 * gnome/applet/applet.c: Draw VPN connections as radio items
15302 since we don't yet support multiple VPNs.
15303 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15304 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15306 2005-08-29 Dan Williams <dcbw@redhat.com>
15308 Patch from j@bootlab.org
15309 - Make --without-named work
15310 - Make --with-dhcdbd work correctly
15312 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
15314 * configure.in: Added "ca" to ALL_LINGUAS.
15316 2005-08-26 Christopher Aillon <caillon@redhat.com>
15318 * Fix up VPN state handling between the applet and NetworkManager,
15319 so that the applet doesn't show a VPN as connected when one
15321 - The applet no longer has a pointer to the active VPN's
15322 name, but tracks each VPNs state individually
15323 - NM no longer has a "getActiveVPNConnection" method
15324 - NM no longer broadcasts the "VPNConnectionChange" signal
15325 - NM now broadcasts a "VPNConnectionStateChange" signal
15326 whenever the state of a VPN changes
15328 2005-08-26 Dan Williams <dcbw@redhat.com>
15330 * gnome/applet/applet-dbus-devices.c
15331 gnome/applet/applet-dbus-vpn.c
15332 - Remove calls to dbus_pending_call_ref() because we already
15333 "own" the pending call
15334 - Remove calls to dbus_pending_call_get_completed() because
15335 when we are in the callback, the pending call is completed
15338 2005-08-22 Dan Williams <dcbw@redhat.com>
15340 Patch by Bill Moss <bmoss@clemson.edu>
15341 * src/dhcp-manager/nm-dhcp-manager.c
15342 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15343 some time to send out a RELEASE if they like
15345 2005-08-22 Dan Williams <dcbw@redhat.com>
15347 Noticed by Bill Moss <bmoss@clemson.edu>
15348 * src/NetworkManagerDbus.c
15349 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15350 instead of just cancelling its activation
15352 * src/NetworkManagerDevice.c
15353 - (nm_device_deactivate): some small cleanups
15354 - (nm_device_set_user_key_for_network): deactivate the device
15355 instead of just cancelling its activation
15357 2005-08-22 Dan Williams <dcbw@redhat.com>
15359 Noticed by Bill Moss <bmoss@clemson.edu>
15360 * src/NetworkManagerDevice.c
15361 - (nm_device_wireless_scan): fix scan timeout, we were
15362 waiting way too long for scans to complete
15364 2005-08-22 Dan Williams <dcbw@redhat.com>
15366 Patch from j@bootlab.org:
15367 * src/backends/NetworkManagerDebian.c
15368 - Make the Debian backend work for static IP again
15370 2005-08-20 Christopher Aillon <caillon@redhat.com>
15372 * gnome/applet/other-network-dialog.c:
15373 The "Create New Network" and "Connect to Other Network"
15374 dialogs share alot of code, but shouldn't share a window
15375 title. Give them different ones.
15377 * gnome/applet/wireless-applet.glade:
15378 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15379 Some more minor UI tweaks.
15381 2005-08-19 Christopher Aillon <caillon@redhat.com>
15383 * gnome/applet/other-network-dialog.c:
15384 * gnome/applet/wireless-applet.glade:
15385 Also need mnemonic widgets, and underline enabled.
15387 2005-08-19 Dan Williams <dcbw@redhat.com>
15389 * vpn-daemons/vpnc/nm-vpnc-service.c
15390 - (vpnc_watch_cb): remove no-longer-relevant comment
15391 - (write_config_option): new function, helper to write
15392 config options to vpnc's stdin
15393 - (nm_vpnc_config_write): use the new helper, make the
15396 2005-08-19 Christopher Aillon <caillon@redhat.com>
15398 * gnome/applet/passphrase-dialog.c:
15399 * gnome/applet/wireless-applet.glade:
15400 Make the passphrase dialog response based, and treat
15401 responses other than OK (such as Esc, [X]) as a cancel.
15403 2005-08-18 Christopher Aillon <caillon@redhat.com>
15405 * initscript/Gentoo/NetworkManager:
15406 * initscript/RedHat/NetworkManager:
15407 * initscript/RedHat/NetworkManagerDispatcher:
15408 * initscript/SUSE/networkmanager:
15409 CVS remove these in place of .in replacements
15412 * initscript/Gentoo/NetworkManager.in:
15413 * initscript/RedHat/NetworkManager.in:
15414 * initscript/RedHat/NetworkManagerDispatcher.in:
15415 * initscript/SUSE/networkmanager.in:
15416 These scripts now are generated so they work still when
15417 NM is built using a bindir other than /usr/bin
15419 2005-08-18 Dan Williams <dcbw@redhat.com>
15421 * gnome/applet/main.c
15422 - Revert previous change for --no-session since
15423 --sm-disable does the same thing
15425 2005-08-18 Dan Williams <dcbw@redhat.com>
15427 * gnome/applet/applet-dbus-info.c
15428 - (nmi_dbus_create_error_message): new function
15429 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15430 functions. Also don't check for both device _and_ network before
15431 asking for a user's key, because we may not have gotten all our
15432 networks back from NM quite yet (due to the dbus pending calls
15433 coming in later). Fixes a hang in NM/nm-applet.
15435 * src/NetworkManagerDbus.c
15436 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15437 slightly more sane manner, even though we are still broken for
15438 certain other error conditions.
15439 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15440 to the info-daemon too
15442 * src/NetworkManagerDevice.c
15443 - Fix some debug messages to be info messages instead
15445 2005-08-18 Dan Williams <dcbw@redhat.com>
15447 * gnome/applet/main.c
15448 - Add new "--no-session" parameter that disables applet
15449 session management, ie for testing
15451 2005-08-18 Christopher Aillon <caillon@redhat.com>
15453 * gnome/applet/other-network-dialog.c:
15454 * gnome/applet/wireless-applet.glade: More mnemonics
15456 2005-08-17 Robert Love <rml@novell.com>
15458 * initscript/SUSE/networkmanager: update
15460 2005-08-17 Dan Williams <dcbw@redhat.com>
15462 * Tag NM_0_4_1_RELEASE
15464 2005-08-17 Christopher Aillon <caillon@redhat.com>
15466 * gnome/applet/applet.c: More translatable string cleanup
15469 2005-08-17 Dan Williams <dcbw@redhat.com>
15471 * gnome/applet/applet-dbus-info.c
15472 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15473 from the dbus message, which tells us to unconditionally
15474 ask the user for a new key. Otherwise, we pull the key from
15475 the keyring and return it. If we fail to get the key from the
15476 keyring, we ask the user for a new key.
15477 - (nmi_dbus_get_network_key): new function to grab the key for
15478 an essid from the keyring.
15479 - (nmi_dbus_get_network_properties): don't access the keyring here.
15480 Also, don't return any key in the dbus message.
15482 * src/NetworkManagerDbus.[ch]
15483 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15484 indicate that we unconditionally want a new key. This function
15485 is now also used to get keys from the info-daemon which are
15486 pre-stored, not just for asking the user for a new key. The
15487 "new_key" parameter indicates whether or not we wish to ask the
15488 user for a new key.
15489 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15490 info-daemon in the return message, so use NULL instead. The
15491 key will be filled in at connect time by calling
15492 nm_dbus_get_user_key_for_network()
15494 * src/NetworkManagerDevice.c
15495 - (nm_device_wireless_configure): update for "new_key" param to
15496 nm_dbus_get_user_key_for_network(). We initially set new_key
15497 to FALSE to see if we have a stored key in the info-daemon, but
15498 if the connection is unsuccessful at this stage we request a
15501 2005-08-17 Dan Williams <dcbw@redhat.com>
15503 * gnome/applet/icons/nm-no-connection.png
15504 gnome/applet/icons/nm-device-wired.png
15505 - Use Diana's new RJ45 connector icons
15507 2005-08-17 Dan Williams <dcbw@redhat.com>
15509 * src/NetworkManagerPolicy.c
15510 - (nm_policy_device_change_check): clarify switching rules if
15511 both new and old devices are valid; mainly, don't switch
15512 away from user-requested wireless connection back to a wired
15515 2005-08-17 Dan Williams <dcbw@redhat.com>
15517 * gnome/applet/Makefile.am
15518 - Relocate the applet to /usr/bin since it is no longer
15519 executed by anything, but directly by the user
15521 2005-08-17 Dan Williams <dcbw@redhat.com>
15523 Patch from Bill Moss <bmoss@clemson.edu>
15525 * gnome/applet/applet-dbus-info.[ch]
15526 - (nmi_save_network_info): save timestamp for network if it
15527 was a change requested by the user
15528 - (nmi_dbus_update_network_info): get user_requested from dbus
15529 message and pass to nmi_save_network_info()
15531 * gnome/applet/applet.c
15532 - (nmwa_update_network_timestamp): remove
15533 - (nmwa_menu_item_activate): don't set timestamp on networks
15534 here, only after a successful connect in nmi_save_network_info()
15536 * src/NetworkManagerDbus.[ch]
15537 - (nm_dbus_update_network_info): pass user_requested into the
15540 * src/NetworkManagerPolicy.c
15541 - (nm_policy_activation_finish): pass user_requested to
15542 nm_dbus_update_network_info()
15544 2005-08-16 Robert Love <rml@novell.com>
15546 * gnome/applet/applet.c: Better "Dial Up" menu item.
15548 2005-08-16 Robert Love <rml@novell.com>
15550 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15551 "Connection Information" menu item.
15553 2005-08-16 Dan Williams <dcbw@redhat.com>
15555 Patch from j@bootlab.org
15556 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
15558 * configure.in: allow specifying the path to dhcdbd
15560 2005-08-16 Robert Love <rml@novell.com>
15562 Patch from j@bootlab.org
15563 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
15564 src/backends/interface_parser.h: Debian dialup support.
15566 2005-08-16 Christopher Aillon <caillon@redhat.com>
15568 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
15569 * gnome/applet/applet.c: Add some mnemonics for VPNC
15571 * vpn-daemons/.cvsignore: fix this up a little bit
15573 2005-08-16 Robert Love <rml@novell.com>
15575 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
15578 2005-08-16 Christopher Aillon <caillon@redhat.com>
15580 * gnome/applet/applet.c: Split markup out of translatable strings
15581 and clean up logic a little bit. (fixes #309012)
15583 2005-08-15 Christopher Aillon <caillon@redhat.com>
15585 * gnome/vpn-properties/nm-vpn-properties.c:
15586 * gnome/vpn-properties/nm-vpn-ui-interface.h:
15587 * vpn-daemons/vpnc/properties/nm-vpnc.c:
15588 Makeshift fix to remove newlines from translatable strings.
15589 Note that we now return an allocated string, so callers of
15590 get_confirmation_details () must now call g_free () on the
15591 result. (fixes #309033).
15593 2005-08-12 Robert Love <rml@novell.com>
15595 * gnome/applet/applet-dbus.c: remove newlines from translatable
15596 strings--not needed here anyway. (fix b.g.o #309011)
15597 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
15599 2005-08-11 Robert Love <rml@novell.com>
15601 * gnome/applet/applet.c: mark string as translatable.
15603 2005-08-11 Robert Love <rml@novell.com>
15605 * initscript/SUSE/networkmanager: update.
15607 2005-08-11 Dan Williams <dcbw@redhat.com>
15609 * src/nm-dhcp-manager.c
15610 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
15611 an gateway returned from DHCP, try to use the address of the DHCP
15612 server as the gateway instead. Found by Ralf Ertzinger.
15614 2005-08-10 Robert Love <rml@novell.com>
15616 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
15617 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
15619 2005-08-10 Dan Williams <dcbw@redhat.com>
15621 Patch from Bill Moss <bmoss@clemson.edu>
15622 * Consolidate writes of access point information updates to the info daemon
15623 so that we only do it when the connection to the access point was
15624 successful. Also consolidates updates to GConf in the Gnome applet.
15626 * src/nm-netlink-monitor.c
15627 - Silence compile warning when calling g_object_new()
15629 2005-08-08 Dan Williams <dcbw@redhat.com>
15631 Patch from Steev <steev@steev.net>:
15632 * src/backends/NetworkManagerGentoo.c
15633 - Stub new dialup backend functions
15635 2005-08-08 Dan Williams <dcbw@redhat.com>
15637 Patch from Colin Slater:
15638 * src/backends/NetworkManagerGentoo.c
15639 - (nm_system_update_dns): Fix exit status check for restarting
15642 2005-08-05 Robert Love <rml@novell.com>
15644 * NetworkManager.h,
15645 gnome/applet/applet-dbus-devices.c,
15646 gnome/applet/applet-dbus-devices.h,
15647 gnome/applet/applet-dbus.c,
15648 gnome/applet/applet.c,
15649 gnome/applet/applet.h,
15650 src/NetworkManager.c,
15651 src/NetworkManagerMain.h,
15652 src/NetworkManagerSystem.h,
15653 src/backends/NetworkManagerRedHat.c,
15654 src/backends/NetworkManagerSuSE.c,
15655 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
15657 2005-08-05 Robert Love <rml@novell.com>
15659 * gnome/applet/other-network-dialog.c: default the adhoc network to the
15660 machine's hostname to make adhoc creation idiot-proof.
15662 2005-08-04 Robert Love <rml@novell.com>
15664 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
15667 2005-08-04 Dan Williams <dcbw@redhat.com>
15669 * gnome/applet/applet-dbus-info.c
15670 gnome/applet/applet-dbus-info.h
15671 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
15672 to store key, key type, and auth method rather than just auth method
15673 - (nmi_dbus_update_network_info): new function
15674 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
15676 * gnome/applet/passphrase-dialog.c
15677 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
15678 of saving the info ourselves
15680 * gnome/libnm_glib/libnm_glib.c
15681 - Remove the stupid version check for dbus
15683 * src/NetworkManagerAP.c
15684 src/NetworkManagerAP.h
15685 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
15687 * src/NetworkManagerDbus.c
15688 src/NetworkManagerDbus.h
15689 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
15690 more than just the auth method
15692 * src/NetworkManagerDevice.c
15693 - Update network info at the appropriate times
15695 2005-07-29 Ray Strode <rstrode@redhat.com>
15697 * src/NetworkManager.c (nm_info_handler): don't use input as format
15698 string (Spotted by Ian Jackson).
15700 2005-07-27 Dan Williams <dcbw@redhat.com>
15704 - Random cleanups of spacing
15706 * gnome/applet/applet.h
15707 gnome/applet/other-network-dialog.c
15708 gnome/applet/passphrase-dialog.c
15709 - Conslidate usage of NMWAEncryptionKeyTypes enum
15711 Patch from Bill Moss:
15712 - Make Other Wireless Networks work again with encryption keys
15714 2005-07-26 Dan Williams <dcbw@redhat.com>
15716 Patch from Steev <steev@steev.net>:
15717 * src/backends/NetworkManagerGentoo.c
15718 src/backends/Makefile.am
15719 - Fix up Gentoo backend
15721 2005-07-26 Robert Love <rml@novell.com>
15723 * src/backends/NetworkManagerSuSE.c: misc. cleanup
15725 2005-07-25 Robert Love <rml@novell.com>
15727 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
15728 in the same group as the wireless networks, since they are all
15729 mutually exclusive.
15731 2005-07-24 Ray Strode <rstrode@redhat.com>
15733 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
15734 remove unneeded NULL arg from g_object_new(). Any
15735 warnings caused by not having the extra NULL are just a
15736 result of a bug in glib 2.7.0 - 2.7.2.
15738 2005-07-22 Robert Love <rml@novell.com>
15740 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
15742 2005-07-22 Robert Love <rml@novell.com>
15744 * src/nm-netlink-monitor.c: g_object_new() needs at least three
15745 parameters (gcc 4.0.2 warning fix).
15747 2005-07-18 Robert Love <rml@novell.com>
15749 Suggested by Aaron Bockover (abockover@novell.com)
15750 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
15752 * gnome/applet/passphrase-dialog.c: ditto
15753 * gnome/applet/wireless-applet.glade: ditto
15755 2005-07-13 Dan Williams <dcbw@redhat.com>
15757 Patch from Ray Strode <halfline@gmail.com>
15758 * vpn-daemons/vpnc/nm-vpnc-service.c
15759 - Don't let vpnc daemonize, fixes some races with PID file reading
15761 2005-07-13 Dan Williams <dcbw@redhat.com>
15763 Patch from Ray Strode <halfline@gmail.com>
15764 * Random cleanups for strict CFLAGS
15766 2005-07-07 Dan Williams <dcbw@redhat.com>
15768 Patch from Derek Atkins <warlord@MIT.EDU>
15769 * src/nm-dbus-net.c:
15770 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
15772 2005-07-07 Dan Williams <dcbw@redhat.com>
15774 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
15775 * src/backends/NetworkManagerGentoo.c
15776 - Gentoo backend Static IP nameserver fixes
15777 - General Gentoo backend goodness
15779 2005-07-07 Dan Williams <dcbw@redhat.com>
15781 Patch from Bastien Nocera:
15782 * gnome/applet/applet.c
15783 - Fix up error reporting when icons or glade files are missing
15785 2005-07-07 Robert Love <rml@novell.com>
15787 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
15788 are not any VPN connections above it.
15790 2005-07-07 Robert Love <rml@novell.com>
15792 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
15794 2005-07-05 Robert Love <rml@novell.com>
15796 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
15799 2005-07-05 Robert Love <rml@novell.com>
15801 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
15802 on wired or unencrypted wireless.
15804 2005-07-01 Robert Love <rml@novell.com>
15806 * src/NetworkManagerSystem.c: Print the error via strerror().
15808 2005-06-30 Robert Love <rml@novell.com>
15810 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
15811 then exit if the glade file is not found. currently the application
15814 2005-06-30 Robert Love <rml@novell.com>
15816 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
15817 explicitly up all interfaces on wake from sleep.
15819 2005-06-30 Robert Love <rml@novell.com>
15821 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
15822 with information about the currently active connection.
15823 * gnome/applet/applet.h: (ditto)
15824 * gnome/applet/wireless-applet.glade: (ditto), new file
15826 2005-06-30 Robert Love <rml@novell.com>
15828 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
15829 * src/nm-dbus-nm.c: print when we sleep and wake up.
15830 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
15831 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
15832 in /sbin unless D-BUS is, folks).
15833 * README: update to reflect nm-applet replacing NetworkManagerInfo.
15835 2005-06-27 Robert Love <rml@novell.com>
15837 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
15840 2005-06-27 Robert Love <rml@novell.com>
15842 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
15845 2005-06-26 Robert Love <rml@novell.com>
15847 * src/NetworkManagerDevice.c: be specific about which device in
15850 2005-06-23 Adam Weinberger <adamw@gnome.org>
15852 * src/nm-netlink-monitor.c: correct spelling error.
15854 2005-06-23 Robert Love <rml@novell.com>
15856 * gnome/applet/applet-dbus-info.c: gnome keyring support!
15857 * gnome/applet/passphrase-dialog.c: more of that keyring!
15859 2005-06-23 Robert Love <rml@novell.com>
15861 * configure.in: remove extraneous GNOMEKEYRING directives.
15862 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
15863 * gnome/applet/applet.c: nmwa_icons_init: make style local.
15864 * gnome/applet/passphrase-dialog.c: whitespace.
15866 2005-06-23 Robert Love <rml@novell.com>
15868 * src/NetworkManagerDevice.c: division in assignment was flipped.
15870 2005-06-23 David Zeuthen <david@fubar.dk>
15872 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
15873 signal to the child to indicate that we got what we wanted when we
15874 see two new-lines right after each other.
15875 (nmwa_vpn_request_password): Pass a structure with several members
15876 instead of just the passwords
15878 2005-06-23 Dan Williams <dcbw@redhat.com>
15880 * src/NetworkManager.c
15881 src/NetworkManagerMain.h
15882 - (nm_get_hal_ctx): new function, move Hal initialization code here
15883 - (nm_hal_init): new function, init libhal context then add devices
15884 - (nm_hal_deinit): new function, clean up libhal context
15885 - (nm_data_free): Move Hal cleanup here
15886 - (main): check whether Hal is running, and if so, get a list of
15887 network devices from it
15889 * src/NetworkManagerDbus.c
15890 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
15891 and when it appears, get a list of network devices from it. If
15892 Hal goes away, clean up the libhal context
15894 2005-06-22 Robert Love <rml@novell.com>
15896 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
15897 permissions of scripts before executing.
15899 2005-06-21 Robert Love <rml@novell.com>
15901 * initscript/SUSE/networkmanager: update.
15902 * src/backends/NetworkManagerSuSE.c: cleanup.
15904 2005-06-21 Robert Love <rml@novell.com>
15906 * gnome/applet/applet.c: use menu mnemonics.
15907 * gnome/applet/menu-items.c: (ditto)
15909 2005-06-21 Robert Love <rml@novell.com>
15911 * applet/applet-dbus-devices.c: mark non-static functions static.
15912 * applet/applet-dbus-vpn.c: (ditto)
15913 * applet/applet.c: (ditto)
15914 * applet/nm-device.h: (ditto)
15915 * applet/other-network-dialog.c: (ditto)
15916 * applet/passphrase-dialog.c: (ditto)
15917 * NetworkManager.c: (ditto)
15918 * NetworkManagerDbus.c: (ditto)
15919 * NetworkManagerDevice.c: (ditto)
15920 * NetworkManagerPolicy.c: (ditto)
15921 * NetworkManagerUtils.c: (ditto)
15922 * NetworkManagerWireless.c: (ditto)
15923 * NetworkManagerWireless.h: (ditto)
15924 * nm-netlink-monitor.c: (ditto)
15925 * applet/applet-dbus-info.c: (ditto), add FIXME's.
15926 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
15927 * autoip.c: include autoip.h.
15928 * autoip.h: new file. define get_autoip().
15929 * nm-netlink-monitor.h: define nm_netlink_close_connection().
15930 * NetworkManagerDbus.h: remove duplicate definitions.
15932 2005-06-20 Robert Love <rml@novell.com>
15934 * Makefile.am: Add missing intltool-foo.in generated files to
15935 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
15936 with the start of stuff to cleanup on 'distclea'.
15937 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
15938 stuff right and 'distcheck' works.
15939 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
15940 we keep it, we need to add all of examples/* to EXTRA_DIST and do
15941 Makefile.am for each. And systray/Makefile needs to be redone.
15943 2005-06-19 Dan Williams <dcbw@redhat.com>
15945 * src/NetworkManagerDevice.c
15946 - (nm_device_wireless_process_scan_results): scan every 20s when
15947 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
15949 2005-06-19 Dan Williams <dcbw@redhat.com>
15951 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
15953 2005-06-18 Ray Strode <rstrode@redhat.com>
15955 * src/nm-netlink-monitor.c
15956 (nm_netlink_monitor_event_handler): check for the presence
15957 of either error condition not both.
15959 (nm_netlink_monitor_error_handler): emit error signal if
15962 (nm_netlink_monitor_event_handler),
15963 (nm_netlink_monitor_error_handler),
15964 (nm_netlink_monitor_disconnect_handler): if an
15965 assertion fails disconnect the event handler to prevent
15968 * src/nm-netlink-monitor.h: add new error condition
15969 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
15971 2005-06-18 Ray Strode <rstrode@redhat.com>
15973 * src/nm-netlink-monitor.c
15974 (nm_netlink_monitor_event_handler): remove bogus < 0
15975 check on unsigned value and return early if the kernel
15976 didn't send any bytes.
15978 2005-06-17 Robert Love <rml@novell.com>
15980 * initscript/SUSE/networkmanager: Change the Provides and default
15983 2005-06-16 Dan Williams <dcbw@redhat.com>
15985 Patch from Robert Love:
15986 * gnome/applet/applet.c
15987 - Beautify some applet menu item names
15989 2005-06-17 David Zeuthen <davidz@redhat.com>
15991 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
15992 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
15993 Also add new methods can_export, import_file and export.
15995 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
15998 * gnome/vpn-properties/nm-vpn-properties.c:
15999 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16000 nm-vpn-ui-interface.h.
16001 (update_edit_del_sensitivity): Also update "Export" sensitivity
16002 (add_vpn_connection): Also add new SVC_NAME column
16003 (import_settings): New function
16004 (retrieve_data_from_selected_connection): New function
16005 (edit_cb): Use retrieve_data_from_selected_connection to simplify
16007 (export_cb): New function
16008 (init_app): Also setup the "export" widget
16009 (main): Support the --import-service and --import-file commandline
16012 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16015 2005-06-16 Dan Williams <dcbw@redhat.com>
16017 Patch from Robert Love:
16018 * gnome/applet/menu-items.c
16019 - (network_menu_item_new): pass -1 as wireless network
16020 menu items height size request rather than ascent / 2
16022 2005-06-16 Dan Williams <dcbw@redhat.com>
16024 * Clean up wording in Wireless Scan Methods menu items and constants
16026 2005-06-16 Robert Love <rml@novell.com>
16029 - remove gtkcell* files
16031 2005-06-15 Dan Williams <dcbw@redhat.com>
16033 Patch from Robert Love: make the applet stetic
16035 * gnome/applet/Makefile.am
16036 - Don't compile the gtkcellview and gtkcellrendererprogress files
16038 * gnome/applet/gtkcellview.h
16039 gnome/applet/gtkcellview.c
16040 gnome/applet/gtkcellrendererprogress.h
16041 gnome/applet/gtkcellrendererprogress.c
16044 * gnome/applet/menu-items.c
16045 - Progress bars are 5:1 size ratio
16046 - Use GTK progress bars rather than internal ones
16048 2005-06-15 Dan Williams <dcbw@redhat.com>
16050 Patch from Robert Love:
16051 * initscript/SUSE/networkmanager
16054 2005-06-15 Dan Williams <dcbw@redhat.com>
16056 * src/backends/NetworkManagerSuSE.c
16057 src/backends/NetworkManagerRedHat.c
16058 src/backends/NetworkManagerDebian.c
16059 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16061 2005-06-15 Dan Williams <dcbw@redhat.com>
16063 * src/backends/NetworkManagerDebian.c
16064 - Add nm_system_device_get_use_dhcp() to debian backend
16066 Patch from Kay Sievers:
16067 * src/backends/NetworkManagerSuSE.c
16068 - Update debian backend for static IP nameservers
16070 * src/NetworkManagerDevice.c
16071 - Actually set the device to use static IP or DHCP rather
16074 2005-06-15 Dan Williams <dcbw@redhat.com>
16076 Patch from Thom May:
16077 * src/backends/NetworkManagerDebian.c
16078 - Update debian backend for static IP nameservers
16080 2005-06-15 Dan Williams <dcbw@redhat.com>
16082 Patches from Robert Love:
16083 * gnome/applet/wireless-applet.glade
16084 - Tighten up wording
16086 * src/NetworkManagerDevice.c
16087 - Remove misplaced ';'
16090 initscript/Makefile.am
16091 initscript/SUSE/Makefile.am
16092 initscript/SUSE/networkmanager
16093 - Add SUSE initscript
16095 2005-06-12 David Zeuthen <davidz@redhat.com>
16097 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16099 * gnome/vpn-properties/nm-vpn-properties.glade: New file
16101 * gnome/vpn-properties/nm-vpn-properties.c: New file
16103 * gnome/vpn-properties/Makefile.am: New file
16105 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16108 * src/vpn-manager/nm-vpn-manager.c
16109 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16110 instead of just a single one
16112 * src/vpn-manager/nm-dbus-vpn.c:
16113 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16115 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16117 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
16118 Change the interface here to give a list of passwords. Also, don't
16119 require username, but do require service
16121 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16122 the binary for the auth-dialog and use that instead of putting up a
16123 dialog asking for a single password
16125 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16126 however do remember the service
16128 * gnome/applet/main.c (main): Setup i18n
16130 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16131 connection to '%s'" to the tooltip if we are connected using VPN
16132 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16133 key to determine whether we the auth-dialog needs to
16134 reprompt. Also cope with the fact that the auth-dialog now returns
16135 an array of passwords.
16136 (nmwa_menu_configure_vpn_item_activate): New handler for
16137 "Configure VPN..." menu item
16138 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16139 (is_vpn_available): New function to determine if we got any
16140 NM-compatible VPN software installed
16141 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16142 items only if we have NM-compatible VPN software installed
16143 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16144 logic for detecting when VPN connections are removed
16146 * gnome/applet/applet-dbus.h: Removed the prototypes for
16147 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16148 since these are defined elsewhere
16150 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16151 function used to keep track of whether the last attempt succeded
16152 (nmwa_dbus_filter): Update last_attempt according to whether the
16153 VPN connection could be established or not
16155 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
16156 Change prototype to take an array of passwords, not just a single
16159 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16160 update service, not user
16161 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16162 dbus_active_vpn_name is not NULL before using it
16163 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16164 string array instead of assuming a single password
16166 * gnome/applet/applet-dbus-info.c:
16167 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16168 user name; don't read from gconf
16170 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
16173 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16175 * configure.in: Add checks for gmodule-2.0.
16176 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16177 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16178 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
16181 * vpn-daemons/Makefile.am: Removed
16183 * vpn-daemons/README: New file to describe extensions points for VPN
16186 2005-06-10 Dan Williams <dcbw@redhat.com>
16188 * src/backends/NetworkManagerRedHat.c
16189 - (get_current_profile_name): new function, grab current network profile name from
16190 /etc/sysconfig/network
16191 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16192 update an IP4 Config structure's settings from it
16193 - (nm_system_device_get_system_config): if we're using static IP on this device,
16194 get DNS info from current network profile
16196 2005-06-09 Dan Williams <dcbw@redhat.com>
16198 Patch from Robert Love:
16199 * src/NetworkManagerDevice.c
16200 src/NetworkManagerUtils.c
16201 - 64-bit build fixes
16203 2005-06-09 Dan Williams <dcbw@redhat.com>
16205 Patch from Kay Sievers and Robert Love:
16207 src/backends/Makefile.am
16208 src/backends/NetworkManagerSuSE.c
16211 2005-06-09 Dan Williams <dcbw@redhat.com>
16214 - Add NMWirelessScanMethod enum for scan methods
16216 * gnome/applet/applet-dbus-devices.c
16217 - (nmwa_dbus_update_scanning_enabled_cb): remove
16218 - (nmwa_dbus_update_scanning_enabled): remove
16219 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16220 since it got removed
16221 - (nmwa_dbus_enable_scanning): remove
16223 * gnome/applet/applet-dbus-info.c
16224 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16225 update the wireless scanning method from NMI
16226 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16227 method value to NetworkManager
16228 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16230 * gnome/applet/applet-dbus-info.h
16231 - Add prototype for nmi_dbus_signal_update_scan_method
16233 * gnome/applet/applet.c
16234 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16235 Wireless Scanning menu based on current wireless scan method
16236 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16237 signal for Wireless Scanning menu items, tell NetworkManager the new method
16238 and update our menu items to make sure the right one is checked
16239 - (nmwa_set_scanning_enabled_cb): remove
16240 - (nmwa_context_menu_update): remove references to pause_scanning_item
16241 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16243 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16245 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16246 so we get notified of preference values too
16247 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16249 * gnome/applet/applet.h
16250 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16251 - Add wireless scan method member to applet data
16252 - Remove pause_scanning_item, add Wireless Scanning submenu
16254 * src/NetworkManager.c
16255 - (nm_data_new): default to NM_SCAN_METHOD_ON
16256 - (main): grab scanning method from NMI if we can
16258 * src/NetworkManagerDbus.c
16259 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16260 nm_dbus_update_wireless_scan_method()
16261 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16263 - (nm_dbus_nmi_is_running): redundant function, removed
16264 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16265 when NMI comes back
16267 * src/NetworkManagerDevice.c
16268 - (nm_device_is_activated): return TRUE if the device is activated
16269 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16270 and we are activated
16273 - (nm_dbus_nm_set_scanning_enabled): removed
16274 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16275 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16277 2005-06-09 Dan Williams <dcbw@redhat.com>
16280 src/vpn-manager/nm-vpn-service.c
16281 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16283 2005-05-27 Dan Williams <dcbw@redhat.com>
16285 * vpn-daemons/vpnc/nm-vpnc-service.c
16286 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16287 Should fix the bug where the VPN connection terminates the first time.
16289 2005-05-20 Dan Williams <dcbw@redhat.com>
16292 - Differentiate VPN config signals between bad VPN config options
16295 * gnome/applet/applet-dbus-info.h
16296 - Add prototypes for wireless network and vpn connection update functions
16298 * gnome/applet/applet-dbus.c
16299 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16301 * gnome/applet/applet.c
16302 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16304 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16305 propogation to NetworkManager
16306 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16307 notify propogation to NetworkManager
16309 * src/NetworkManagerDbus.c
16310 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16311 are updating so a network can be removed from it if necessary
16313 * src/vpn-manager/nm-vpn-manager.c
16314 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16316 * vpn-daemons/vpnc/nm-vpnc-service.c
16317 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16318 - (nm_vpnc_dbus_signal_launch_failed): remove
16319 - (nm_vpnc_dbus_signal_connect_failed): remove
16320 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16321 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16322 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16323 for new generalized error signal function, remove config file stuff
16324 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16325 we can write configuration options to it
16326 - (nm_vpnc_config_file_generate): removed
16327 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16328 - (nm_vpnc_config_options_validate): validate the config options we receive
16329 from NetworkManager to block potential exploits
16330 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16332 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16335 2005-05-16 Dan Williams <dcbw@redhat.com>
16337 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16338 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16341 2005-05-16 Dan Williams <dcbw@redhat.com>
16343 Patch from Tomislav Vujec <tvujec@redhat.com>
16344 * gnome/applet/applet-dbus-info.c
16345 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16346 GConf and pass them to NetworkManager. New key is 'routes' under
16347 the VPN connection, and should be a string list
16349 * src/NetworkManagerSystem.c
16350 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16351 set them on the device when we set the rest of the VPN config. Ensure
16352 they are in the correct format since they are passed directly to the
16355 * src/backends/NetworkManagerRedHat.c
16356 src/backends/NetworkManagerDebian.c
16357 - (nm_system_device_add_route_via_device_with_iface): new function
16359 * src/vpn-manager/nm-dbus-vpn.c
16360 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16362 * src/vpn-manager/nm-vpn-manager.c
16363 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16364 them into the IP4 config functions
16366 2005-05-15 Dan Williams <dcbw@redhat.com>
16368 From Filip Miletic:
16372 - Serbian translation added
16374 2005-05-15 Dan Williams <dcbw@redhat.com>
16376 * dispatcher-daemon/NetworkManagerDispatcher.c
16377 - (main): sync arguments with NetworkManager and the applet, now use
16378 "--no-daemon" rather than "daemon=no"
16379 - (nmd_print_usage): Fix script path in usage message
16381 2005-05-15 Dan Williams <dcbw@redhat.com>
16383 * src/NetworkManagerDevice.[ch]
16384 src/NetworkManagerPolicy.c
16385 src/NetworkManager.c
16387 - Remove the "just_added" parameter from nm_device_deactivate(). We no
16388 longer send the DeviceNoLongerActive signal unconditionally, but only
16389 when the device is actually active.
16391 * dispatcher-daemon/NetworkManagerDispatcher.c
16392 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16393 and simplify the logic
16394 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16395 we free it later on
16397 * initscript/RedHat/Makefile.am
16398 initscript/RedHat/NetworkManagerDispatcher
16399 - Add initscript for NetworkManagerDispatcher
16402 Patch from Bill Moss:
16403 * dispatcher-daemon/NetworkManagerDispatcher.c
16404 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16406 * src/NetworkManagerDbus.c
16407 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
16408 and DeviceNowActive gets signaled, then the device has a new IP address
16409 anyway. There's no need for a separate signal.
16411 * src/NetworkManagerDevice.c
16412 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16414 * src/NetworkManagerPolicy.c
16415 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16416 activates successfully. This kind of went missing when I reworked the
16419 2005-05-15 Dan Williams <dcbw@redhat.com>
16422 - Check for dhcdbd and error if its not found
16424 * src/dhcp-manager/Makefile.am
16425 src/dhcp-manager/nm-dhcp-manager.c
16426 - Use path to dhcdbd that configure found
16428 2005-05-14 Dan Williams <dcbw@redhat.com>
16430 * gnome/applet/nm-device.c
16431 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16432 sort wireless networks alphabetically
16434 * gnome/applet/applet-dbus-devices.c
16435 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16436 before copying them over to the GUI
16438 2005-05-14 Dan Williams <dcbw@redhat.com>
16440 * src/NetworkManager.c
16441 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16442 fixes a deadlock on shutdown with a VPN connection active. This function locks
16443 the device list, as does nm_get_active_device() which is called from
16444 nm_vpn_manager_deactivate_vpn_connection().
16446 2005-05-14 Dan Williams <dcbw@redhat.com>
16449 - Add signals for VPN Launch and Connect failures
16451 * gnome/applet/applet-dbus.c
16452 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16454 * gnome/applet/applet.c
16455 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16456 function to handle all VPN failure messages
16457 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
16458 function to hanlde all VPN failure messages
16459 - (show_warning_dialog): work around focus-stealing prevention
16461 * gnome/applet/other-network-dialog.c
16462 gnome/applet/passphrase-dialog.c
16463 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16464 problem where it never enabled for ASCII Key and Hex Key types
16466 * gnome/applet/wireless-applet.glade
16467 - Add window title to Other Wireless Network Dialog
16469 * src/vpn-manager/nm-dbus-vpn.c
16470 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16471 function to handle all VPN failure messages
16473 * src/vpn-manager/nm-vpn-manager.c
16474 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16476 * vpn-daemons/vpnc/nm-vpnc-service.c
16477 - (nm_vpnc_dbus_signal_launch_failed): new function
16478 - (nm_vpnc_dbus_signal_connect_failed): new function
16479 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16480 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16481 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16482 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16484 2005-05-11 Dan Williams <dcbw@redhat.com>
16486 * vpn-daemons/vpnc/nm-vpnc-service.c
16487 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16488 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16489 file exists before trying to write it out.
16491 2005-05-10 Dan Williams <dcbw@redhat.com>
16493 * gnome/applet/applet-dbus-device.c
16494 - (nmwa_dbus_set_device): remove check for valid key and key type, which
16495 prevented just entering ESSID and leaving key and key type up to
16496 NetworkManager (which should have them already cached)
16498 2005-05-08 Dan Williams <dcbw@redhat.com>
16500 * src/NetworkManagerPolicy.c
16501 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16502 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16503 fix a situation where NM is told to terminate and the device stops activation,
16504 but the main thread isn't aware of that because it would never have run
16505 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16508 * src/NetworkManagerDevice.c
16509 - (nm_device_probe_wired_link_state): cosmetic fixes
16510 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16511 we've failed to activate or been canceled.
16512 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16514 2005-05-08 Dan Williams <dcbw@redhat.com>
16516 * src/NetworkManagerWireless.c
16517 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16518 value of WEXT quality structures, and add a debug message when we cannot
16519 determine any quality % at all
16521 2005-05-08 Dan Williams <dcbw@redhat.com>
16523 * src/dhcp-manager/nm-dhcp-manager.c
16524 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16527 2005-05-06 Dan Williams <dcbw@redhat.com>
16529 * gnome/applet/applet-dbus-device.c
16530 gnome/applet/applet-dbus-info.c
16531 gnome/applet/applet-dbus.c
16532 gnome/applet/applet.c
16533 gnome/applet/applet.h
16534 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16536 * gnome/applet/applet-dbus.c
16537 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16538 so we notice when wired device's carriers come back on. Should
16539 fix issue with wired devices being grayed out even if the cable
16540 is in, for devices that support carrier detection.
16542 * gnome/applet/applet.c
16543 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16544 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16546 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16547 Fix situation where applet wouldn't respond to menu selections
16549 * src/NetworkManager.c
16550 src/NetworkManagerDevice.c
16551 src/NetworkManagerDbus.c
16552 src/NetworkManagerDbus.h
16553 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
16555 * src/NetworkManagerDbus.c
16556 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
16557 Remove, no longer used or relevant
16558 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
16559 - (nm_dbus_schedule_device_status_change_signal): add
16561 * src/NetworkManagerDevice.c
16562 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
16563 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
16564 ie don't deactivate them unless explicitly told to by the user. Also send
16565 CARRIER_OFF / CARRIER_ON signals when link changes
16566 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
16567 Don't print error message when device is no longer around
16568 - (nm_device_deactivate): kill any current DHCP process attached to this device,
16569 not just during activation
16571 * src/NetworkManagerPolicy.c
16572 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
16573 auto-device-selection.
16574 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
16576 * src/NetworkManagerSystem.c
16577 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
16578 is no longer present (Bill Moss)
16580 * src/backends/shvar.c
16581 - (svOpenFile): Open read-only to make SELinux happy
16583 * src/backends/NetworkManagerRedHat.c
16584 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
16585 the path to the ifcfg-* files
16587 2005-05-05 Dan Williams <dcbw@redhat.com>
16589 * Expose activation stages to NetworkManager clients, like the applet
16590 * Add Diana's progress icons to the applet, cued off NM activation stage
16591 * Use more descriptive tooltips, cued off NM activation stage
16593 2005-05-05 Ray Strode <rstrode@redhat.com>
16595 * src/nm-netlink-monitor.c:
16596 - Use clear_event_source instead of g_nullify_pointer() again.
16598 2005-05-05 Dan Williams <dcbw@redhat.com>
16600 * gnome/applet/main.c
16601 - Fix session management so the applet is actually managed now
16603 * gnome/applet/passphrase-dialog.c
16604 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
16606 2005-05-05 Dan Williams <dcbw@redhat.com>
16608 Patch from Bill Moss:
16609 * gnome/libnm_glib/libnm_glib.c
16610 - Fix for dbus-0.33
16612 2005-05-05 Dan Williams <dcbw@redhat.com>
16614 Suggestion from Bill Moss:
16615 * src/NetworkManagerSystem.c
16616 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
16619 * src/NetworkManager.c
16620 - (nm_data_free): move destruction of the various managers after
16621 release of device list, because deactivating and freeing a device
16622 requires at least the named manager
16623 - (nm_poll_and_update_wireless_link_state):
16624 (nm_device_link_activated):
16625 (nm_device_link_deactivated):
16626 don't grab the device list lock when actually updating device
16627 link status or strength, since nm_device_set_link_active()
16628 needs to call nm_get_active_device(), which also locks the device list.
16630 * src/NetworkManagerDevice.c
16631 - (nm_device_set_link_active): if a device's link switches from off->on,
16632 and it's wired, and the active device is wireless (or there is no
16633 active device), activate the new device whose link just came on
16634 - (link_to_specific_ap): try to smooth over intermittency in wireless links
16635 my only calling the link to the current ap "failed" when more than 2
16636 consecutive link checks have failed
16638 2005-05-04 Dan Williams <dcbw@redhat.com>
16640 * src/NetworkManagerDevice.c
16641 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
16642 but let link_to_specific_ap() do the locking where it needs
16644 Patch from Bill Moss:
16645 * src/NetworkManagerSystem.c
16646 - Set MTU of VPN devices to 1412
16648 2005-05-04 Dan Williams <dcbw@redhat.com>
16650 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
16652 * Fix some holes in device activation and retaining the currently connected
16655 2005-05-03 Dan Williams <dcbw@redhat.com>
16657 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
16658 This means that NetworkManager shouldn't have DHCP issues anymore. It also
16659 means you need dhcdbd, which you can get here (get the latest one):
16661 http://people.redhat.com/jvdias/dhcdbd/
16663 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
16664 interface as dhcdbd.
16666 * Rewrite device activation to facilitate the new DHCP infrastructure and
16667 future improvements. Its now "activation request" based, ie there is a single
16668 activation request composed of the device, access point, and other info which
16669 follows the entire activation process. There are 5 stages of the activation
16670 process which correspond to:
16672 1) Device preparation
16673 2) Device configuration (bring it up, set ESSID/Key/etc)
16674 3) IP Config Start (fire off DHCP if we're using it)
16675 4) IP Config Get (grab config from DHCP or static config files)
16676 5) IP Config Commit (set device's IP address, DNS, etc)
16678 Note that there is no longer a "scanning" step, since the access point must
16679 be known _before_ activation starts. If the access point drops out or does
16680 not exist for some reason, the entire activation process fails and must be
16681 restarted for a different access point or device.
16683 Patch from Bill Moss:
16684 * gnome/applet/applet.c
16685 - Fix type of vpn_failure dialog -> vpn_banner dialog
16687 2005-04-27 Dan Williams <dcbw@redhat.com>
16689 * gnome/applet/applet-dbus-vpn.c
16690 gnome/applet/applet.c
16691 gnome/applet/applet.h
16692 - Fix up active VPN handling so that we reliably know when a VPN
16693 connection has been deactivated
16695 * src/vpn-manager/nm-vpn-manager.c
16696 - Remove duplicate VPNConnectionChange signal
16698 2005-04-27 Dan Williams <dcbw@redhat.com>
16700 Patch from Peter Jones:
16701 * Remove usage of varargs to fix crashes on PPC (RH #154336)
16703 Patch from Bill Moss:
16704 * src/NetworkManagerSystem.c
16705 - Fix checking of return value from ioctl()
16707 2005-04-27 Dan Williams <dcbw@redhat.com>
16709 * Fix choosing of wireless networks and "Other wireless network..." from the applet
16710 * Warn and exit if icons cannot be found
16712 2005-04-27 Dan Williams <dcbw@redhat.com>
16714 Patch from Tom Parker:
16715 * Update debian backend
16717 2005-04-27 Dan Williams <dcbw@redhat.com>
16719 * Merge the applet and the info-daemon, and move the converged
16720 applet under gnome/applet
16721 * Move libnm_glib to gnome/libnm_glib
16722 * Convert most dbus calls between the applet, info-daemon, and NM
16724 * Fix a few things valgrind noticed
16725 * Make NM broadcast state more reliably
16727 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
16729 * configure.in: Added ne in ALL_LINGUAS
16731 2005-04-15 Dan Williams <dcbw@redhat.com>
16733 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
16734 code for dbus 0.2x versions
16736 2005-04-15 Dan Williams <dcbw@redhat.com>
16738 Patches from Tom Parker:
16740 - Join with worker thread rather than polling for its exit
16742 Patch from Bill Moss:
16743 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
16745 2005-04-15 Dan Williams <dcbw@redhat.com>
16747 - Fixes to pass 'make distcheck'
16749 2005-04-15 Dan Williams <dcbw@redhat.com>
16751 Initial VPN Support
16753 - reworks device IP configuration, backend files have changed and will need
16754 to be updated for all distributions. I will try to do what I can for
16755 them, but I cannot test them.
16757 - Move named directory to src/named-manager
16758 - Make backends directory self-contained
16760 2005-04-06 Dan Williams <dcbw@redhat.com>
16762 Add debug code for socket/file descriptor leaks. We register every socket
16763 that we open (except for stuff in dhcpcd/) for tracking, and print out the
16764 list of sockets that we forgot to close on shutdown. This also consolidates
16765 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
16767 2005-04-06 Dan Williams <dcbw@redhat.com>
16770 - (dhcp_interface_free): fix a file descriptor leak that may have
16771 caused network drivers to not unload due to refcounts > 0
16773 2005-04-04 Dan Williams <dcbw@redhat.com>
16775 * panel-applet/NMWirelessAppletDbus.c
16776 - (nmwa_dbus_call_nm_method): remove some commented code
16778 * src/NetworkManagerAPList.[ch]
16779 - (nm_ap_list_remove_ap_by_essid): new function
16781 * src/NetworkManagerDevice.c
16782 - (nm_device_wireless_force_use): remove access points from the ignore list
16783 when the user forces them
16785 * src/nm-dbus-device.c
16786 - (nm_dbus_device_get_active_network): fix up escaping of object paths
16788 2005-04-04 Dan Williams <dcbw@redhat.com>
16790 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
16792 2005-04-04 Dan Williams <dcbw@redhat.com>
16794 * src/NetworkManagerDevice.c:
16795 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
16796 of only erroring after the second consecutive scan times out. Also
16797 don't exit when the card requires more time than we can give it, just
16798 log the event and continue.
16800 2005-04-01 Steve Murphy <murf@e-tools.com>
16802 * configure.in: Added "rw" to ALL_LINGUAS.
16804 2005-04-01 Dan Williams <dcbw@redhat.com>
16806 Perform scans during device activation, if needed. Both activation
16807 and scans run in the same GMainContext. Therefore, if an access point
16808 is not found by the time the device starts activation, it will not
16809 be available until after activation. We now try to scan during
16810 activation (in nm_wa_test) every 15s so that all available access
16811 points are more likely to be found and available for the activation
16814 Also change nm_wireless_link_state_handle() to only update the "best"
16815 AP if we are not forcing a device and if we are not about to change
16816 state. This attempts to work around a race when forcing a device,
16817 where the forced AP would get cleared out too soon by the link state
16818 checking timeout in the main thread, and the activation attempt with
16819 that AP would fail.
16821 2005-04-01 Dan Williams <dcbw@redhat.com>
16824 - Update with new translatables
16826 2005-03-31 Dan Williams <dcbw@redhat.com>
16828 * panel-applet/NMWirelessAppletDbus.c
16829 - Fix device names now that hal has changed device parenting for
16832 2005-03-31 Dan Williams <dcbw@redhat.com>
16834 Tighten up handling of wireless devices that don't support wireless
16835 scanning (ie, Orinoco). Due to restructuring of code, these devices
16836 hadn't been doing pseudo-scanning for a while either and would just
16837 spin waiting for an access point. They are now manual devices where
16838 the user must choose the access point from the menu every time. All
16839 "allowed" access points are listed in the applet's menu regardless
16840 of whether or not they can be seen by the card, since it can't scan
16843 * src/NetworkManager.c
16844 - (nm_wireless_link_state_handle): new function, but only update
16845 the "best" ap for non-scanning devices when its not activating,
16846 and when no device is being forced on the card
16847 - (nm_link_state_monitor): split wireless link state handling out
16848 into separate function
16850 * src/NetworkManagerDevice.c
16851 - (nm_device_copy_allowed_to_dev_list): new function
16852 - (nm_device_new): populate non-scanning cards' AP lists with
16853 access points from the "allowed" list
16854 - (nm_device_new): don't start a scanning timeout for devices that
16856 - (nm_device_activation_schedule_finish): new parameter, should be
16857 the AP that failed to be connected to, pass it on to the
16858 activation finish function in NetworkManagerPolicy.c
16859 - (nm_device_activate_wireless): don't ever try to get a new AP
16860 for non-scanning devices, just fail. The user must choose
16861 a new access point manually.
16862 - (nm_device_activate): grab the AP that failed connection and
16864 - (nm_device_update_best_ap): Clear the best AP if we don't have
16865 a link to it, user must manually choose a new one
16866 - (nm_device_do_pseudo_scan): remove function
16867 - (nm_device_wireless_process_scan_results): remove bits for non-
16868 scanning cards since they never get here
16869 - (nm_device_wireless_scan): remove bits for non-scanning devices,
16870 and fake the scan list for test devices a bit earlier
16872 * src/NetworkManagerPolicy.c
16873 - (nm_policy_activation_finish): use the failed_ap that we get
16874 passed rather than getting the best_ap from the card, which
16875 may have changed since we were scheduled
16876 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
16877 update their scan list directly from the allowed list when
16878 we get updates to the allowed list from NetworkManagerInfo
16880 * src/NetworkManagerPolicy.h
16881 - New member for failed access point in NMActivationResult
16883 -------------------------------------
16885 Driver Notification patch: notifies the user when their driver
16886 sucks. Gives them the option to ignore further insertions
16887 of the card that has the sucky driver.
16890 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
16891 enum and replace it with NO_CARRIER_DETECT and
16894 * panel-applet/NMWirelessApplet.[ch]
16895 - Merge essid.glade -> wireless-applet.glade
16896 - Implement the "Your driver sucks" notification dialog
16898 * panel-applet/NMWirelessAppletDbus.c
16899 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
16900 - Grab hardware address for each device from NM too
16901 - Check whether the driver for each device sucks or not whenever
16902 a new device is noticed
16904 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
16905 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
16907 * src/NetworkManager.c
16908 - Fix a double-unref on device removal
16910 * src/NetworkManagerUtils.c
16911 - Set appropriate driver support level on a device that doesn't
16912 support scanning or carrier detection
16914 * src/nm-dbus-device.c
16915 - New "getHWAddress" dbus method on devices
16916 - getSupportsCarrierDetect -> getDriverSupportLevel
16918 2005-03-31 Dan Williams <dcbw@redhat.com>
16920 * src/NetworkManagerDevice.c
16921 - (nm_device_wireless_scan): Fix leak of scan results in some
16924 2005-03-29 Dan Williams <dcbw@redhat.com>
16926 * src/NetworkManager.c
16927 - (nm_poll_and_update_wireless_link_state): make code less indented
16929 Patch from Bill Moss:
16930 * src/NetworkManager.c
16931 - (nm_device_update_link_state): Update signal strength on wireless
16932 devices every time we update link state too.
16934 2005-03-29 Dan Williams <dcbw@redhat.com>
16936 * src/NetworkManagerDevice.c
16937 - (nm_device_set_essid): Work around Orinoco cards which need
16938 extra time after setting the ESSID
16940 2005-03-29 Dan Williams <dcbw@redhat.com>
16942 * src/NetworkManagerDevice.c
16943 - Merge one more bit of Peter Jones' completion patch
16945 2005-03-29 Dan Williams <dcbw@redhat.com>
16947 * src/NetworkManagerDevice.c
16948 - (nm_device_force_use): Fix possible segfault
16950 2005-03-29 Dan Williams <dcbw@redhat.com>
16952 * src/NetworkManagerDevice.c
16953 - Use iw_get_ext() where we should rather than iw_set_ext()
16955 2005-03-29 Dan Williams <dcbw@redhat.com>
16957 * src/NetworkManagerDevice.c
16958 - (nm_device_set_up_down): remove check for unsupported devices
16959 that caused NM to not bring devices up when they were
16960 added to the device list.
16962 2005-03-28 Dan Williams <dcbw@redhat.com>
16964 * src/NetworkManagerDevice.c
16965 - (mdio_read): Fix two bugs that caused all devices to fail
16966 the MII carrier detection support checks
16968 2005-03-26 Dan Williams <dcbw@redhat.com>
16970 * src/NetworkManagerDevice.c
16971 - (nm_device_wireless_scan): Remove duplicated scanning code
16973 2005-03-25 Dan Williams <dcbw@redhat.com>
16975 * panel-applet/NMWirelessApplet.c
16976 - (nmwa_about_cb): Add some more contributors
16977 - (nmwa_update_state): show the applet when there's no connection
16978 - Enable the "Stop/Resume all wireless devices" option in the
16980 - New "no connection" icon
16982 * src/NetworkManager.c
16983 - (nm_poll_and_update_wireless_link_state): don't do anything if
16984 wireless is disabled or we're asleep
16986 * src/NetworkManagerDHCP.c
16987 - Remove trailing "\n" on debug messages
16989 * src/NetworkManagerDbus.c
16990 - (nm_dbus_network_status_from_data): new state "asleep"
16992 * src/NetworkManagerDevice.c
16993 - Merge most of Peter Jones' "completion" patch that greatly reduces
16994 latency and wait times for most operations
16995 - (nm_device_wireless_scan): Don't scan when asleep
16997 * src/NetworkManagerPolicy.c
16998 - (nm_policy_get_best_device): return no device when asleep
16999 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17000 for all wireless devices on update, not just active device
17002 * src/NetworkManagerUtils.c
17003 - Merge Peter Jones' "completion" patch
17006 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17007 we're told to disable them
17008 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17011 - New variants of the warn/info/error/debug print functions that can take
17012 variables rather than static strings
17014 2005-03-24 Dan Williams <dcbw@redhat.com>
17016 * src/NetworkManagerUtils.c
17017 - (nm_get_device_driver_name): driver names are now on the parents of
17018 "Network Interface" objects, so look for them there
17020 2005-03-24 Dan Williams <dcbw@redhat.com>
17023 - Escape some forgotten object paths before we shove them through dbus
17025 2005-03-24 Dan Williams <dcbw@redhat.com>
17027 * dhcpcd/dhcpcd.[ch]
17028 src/NetworkManagerDHCP.c
17029 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17030 (ie, dhcp_option_record_len -> dhcp_option_element_len)
17032 * src/NetworkManagerDbus.c
17035 * src/nm-dbus-dhcp.c
17036 - Make the API suck less. There is now only 1 type of each function,
17037 ie only "getInteger" and no longer also "getIntegerv". All types
17038 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17039 that will never have more than 1 element. This should simplify
17042 * test/nm-dhcp-opt-test.c
17043 - Make the tool not segfault
17044 - adapt to new DHCP Options API
17046 2005-03-22 Dan Williams <dcbw@redhat.com>
17048 * src/NetworkManager.c
17049 - (nm_wired_link_deactivated): actually ignore netlink events from
17052 2005-03-22 Dan Williams <dcbw@redhat.com>
17054 * src/NetworkManager.c
17055 - (nm_wired_link_activated): actually ignore netlink events from
17058 2005-03-17 Dan Williams <dcbw@redhat.com>
17060 Patch from Tom Parker:
17061 * src/nm-netlink-monitor.c
17063 * info-daemon/NetworkManagerInfoDbus.c
17064 - (nmi_dbus_update_network_auth_method): free GConf values
17066 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17067 * src/NetworkManagerDevice.c
17068 - (nm_device_set_wireless_config): wait for successful
17069 association longer for some cards (Atheros a/b/g)
17071 2005-03-15 Ray Strode <rstrode@redhat.com>
17073 * src/NetworkManager.c:
17074 (sigterm_pipe_handler):
17077 2005-03-15 Ray Strode <rstrode@redhat.com>
17079 * src/NetworkManagerDbus.c:
17080 Fix some sign weirdness that gcc4 doesn't like,
17081 and add a header file so PPC can hopefully find
17084 2005-03-14 Ray Strode <rstrode@redhat.com>
17086 Fourth (probably working) cut at porting to
17087 dbus 0.30 api and new hal. This cut adds
17088 some new logging macros to make debugging
17091 * dispatcher-daemon/NetworkManagerDispatcher.c:
17092 * info-daemon/NetworkmanagerInfo.c:
17093 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17094 * info-daemon/NetworkManagerInfoVPN.c:
17095 * src/NetworkManager.c:
17096 * src/NetworkManagerAP.c:
17097 * src/NetworkManagerAPList.c:
17098 * src/NetworkManagerDHCP.c:
17099 * src/NetworkManagerDbus.c:
17100 * src/NetworkManagerDevice.c:
17101 * src/NetworkManagerPolicy.c:
17102 * src/NetworkManagerSystem.c:
17103 * src/NetworkManagerUtils.c:
17104 * src/NetworkManagerWireless.c:
17106 * src/nm-dbus-nm.c:
17107 * src/backends/NetworkManagerDebian.c:
17108 * src/backends/NetworkManagerGentoo.c:
17109 * src/backends/NetworkManagerRedHat.c:
17110 * src/backends/NetworkManagerSlackware.c:
17111 use new logging macros.
17113 * dispatcher-daemon/NetworkManagerDispatcher.c:
17114 (nmd_dbus_filter): s/dbus_free/g_free/
17116 * info-daemon/Makefile.am: link in utils library.
17117 * info-daemon/NetworkmanagerInfo.c: use new logging
17119 (nmi_dbus_get_network): don't assume enumerations
17121 (nmi_dbus_nmi_message_handler): don't free what
17122 doesn't belong to us.
17124 * libnm_glib/libnm_glib.c:
17125 (libnm_glib_get_nm_status):
17126 (libnm_glib_init): don't free what doesn't
17128 (libnm_glib_dbus): strdup result, so it doesn't get
17129 lost when message is unref'd.
17131 * panel-applet/NMWirelessAppletDbus.c:
17132 (nmwa_dbus_update_devices): s/dbus_free/g_free/
17134 * src/NetworkManager.c:
17135 (nm_monitor_wired_link_state): request initial status
17136 dump of all cards when we start up, instead of relying
17137 on /sys/.../carrier.
17138 (nm_info_handler), (nm_set_up_log_handlers):
17139 log handlers to specify what syslog priorites
17140 the logging macros default to.
17142 * src/NetworkManagerAPList.c:
17143 (nm_ap_list_populate_from_nmi):
17144 s/dbus_free_string_array/g_strfreev/
17146 * src/NetworkManagerDbus.c:
17147 (nm_dbus_get_network_object):
17148 validate d-bus message argument types.
17149 Advance message iterator after reading argument,
17150 prepend instead of append to GSList.
17152 * src/NetworkManagerDevice.c:
17153 (nm_device_probe_wired_link_status):
17154 remove redundant /sys in /sys path. remove wrong
17155 contents == NULL means has carrier assumption.
17157 * src/nm-netlink-monitor.c
17158 (nm_netlink_monitor_request_status): implement
17159 function to ask kernel to dump interface link
17160 status over netlink socket.
17162 * test/*.c: s/dbus_free/g_free/
17164 * utils/nm-utils.h:
17165 (nm_print_backtrace): new macro to print backtrace.
17166 (nm_get_timestamp): new macro to get sub-second precise
17168 (nm_info), (nm_debug), (nm_warning), (nm_error):
17169 new logging functions. nm_info just prints,
17170 nm_debug includes timestamp and function,
17171 nm_warning includes function, nm_error includes
17172 backtrace and sigtrap.
17174 2005-03-11 Ray Strode <rstrode@redhat.com>
17176 Third (unfinished, partially working) cut at porting to
17177 dbus 0.30 api and new hal.
17179 * info-daemon/NetworkManagerInfoDbus.c:
17180 don't free null arrays.
17182 * panel-applet/NMWirelessAppletDbus.c:
17183 * src/nm-dbus-device.c:
17184 * src/nm-dbus-net.c:
17185 * src/NetworkManagerDbus.c: more
17186 STRING -> OBJECT_PATH fun
17187 * src/NetworkManagerDevice.c:
17188 * src/NetworkManagerDevice.h:
17189 (rename nm_device_get_link_active): rename to
17190 nm_device_has_active_link
17191 (nm_device_wireless_link_active): rename to
17192 nm_device_probe_wireless_link_state
17193 (nm_device_wired_link_active): rename to
17194 nm_device_probe_wired_link_state. Rewrite to
17195 use carrier file since hal doesn't maintain
17196 link state anymore.
17197 (nm_device_update_link_active): rename to
17198 nm_device_update_link_state
17199 * src/NetworkManagerPolicy.c
17200 (nm_policy_activation_finish): check for NULL
17204 * src/NetworkManagerMain.h:
17205 * src/NetworkManager.c:
17206 * src/nm-netlink-monitor.c:
17207 * src/nm-netlink-monitor.h: New class to support
17208 monitoring wired ethernet link status, since HAL
17209 doesn't export that information anymore.
17211 2005-03-09 Ray Strode <rstrode@redhat.com>
17213 Second (unfinished, unworking) cut at porting to
17216 * dispatcher-daemon/NetworkManagerDispatcher.c:
17217 * info-daemon/NetworkManagerInfoDbus.c:
17218 * panel-applet/NMWirelessAppletDbus.c:
17219 * src/NetworkManagerDbusUtils.c:
17220 * src/NetworkManagerDbusUtils.h:
17221 * src/nm-dbus-device.c:
17222 * src/nm-dbus-nm.c:
17223 * test/nmtest.c: support dbus "object path" type
17227 * info-daemon/Makefile.am:
17228 * libnm_glib/Makefile.am:
17229 * panel-applet/Makefile.am:
17230 * dispatcher-daemon/Makefile.am
17232 * test/Makefile.am:
17233 * utils/Makefile.am:
17234 * utils/nm-utils.c:
17235 * utils/nm-utils.h: new utils static lib
17237 2005-03-07 Ray Strode <rstrode@redhat.com>
17239 * info-daemon/NetworkManagerInfoDbus.c:
17240 * libnm_glib/libnm_glib.c:
17241 * panel-applet/NMWirelessAppletDbus.c:
17242 * src/NetworkManager.c:
17243 * src/NetworkManagerDbus.c:
17244 * src/NetworkManagerDevice.c:
17245 * src/NetworkManagerUtils.c:
17246 * src/nm-dbus-device.c:
17247 * src/nm-dbus-dhcp.c:
17248 * src/nm-dbus-net.c:
17249 * src/nm-dbus-nm.c:
17250 * test/nminfotest.c:
17251 First (unfinished, unworking) cut at porting to dbus 0.30 api.
17253 2005-03-04 Dan Williams <dcbw@redhat.com>
17258 2005-03-04 Dan Williams <dcbw@redhat.com>
17260 Patch from Peter Jones:
17261 - Make stuff work with gcc 4.0
17263 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
17265 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17267 2005-02-27 Jim Huang <jserv@kaffe.org>
17269 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17271 2005-02-27 Dan Williams <dcbw@redhat.com>
17273 Patch from Bill Moss:
17274 * panel-applet/NMWirelessAppletDbus.c
17275 - Make sure strength for current access point is up-to-date when we
17276 update the gui data model
17278 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
17280 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17282 2005-02-27 Dan Williams <dcbw@redhat.com>
17284 * src/backends/NetworkManagerRedHat.c
17285 - (nm_system_init): Kill any dhclient processes lying around as well
17286 as stopping 'nifd' if its already been started. NetworkManager
17287 subsumes the functions of nifd (kicking mDNSResponder, autoip)
17289 2005-02-27 Dan Williams <dcbw@redhat.com>
17291 * panel-applet/NMWirelessApplet.c
17292 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17293 dbus data model, not the GUI data model twice.
17295 2005-02-27 Dan Williams <dcbw@redhat.com>
17297 * panel-applet/NMWirelessApplet.[ch]
17298 panel-applet/NMWirelessAppletDbus.[ch]
17299 - Move to incremental network updates. Instead of blowing away our list
17300 of devices every time we get a signal from NetworkManager, we now
17301 incrementally add/remove networks when NetworkManager notifies us that
17302 a new network has appeared or disappered. Strength updates now happen
17303 on-the-fly for each access point as well. There are now two copies of
17304 data from NetworkManager: one for the dbus side, and one for the gui side.
17305 When the dbus side data is modified, it is copied over to the gui side
17306 so we don't have to hold the data_mutex for long periods of time (and
17307 therefore block animation of the applet's icon).
17308 - Clean up some memleaks too
17310 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17311 - Minor code beautification
17313 * src/NetworkManagerAPList.c
17314 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17315 completely new and whether or not an existing one's strength was updated.
17316 Try to fix multiple access points and signal strength by using the highest
17317 signal strength in each scan for any given ESSID.
17319 * src/NetworkManagerDbus.[ch]
17320 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17321 wireless networks; now we have only WirelessNetworkUpdate which includes
17322 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17323 - Kill usage of DbusMessageIter
17325 * src/NetworkManagerDevice.c
17326 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17327 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
17328 AP rather than all-at-once. Also don't ever remove the AP a card is
17329 currently associated with from the network list.
17330 - Update for new signals during scan, send out Appeared, Disappeared, or
17331 StrengthChanged when necessary.
17333 2005-02-25 Dan Williams <dcbw@redhat.com>
17336 - Line break the README
17338 2005-02-25 Dan Williams <dcbw@redhat.com>
17340 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17341 - Remove usage of gtk_window_set_default_size()
17343 * panel-applet/essid.glade
17344 - Stick default size here
17345 - Add in random crap that current glade wants to add in now
17347 2005-02-25 Dan Williams <dcbw@redhat.com>
17349 * src/backends/NetworkManagerRedHat.c
17350 - For non-caching-nameserver/non-named case, ensure that nscd is running
17351 and that we actually tell nscd to reload the hosts cache when it changes
17353 2005-02-25 Dan Williams <dcbw@redhat.com>
17355 * info-daemon/NetworkManagerInfoDbus.c
17356 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17358 * test/nminfotest.c
17359 - Whack usage of DbusMessageIter
17360 - Clean up DbusError and DbusMessage handling and freeing
17361 - Remove unused unregister handler
17364 - Whack usage of DbusMessageIter
17366 * test/nmtestdevices.c
17367 - Whack usage of DbusMessageIter
17369 2005-02-25 Dan Williams <dcbw@redhat.com>
17372 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17375 2005-02-25 Dan Williams <dcbw@redhat.com>
17377 * named/nm-named-manager.c
17378 - Ensure that pid and watch variables for child named process get cleared out
17379 when the child goes away.
17381 2005-02-22 Dan Williams <dcbw@redhat.com>
17383 * src/NetworkManagerPolicy.c
17384 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17385 and NULL out data->active_device so that we have to choose another one.
17386 This may make NetworkManager keep attempting to connect to a wired network
17387 if it fails, but if it keeps failing the wired network has more problems than
17388 just NetworkManager.
17390 * src/backends/NetworkManagerRedHat.c
17391 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17394 * named/nm-named-manager.c
17395 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17396 named so that the distro can flush whatever name service caching
17399 2005-02-21 Dan Williams <dcbw@redhat.com>
17401 * src/NetworkManagerDHCP.[ch]
17402 - (nm_device_dhcp_remove_timeouts): new function
17404 * src/NetworkManagerDevice.c
17405 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17406 remove the DHCP timeouts.
17408 2005-02-21 Dan Williams <dcbw@redhat.com>
17410 * panel-applet/NMWirelessApplet.[ch]
17411 panel-applet/menu-info.[ch]
17412 - Give the panel applet some major love: menu items are no longer
17413 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17414 This allows the applet to actually reflect theme changes correctly,
17415 since themeing of subclassed items in GTK _sucks_.
17417 2005-02-18 Dan Williams <dcbw@redhat.com>
17419 * libnm_glib/libnm_glib.[ch]
17420 test/libnm_glib_test.c
17421 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17422 and its data, and doesn't have to free the callback data anymore
17424 2005-02-18 Dan Williams <dcbw@redhat.com>
17426 * panel-applet/NMWirelessApplet.c
17427 - Revert 2005-02-18 William Jon McCann fix for standard
17428 copyright string until it passes 'make distcheck'.
17429 With standard copyright string, xgettext complains
17430 about "Non-ASCII string at ...".
17432 2005-02-18 Dan Williams <dcbw@redhat.com>
17434 * panel-applet/essid.glade
17435 panel-applet/NMWirelessAppletOtherNetworksDialog.c
17436 - Correct spelling of "adaptor"->"adapter"
17438 2005-02-18 William Jon McCann <mccann@jhu.edu>
17440 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17441 (nmwa_about_cb): Use standard copyright string. Update comment
17442 text to reflect that it is a notification area applet. Remove
17443 leading newline in authors list.
17444 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17445 instead of on parent menu item activation. Fixes #167550.
17447 2005-02-18 William Jon McCann <mccann@jhu.edu>
17449 * panel-applet/essid.glade: Capitalize items as per HIG.
17452 2005-02-16 William Jon McCann <mccann@jhu.edu>
17454 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17455 files for GTK 2.4 or lower, since now public in GTK 2.6.
17457 * panel-applet/essid.glade: Don't specify window size.
17459 2005-02-17 Dan Williams <dcbw@redhat.com>
17461 Caught by Bill Moss:
17463 - Time remaining for DHCP transaction calculation was incorrectly
17464 inside a #ifdef DEBUG
17466 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
17468 * configure.in: Added fr (French) to ALL_LINGUAS.
17470 2005-02-14 Dan Williams <dcbw@redhat.com>
17472 * src/NetworkManagerDHCP.c
17473 - (set_domain_searches): Fix free of invalid pointer
17475 2005-02-14 Dan Williams <dcbw@redhat.com>
17477 Patch from Peter Jones:
17479 - Ensure we return RET_DHCP_CEASED everywhere we should
17480 * dhcpcd/udpipgen.c
17481 - Use faster TOS for IP packets
17482 - Don't set ip_id since we're UDP
17484 Patch from Tomislav Vujec:
17485 * src/nm-dbus-dhcp.c
17486 test/nm-dhcp-opt-test.c
17487 - Clean up warnings to enable cvs tree compilation.
17489 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
17493 - Add the Croatian locale.
17495 2005-02-14 Colin Walters <walters@verbum.org>
17497 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17498 list of domains to search.
17500 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17502 2005-02-13 Dan Williams <dcbw@redhat.com>
17505 - Debug output cleanups of DHCP option printing and parsing.
17507 2005-02-13 Dan Williams <dcbw@redhat.com>
17509 Patch from Dan Reed: DHCP options D-BUS API
17510 Exposes the DHCP options that a device receives to clients over D-BUS.
17516 - Correct names, option length, and types for DHCP options
17518 * dhcpcd/dhcpcd.[ch]
17519 - Clarify function names that access DHCP options & data
17521 * src/NetworkManagerDHCP.c
17522 - Use new DHCP data access functions
17524 * src/NetworkManagerDbus.c
17525 - Message handler for DHCP functions
17527 * src/nm-dbus-dhcp.[ch] (new)
17528 - DHCP dbus methods
17530 * test/nm-dhcp-opt-test.c
17531 - Test DHCP D-BUS API and return all present DHCP options
17533 2005-02-12 Dan Williams <dcbw@redhat.com>
17536 test/nmclienttest.c
17538 - Move nmclienttest.c -> nmtest.c
17540 2005-02-12 Dan Williams <dcbw@redhat.com>
17542 * dhcpcd/buildmsg.c
17543 - Pad DHCP packets until they are at least 300 bytes in size.
17545 2005-02-11 Dan Williams <dcbw@redhat.com>
17548 - (dhcp_init): only print out client ID and class ID if they are specified
17550 * src/NetworkManagerDbus.[ch]
17551 src/nm-dbus-nm.[ch]
17552 src/nm-dbus-device.[ch]
17553 src/nm-dbus-net.[ch]
17554 - Move NM, Device, and Net functions to separate files and use the
17555 dbus method list stuff in NetworkManagerDbusUtils.c to do
17558 * src/NetworkManagerDbusUtils.c
17559 - Add new validate_method called before each dispatch (if present)
17560 that can validate the method call
17562 * src/NetworkManagerWireless.c
17563 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
17564 levels never to be evaluated
17566 Patch from j@bootlab.org
17567 * src/NetworkManagerDevice.c
17568 - Add typedef for "u64"
17570 * src/backends/NetworkManagerDebian.c
17571 - Copy in Dave Woodhouse's fixes for IPv6
17573 2005-02-11 Dan Williams <dcbw@redhat.com>
17575 Patch from Dave Woodhouse for IPv6:
17576 * src/NetworkManagerUtils.c
17577 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
17578 and multicast addresses
17580 * src/NetworkManagerDevice.c
17581 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
17582 after bringing up a card.
17584 2005-02-10 Dan Williams <dcbw@redhat.com>
17586 Patch from Dave Woodhouse:
17587 * src/NetworkManagerSystem.h
17588 src/backends/NetworkManagerDebian.c
17589 src/backends/NetworkManagerGentoo.c
17590 src/backends/NetworkManagerSlackware.c
17591 - New nm_system_device_add_ip6_link_address() function to add link-local
17592 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
17594 * src/backends/NetworkManagerRedHat.c
17595 - (nm_system_device_add_ip6_link_address): implement
17596 - (nm_system_device_flush_addresses): revert to previous behavior of
17597 flushing all addresses
17599 2005-02-10 Dan Williams <dcbw@redhat.com>
17601 Patch from Tom Parker:
17602 * src/NetworkManagerDevice.c
17603 - Remove the "#include <pci/types.h>" since both the ethtool.h and
17604 mii.h headers are broken, and instead use our own typedefs
17606 2005-02-10 Dan Williams <dcbw@redhat.com>
17608 * dhcpcd/buildmsg.c
17609 - (fill_host_and_class_id): only fill in client and class IDs if
17610 they are set by callers.
17613 - (class_id_setup): don't autogenerate a class ID, only use one
17614 we're given, if any.
17615 - (client_id_setup): don't autogenerate a client ID, only use one
17616 we're given, if any.
17619 - (dhcp_interface_init): ensure that client options are correctly
17622 * src/NetworkManagerDHCP.c
17623 - (nm_device_dhcp_request): pass hostname to dhcp library
17625 2005-02-10 Dan Williams <dcbw@redhat.com>
17628 - #rh147661# Don't send kernel version in DHCP requests
17630 * src/NetworkManagerSystem.h
17631 src/backends/NetworkManagerDebian.c
17632 src/backends/NetworkManagerGentoo.c
17633 src/backends/NetworkManagerRedHat.c
17634 src/backends/NetworkManagerSlackware.c
17635 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
17636 functions, they are no longer used anyway
17638 * src/backends/NetworkManagerRedHat.c
17639 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
17640 addresses in an attempt to keep IPv6 local-scope addresses around
17642 2005-02-10 Dan Williams <dcbw@redhat.com>
17644 * src/NetworkManager.c
17645 - (nm_create_device_and_add_to_list): change the add message slightly
17647 * src/NetworkManagerUtils.c
17648 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
17649 Return driver name to calling function
17650 - (nm_get_driver_support_level): print out the driver a device is using
17651 during the support check
17653 Patch from Dave Woodhouse:
17654 * dhcpcd/udpipgen.c
17655 - (in_cksum): copy last byte of odd-sized packets into a
17656 'u_short' rather than a 'u_char', should fix wrong checksums
17657 on big-endian platforms
17659 2005-02-09 Dan Williams <dcbw@redhat.com>
17661 * Clean up usage of GSList objects and looping through their members
17662 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
17664 * Fix problem where even if scanning was turned off, card would still
17665 cycle through frequencies.
17667 2005-02-08 Dan Williams <dcbw@redhat.com>
17669 * panel-applet/NMWirelessApplet.c
17672 2005-02-08 Dan Williams <dcbw@redhat.com>
17674 Patch from Bill Moss
17675 * panel-applet/NMWirelessApplet.c
17676 - Restore correct ESSID in tooltips
17678 2005-02-07 Dan Williams <dcbw@redhat.com>
17680 * panel-applet/NMWirelessApplet.[ch]
17681 - Add a context menu that contains:
17682 Pause/Resume Wireless Scanning
17683 Stop/Start All Wireless Devices
17685 - Grab active device strength off active device,
17688 * panel-applet/NMWirelessAppletDbus.[ch]
17689 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
17690 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
17691 - Update active device strength every 2 seconds, not every 1 second
17693 * panel-applet/menu-info.c
17694 - Only disable wired devices in the menu when they support carrier detection,
17695 and don't currently have a link. Non-carrier-detect devices will always
17699 src/NetworkManagerDbusUtils.[ch]
17700 - Add new new dbus utils sources
17702 * src/NetworkManager.c
17703 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
17704 with the boolean parameter
17705 - Set scanning_enabled & wireless_enabled to TRUE
17707 * src/NetworkManagerDbus.c
17708 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
17709 - Implement scanning & wireless enable/disable calls
17710 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
17712 * src/NetworkManagerDevice.c
17713 - New link detection stuff again...
17714 o Create device's mainloop earlier (but don't run it earlier)
17715 o Hook up new carrier-detect support stuff
17716 o Add in the ethtool & mii support detection code
17717 - Don't scan if scanning is disabled
17719 * src/NetworkManagerPolicy.c
17720 - Never automatically choose a device that doesn't support carrier detection
17721 - Don't automatically choose a wireless device if wireless is disabled
17723 2005-02-07 Dan Williams <dcbw@redhat.com>
17725 * libnm_glib/libnm_glib.c
17726 - Small cleanup in element list iteration
17728 2005-02-07 Dan Williams <dcbw@redhat.com>
17730 * src/NetworkManagerWireless.c
17731 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
17732 to be in line with the WEXT quality specification
17734 2005-02-02 Dan Williams <dcbw@redhat.com>
17736 Patch from Nathan Fredrickson <nathan@silverorange.com>
17737 * Fix up compile for deprecation of libgnomeui
17738 - Switch to <glib/gi18n.h> from <libintl.h>
17739 - Remove <libgnomeui/libgnomeui.h> includes
17740 - Use gtk_window_set_default_icon_from_file() rather than
17741 gnome_window_set_default_icon_from_file()
17743 * named/nm-named-manager.c
17744 - (generate_named_conf): Fix return-nothing in non-void
17747 2005-02-02 Dan Williams <dcbw@redhat.com>
17749 * Clean up unused variables and the like
17751 2005-02-02 Dan Williams <dcbw@redhat.com>
17753 * src/NetworkManagerAPList.c
17754 - (nm_ap_list_merge_scanned_ap): merge strength too
17756 * src/NetworkManagerUtils.c
17757 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
17758 of locking issues by printing out prettier information than g_mutex_lock
17759 - Print out names of mutexes registered with nm_register_mutex_desc()
17760 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
17761 us to seemingly block here for too long
17763 * src/NetworkManager.c
17764 src/NetworkManagerAPList.c
17765 src/NetworkManagerDevice.c
17766 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
17767 so we get better debug information printed
17769 * src/NetworkManagerDbus.c
17770 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
17771 since it sometimes has locking side effects
17772 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
17774 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
17775 we don't need a switch. This gets called often enough that we can't block
17776 until the scan mutex is acquired, because we'll block on device activation
17777 and a few other things, which hangs main thread for too long.
17779 * src/NetworkManagerPolicy.c
17780 - (nm_policy_auto_get_best_device): reduce the possiblity that
17781 nm_device_need_ap_switch() will be called
17783 2005-02-02 Dan Williams <dcbw@redhat.com>
17785 * panel-applet/NMWirelessApplet.c
17786 - Display name of wireless network we are connecting to or connected to
17787 in the tooltip of the applet
17789 2005-02-02 Dan Williams <dcbw@redhat.com>
17791 * src/NetworkManagerDHCP.c
17792 - Hopefully fix double-default-route problem by cleaning up the default
17793 route added by DHCP code right before the DHCP transaction begins
17795 2005-02-02 Dan Williams <dcbw@redhat.com>
17797 * named/nm-named-manager.c
17798 - Write out valid resolv.conf when we exit
17800 2005-02-01 Dan Williams <dcbw@redhat.com>
17802 Patch from Colin Walters:
17803 * named/nm-named-manager.c
17804 - Make multi-domain search options work
17806 2005-01-31 Dan Williams <dcbw@redhat.com>
17808 * info-daemon/NetworkManagerInfoDbus.c
17809 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
17811 * src/NetworkManagerDevice.c
17812 - (nm_device_new): Don't store the entire range struct, use only what we need
17813 (which is currently avg_quality, max_quality, and frequencies). Also
17814 zero device structure when we've free'd it to maybe expose errors down
17816 - (nm_device_update_signal_strength): grab the scan mutex before getting
17817 quality data from the card since quality will be useless during a scan.
17818 Call updated wireless qual-to-percent function with values stored in
17819 nm_device_new() earlier.
17820 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
17821 nm_device_get_bad_crypt_packets())
17822 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
17824 - (get_initial_auth_method): always use the Auth method that's in the allowed
17825 list if available. Problem was this: when the WEP key is wrong, NM will
17826 try OS then SK modes, and then get stuck in SK mode after that. This
17828 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
17831 * src/NetworkManagerWireless.c
17832 - (nm_wireless_qual_to_percent): try to make this function actually work and
17833 mimic iwlib behavior. Use card's idea of quality divided by max_qual
17834 if that's all present, otherwise fall back to signal-to-noise ratios.
17836 2005-01-29 Dan Williams <dcbw@redhat.com>
17838 * initscript/RedHat/NetworkManager
17839 - Don't spit out sysctl stuff to console
17841 * libnm_glib/libnm_glib.c
17842 - (libnm_glib_init): call dbus_g_thread_init()
17844 * panel-applet/NMWirelessAppletDbus.c
17845 - (nmwa_dbus_worker): call dbus_g_thread_init()
17847 * src/NetworkManager.c
17848 - (main): call dbus_g_thread_init()
17850 * src/NetworkManagerAPList.c
17851 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
17852 so we can actually see what's there in a normal syslog
17854 * src/NetworkManagerDevice.c
17855 - (nm_device_activate_wireless): print out the "waiting for access point"
17856 message only once, then say what access point we actually got after
17858 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
17859 function, wait until the scan is done. Scans may change the ESSID of
17860 the card, making this function think we need to switch access points
17861 - (nm_device_wireless_process_scan_results): for artificial access points
17862 don't check against the card's ESSID, but the best_ap's ESSID. This
17863 prevents collisions with the scanning code, which may change the card's
17864 ESSID and cause the access point to get dropped from the device's AP
17865 list. Also increase the keep-around time to 2m from 60s since the max
17866 scan interval could be 60s in some cases.
17868 * src/NetworkManagerPolicy.c
17869 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
17870 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
17871 the new properties and ESSIDs to the device's AP list. Fixes some races
17872 between NM and NMI.
17874 2005-01-27 Dan Williams <dcbw@redhat.com>
17876 * info-daemon/NetworkManagerInfoDbus.c
17877 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
17878 GConf, make a minimal entry for it (essid & timestamp)
17880 * src/NetworkManagerAPList.c
17881 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
17882 NetworkManagerInfo isn't running
17884 * src/NetworkManagerDbus.[ch]
17885 - (nm_dbus_nmi_is_running): new function
17887 * src/NetworkManagerDevice.c
17888 - (nm_device_wireless_force_use): Don't set the created AP's MAC
17889 address to garbage.
17891 * src/NetworkManagerPolicy.c
17892 - (nm_policy_activation_finish): On successful activation, make sure
17893 the "best" AP has a MAC address, and don't tell NMI to add the
17894 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
17895 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
17896 access point after refreshing our allowed list if it doesn't already
17897 have a "best" access point.
17899 2005-01-25 Dan Williams <dcbw@redhat.com>
17901 * panel-applet/NMWirelessAppletDbus.c
17902 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
17903 so we check for NM_DBUS_SERVICE rather than not for it
17905 * libnm_glib/libnm_glib.c
17906 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
17907 ServiceOwnerChanged signal
17909 2005-01-25 Dan Williams <dcbw@redhat.com>
17912 - Check DBUS version in configure, and set the C macros
17913 DBUS_VERSION_[MAJOR,MINOR,MICRO]
17915 * info-daemon/NetworkManagerInfoDbus.c
17916 - Remove #if 0-d section of code that quit NMI if NM went away.
17918 * panel-applet/NMWirelessAppletDbus.c
17919 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
17921 * src/NetworkManager.c
17922 src/NetworkManagerMain.h
17923 src/NetworkManagerDbus.c
17924 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
17925 - Make updating of our Allowed Wireless Network lists from NMI
17926 an idle function in the main thread now, with a high priority.
17928 2005-01-24 Dan Williams <dcbw@redhat.com>
17930 * panel-applet/gtkcellview.[ch]
17931 panel-applet/menu-info.c
17932 - Fix GTK version checks to be <= rather than <
17935 - Include the libtool archive of libnm_glib rather than
17936 trying to pull in the .so
17938 2005-01-24 Dan Williams <dcbw@redhat.com>
17940 * src/NetworkManagerDevice.c
17941 src/NetworkManagerDevicePrivate.h
17942 - Block nm_device_new() until our device's worker thread has had a
17943 chance to start up. Fixes a race between main thread and worker
17944 thread starting that caused activation requests to get lost.
17946 2005-01-24 Dan Williams <dcbw@redhat.com>
17948 * initscript/RedHat/NetworkManager
17949 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
17950 to add the NM startup script at priority 50, which was
17953 2005-01-24 Colin Walters <walters@redhat.com>
17955 * named/named.conf: Use any port for query source instead of
17956 restricting to port 53.
17958 2005-01-24 Dan Williams <dcbw@redhat.com>
17960 * initscript/RedHat/NetworkManager
17961 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
17962 to add the NM startup script at priority 50, which was
17965 2005-01-24 Dan Williams <dcbw@redhat.com>
17967 Patch from Tom Parker <palfrey@tevp.net>
17968 * Fix up compile warnings & errors in the wireless applet
17970 2005-01-24 Dan Williams <dcbw@redhat.com>
17972 * panel-applet/NMWirelessApplet.c
17973 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
17975 2005-01-24 Dan Williams <dcbw@redhat.com>
17977 * panel-applet/gtkcellview.[ch]
17978 - Only compile these files for GTK 2.4 or lower, since
17979 GtkCellView is now public in GTK 2.6. Fixes crasher
17980 when choosing "Other Wireless Networks" from the panel
17983 2005-01-21 Dan Williams <dcbw@redhat.com>
17985 * src/NetworkManager.c
17986 - Daemonize earlier so that glib doesn't get confused (?)
17988 2005-01-21 Dan Williams <dcbw@redhat.com>
17990 * panel-applet/NMWirelessApplet.[ch]
17991 panel-applet/NMWirelessAppletDbus.c
17992 panel-applet/menu-info.c
17993 src/NetworkManagerDevice.c
17994 - Disable wired devices in the menu when they have no link.
17996 2005-01-21 Dan Williams <dcbw@redhat.com>
17998 * Cache last-known-good wireless authentication method in
17999 NetworkManagerInfo, and use that method first during
18000 wireless device activation. Should speed up devices that
18001 need Shared Key authentication method since Open System is
18004 * Remove the hack to not do full activation on wired connections
18005 that are active when we launch, it causes too many problems
18006 with name resolution and was a hack in the first place.
18008 * Re-work wireless device activation again somewhat to have a
18009 clearer chain of events and to use last-known-good
18010 authentication method of the access point. Also provide
18011 better status throughout activation to ensure the applet
18012 can tell the user exactly what's going on.
18014 * Remove the "find wireless network" code and now simply attempt
18015 to activate with that access point. This reduces the delay
18016 between selecting "Other wireless Network" and actually
18017 connecting to that network.
18019 * Correctly stop the device's worker thread when its removed.
18021 2005-01-21 Dan Williams <dcbw@redhat.com>
18024 - Clean up some of the debug messages
18026 2005-01-21 Dan Williams <dcbw@redhat.com>
18028 * Add new icons, more frames of animation
18029 * Remove some hacks to get the panel applet to display correct
18030 status, an NM update will soon follow that will fix the
18033 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
18035 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18036 the first include for working i18n. Also, don't include it in .h files
18037 * panel-applet/NMWirelessApplet.h: Same
18038 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18039 * panel-applet/menu-info.c: Same
18041 2005-01-18 Dan Williams <dcbw@redhat.com>
18044 - Remove some debug messages
18045 - Wrap others in #ifdef DEBUG/#endif
18047 * src/NetworkManager.c
18048 - Remove some debug messages
18049 - Clarify some debug messages
18050 - Remove code related to old single-thread wireless scanning
18052 * src/NetworkManagerAP.[ch]
18053 - New AP property "last_seen" to track how recently an AP was
18055 - Start using 'const' more in function arguments
18057 * src/NetworkManagerAPList.[ch]
18058 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18059 of an AP found in an AP list from a source AP, or if not found
18060 in the list add the source AP
18061 - (nm_ap_list_combine): remove, no longer needed
18063 * src/NetworkManagerDevice.c
18064 - Each device now has a "worker" thread from start to end of its life.
18065 Scanning for wireless devices now happens in that thread,
18066 not in a single "wireless scanning thread" for all devices as
18067 previously. Activation consists of adding an idle handler to the
18068 thread's main loop/context, which gets run at the next available
18070 - Wireless scanning is also simplified, there is now only one list of
18071 access points per wireless device, and APs older than 60s are
18072 removed from the list. Previously, we kept results for the last
18073 3 scans and merged whole lists, which was complicated.
18074 - Cleaned up activation debug messages.
18075 - Wireless activation and access-point search routines now use Open System
18076 authentication before trying Shared Key.
18077 - Removed some code in nm_device_update_best_ap() that could cause cards
18078 to loose their link to the access point.
18079 - Scanning now uses a backoff algorithm, where the inverval becomes
18080 progressively longer between scans when the list of scanned access
18081 points doesn't change. A change will revert to the shortest scan
18084 * src/NetworkManagerWireless.[ch]
18085 - Remove code related to old single-thread wireless scanning
18087 2005-01-18 Colin Walters <walters@redhat.com>
18089 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18090 of older nameservers.
18092 2005-01-18 Colin Walters <walters@redhat.com>
18094 * named/nm-named-manager.c (generate_named_conf): Many fixes
18095 to config file generation.
18096 (safer_kill): Remove, was too much trouble for little gain.
18097 (nm_named_manager_start): Run named as NM_NAMED_USER.
18099 * configure.in: Add option --with-named-user.
18101 2005-01-14 Colin Walters <walters@redhat.com>
18103 Patch from ed@catmur.co.uk (Ed Catmur)
18105 * named/nm-named-manager.c: Add "context" property.
18106 Use it to add child watch source in specific GMainContext.
18108 * src/NetworkManager.c (nm_data_new): Initialize
18109 named with correct main context. Start named only
18112 2005-01-14 Colin Walters <walters@redhat.com>
18114 * named/nm-named-manager.c (generate_named_conf): Write config
18115 and pid files into NM_NAMED_DATA_DIR; this allows things to
18116 work better with FC3 named SELinux policy. Also fix up silly
18119 * configure.in: Add --with-named-dir option.
18121 2005-01-14 Colin Walters <walters@redhat.com>
18123 * configure.in: Make named support require passing --with-named.
18125 * named/nm-named-manager.c: Support writing resolv.conf directly
18126 without running named.
18128 2005-01-13 Dan Williams <dcbw@redhat.com>
18130 * named/nm-named-manager.c
18131 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18133 * src/NetworkManagerDevice.c
18134 - Rework wireless link detection code to be more reliable
18136 2005-01-12 Dan Williams <dcbw@redhat.com>
18138 * initscripts/RedHat/NetworkManager
18139 - Change initial level to "-" rather than "345" so that
18140 we don't activate ourselves by default on install
18142 2005-01-12 Dan Williams <dcbw@redhat.com>
18145 - Client library for applications using glib
18149 - Split NM_CFLAGS and NM_LIBS into separate variables
18150 like DBUS_*, HAL_* and GLIB_*
18152 * src/NetworkManager.c
18153 src/NetworkManagerMain.h
18154 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18155 broadcast a status changed signal over DBUS from the main thread.
18156 Still unused anywhere for the moment.
18158 Patch from j@bootlab.org
18159 * panel_applet/NMWirelessAppletDbus.c
18160 src/NetworkManagerDbus.c
18161 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18162 for the "getMode" method call
18164 2005-01-10 Dan Williams <dcbw@redhat.com>
18166 * src/NetworkManagerDevice.c
18167 - Minor fixups & corrections to "auto" frequency mode, make it
18168 less chatty with syslog
18170 2005-01-10 Dan Williams <dcbw@redhat.com>
18172 * src/NetworkManagerDevice.c
18173 - Implement "auto" frequency/channel support, since cards like Atheros
18174 can't use other frequencies at all when you've told it to use a
18175 specific one, even for scanning.
18176 - Grab the scan mutex around places where we can't tolerate wireless
18177 settings changing underneath us, like nm_device_wireless_network_exists()
18178 and nm_device_activate_wireless()
18180 * src/NetworkManagerWireless.c
18181 - Back scan interval off to 20s instead of 14s
18183 2005-01-09 Dan Williams <dcbw@redhat.com>
18185 * src/NetworkManagerDevice.c
18186 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18187 already set. Stops some drivers like Atmel from continually
18188 reloading the firmware, which they do upon every configuration
18191 2005-01-09 Dan Williams <dcbw@redhat.com>
18194 - Use correct timeout value
18196 * info-daemon/NetworkManagerInfoDbus.c
18197 src/NetworkManagerDbus.c
18198 - Consolidate communication between NM and NMI by doing only 1 dbus
18199 method call to get Wireless Network info from NMI instead of 6
18201 * src/NetworkManager.c
18202 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18203 when we didn't have an AP to use, we'd wait for one forever without
18206 * src/NetworkManagerDevice.c
18207 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18208 activation, dhcp might not have started yet but we don't quit activation
18209 before starting it, so the quit signal gets lost
18211 2005-01-07 Dan Williams <dcbw@redhat.com>
18214 - Rework the DHCP client code to be much less chatty when
18215 it receives non-DHCP UDP packets during the DHCP run
18216 (reported by and preliminary patches from Bill Moss)
18218 * Move wireless scanning to a separate thread. This thread forwards the
18219 results to the main thread when done where they are integrated into
18220 the device's access point lists. This keeps the main thread (which
18221 does all the DBUS communication) from being blocked for long periods
18222 of time by wireless scanning.
18224 * Make state modification an idle routine in the main loop, and trigger
18225 state changes rather than polling for them.
18227 * src/backends/NetworkManagerGentoo.c
18228 - Fix up invalid C90 code (reported by Christoph Ruessler)
18230 * src/NetworkManagerDevice.c
18231 - Revert IPv6 patch for wired devices from 2004-12-22 for
18232 router advertisements, causing problems and infinite loop
18233 during "best" device determination due to link going up/down
18234 (reported by Bill Moss)
18236 Apply patch from Peter Jones
18237 * src/NetworkManagerDevice.c
18238 - Shortcut for link-checking for ipw2x00 cards
18239 - Split out association check into separate routine
18241 2004-01-05 Colin Walters <walters@redhat.com>
18243 * named/named.conf: Add PID_FILE.
18245 * named/nm-named-manager.c: Always generate a pid
18246 file, since older BIND versions don't support
18249 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
18251 * configure.in (ALL_LINGUAS): Added ja (Japanese).
18253 2004-12-22 Dan Williams <dcbw@redhat.com>
18255 * src/NetworkManagerDevice.c
18256 - Silently fail when setting bitrate doesn't work
18259 Patches from j@bootlab.org:
18260 * src/backends/NetworkManagerDebian
18261 - Update backend to match functionality in RedHat backend
18262 * src/NetworkManagerDevice.c
18263 - Take down then bring up wired devices after connection so
18264 they send out ipv6 router advertisements
18266 2004-12-21 Colin Walters <walters@verbum.org>
18268 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18269 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18271 2004-12-21 Colin Walters <walters@redhat.com>
18273 * configure.in: Correct named detection.
18275 2004-12-21 Colin Walters <walters@redhat.com>
18277 * src/NetworkManager.c (nm_data_new): Initialize named.
18278 Also, set up a signal handler for SIGINT/SIGTERM, and exit
18279 the mainloop when these signals are received.
18280 (nm_data_free): Unref named.
18281 (sigterm_handler, sigterm_pipe_handler): New functions for
18284 * src/NetworkManagerMain.h (NMData): Add signal handling and
18287 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18290 * src/NetworkManagerDHCP.c (set_nameservers): New function;
18291 set nameservers from DHCP response data.
18292 (set_domain_search): Set domain search from DHCP response.
18293 (nm_device_dhcp_configure): Invoke them.
18295 * src/NetworkManagerSystem.c
18296 (nm_system_device_update_resolv_conf): Delete. Deleting
18297 code is totally sweet.
18299 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18301 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18302 implements an object which controls a nameserver. Currently
18305 * configure.in: Check for named.
18307 * Makefile.am (SUBDIRS): Add named dir.
18309 * named/named.conf: New template config file.
18311 2004-12-20 Colin Walters <walters@redhat.com>
18313 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18316 2004-12-17 Dan Williams <dcbw@redhat.com>
18318 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
18319 link-local addresses instead of doing DHCP.
18321 * In the panel applet, there's a new "Create new Wireless Network..." item
18323 * The panel applet also sticks around now even if NetworkManager dies, but
18324 it doesn't hide its icon when NM isn't around. Not hiding the icon is
18325 a bug, I'll fix that later.
18327 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18328 lookups after a switch rather than actually doing them.
18330 * Clean up some of those warnings in nm_ap_list_* functions
18332 * Delay between scans changed to 15s instead of 10s
18334 2004-12-15 Dan Williams <dcbw@redhat.com>
18336 Patch from Tom Parker
18337 * Add autoip/Link Local Addressing support when we fail to get a DHCP
18340 * Longer pause after setting ESSID on cards that support a larger number
18341 of channels to give the card time to find the right channel
18343 * Add system hook to restart mDNSResponder (or whatever the local implementation
18344 of Multicast DNS is) when we activate interfaces
18346 2004-12-15 Dan Williams <dcbw@redhat.com>
18348 * Rework the DHCP code again to revert to sending full ethernet frames
18349 rather then relying on the kernel to do the right thing with our
18352 2004-12-06 Dan Williams <dcbw@redhat.com>
18355 - Fix some minor errors in dhcp_handle_transaction() that caused
18356 unexpected early timeouts of DHCP transactions
18359 - DHCP retransmit time from 4s -> 5s
18361 2004-12-05 Dan Williams <dcbw@redhat.com>
18363 * Major rework of the DHCP code, taking some cues from pump. We don't
18364 write raw Ethernet packets anymore, which simplifies the code quite
18365 a bit. The new code should be more robust, not hang in recvfrom()
18366 as much, and generally work better. This also means that we need
18367 to force HAL/dbus to use a created GMainContext rather than the
18368 default context, since having the DHCP renew/rebind thread using
18369 its own GMainContext seemed to give dbus a fit. There is also more
18370 debugging information printed from the DHCP loop to help with future
18373 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18374 assume that the default gateway should be the DHCP server.
18376 Patch from Matthew Schick <matt oss-institute org>
18377 * src/backends/NetworkManagerGentoo.c
18378 - Fix compilation error due to missing "ip4_broadcast"
18380 2004-12-03 Dan Williams <dcbw@redhat.com>
18382 * initscript/Makefile.am
18383 * initscript/Debian/NetworkManager
18384 * initscript/Gentoo/NetworkManager
18385 * initscript/RedHat/NetworkManager
18386 * initscript/NMLaunchHelper.c
18387 - Remove NMLaunchHelper, if you need to wait until the network
18388 comes up, use the dead code from CVS.
18390 2004-12-01 Colin Walters <walters@redhat.com>
18392 * configure.in: Suck in gcc warnings code from Rhythmbox,
18393 but use fewer default flags, and in particular add -Wno-unused,
18394 since the codebase has a lot of unused variables.
18396 * test/nmtestdevices.c (create_device):
18397 * test/nminfotest.c (get_network_string_property)
18398 (get_networks_of_type):
18399 * test/nmclienttest.c (main):
18400 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
18401 * initscript/NMLaunchHelper.c (get_nm_status):
18402 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
18403 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
18404 Fix declarations after statements.
18406 2004-12-01 Colin Walters <walters@redhat.com>
18408 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18409 (nmi_dbus_get_vpn_userpass): New method.
18410 (nmi_dbus_nmi_message_handler): Invoke it.
18412 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18414 * info-daemon/NetworkManagerInfoVPN.h,
18415 info-daemon/NetworkManagerInfoVPN.c: New files; responds
18416 to requests for VPN passwords.
18418 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18420 2004-12-01 Colin Walters <walters@redhat.com>
18422 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18425 2004-12-01 Colin Walters <walters@redhat.com>
18427 * panel-applet/NMWirelessAppletDbus.c
18428 (nmwa_dbus_update_active_device_strength): Fix missing
18431 2004-12-01 Colin Walters <walters@redhat.com>
18433 * panel-applet/NMWirelessApplet.c: Add missing include.
18435 2004-12-01 Colin Walters <walters@redhat.com>
18437 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18438 Remove useless CLAMP (); the value is unsigned, and the case tests
18439 qual->qual < 100, so the value must always be between 0 and 100.
18441 2004-12-01 Colin Walters <walters@redhat.com>
18443 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18445 2004-11-22 Colin Walters <walters@verbum.org>
18447 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18448 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18449 which is essentially a noop since nscd caches hosts on disk too.
18451 2004-11-22 Colin Walters <walters@redhat.com>
18453 * src/Makefile.am (NetworkManager_SOURCES): Add
18454 NetworkManagerDevicePrivate.h.
18456 2004-11-22 Dan Williams <dcbw@redhat.com>
18458 * src/NetworkManagerDevicePrivate.h
18459 - Split out the NMDevice struct to a different file so that stuff like
18460 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18464 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18465 need to cancel the dhcp request during the send and recv
18468 - Move the DHCP option enum to dhcpcd.h
18470 * src/NetworkManagerDHCP.c
18471 - Split out the actual IP/netmask/etc setting code
18472 - New Renew/Rebind functions
18473 - New timer setup function for renew/rebind operations
18475 * src/NetworkManagerDevice.c
18476 - For device activation, if we are using DHCP then keep the activation thread
18477 alive until device deactivation. We need to renew/rebind the DHCP address
18478 after the T1 (renew) and T2 (rebind) times have expired.
18479 - Increase some timeouts after bringing wireless cards up/down
18481 2004-11-17 Dan Williams <dcbw@redhat.com>
18483 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18484 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
18485 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
18486 show known access points that don't broadcast their ESSID in the menus without
18487 any user intervention whatsoever.
18489 * info-daemon/NetworkManagerInfoDbus.c
18490 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18491 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18493 * src/NetworkManagerAP.[ch]
18494 - Add a "user_addresses" data member to the NMAccessPoint structure
18495 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18496 the user_addresses data member
18498 * src/NetworkManagerAPList.c
18499 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18500 the AP's reported address
18501 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18503 * src/NetworkManagerDHCP.c
18504 - Increase DHCP timeout from 25s -> 30s
18506 * src/NetworkManagerDbus.[ch]
18507 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18510 * src/NetworkManagerDevice.c
18511 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18512 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
18513 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18514 So, we take the card down to clear it out.
18515 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18516 too, since that's where the user_addresses are
18518 * src/NetworkManagerPolicy.c
18519 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18520 that wireless networks' user_addresses list upon successful activation
18522 2004-11-16 Dan Williams <dcbw@redhat.com>
18524 * src/NetworkManagerDevice.[ch]
18525 - (nm_device_clear_activation_fail): new function
18527 * src/NetworkManagerPolicy.c
18528 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18529 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18531 2004-11-16 Dan Williams <dcbw@redhat.com>
18533 * src/NetworkManagerDevice.c
18534 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18535 leak the structure, better updating of now_scanning status
18536 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18538 2004-11-15 Dan Williams <dcbw@redhat.com>
18540 Major rework of link detection code. We now use DHCP
18541 as part of the link detection which proves to be much more robust,
18542 and also supports Open System authentication for wireless networks.
18544 We no longer use external DHCP client programs. Instead, we use
18545 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18546 which was written by:
18547 Yoichi Hariguchi <yoichi@fore.com>
18548 Sergei Viznyuk <sv@phystech.com>
18549 http://www.phystech.com/download/
18550 It resides in the "dhcpcd" directory and was refactored into a general
18551 purpose DHCP client library by me.
18553 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
18554 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
18556 2004-11-15 Dan Williams <dcbw@redhat.com>
18558 Patch from Tom Parker <palfrey@tevp.net>:
18560 * src/NetworkManagerDevice.c
18561 - Less output to console when no access
18562 points are found during a scan
18564 2004-11-15 Dan Williams <dcbw@redhat.com>
18566 Patch from Tom Parker <palfrey@tevp.net>:
18568 * src/backends/interface_parser.c
18570 - Check for inp == NULL
18573 2004-11-13 Colin Walters <walters@redhat.com>
18575 Patch from Tom Parker <palfrey@tevp.net>:
18577 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
18579 * src/backends/NetworkManagerRedHat.c: Switch to
18580 including shvar.h instead of shvar.c.
18582 * src/backends/NetworkManagerDebian.c: Don't include
18583 interface_parser.c in source file.
18585 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
18586 and interface_parser.[ch].
18587 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
18588 Include shvar.c and shvar.h here.
18589 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
18590 interface_parser.c and interface_parser.h here.
18592 2004-11-12 Colin Walters <walters@redhat.com>
18594 * configure.in: Strip out TARGET_DISTRO and
18595 SYSTEM_BACKEND_FILE variables. Switch to Automake
18598 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
18599 (libnmbackend_la_SOURCES): Use Automake conditionals
18600 to add distro-specific files.
18602 * initscript/Makefile.am (SUBDIRS): Update to
18605 2004-11-12 Colin Walters <walters@redhat.com>
18607 Patches from j bootlab org
18609 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
18610 Add interface_parser.[ch].
18612 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
18613 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
18615 2004-11-12 Colin Walters <walters@redhat.com>
18617 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
18618 call to nmi_dbus_is_running too, not necessary anymore.
18619 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
18622 2004-11-11 Colin Walters <walters@verbum.org>
18624 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
18626 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
18627 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
18628 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
18629 This avoids a race condition that made it pretty easily
18630 possible to get two NetworkManagerInfo daemons running.
18632 2004-11-11 Colin Walters <walters@verbum.org>
18634 * src/NetworkManager.c (main): Use daemon(3).
18636 * info-daemon/NetworkManagerInfo.c (main): Ditto.
18638 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
18640 2004-11-10 Dan Williams <dcbw@redhat.com>
18642 Patches from j bootlab org
18643 * src/NetworkManagerDevice.c
18644 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
18645 whether the card has a link or not, some cards are slow
18646 - (nm_device_activation_configure_ip): make ipv6 work a bit better
18648 * info-daemon/NetworkManagerInfoPassphraseDialog.c
18649 - Disable the "Login" button on the passphrase dialog until the user
18650 enters a valid passphrase or key
18652 Patches from Tom Parker <palfrey tevp net>
18653 * src/backends/NetworkManagerDebian.c
18654 - Add static IP support to the debian backend
18656 * src/backends/interface_parser.[ch]
18657 - Parse debian interface config files
18659 2004-11-08 Dan Williams <dcbw@redhat.com>
18661 * src/NetworkManagerDevice.c
18662 - Some random fprintf->syslog conversions
18663 - (nm_device_wireless_network_exists): double-check for network
18664 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
18666 * src/NetworkManagerWireless.[ch]
18667 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
18668 so that the binary->ascii conversion works (if unsigned, the bitshift
18669 will fill with zeros, which is what's required). Also mask bitshift
18670 result with 0xF for futher assurance.
18672 2004-11-06 Dan Williams <dcbw@redhat.com>
18674 * src/NetworkManagerUtils.c
18675 - (nm_get_wireless_driver_support_level): default to
18676 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
18677 flip this when changing from whitelist->blacklist of
18680 2004-11-05 Dan Williams <dcbw@redhat.com>
18682 Patch from Robert Paskowitz:
18683 * src/backends/NetworkManagerGentoo.c
18684 - Update static IP config code
18686 2004-11-05 Dan Williams <dcbw@redhat.com>
18688 * info-daemon/NetworkManagerInfoDbus.c
18689 src/NetworkManagerDbus.[ch]
18690 src/NetworkManagerDevice.c
18691 - Keep track of the # of attempts to get the WEP key
18692 from the user and pass that along to the info daemon
18694 2004-11-05 Dan Williams <dcbw@redhat.com>
18696 * src/NetworkManagerUtils.c
18697 - Blacklist wireless cards rather than whitelisting them.
18698 - Grab driver name from HAL rather than trying to find it
18701 2004-11-03 Dan Williams <dcbw@redhat.com>
18703 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
18704 - Disable OK button until valid data is entered
18705 for encryption stuff too
18707 * panel-applet/NMWirelessApplet.c
18708 - Report card strength for current AP if the card
18709 doesn't report strength data for scanned access
18712 * src/NetworkManagerDevice.c
18713 - Smooth out cards reported quality, Atmel card was
18714 intermittently reporting no quality data but soon
18717 * src/NetworkManagerWireless.c
18718 - Better quality data percentage calculation. Atmel
18719 cards (mine at least) seem to report the quality
18720 in percentage format already, so honor that
18722 Patch from <j@bootlab.org>
18724 info-daemon/NetworkManagerInfoPassphraseDialog.c
18725 info-daemon/passphrase.glade
18726 panel-applet/NMWirelessAppletOtherNetworkDialog.c
18727 panel-applet/essid.glade
18728 src/NetworkManagerAP.c
18729 src/NetworkManagerDevice.c
18730 src/NetworkManagerWireless.[ch]
18731 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
18733 2004-11-03 Dan Williams <dcbw@redhat.com>
18735 * src/NetworkManagerDevice.[ch]
18736 - (nm_device_set_enc_key): Add parameter to set Authentication
18737 Mode (Open System, Shared Key, or None). We're still using
18738 Shared Key for now though.
18740 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
18742 * panel-applet/menu-info.c: change from bold text to light
18743 colored, may cause problems with some themes, i've tested a lot
18744 and they seem fine.
18746 * panel-applet/NMWirelessApplet.c: fix strength tooltip
18748 2004-11-01 Colin Walters <walters@verbum.org>
18750 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
18751 (nm_wireless_128bit_key_from_passphrase): Add const.
18753 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
18754 (nm_ap_set_enc_key_source): Add const.
18756 2004-11-01 Colin Walters <walters@verbum.org>
18758 * .cvsignore: Update.
18760 2004-10-29 Dan Williams <dcbw@redhat.com>
18762 * src/NetworkManagerDevice.c
18763 - (nm_device_wireless_network_exists): Actually use the encryption
18764 key we got from the applet when attempting to find a wireless network
18765 - Don't bring devices down so much since on some cards it triggers
18766 firmware hotplugs each time
18768 * src/NetworkManagerDbus.c
18769 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
18772 2004-10-29 Dan Williams <dcbw@redhat.com>
18774 * src/NetworkManager.c
18775 - (nm_hal_device_property_modified): unlock a locked active
18776 wireless device when a wired connection gets a link.
18777 (Means you'll switch to wired whenever you plug in no
18780 2004-10-29 Dan Williams <dcbw@redhat.com>
18782 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
18783 - New files, implement the "Other wireless network" dialog
18785 * panel-applet/NMWirelessApplet.c
18786 - Move "other wireless network" dialog to separate file
18788 * panel-applet/NMWirelessAppletDbus.[ch]
18789 - Take key and key_type paramaters for the set_device function
18791 * panel-applet/essid.glade
18792 - Add UI bits for encryption settings
18794 * src/NetworkManagerDbus.c
18795 - Retrieve key and key_type params for "setActiveDevice" method call
18797 - unref AP returned from nm_device_get_best_ap() when needed
18799 * src/NetworkManagerDevice.c
18800 - (nm_device_get_best_ap): ref the ap before returning it
18801 - unref AP returned from nm_device_get_best_ap() when needed
18802 - (nm_device_activate_wireless): add "ap" parameter so we don't
18803 need to call nm_device_get_best_ap() here, it was pretty much
18805 - (AP_NEED_KEY): break second link check condition out into separate
18806 function, and fix segfault when ap->enc_key_source was NULL
18807 - (nm_device_find_and_use_essid): take key and key_type parameters and
18808 pass them along to nm_device_wireless_network_exists(). If the
18809 network does exist, set the passed-in key+key_type on the AP
18811 * src/NetworkManagerPolicy.c
18812 - unref AP returned from nm_device_get_best_ap() when needed
18814 2004-10-28 Dan Williams <dcbw@redhat.com>
18816 * src/NetworkManagerUtils.c
18817 - (nm_spawn_process): Fix a potential dereference of NULL
18819 Patches from Peter Jones:
18821 * src/NetworkManagerDevice.c
18822 - (nm_device_test_wireless_extensions): Better check for
18825 * src/NetworkManagerUtils.c
18826 - (nm_spawn_process): Pass in valid stdout and stderr so
18827 executed programs don't randomly SIGPIPE and fail
18828 - (nm_get_wired_driver_support_level): quash hal warning
18829 when checking for USB ethernet device
18831 2004-10-27 Dan Williams <dcbw@redhat.com>
18833 * info-daemon/NetworkManagerInfo.c
18834 info-daemon/NetworkManagerInfoDbus.c
18835 info-daemon/NetworkManagerInfoPassphraseDialog.c
18836 panel-applet/NMWirelessApplet.c
18837 - Properly escape gconf keys
18839 * src/NetworkManager.c
18840 - remove unused variables
18842 * src/NetworkManagerAP.c
18843 - (nm_ap_new_from_ap): Don't redundantly set new APs
18844 refcount since it got set in nm_ap_new()
18846 * src/NetworkManagerAPList.c
18847 - (nm_ap_list_combine): Give up ownership of newly created
18848 access points to the ap list, fixes memleak
18850 * src/NetworkManagerDevice.c
18851 - Remove cached_ap_list4 member since its not really needed
18852 - (nm_device_wireless_network_exists): Try to get correct
18853 encryption status of a found AP if its already in our
18855 - (nm_device_do_normal_scan): Clean up scanning a bit, make
18856 memory allocs/deallocs a bit clearer and shorter-lived
18858 2004-10-26 Ray Strode <rstrode@redhat.com>
18860 * panel-applet/NMWirelessApplet.c:
18861 (custom_essid_item_selected): kill some compiler
18864 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
18866 * info-daemon/NetworkManagerInfoDbus.c
18867 - (nmi_dbus_is_running): New function for determining if nmi is already running
18868 - (nmi_dbus_service_init): exit if another instance of nmi is already running
18870 2004-10-23 Dan Williams <dcbw@redhat.com>
18872 * info-daemon/NetworkManagerInfoDbus.c
18873 - Trap the "DeviceActivationFailed" signal
18875 * docs/NetworkManager DBUS API.txt
18876 - Add "DeviceActivationFailed" signal
18878 * panel-applet/NMWirelessAppletDbus.c
18879 - Quash the "NetworkManager service not available" message
18881 * src/NetworkManagerDbus.[ch]
18882 - Add the "DeviceActivationFailed" signal
18884 * src/NetworkManagerDevice.c
18885 - Add support for activation_failed flag
18886 - Fix deadlock where activation thread didn't clean itself up, making
18887 main thread still believe it was alive forever (didn't reset activation
18888 flags like activating, just_activated, etc when IP configuration
18891 * src/NetworkManagerPolicy.c
18892 - Implement logic for DeviceActivationFailed signal, and when activation fails
18893 for wireless networks, try to fall back to some other access point
18895 2004-10-23 Dan Williams <dcbw@redhat.com>
18897 * panel-applet/NMWirelessApplet.[ch]
18898 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
18899 to the applet object, so we can get tooltips
18900 - Add tooltips (RH #136866)
18902 * src/NetworkManagerDevice.c
18903 - When trying to find a wireless network, try to connect with encryption
18904 turned on first, so that we can more accurately detect whether or not
18905 we need to use encryption for the actual association later on
18907 2004-10-21 Dan Williams <dcbw@redhat.com>
18909 * Add some support for telling NetworkManagerInfo to tell the user
18910 that they are using a device that's not fully supported
18912 * Fix some assertions in debug messages due to null access point args
18914 2004-10-21 Dan Williams <dcbw@redhat.com>
18916 * src/NetworkManagerDevice.c
18917 - Don't try to activate/bring up/down unsupported
18920 * src/NetworkManagerUtils.c
18921 - Fix case of PCI ID checks for driver support levels
18923 2004-10-21 Dan Williams <dcbw@redhat.com>
18926 - New file, now contains commonly used structures and bits
18927 for the dbus API of NetworkManager
18930 - Deliver NetworkManager.h to ${includedir}/NetworkManager
18932 * src/NetworkManager.h
18933 - Rename -> src/NetworkManagerMain.c
18935 * Various fixups all around to use NetworkManager.h and new
18936 src/NetworkManagerMain.h, remove redundant bits that got
18937 moved into NetworkManager.h
18939 * src/NetworkManagerDevice.[ch]
18940 src/NetworkManagerUtils.[ch]
18941 src/NetworkManagerPolicy.c
18942 src/NetworkManagerDbus.c
18943 - Whitelist wireless drivers, and blacklist some wired
18944 drivers. Also blacklist cipsec and ethernet-over-usb
18945 devices at this time (RH #135722, RH #135648)
18946 - Don't leak unsupported devices out over dbus, or allow
18947 them to be set as the active device. Skip over them
18948 during automatic device picking
18950 * test/nmclienttest.c
18951 - Clean up the dbus code a lot
18953 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
18955 * configure.in: post release bump.
18957 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
18960 * NEWS: Released NetworkManager-0.3.1
18962 2004-10-18 Dan Williams <dcbw@redhat.com>
18964 Patches from Thom May:
18965 * test/nmtestdevices.c
18966 - Include <string.h>
18967 * src/backends/NetworkManagerDebian.c:
18968 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
18969 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
18970 Move to using g_strdup_printf rather than arbitrary buffers
18971 - (nm_system_device_setup_static_ip4_config) Implement function.
18972 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
18974 2004-10-17 Dan Williams <dcbw@redhat.com>
18976 * info-daemon/NetworkManagerInfoDbus.c
18977 - Display name of network in the "network not found" dialog
18979 * panel-applet/NMWirelessAppletDbus.c
18980 - (nmwa_dbus_call_nm_method): new function replaces all other
18981 nmwa_dbus_get_[string|string_array|int|boolean] methods
18982 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
18983 consolidated into nmwa_dbus_get_object_name()
18985 2004-10-15 Dan Williams <dcbw@redhat.com>
18987 * src/NetworkManagerDbus.c
18988 info-daemon/NetworkManagerInfoDbus.c
18989 - Display an error dialog when the user tries to use an
18990 "Other wireless network" that's not found.
18992 2004-10-15 Dan Williams <dcbw@redhat.com>
18994 * panel-applet/NMWirelessApplet.[ch]
18995 - Fix up corner cases in applet state, making it
18996 look more responsive. Change state to "connecting" when
18997 the user is forcing a device too.
18999 2004-10-15 Dan Williams <dcbw@redhat.com>
19001 * src/NetworkManagerAPList.c
19002 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19004 * src/NetworkManagerDbus.c
19005 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19007 * src/NetworkManagerDevice.c
19008 - Disown APs after the device's AP list takes ownership
19010 2004-10-15 Dan Williams <dcbw@redhat.com>
19012 * panel-applet/NMWirelessApplet.c
19013 - Update our applet state from the GUI thread
19015 * panel-applet/NMWirelessAppletDbus.c
19016 - Greatly simplify the locking to make the GUI thread
19017 smoother. Update a private copy of the device list
19018 and active device and only when done talking to
19019 NetworkManager turn it over to the GUI thread.
19021 2004-10-15 Dan Williams <dcbw@redhat.com>
19023 * src/NetworkManagerAP.[ch]
19024 - Add "artificial" get/set functions, set for APs that
19025 aren't discovered as part of a scan but instead
19026 discovered by force-setting the ESSID
19028 * src/NetworkManagerDevice.[ch]
19029 - (nm_device_wireless_network_exists): pass back whether
19030 or not the discovered AP was encrypted. Also, try
19031 falling back to encrypted mode on the card if unencrypted
19032 association doesn't work
19033 - (nm_device_find_and_use_essid): If the network requested
19034 did in fact exists, but it wasn't in our scan list, add
19035 an "artificial" entry for it. Some Cisco cards don't
19036 see non-ESSID-broadcasting APs in their scan but can still
19037 associate with them if you know the ESSID, this works around
19039 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19040 to scan if the card is currently associated with that AP
19042 2004-10-15 Dan Williams <dcbw@redhat.com>
19044 ---- We have a website ----
19045 http://people.redhat.com/dcbw/NetworkManager
19047 Patch from Robert Paskowitz:
19048 * src/NetworkManager.c
19049 - (main): Make sure we are run as root
19050 * src/NetworkManagerDevice.c
19051 - Fix type in ad-hoc setting function
19053 Patch from Thom May:
19054 * src/backends/NetworkManagerDebian.c
19055 - Make Debian backend compile again
19057 2004-10-14 Dan Williams <dcbw@redhat.com>
19059 * Tagged NetworkManager-0_3
19061 2004-10-14 Dan Williams <dcbw@redhat.com>
19063 Patch from Robert Paskowitz:
19065 src/NetworkManagerDevice.[ch]
19066 src/backends/NetworkManagerDebian.c
19067 src/backends/NetworkManagerGentoo.c
19068 src/backends/NetworkManagerRedHat.c
19069 src/backends/NetworkManagerSlackware.c
19070 - Add support for grabbing and using a broadcast address
19071 from system config files
19072 - Some Gentoo backend fixes for grabbing network config
19073 - Fix LOG_WARN->LOG_WARNING
19075 2004-10-14 Dan Williams <dcbw@redhat.com>
19077 * NEWS: a few small fixes in the credits
19079 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
19081 * NEWS: prep for release.
19083 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
19085 * panel-applet/NMWirelessAppletDbus.c
19086 (nmwa_dbus_update_device_wireless_networks): remove warnings.
19088 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
19090 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19091 applet->state == APPLET_STATE_NO_NM animation.
19093 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19094 set the text correctly.
19096 2004-10-14 Dan Williams <dcbw@redhat.com>
19098 * src/NetworkManager.c
19099 - Only accept and manager 802.3 and 802.11 devices
19101 * src/NetworkManagerDbus.[ch]
19102 - (nm_dbus_nm_set_active_device): move most of the actual activation
19103 logic into NetworkManagerDevice.c
19104 - (nm_dbus_network_status_from_data): new function
19105 - (nm_dbus_signal_network_status_change): new function, unused for now
19106 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19108 * src/NetworkManagerDevice.[ch]
19109 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
19112 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19114 * info-daemon/NetworkManagerInfo.c
19115 - (main): Added session management
19117 2004-10-14 Dan Williams <dcbw@redhat.com>
19119 * panel-applet/NMWirelessAppletDbus.[ch]
19120 - Expose network_device_[un]ref()
19121 - Expose wireless_network_[un]ref()
19122 - (wireless_network_new_with_essid): new function, create and return
19123 a wireless network with a particular essid
19125 * panel-applet/NMWirelessApplet.c
19126 - Hook up the "other network" dialog to do something
19128 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
19130 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
19131 doesn't work yet, but it looks okay.
19133 * panel-applet/icons/*png: Resize to 22x22 and install in the
19136 2004-10-13 Dan Williams <dcbw@redhat.com>
19138 * panel-applet/NMWirelessApplet.c
19139 - Add function to print out applet_state in a readable
19142 * src/NetworkManager.c
19143 - (main): Don't segfault when nm_dbus_init() fails, we had
19144 a left-over call to hal_shutdown() into which we passed NULL
19146 * src/NetworkManagerAP.c
19147 - (nm_ap_set_essid): Allow NULL essids
19149 * src/NetworkManagerAPList.[ch]
19150 - More use of nm_ap_list_[un]lock ()
19151 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19152 network/essid, just return nothing. Also skip over NULL
19153 essid access points in the list when searching
19154 - (nm_ap_list_get_ap_by_address): new function
19155 - (nm_ap_list_update_network): set the access point's key source to
19156 NULL when the key returned from NetworkManagerInfo is NULL or
19158 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19159 copy timestamp over too
19160 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19161 find the correct ESSID for a blank-essid access point by searching
19162 through another list and matching access point MAC addresses
19163 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19165 * src/NetworkManagerDbus.c
19166 - (nm_dbus_nm_set_active_device): deal with random networks the user
19167 may specify. This is mainly for access points that don't
19168 broadcast their essid. So if the user tells us to associate with
19169 some random ESSID that's not in our access point list, we find
19170 out if the access point does in fact exist (by attempting association
19171 and then matching that access point's MAC address with the essid the
19172 user gave us) and then we switch to it.
19173 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19174 to the returned list of networks for the "getNetworks" method
19176 * src/NetworkManagerDevice.[ch]
19177 - Extra debugging info for link detection
19178 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19179 based on MAC address
19180 - (nm_device_get_path_for_ap): ignore blank-essid access points
19181 - (nm_device_wireless_network_exists): new function, find out whether
19182 a random ESSID exists by attempting to associate with it
19183 - (nm_device_do_normal_scan): allow blank-essid access points in our
19184 device list as long as they have an AP MAC address we can use.
19185 Also send WirelessNetwork[Dis]Appeared signals for non-active
19186 devices too. Lets the applet update more frequently.
19188 * src/backends/NetworkManagerGentoo.c
19189 - Patch from: Robert Paskowitz
19190 - Update backend code for Gentoo
19191 - Implement nm_system_device_update_config_info ()
19193 * test/nmclienttest.c
19194 - (set_network_device): new function, takes a command-line argument
19195 and tells NetworkManager to use that wireless network
19197 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19199 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19200 if the notification icon crashes 5 times within 5 seconds of each respawn
19202 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
19204 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19207 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
19209 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19211 * panel-applet/NMWirelessApplet.c: (animation_timeout),
19212 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19213 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19214 Change the name of the icons.
19216 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19217 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19218 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19219 (nm_menu_wireless_expose_event): Really bad hack to get the style
19220 to draw in the right color.
19222 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19224 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
19225 Notification if it crashes
19227 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
19229 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
19230 (nmwa_dbus_get_string): remove unused functions
19232 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19233 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19234 remove unused functions
19236 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19238 2004-10-12 Dan Williams <dcbw@redhat.com>
19240 * panel-applet/NMWirelessAppletDbus.c
19242 wireless_network_new
19243 wireless_network_copy
19245 network_device_copy
19247 * src/NetworkManagerDevice.[ch]
19249 nm_device_set_mode_managed
19250 nm_device_set_mode_adhoc
19251 - Use these functions where appropriate
19252 - When creating a new wireless device, force the card
19253 to managed/Infrastructure mode as soon as possible
19255 2004-10-12 Dan Williams <dcbw@redhat.com>
19257 * src/NetworkManagerDevice.c
19258 - Force wireless cards into Infrastructure mode before we use them
19260 2004-10-12 Dan Williams <dcbw@redhat.com>
19263 - Remove bit about static IP address support
19265 * src/NetworkManagerUtils.c
19266 - (nm_spawn_process): Add some error reporting
19268 * src/NetworkManagerDevice.c
19269 - (nm_device_activation_configure_ip): hook up to the static config
19270 routines in the backends
19272 * src/backends/NetworkManagerRedHat.c
19273 - (nm_system_device_update_config_info): use shvar.c routines to
19274 parse the config file iformation, not our own
19275 - (nm_system_device_setup_static_ip4_config): new function, based
19276 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
19277 with a static IP address and gateway
19279 * src/backends/shvar.[ch]
19280 - Parser (filched from initscripts package) for ifcfg-* files
19282 * src/backends/NetworkManagerSystem.h
19283 src/backends/NetworkManagerGentoo.c
19284 src/backends/NetworkManagerDebian.c
19285 src/backends/NetworkManagerSlackware.c
19286 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19288 2004-10-11 Dan Williams <dcbw@redhat.com>
19291 - Remove bit about more robust AP diffing since I just implemented it
19293 2004-10-11 Dan Williams <dcbw@redhat.com>
19295 * src/NetworkManagerAP.c
19296 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19297 enough RAM to allocate new AP structures, but return NULL instead
19299 * src/NetworkManagerAPList.[ch]
19300 - (nm_ap_list_is_empty): new function
19301 - (nm_ap_list_combine): new function, combine two access point lists
19302 - (nm_ap_list_copy_keys): new function, copy keys from one list
19305 * src/NetworkManagerDevice.[ch]
19306 - Rename some functions to be clearer:
19307 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19308 nm_device_just_activated -> nm_device_is_just_activated
19309 nm_device_activating -> nm_device_is_activating
19310 nm_device_now_scanning -> nm_device_is_scanning
19311 - Cache the last 4 scans so that the access point list is more stable.
19312 We combine the lastest two scans and use that as the AP list,
19313 and diff that combined list against the combination of the earliest
19314 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19316 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19318 * info-daemon/NWManagerInfo.h
19319 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19321 * info-daemon/NWManagerInfoDbus.c
19322 - (shutdown_callback): new function
19323 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19324 if NetworkManager goes away. Kill the timeout
19325 if NetworkManager restarts before the 30 seconds
19327 - (nmi_dbus_service_init):
19328 - call gtk_main_quit if NetworkManager is not running
19329 - add filters to monitor dbus service creations and
19332 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19334 * panel-applet/NMWirelessApplet.c
19335 - (nmwa_update_state): Hide notification icon if we are only
19336 showing one wired card and no wireless interfaces
19337 (Red Hat Bug #134895)
19339 * panel-applet/NMWirelessAppletDbus.c
19340 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19342 * info-daemon/NWManagerInfo.c
19343 - (main): Terminated the notification_icon_cmd array with a NULL
19345 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
19347 * configure.in (ALL_LINGUAS): Added de (German).
19349 2004-10-08 Dan Williams <dcbw@redaht.com>
19351 * src/NetworkManagerDevice.c
19352 - Be a bit more robust about link checking, ie make sure that
19353 the WEP key we were given actually has some data in it
19355 2004-10-08 Dan Williams <dcbw@redhat.com>
19357 * info-daemon/NetworkManagerInfo.c (main):
19358 - Initialize GError object to NULL
19360 2004-10-08 Dan Williams <dcbw@redhat.com>
19362 * panel-applet/NMWirelessAppletDbus.c
19363 - Die if NetworkManagerInfo dies, since it manages our lifetime
19365 2004-10-08 Dan Williams <dcbw@redhat.com>
19367 * info-daemon/NetworkManagerInfo.[ch]
19368 info-dameon/NetworkManagerInfoDbus.[ch]
19369 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19370 - Preserve original label text in the passphrase dialog so that
19371 it actually gets updated with the new network name the next
19372 time around. Previously, we were overwriting it so you'd get
19373 the wrong network name to enter a key for
19374 - Add a "Key Type" combo to the passphrase dialog, user selects
19375 encryption key type now, type is stored in GConf too
19376 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19378 * src/NetworkManagerAP.[ch]
19379 - Remove all the encyption method magic. It's now set by the user
19380 and NetworkManager retrieves the type of encryption key from
19383 * src/NetworkManagerAPList.[ch]
19384 src/NetworkManagerDbus.[ch]
19385 - Adjust to new way of setting encryption key and method
19386 - Pull encryption method down from NMI along with key
19388 * src/NetworkManagerDevice.[ch]
19389 - Removed encryption method fallback magic as the method is now
19390 determined by the user. This greatly simplifies the connection
19392 - More robust connection/link logic. Besides removing the encryption
19393 method fallback magic, check whether or not the card is receiving
19394 invalidly encrypted packets, which usually indicates that we have
19396 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19398 * test/nminfotest.c
19399 - Test out new "Key Type" stuff in the NMI passphrase dialog
19401 2004-10-07 Dan Williams <dcbw@redhat.com>
19403 * info-daemon/NetworkManagerInfo.conf
19404 - Allow root user to run NMI too
19406 2004-10-06 Dan Williams <dcbw@redhat.com>
19408 * src/NetworkManagerDevice.[ch]
19409 src/NetworkManagerDbus.c
19410 doc/NetworkManager DBUS API.txt
19411 - Add a new status tag "scanning", which is set when there
19412 is no active network connection, but NetworkManager is
19413 looking for an access point to associate with
19415 * panel-applet/main.c
19416 - Cast the applet appropriately for gtk_widget_show_all ()
19418 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
19420 * panel-applet/eggtrayicon.[ch]:
19421 * panel-applet/main.c: Add missing file
19423 2004-10-04 Dan Williams <dcbw@redhat.com>
19425 * src/NetworkManagerDevice.[ch]
19426 - Add a slightly more robust method of determining if the WEP key
19427 is correct or not, by checking the WEP-discarded packet count
19430 * info-daemon/NetworkManagerInfo.c
19431 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19432 un-escape values we pull out rather than escaping them
19434 2004-10-03 Marcel Telka <marcel@telka.sk>
19436 * configure.in (ALL_LINGUAS): Added sk.
19438 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
19440 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19441 and feel. We should be back to working, and have a good, clean
19444 2004-09-30 Dan Williams <dcbw@redhat.com>
19446 * info-daemon/NetworkManagerInfo.c
19447 info-daemon/NetworkManagerInfoDbus.c
19449 - Escape ESSIDs in gconf
19451 * src/NetworkManagerDevice.c
19452 - Fix pseudo-scanning to use netowrk list from info daemon
19454 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
19456 * configure.in: Add a temporary --enable-notification-icon. This
19457 will prolly go away.
19459 * info-daemon/Makefile.am:
19460 * info-daemon/NetworkManagerInfo.c:
19461 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19463 * panel-applet/Makefile.am:
19464 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19465 * panel-applet/NMWirelessApplet.h:
19467 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
19469 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
19470 before 'select custom ESSID'.
19472 * panel-applet/menu-info.c: Start rewrite for better headers. Not
19473 fully complete, but syncing in prep for merge.
19475 * panel-applet/icons/*png: New images
19477 2004-09-28 Dan Williams <dcbw@redhat.com>
19479 * src/NetworkManager.c
19480 src/NetworkManagerDevice.c
19481 src/NetworkManagerPolicy.c
19482 - Don't blow away an active wired connection on startup
19484 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
19488 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19490 * info-daemon/NetworkManagerInfoDbus.c: added service name to
19493 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
19495 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19496 have a wireless card.
19498 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
19500 * panel-applet/NMWirelessApplet.c: move the custom essid item.
19501 Also, get the right device strings.
19503 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
19505 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19506 the logic to make this right.
19508 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19509 devices so that wired networks are always first.
19511 2004-09-22 <clarkbw@cvs.gnome.org>
19513 * initscript/Debian/.cvsignore:
19514 * initscript/Slackware/.cvsignore:
19515 Added new cvsignores for Makefile, Makefile.in
19518 Added nmtestdevices
19520 * src/NetworkManagerDevice.c:
19521 * src/NetworkManager.c:
19522 Updated the wireless/wired HAL device strings from net.ethernet to
19523 net.80203 or net.80211 depending on wired or wireless respectively
19525 * examples/python/NetworkManager.py:
19526 s/Quality/Strength/
19528 * examples/python/systray/network_tray.py:
19529 Lots of little changes and fixes. been rotting for a while so I
19530 figured I'd finally sync them all with CVS
19532 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
19534 * configure.in: Add graphics
19536 * panel-applet/Makefile.am: Add graphics
19538 * panel-applet/icons/*: Add graphics
19540 * panel-applet/NMWirelessApplet.c: Use new menu times to display
19541 the icons fully lined up.
19543 * panel-applet/menu-info.c:
19544 * panel-applet/menu-info.h: Add another menu type.
19546 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
19548 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19550 * panel-applet/menu-item.[ch]: Wireless menu item.
19552 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
19554 * info-daemon/NetworkManagerInfo.conf
19555 - Created a more robust security policy for the DBus service
19556 - everything is denied by default
19557 - root can own and send to the service
19558 - users logged in at the console can send to the service
19560 2004-09-13 Dan Williams <dcbw@redhat.com>
19562 * src/NetworkManagerDevice.c
19563 - (nm_device_get_essid): use iw_get_basic_config() rather than
19564 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
19567 2004-09-13 Dan Williams <dcbw@redhat.com>
19571 * docs/NetworkManager DBUS API.txt
19572 - Update for new signal strength changes
19574 * panel-applet/NMWirelessApplet.c
19575 - Make panel icon show strength of the current connection
19576 - Cleanups and memleak fixes
19578 * panel-applet/NMWirelessApplet.h
19579 - Add data members for signal strength on devices and networks
19581 * panel-applet/NMWirelessAppletDbus.c
19582 - Free more DBusErrors
19583 - Update for new signal strength changes
19584 - Make devices and networks more like real objects, use ref/unref methods
19585 - Actually unlock the mutex when updating the active device
19587 * src/NetworkManagerAP.c
19588 - Change AP functions and data members from "quality"->"strength"
19590 * src/NetworkManagerDbus.c
19591 - Kill "getMaxQuality" and "getQuality" methods
19592 - Add "getStrength" methods for Networks and Devices
19594 * src/NetworkManagerDevice.[ch]
19595 - Add accessors for device strength
19596 - Add functions to update strength for a device. Note that not all drivers
19597 actually support signal strength for scanned access points (Atmel drivers
19599 - Calculate signal strength for each AP during scan
19601 * src/NetworkManagerWireless.[ch]
19602 - Add function to return signal strength % from a device and a raw quality struct
19604 * test/nmclienttest.c
19605 - Update for new signal strength changes
19607 2004-09-11 Dan Williams <dcbw@redhat.com>
19609 * src/NetworkManager.c
19610 - Fix race condition between initscripts and NM on card insertion
19611 which could cause a card to keep an IP address and routes around
19612 even when it was not the active device
19614 * src/NetworkManagerDbus.c
19615 - Fix compile errors, free more DBusErrors
19617 2004-09-11 Dan Williams <dcbw@redhat.com>
19619 * docs/NetworkManager DBUS API.txt
19620 - Add an explanation of NM's API
19622 * src/NetworkManagerDbus.c
19623 - Free some more DBusErrors if needed
19625 2004-09-11 Dan Williams <dcbw@redhat.com>
19627 * panel-applet/NMWirelessApplet.c
19628 panel-applet/NMWirelessAppletDbus.c
19629 - Start using NetworkDevice/WirelessNetwork structures in more places
19630 - Update for unified device/network forcing in NetworkManager
19632 * src/NetworkManager.c
19633 - some code consolidation
19635 * src/NetworkManagerDbus.c
19636 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
19637 or two arguments: the first is the NM ID of the device to switch to,
19638 and the second (optional) argument is the ESSID of a wireless network
19640 - Get rid of "setNetwork" method due to above change
19642 * src/NetworkManagerDevice.c
19643 - (nm_device_new): perform scan and update best AP on device creation
19644 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
19645 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
19646 spin waiting for cancellation to finish before returning
19648 * src/NetworkManagerPolicy.c
19649 - Changes here clarify the situations in which a device switch occurs, and
19650 make sure to keep using a forced device and network if the user gives
19652 - Remove old unused code
19654 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
19656 * configure.in: Added Danish (da) to ALL_LINGUAS.
19658 2004-09-09 Dan Williams <dcbw@redhat.com>
19660 * panel-applet/NMWirelessAppletDbus.c
19661 - Pull fresh devices and networks from NM when wireless networks
19662 change. Provides faster feedback of a forced wireless network
19664 * src/NetworkManagerDbus.c
19665 - Return error when "getMaxQuality" is called on a wired device
19666 - Make best_ap freezing actually work again, and signal cancellation
19667 of activation if there's already a device activation when the user
19668 freezes the best_ap
19670 * src/NetworkManagerDevice.c
19671 - Don't clear out the best_ap for wireless devices when the link goes
19672 down, that's done elsewhere
19673 - Kill any dhcp daemons when cancelling device activation since they
19674 may be stuck waiting for a DHCP address, and since we're cancelling
19675 activation we don't care about that anymore
19677 * src/NetworkManagerPolicy.c
19678 - Make sure to unref the device we ref earlier (we refed it to make sure
19679 it stuck around during device activation and such)
19680 - If we were going to change the best device, but its activating currently
19681 (and therefore the change didn't occur due to the check earlier)
19682 we mark the state changed to we come back to it later when device
19683 activation has canceled and its no longer activating
19685 * src/backends/NetworkManagerRedHat.c
19686 - SIGKILL dhcp daemons rather than SIGTERM-ing them
19688 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
19690 * info-daemon/passphrase.glade:
19691 set passphrase input to activates_default : True
19693 * examples/python/systray/network_tray.py
19694 (network_tray.sort_networks):
19696 Added support for having wireless always scanning
19698 2004-09-09 Dan Williams <dcbw@redhat.com>
19700 NOTE: this commit changes the behavior of wireless devices in
19701 NetworkManager. They are now up all the time, scanning all
19702 the time. Only the active device has an IP address and routing
19703 information set up however. Also, NetworkManager will no longer
19704 opportunistically switch wireless networks when a better one
19705 comes in range, it will remain associated with one wireless network
19706 until that one drops out.
19708 * panel-applet/NMWirelessApplet.c
19709 panel-applet/NMWirelessAppletDbus.c
19710 - List all wireless cards and their respective networks
19712 * src/NMLoadModules
19713 - Use full path to /sbin/ip
19715 * src/NetworkManager.c
19716 - Keep wireless devices up all the time so they can scan
19718 * src/NetworkManagerDbus.c
19719 - On a WirelessNetworkUpdate signal from NMI, don't update
19722 * src/NetworkManagerDevice.c
19723 - (nm_device_set_link_active): clear out the best ap for
19724 wireless devices when the link is set to FALSE
19725 - Scan on all wireless cards, all the time
19726 - (nm_device_activation_worker): split out the wireless card
19727 link-waiting code to a separate function
19728 - Keep wireless cards up even if device activation fails
19729 - Don't update the "best" ap as much
19731 * src/NetworkManagerPolicy.c
19732 - Don't update the best ap when checking if its frozen,
19733 let link checking clear out a frozen best ap for us
19735 * src/NetworkManagerWireless.c
19736 - Scan on all wireless cards, all the time
19738 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
19740 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
19742 2004-09-09 Ankit Patel <ankit@redhat.com>
19744 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
19746 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
19748 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
19750 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
19752 * examples/python/NetworkManager.py:
19753 added CONNECTED, CONNECTING, and DISCONNECTED states
19754 added methods to return number of devices of a single type
19756 * examples/python/systray/network_tray.py:
19757 did some tweaks to get the menu looking near what it is supposed
19758 to look like. Also did a Airo card hack to make it show the
19761 2004-09-08 Dan Williams <dcbw@redhat.com>
19763 * panel-applet/no-networkmanager.png
19764 panel-applet/Makefile.am
19765 panel-applet/NMWirelessApplet.c
19766 - Add a "NetworkManager not running" icon and use it
19767 - Use new consolidated GConf keys rather than Preferred/Trusted
19771 * info-daemon/NetworkManagerInfo.c
19772 info-daemon/NetworkManagerInfoDbus.[ch]
19773 info-daemon/NetworkManagerInfoPassphraseDialog.c
19774 - There are now no longer two separate lists of wireless networks,
19775 but one list where each network is "trusted" or not trusted
19776 - Add a "getNetworkTrusted" dbus method
19777 - "WirelessNetworkUpdate" signal now sent rather than
19778 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
19779 - Start freeing some dbus errors (not completed yet)
19781 * info-daemon/passphrase.glade
19782 - Remove the "don't show" hints for pager and taskbar
19783 - Add a title since its going to be in the taskbar
19785 * src/NetworkManager.[ch]
19786 src/NetworkManagerAPList.[ch]
19787 - There are now no longer two separate lists of wireless networks,
19788 but one list where each network is "trusted" or not trusted
19790 * src/NetworkManagerAP.[ch]
19791 - Add get/set "trusted" accessors and data bit
19793 * src/NetworkManagerDbus.[ch]
19794 - Add function to get "trusted" status of a network from NetworkManagerInfo
19795 - Trap new WirelessNetworkUpdate signal rather than old separate signals
19797 * src/NetworkManagerDevice.[ch]
19798 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
19799 - (nm_device_new): Get device config from backend when initializing devices
19800 - (nm_device_activation_worker): Split out device configuration on
19801 activation to deal with static/dynamic IP differences, and try encryption
19802 fallbacks on a device if the encryption method for the best AP is not good
19803 - (nm_device_update_best_ap): convert to new consolidated access point lists from
19804 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
19806 * src/NetworkManagerWireless.c
19807 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
19809 * src/backends/NetworkManagerRedHat.c
19810 src/backends/NetworkManagerSystem.h
19811 - (nm_system_device_update_config_info): Add function to get device configuration
19812 from system data in ifcfg-* files
19814 * src/backends/NetworkManagerDebian.c
19815 src/backends/NetworkManagerGentoo.c
19816 src/backends/NetworkManagerSlackware.c
19817 - Add stub functions for getting device configuration
19819 2004-09-07 Dan Williams <dcbw@redhat.com>
19821 * src/backends/NetworkManagerRedhat.c
19822 src/backends/NetworkManagerSlackware.c
19823 - Use full path to /sbin/ip everywhere
19825 2004-09-07 Dan Williams <dcbw@redhat.com>
19827 Patch from: Narayan Newton <narayan_newton@yahoo.com>
19830 initscript/Makefile.am
19831 initscript/Slackware/Makfile.am
19832 initscript/Slackware/rc.networkmanager
19834 src/backends/NetworkManagerSlackware.c
19835 - Add Slackware support
19837 2004-09-07 Dan Williams <dcbw@redhat.com>
19839 Patches below from:
19841 Mark Roach <mrroach@okmaybe.com>
19842 Thom May <thom@debian.org>
19845 initscript/Debian/NetworkManager
19846 initscript/Debian/Makefile.am
19847 - Initscript for Debian
19849 * src/backends/NetworkManagerDebian.c
19850 - Add missing system init function to allow compilation
19853 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
19855 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
19857 2004-09-03 Akagic Amila <bono@linux.org.ba>
19859 * configure.in: Added 'bs' to ALL_LINGUAS.
19861 2004-09-02 Colin Walters <walters@verbum.org>
19863 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
19864 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
19865 g_strdup_printf instead of arbitrarily sized buffers.
19867 2004-09-01 Colin Walters <walters@verbum.org>
19869 * NetworkManager.pc.in: New file.
19871 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
19873 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
19875 * configure.in: Punjabi(pa) is added to po/.
19877 2004-08-31 Dan Williams <dcbw@redhat.com>
19879 * Remove 'debug' extern global from all files since we now
19882 * src/NetworkManager.[ch]
19883 - Break out routine that get the net.interface property from HAL,
19884 removing that logic from nm_create_device_and_add_to_list()
19885 - (nm_create_device_and_add_to_list): make this a bit more general so
19886 it doesn't do the talking to HAL. Also add arguments to facilitate
19887 the create of test devices.
19888 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
19889 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
19890 which makes NetworkManager listen for dbus commands to create test
19891 devices, which have no backing hardware. Use when you're on a plane
19892 for example, and/or forgot your wireless card at home. Test devices
19893 _cannot_ be created unless NM is started with --enable-test-devices.
19895 * src/NetworkManagerDbus.[ch]
19896 - New "getLinkActive" method for devices
19897 - New "setLinkActive" method for devices (only works on test devices)
19898 - New "createTestDevice" method on NetworkManager object to create a test
19899 device of a specified type (ie wired, wireless). UDI is created from
19900 scratch, as is the interface name. Only works when NM is started with
19901 --enable-test-devices switch.
19902 - New "removeTestDevice" method on NetworkManager object which removes a
19903 test device. Only works when NM is started with --enable-test-devices
19905 * src/NetworkManagerDevice.[ch]
19906 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
19907 whether a device is a test device or not, and what its link status is.
19908 - Deal with test devices in most functions. For those that work directly on hardware
19909 special-case test devices.
19910 - (nm_device_new): don't create a test device if test devices weren't enabled on the
19912 - (nm_device_update_link_active): split out logic for wired and wireless device link
19913 checking to separate functions to facilitate test device link checking.
19914 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
19915 don't make a distinction between System Authentication and Encryption
19916 (namely Cisco aironet), we use Open System auth when setting a WEP key
19917 on the card. We don't deal with Shared Key auth yet.
19918 - (nm_device_activation_worker): split the activation cancel check logic out into
19919 a separate routine nm_device_activation_cancel_if_needed()
19920 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
19921 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
19922 a list of fake access points that they can "see"
19923 - (nm_device_is_test_device): return whether or not a device is a test device
19925 * src/NetworkManagerPolicy.c
19926 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
19927 previously if you "locked"/forced NM to use a wireless device but then
19928 selected a wireless network for NM to use, it would switch to a wired device.
19929 So, if the active device is wireless and it has a "forced" best AP, use it
19930 if the "forced" best AP is still valid
19931 - (nm_state_modification_monitor): deal with NULL best devices, for example
19932 there were no usable network devices, or the last one was removed
19934 * src/backends/NetworkManager*.c
19935 - Deal with test devices, mostly just return success for operations like getting
19938 * test/nmtestdevices.c
19939 - Test tool to create/remove/link-switch test devices
19941 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
19943 * examples/python/NetworkManager.py:
19944 added convience functions has_wired_device and has_wireless_device
19946 * examples/python/systray/network_tray.py:
19947 cleaned up a bunch of cruft, added support for listing wireless
19948 networks just like the real applet. This is probably all I'm
19949 going to work on this applet from now on.
19950 TODO: add support for actually changing networks and devices
19952 * examples/python/NetworkManager.py (NetworkManager.get_device):
19953 changed "nm.networks" into a dict from a list so I can store all
19954 the cool information about networks in there
19956 * examples/python/systray/network_tray.py:
19957 Added nice message when you try to run without running make first
19959 * examples/python/NetworkManager.py:
19960 Bug fixes to the code so we get all the device information
19961 that we need in get_device()
19963 * examples/python/NMTester.py:
19964 Fixed _print_device_list to print_device_list
19966 2004-08-29 Seth Nickell <seth@gnome.org>
19970 Actually properly setup the Debian backend in configure.
19972 2004-08-29 Colin Walters <walters@verbum.org>
19974 * test/nminfotest.c: Include string.h and stdlib.h.
19975 (get_network_string_property, get_networks_of_type): Return NULL.
19977 * test/nmclienttest.c (get_device_name, get_active_device): Return
19980 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
19981 use strlen, fgets always NULL-terminates the string.
19983 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
19984 dbus_message_get_member): Remove /* in comment.
19986 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
19988 * src/NetworkManager.c (quit): Unused, delete.
19989 (nm_data_free): Cast arg to GFunc.
19991 * panel-applet/NMWirelessAppletDbus.c: Need to include
19992 string.h, and dbus-glib-lowlevel.h (the latter is needed
19993 for dbus_connection_setup_with_g_main at present).
19994 (nmwa_dbus_update_wireless_network_list): Parenthesize
19995 assignment in conditional.
19996 (nmwa_dbus_worker): Return NULL.
19998 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
19999 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20000 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20001 (nmwa_populate_menu): Return NULL on failure, instead of just
20004 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20006 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20009 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20012 2004-08-29 Colin Walters <walters@verbum.org>
20014 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20015 a GTimeVal instead of time_t. This is easier to work with,
20016 since time_t may be a long or double, we don't know.
20018 * src/NetworkManagerDbus.h: Update prototype.
20020 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20022 (nm_ap_get_timestamp): Update to return GTimeVal.
20023 (nm_ap_set_timestamp): Update to take GTimeVal.
20025 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20026 to handle GTimeVal.
20028 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20030 (nm_ap_list_print_members): Fix warnings in printf format.
20032 2004-08-29 Colin Walters <walters@verbum.org>
20034 * panel-applet/NMWirelessApplet.c: Include config.h.
20036 2004-08-29 Colin Walters <walters@verbum.org>
20038 * configure.in: Generate config.h.
20040 * configure.in: Dump dependency on OpenSSL; we can't
20041 use it since this package is GPL:
20042 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20043 Instead, check for libgcrypt, use it if available,
20044 otherwise use included MD5 code.
20046 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20047 Suck in from gnome-keyring, munge a bit.
20049 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20050 gnome-keyring-md5.h gnome-keyring-md5.c.
20051 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20053 * src/NetworkManagerWireless.c (nm_md5): New function, uses
20054 libgcrypt or included gnome-keyring md5 bits.
20055 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20057 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
20059 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20061 2004-08-27 Bryan Clark <bclark@redhat.com>
20063 * examples/python/systray/Makefile:
20065 Updated the clean section
20067 * examples/python/systray/trayiconmodule.c:
20068 * examples/python/systray/trayicon.override:
20069 * examples/python/systray/network_tray.py:
20070 * examples/python/systray/eggtrayicon.h:
20071 * examples/python/systray/eggtrayicon.c:
20072 * examples/python/systray/Makefile:
20073 * examples/python/README:
20074 * examples/python/NetworkManager.py:
20075 * examples/python/NMTester.py:
20077 Initial commit of these python example files
20079 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20081 * panel-applet/NMWirelessApplet.c
20082 - Make current device bold
20083 - Show more user-friendly device name if we got one from hal
20085 * panel-applet/NMWirelessAppletDbus.c
20086 - Grab "info.product" key from hal for network devices
20087 - Cache the current active device
20089 2004-08-27 Adam Weinberger <adamw@gnome.org>
20091 * configure.in: Added en_CA to ALL_LINGUAS.
20093 2004-08-27 Christian Rose <menthos@menthos.com>
20095 * configure.in: Added "sv" to ALL_LINGUAS.
20097 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20099 * Tag NetworkManager-0.2
20101 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
20103 * initscripts/Makefile.am
20104 * configure.in: Make pass distcheck
20106 * po/ChangeLog: added
20108 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20110 * panel-applet/NMWirelessApplet.c
20111 - Remove debugging code
20112 - Enable device switching from menus
20114 * panel-applet/NMWirelessAppletDbus.[ch]
20115 - Method for asking NM to switch devices
20117 * src/NetworkManagerDevice.c
20118 - Set dev->activating earlier, avoids race between
20119 the dbus signal of "DeviceActivating" and setting
20120 dev->activating (which is what NM's "status" method call
20123 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20125 * panel-applet/NMWirelessApplet.[ch]
20126 - Rework menu code to add devices to menu, and to show
20127 signal strength for each access point. Code cleanups
20130 * panel-applet/NMWirelessAppletDbus.c
20131 - Grab network devices from NetworkManager too
20132 - Grab quality information from NM for wireless networks
20134 * src/NetworkManagerDbus.[ch]
20135 - Add dbus methods for getting the HAL UDI from a device and
20136 for getting its base quality, if its wireless
20137 - Consolidate some functions (wireless network notifications,
20138 device notifications)
20139 - Add method for requesting NM to use a particular device
20141 * src/NetworkManager.c
20142 - Change for function consolidations from NetworkManagerDbus.c
20143 - Implement active device locking and user-requested devices
20144 (ie, tell NM to use a particular device instead of the one
20147 * src/NetworkManagerDevice.c
20148 - Add method for getting the base quality of a device, if its
20150 - Grab device base quailty info from iwlib during scans
20152 * src/NetworkManagerPolicy.c
20153 - Use a user-requested device rather than the auto-chosen device
20156 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
20158 * Makefile.am: add po as a supdir
20160 * autogen.sh: use gnome-autogen.sh
20162 * initscript/Gentoo/.cvsignore:
20163 * initscript/RedHat/.cvsignore: Shut up cvs
20165 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20167 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20168 (nmwa_fill): Use gettext.
20170 * configure.in: add gettext support
20172 * po/NetworkManager.pot:
20175 2004-08-26 Seth Nickell <seth@gnome.org>
20177 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20178 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20179 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20180 (nmwa_dispose_menu_items), (nmwa_populate_menu),
20181 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20182 * panel-applet/NMWirelessApplet.h:
20184 Use a menu bar instead of a button for the main clickable
20187 2004-08-25 Dan Williams <dcbw@redhat.com>
20189 * src/NetworkManagerDevice.c
20190 - (nm_device_set_enc_key): always set device to "open" mode instead of
20191 turning encryption off, because the Cisco driver doesn't associate
20192 with WEP-enabled access points unless we are in "open"
20194 2004-08-25 Dan Williams <dcbw@redhat.com>
20196 * src/NetworkManagerWireless.c
20197 - Don't try to defererence blank passphrases
20199 2004-08-25 Dan Williams <dcbw@redhat.com>
20201 * panel-applet/NMWirelessApplet.c
20202 - Rebuild the menu whenever a user clicks
20204 2004-08-25 Dan Williams <dcbw@redhat.com>
20206 * panel-applet/NMWirelessApplet.c
20207 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20208 when NM isn't around or when its not connected
20210 * src/NetworkManagerDevice.c
20211 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20214 2004-08-25 Dan Williams <dcbw@redhat.com>
20216 * panel-applet/NMWirelessAppletDbus.c
20217 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20218 for getting encryption, and don't stop on "val" once we've gotten it
20219 from NetworkManager. Short form: encryption should now show up.
20221 2004-08-25 Dan Williams <dcbw@redhat.com>
20223 * panel-applet/NMWirelessApplet.c
20224 - Set ESSID on a gconf trusted network too when force-setting the wireless
20225 network to associate with
20227 2004-08-25 Dan Williams <dcbw@redhat.com>
20230 - Rework the panel applet to do all DBUS communication in a separate
20233 2004-08-25 Dan Williams <dcbw@redhat.com>
20235 * info-daemon/NetworkManagerInfo.[ch]
20236 - Remove "get_next_priority" function
20238 * info-daemon/NetworkManagerInfoDbus.[ch]
20239 - Convert "priority" functions to "timestamp"
20241 2004-08-25 Dan Williams <dcbw@redhat.com>
20243 * src/NetworkManagerAP.[ch]
20244 - Add a "enc_method_good" member and accessors to an Access Point
20245 to signal when we've found the correct encryption method
20246 for an access point
20247 - Add a "timestamp" member and accessors, remove "priority" member
20248 and accessors (use timestamps instead)
20249 - Rename "wep_key"->"enc_key"
20250 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20251 for a specified encryption method using the access points
20252 source encryption key/passphrase
20254 * src/NetworkManagerAPList.c
20255 - When updating a network with dbus, grab timestamp now instead of
20258 * src/NetworkManagerDBus.[ch]
20259 - Add signal for "DeviceActivating"
20260 - Switch priority->timestamp
20262 * src/NetworkManagerDevice.c
20263 - Change references of "wep_key" -> "enc_key" or "key"
20264 - Signal DeviceActivating when starting activation
20265 - When activating a wireless device, if the access point we are connecting
20266 to is encrypted, and we have a source key, try to generate a mangled
20267 key and use that (ie, generate real WEP key from a passphrase)
20268 - Rework device activation to fallback to other encryption methods if
20269 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20270 first, then if that doesn't work fall back to direct hex key).
20271 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20272 priority. We now prefer the latest access point used, rather than using
20274 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20275 points we've just discovered, and merge in correct info from the global
20278 2004-08-25 Seth Nickell <seth@gnome.org>
20280 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20284 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20285 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20286 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20287 (nm_system_delete_default_route),
20288 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20289 (nm_system_load_device_modules):
20291 2004-08-24 Dan Willemsen <dan@willemsen.us>
20293 * src/NetworkManager.c
20294 src/backends/NetworkManagerGentoo.c
20295 src/backends/NetworkManagerRedHat.c
20296 src/backends/NetworkManagerSystem.h
20297 - Implement preliminary Gentoo support, adding a
20298 nm_system_init function to the backend specification
20301 - Distribution auto-detection, lowercase any user-fed
20304 * initscript/.cvsignore
20305 initscript/Makefile.am
20306 initscript/RedHat/Makefile.am
20307 initscript/RedHat/NetworkManager
20308 initscript/Gentoo/Makefile.am
20309 initscript/Gentoo/NetworkManager
20310 - Refactored initscript code separately for each
20313 2004-08-23 Dan Williams <dcbw@redhat.com>
20317 src/NetworkManagerDevice.c
20318 src/NetworkManager.c
20319 src/NetworkManagerUtils.[ch]
20320 src/backends/NetworkManagerSystem.h
20321 src/backends/NetworkManagerRedHat.c
20322 src/backends/NetworkManagerGentoo.c
20323 - Refactor system-specific code into separate backends for
20326 2004-08-23 Dan Willemsen <dan@willemsen.us>
20328 * dispatcher-daemon/NetworkManagerDispatcher.c
20329 info-daemon/NetworkManagerInfo.[ch]
20330 info-daemon/NetworkManagerInfoDbus.c
20331 info-daemon/NetworkManagerInfoPassphraseDialog.c
20332 src/NetworkManager.c
20333 src/NetworkManagerAP.c
20334 src/NetworkManagerAPList.c
20335 src/NetworkManagerDbus.c
20336 src/NetworkManagerDevice.c
20337 src/NetworkManagerPolicy.c
20338 src/NetworkManagerUtils.[ch]
20339 src/NetworkManagerWireless.c
20340 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20342 * src/NetworkManager.c
20343 - Fixed usage wording for --no-daemon
20345 2004-08-23 Dan Williams <dcbw@redhat.com>
20347 * panel-applet/NMWirelessApplet.c
20348 - Update our state every second to get more responsive panel icon
20349 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20350 was causing our marching ants status blips to never move when
20351 looking for a wireless network
20353 * src/NetworkManagerDevice.c
20354 - (nm_device_activation_begin): return if activation has already begun
20355 - (nm_device_do_normal_scan): merge WEP key and priority from the
20356 trusted/preferred network into the device's access point when the
20357 scan list is processed
20359 2004-08-23 Dan Williams <dcbw@redhat.com>
20361 * initscript/NetworkManager
20362 - Use NMLaunchHelper rather than sleeping
20364 * initscript/NMLaunchHelper.c
20366 - Add helper program that exits only when NM activates a device,
20367 or 10 seconds have passed, whichever happens first. This
20368 stops the boot processes until we have a network connection,
20369 which NM can't do because it daemonizes and brings the connection
20370 up in the background. Allows stuff like NFS to not die.
20372 2004-08-20 Dan Williams <dcbw@redhat.com>
20374 * info-daemon/NetworkManagerInfoPassphraseDialog.c
20375 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20376 for a network, set the essid as well since it may not exist yet
20377 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20378 since WEP keys/passphrases are long and prone to entry-error
20380 * panel-applet/Makefile.am
20381 panel-applet/wired.png
20382 - Add (pulled from system-config-network temporarily)
20384 * panel-applet/NMWirelessApplet.[ch]
20385 - Show wired picture when a wired connection is used
20386 - Rename wireless icon enums, adding WIRELESS
20388 * src/NetworkManagerDevice.c
20389 - (nm_device_activate_wireless): unset encryption before bringing
20390 down the card and setting the essid
20391 - (nm_device_activatin_worker): request a key from the user if the
20392 AP we are connecting to is encrypted but we don't have a key
20394 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20395 strcmp() that prevented a user-entered key from actually getting
20398 2004-08-16 Dan Williams <dcbw@redhat.com>
20400 * initscript/NetworkManager
20401 - Check for /sbin/ip
20402 - Do sysctl magic that network service does
20403 - sleep 4s after start to allow network time to come up [hack]
20407 - Load all network device kernel modules (hal doesn't know devices
20408 are ethernet until the module is loaded, and therefore we don't know)
20410 * src/NetworkManager.c
20411 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20412 network devices, and bring up the loopback device explicitly
20414 * src/NetworkManagerUtils.[ch]
20415 - (nm_enable_loopback): new function
20417 2004-08-13 Dan Williams <dcbw@redhat.com>
20420 panel-applet/Makefile.am
20421 - Fix up cleanfiles and server_DATA/server_in_files
20424 - Update with some comments on theory of operation
20430 2004-08-12 Dan Williams <dcbw@redhat.com>
20432 * info-daemon/passphrase.glade
20433 - Set window title to " "
20435 * panel-applet/Makefile.am
20436 panel-applet/keyring.png
20437 - Deliver to correct place
20439 * panel-applet/NMWirelessApplet.[ch]
20441 - Remove applet->have_active_device as its no longer used
20442 - (nmwa_load_theme): load keyring.png too
20443 - (error_dialog): remove
20444 - (show_warning_dialog): subsume functionality of error dialog too
20445 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20446 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20448 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20449 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20450 and when we get broadcasts of changed wireless access points only, not when the
20451 user clicks on the button to display the menu (too long of a wait)
20452 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20453 networks that are encrypted
20454 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20455 menu item with g_object_set_data()
20457 * panel-applet/NMWirelessAppletDbus.[ch]
20458 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20459 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20460 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20461 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20462 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20463 activation/deactivation signals and rebuild the menu when they happen
20465 * src/NetworkManager.c
20466 - (main): use new nm_spawn_process() rather than system()
20468 * src/NetworkManagerDbus.c
20469 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20470 instead. Since we can now force best_aps to stick around, the AP structure to which
20471 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20472 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
20473 to freeze the best_ap.
20475 * src/NetworkManagerDevice.[ch]
20476 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20477 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20478 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20481 * src/NetworkManagerUtils.[ch]
20482 - (nm_spawn_process): add replacement for system() usage
20484 2004-08-11 Dan Williams <dcbw@redhat.com>
20486 * panel-applet/NMWirelessApplet.[ch]
20487 - Fix up copyright and credits to include Bastien and Eskil,
20488 who created the gnome-applets wireless applet, from whose
20489 skeleton this one was created
20490 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20491 pixmap to draw is computed during nmwa_update_state()
20492 - Applet now shows itself all the time due to panel packing issues
20493 which caused the applet to previously never come back after hiding.
20494 When a wired device is the active device, the applet shows "not connected"
20496 * panel-applet/NMWirelessAppletDbus.[ch]
20497 - Clean up error messages and show what function they are from
20498 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20499 - Add new device type getters, and a status getter
20501 * src/NetworkManagerDbus.c
20502 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20503 network is actually in the device's ap list
20504 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20506 * src/NetworkManagerDevice.c
20507 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20510 * test/nmclienttest.c
20511 - Report status of NetworkManager too
20513 2004-08-11 Dan Williams <dcbw@redhat.com>
20515 * info-daemon/NetworkManagerInfo.c:
20516 - (main): clean up Seth's code style
20518 * info-daemon/NetworkManagerInfoDbus.c:
20519 - Use the more aptly-named path/service/interface constants from NetworkManager
20520 - Don't return empty strings ("") as object paths ever, instead return errors
20522 * panel-applet/NMWirelessApplet.c:
20523 - Clean up Seth's code style
20525 * src/NetworkManager.[ch]
20526 - (nm_remove_device_from_list): remove anything having to do with pending_device
20527 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20529 * src/NetworkManagerAPList.[ch]
20530 - Move Iter struct right above the iter functions to preserve opacity
20531 - (nm_ap_list_remove_ap): implement
20532 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20533 remove AP if NetworkManagerInfo doesn't know anything about it
20534 - (nm_ap_list_diff): user NMAPList iterators
20535 - (nm_ap_list_print_members): implement debugging function
20537 * src/NetworkManagerDbus.[ch]
20538 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20539 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20540 and move the actual key setting stuff into NetworkManagerDevice.c
20541 - (nm_dbus_get_network_priority): return -1 now on errors
20542 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20543 get lost, and force the active device to update its "best" ap when AP lists change
20544 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20545 method call due to pending_device member removal
20547 * src/NetworkManagerDevice.[ch]
20548 - Move NMDevice structure to the top
20549 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20550 - Remove Pending Action stuff from everywhere
20551 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
20552 activation for us. This thread blocks until all conditions for activation have
20553 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
20554 then setup up the interface and runs dhclient. We have to do this because there
20555 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
20556 run our main loop and respond to dbus method calls or HAL device removals/inserts
20557 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
20558 can tell nm_device_activation_worker() that we've got a key
20559 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
20560 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
20561 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
20562 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
20564 * src/NetworkManagerPolicy.c
20565 - Remove anything to do with pending_device
20566 - Adjust device activation to deal with activation-in-worker-thread
20568 * src/NetworkManagerUtils.c
20569 - Clean up locking debugging a bit
20571 * src/NetworkManagerWireless.[ch]
20572 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
20573 was badly named and is better as a device function
20575 * panel-applet/.cvsignore: add
20577 2004-08-09 Seth Nickell <seth@gnome.org>
20579 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
20580 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
20582 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
20584 Don't load the menus until clicked on (also removes a call outside
20585 normal code paths at first load).
20587 Hide applet when NM is not present.
20589 Improve printf debugging stuff.
20591 2004-08-09 Dan Williams <dcbw@redhat.com>
20593 * dispatcher-daemon/NetworkManagerDispatcher.c:
20594 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
20595 - Use constants for NetworkManager interface, service, and path
20597 2004-08-09 Dan Williams <dcbw@redhat.com>
20599 * src/NetworkManagerDbus.c:
20600 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
20601 instead return an error message
20602 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
20603 on a wired device. Also never return an empty object path, instead return an error message
20605 2004-08-06 Seth Nickell <seth@gnome.org>
20607 * panel-applet/NMWirelessApplet.c: (nmwa_new):
20609 Check the error code when getting a connection.
20611 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
20613 Check if the NM service exists when initializing (rather than
20614 assuming it does not).
20616 * src/NetworkManagerDbus.c: (nm_dbus_init):
20618 Don't acquire the well-known service name until we have
20619 registered object/path handlers and can actually receive
20622 2004-08-06 Dan Williams <dcbw@redhat.com>
20627 * src/NetworkManagerPolicy.c
20628 src/NetworkManager.c
20629 - Get access point lists from NetworkManagerInfo on-demand,
20630 and look for ServiceCreate/ServiceDeleted signals to see when
20631 we should query NMI for lists
20632 * src/NetworkManagerAPList.c
20633 - Make sure to init the list's mutex
20634 - Convert traversals of the list over to the list iter functions
20636 * src/NetworkManagerDbus.[ch]
20637 - Use more aptly-named path/service/interface constants
20638 - Treat both active and pending devices the same for "getActiveDevice"
20639 - Add a "status" method returning "connected", "connecting", or "disconnected"
20641 * src/NetworkManagerDevice.c
20642 - Honor "ignored" network list when picking best ap to use
20644 2004-08-06 Seth Nickell <seth@gnome.org>
20648 Autogenerated, remove from CVS.
20652 Don't hardcode automake version.
20655 * info-daemon/Makefile.am:
20656 * info-daemon/NetworkManagerInfo.c: (main):
20658 Use GnomeProgram et al. for doing session management.
20659 Use popt stuff for argument parsing rather than doing
20662 2004-08-05 Dan Williams <dcbw@redhat.com>
20664 * test/nminfotest.c
20665 - Update to new NMI dbus API, check different network types
20667 * info-daemon/NetworkManagerInfoDbus.c
20668 - Update to new NM dbus API, ie network type sent in query message
20670 2004-08-05 Dan Williams <dcbw@redhat.com>
20672 * An assload of changes
20674 2004-08-02 Dan Williams <dcbw@redhat.com>
20677 - new task: proper logging support
20679 * info-daemon/NetworkManagerInfo.c
20680 - Correct spelling of "canceled"
20681 - Correct casting of objects for g_signal_connect()
20683 * info-daemon/NetworkManagerInfoDbus.c
20684 - Add defines for NetworkManager namespace and object path, and use them
20685 - Add filter function to trap new signals from NetworkManager:
20686 WirelessNetworkAppeared, WirelessNetworkDisappeared
20688 * info-daemon/passphrase.glade
20689 - Change name of "ok" button to "Login to Network..."
20692 * src/NetworkManager.c
20693 - Code and debug message cleanups
20694 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
20695 - (nm_add_initial_devices) Check returned string array of devices
20696 and don't try to add devices if array is NULL
20697 - (main) Initialize libhal a bit later, make code a bit clearer
20699 * src/NetworkManagerAP.[ch]
20700 - New accessor and data member "matched": used to speed up AP list
20702 - New accessor and data member "enc_method": will be used during key
20703 fallback to cache which passphrase->key conversion actually works
20704 so we don't have to do it every time
20706 * src/NetworkManagerAPList.[ch]
20707 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
20708 - (nm_ap_list_diff) New: given two lists of access points, find the differences
20709 between them, and send WirelessNetworkAppeared/Disappeared signals over
20710 dbus in response to those differences
20712 * src/NetworkManagerDbus.[ch]
20713 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
20714 make an object path for that access point (NOTE that we don't yet check to
20715 make sure that access point is actually in the device's AP list yet)
20716 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
20717 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
20718 New: signal appearance/disappearance of wireless networks
20719 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
20722 * src/NetworkManagerDevice.[ch]
20723 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
20724 - (nm_device_ap_list_get) New: return the AP list (static function)
20725 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
20726 new one resulting from the scan with the old one
20728 * src/NetworkManagerWireless.c
20729 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
20731 * test/nminfotest.c
20732 - #define object paths and namespaces and use the #defines rather than static strings
20733 - Test out user-key functionality of NetworkManagerInfo too
20735 2004-07-29 Dan Williams <dcbw@redhat.com>
20737 * info-daemon/NetworkManagerInfoDbus.c
20738 src/NetworkManagerDbus.c
20739 - Update to current DBus (ie don't use decomposed paths when registering
20740 object paths/fallbacks)
20742 2004-07-27 Dan Williams <dcbw@redhat.com>
20744 * Remove various Makefile.in files
20747 - Add some more items
20750 - Add checks for OpenSSL/md5 headers and libs
20753 - Use OpenSSL CFLAGS
20755 * src/NetworkManagerAP.[ch]
20756 - Remove 'stamp' functions, replace with 'invalid' functions
20757 to support user cancelling WEP key entry
20759 * src/NetworkManagerDbus.c
20760 - Remove 'stamp' return functions
20761 - Treat returned user key as a passphrase and convert to a WEP key,
20762 but don't actually use the WEP key yet. We use the returned user
20763 key as a hexadecimal WEP key until we can figure out a UI for
20764 passphrase-vs-hex key
20766 * src/NetworkManagerWireless.[ch]
20767 - Add passphrase-to-128bit-key function
20769 2004-07-27 Dan Williams <dcbw@redhat.com>
20772 - Add a couple of items
20774 2004-07-27 Dan Williams <dcbw@redhat.com>
20776 * info-daemon/NetworkManagerInfo.c
20777 - Update allowed network's GConf key when user enters a WEP key explicitly
20779 * info-daemon/NetworkManagerDbus.c
20780 - Fix some comments
20781 - nmi_dbus_get_allowed_networks(): kill warning
20783 2004-07-27 Dan Williams <dcbw@redhat.com>
20785 * initscript/Makefile.in
20788 * initscript/Makefile.am
20789 - Add correct rules to install the init.d initscript
20791 * info-daemon/NetworkManagerInfoDbus.c
20792 - Remove debug fprintf
20794 * src/NetworkManagerDbus.[ch]
20795 - Remove debug fprintfs
20796 - Add macros for NetworkManagerInfo object path/namespace
20797 - Use said macros instead of constant strings
20799 2004-07-27 Dan Williams <dcbw@redhat.com>
20801 * initscript/.cvsignore
20804 * info-daemon/Makefile.am
20805 - Install .glade files and keyring.png
20806 - Fix stupid omission of a \ that caused half the flags not to be
20809 * info-daemon/NetworkManagerInfo.c
20810 - gtk_signal_connect->g_signal_connect
20811 - Alert NetworkManagerInfo to new glade file location
20813 2004-07-27 Dan Williams <dcbw@redhat.com>
20815 * test/nmclienttest.c
20817 - Add missing <dbus/dbus.h> headers
20818 - Add GPL message at top
20820 2004-07-27 Dan Williams <dcbw@redhat.com>
20822 * src/NetworkManagerAPList.[ch]
20824 - Add. Deal with allowed network list additions, deletions, and updates
20826 * dispatcher-daemon/NetworkManagerDispatcher.c
20827 - Add missing <dbus/dbus.h> header
20829 * info-daemon/NetworkManagerInfo.[ch]
20830 - Add missing <dbus/dbus.h> header
20831 - Implement the GConf notify callback to signal NetworkManager of an allowed
20833 - Better error checking
20835 * info-daemon/NetworkManagerInfoDbus.[ch]
20836 - Add missing <dbus/dbus.h> header
20837 - Convert to using dbus_message_append_args/dbus_message_get_args
20838 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
20839 that an allowed network changed. We don't want to signal on individual
20840 keys _inside_ an allowed network really, just want NM to query the info
20841 daemon for updated info on all keys.
20842 - Better error checking
20844 * src/NetworkManager.[ch]
20845 - Add missing <dbus/dbus.h> header
20846 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
20847 - Zero out NMData structure on free
20848 - No longer use a thread for allowed_ap_list updating, instead its now done
20849 through dbus queries against NetworkManagerInfo
20850 - Populate allowed_ap_list initially before adding existing network devices
20851 to the device list, so wireless devices can get their "best" AP
20853 * src/NetworkManagerDbus.[ch]
20854 - Convert to using dbus_message_append_args/dbus_message_get_args
20855 - Better error checking
20856 - Implement Allowed Network info functions to request allowed network
20857 info from NetworkManagerInfo
20858 - Implement the filter function to process signals from NetworkManagerInfo
20859 about changing allowed networks
20861 * src/NetworkManagerDevice.c
20862 - Fix file descriptor leak in nm_device_update_ip4_address()
20864 2004-07-27 Dan Williams <dcbw@redhat.com>
20869 dispatcher-daemon/.cvsignore
20870 info-daemon/.cvsignore
20871 - Add .cvsignore files to reduce noise when diffing
20873 2004-07-24 Dan Williams <dcbw@redhat.com>
20875 * src/NetworkManager.[ch]
20876 src/NetworkManagerDbus.[ch]
20877 src/NetworkManagerDevice.[ch]
20878 src/NetworkManagerPolicy.c
20879 src/NetworkManagerWireless.[ch]
20880 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
20881 - Pass the NMData application data structure through all calls
20882 that need it so we can get rid of nm_get_global_data()
20883 - Change deallocation of the allowed_ap_list GSList in preparation
20884 for not completely clearing it every time we get an update,
20885 but instead getting incremental updates via GConf/dbus
20887 2004-07-22 Dan Williams <dcbw@redhat.com>
20890 - Add checks for GConf libs & headers & flags
20892 * info-daemon/Makefile.am
20893 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
20895 * info-daemon/NetworkManagerInfo.[ch]
20896 - Don't use gquarks for data storage, just use normal data storage
20897 - Add gconf bits to watch /system/networking/wireless/allowed_networks
20899 * info-daemon/NetworkManagerDbus.[ch]
20900 - Add method call for getting allowed networks
20901 - Add method calls for getting an allowed network's essid, priority, and key
20902 - Hook the method calls up to GConf
20903 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
20904 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
20906 * src/NetworkManagerDbus.[ch]
20907 - Switch for enumeration of networks to using essid instead
20911 - Add test program for NetworkManagerInfo
20913 2004-07-19 Dan Williams <dcbw@redhat.com>
20915 * src/NetworkManagerDbus.c
20916 - Switch from indexed device paths to names. Less code, more efficient.
20917 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
20919 2004-07-19 Dan Williams <dcbw@redhat.com>
20921 * dispatcher-daemon/NetworkManagerDispatcher.c
20922 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
20924 2004-07-19 Dan Williams <dcbw@redhat.com>
20927 - Add info-daemon directory
20930 - Check for glade libs and headers
20931 - Add info-daemon directory
20933 * src/NetworkManagerAP.c
20934 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
20935 copied over to the new AP.
20937 * src/NetworkManagerDbus.c
20938 src/NetworkManagerDbus.h
20939 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
20940 - Remove nm_dbus_signal_need_key_for_network()
20941 - Add disabled code for asynchronous user wep key callbacks
20942 - Add functions for getting, setting, and cancelling user key operations
20943 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
20944 - Add "setKeyForNetwork" dbus method call on NetworkManager object
20946 * src/NetworkManagerDevice.c
20947 src/NetworkManagerDevice.h
20948 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
20949 logic is in device activation now
20950 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
20951 key is wrong) trigger get-user-key pending action
20952 - Implement get-user-key pending action stuff, tie to dbus messages
20953 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
20954 - Add nm_device_ap_list_get_ap_by_essid()
20955 - Instead of copying "best" access points, ref them instead so that the key we set
20958 * src/NetworkManagerPolicy.c
20959 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
20960 - Don't cancel pending actions on a device if its the same device as last iteration
20961 - Only promote pending_device->active_device if activation was successfull
20964 - Rename nmclienttest->nmtest
20966 * info-daemon/Makefile.am
20967 info-daemon/NetworkManagerInfo.c
20968 info-daemon/NetworkManagerInfo.h
20969 info-daemon/NetworkManagerInfoDbus.c
20970 info-daemon/NetworkManagerInfoDbus.h
20971 info-daemon/passphrase.glade
20972 info-daemon/NetworkManagerInfo.conf
20973 info-daemon/keyring.png
20974 - Import sources for info-daemon, which pops up dialog for passphrase/key when
20975 NetworkManager asks for it, and also will (soon) provide "allowed" access point
20976 lists to NetworkManager by proxying user's GConf
20979 2004-07-15 Dan Williams <dcbw@redhat.com>
20984 * src/NetworkManager.c
20985 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
20986 that doing the deactivation ourselves
20987 - Cancel an pending actions on a device if its being removed
20988 - Break up link state checking a bit, make non-active wireless cards
20989 deactivated to save power
20990 - Remove unused variables
20992 * src/NetworkManager.h
20993 - Add support for "pending" device
20995 * src/NetworkManagerAP.h
20996 src/NetworkManagerAP.c
20997 - Add support for determining whether and AP has encryption enabled or not
20998 - AP address is now "struct ether_addr" rather than a string
21000 * src/NetworkManagerDbus.h
21001 src/NetworkManagerDbus.c
21002 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21003 - Changes for AP address from struct ether_addr->string
21005 * src/NetworkManagerDevice.h
21006 src/NetworkManagerDevice.c
21007 - Remove unused variables, fix warnings
21008 - Add support for Pending Actions (things that block a device from being "active"
21009 until they are completed).
21010 - First pending action: Get a WEP key from the user
21011 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21012 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21013 - Update wireless link checking to try to determine if the AP we are associated
21014 with is correct, but the WEP key we are using is just wrong. If its wrong,
21015 trigger the GetUserKey pending action on the device
21016 - If dhclient can't get an IP address, it brings the device down. Bring it back
21017 up in that case, otherwise we can't scan or link-check on it
21018 - Add IP address change notifications at appropriate points (still needs some work)
21019 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21021 * src/NetworkManagerPolicy.h
21022 src/NetworkManagerPolicy.c
21023 - Split out "best" access point determiniation into separate function
21024 - Make device activation 2-stage: first the device is pending, then
21025 in the next iteration through it becomes "active" unless it has
21028 * src/NetworkManagerUtils.h
21029 src/NetworkManagerUtils.c
21030 - Clean up unused variables and warnings
21031 - Wrap our debug macros in {} to prevent possible confusion
21033 * src/NetworkManagerWireless.c
21034 - Forgot to return current best priority, which lead to last available AP always
21035 being chosen no matter what its priority was. Corrected.
21037 2004-07-15 Dan Williams <dcbw@redhat.com>
21039 * dispatcher-daemon/Makefile.am
21042 * dispatcher-daemon/NetworkManagerDispatcher.c
21043 - Remove unused variables due to warnings
21044 - Fix some comments
21045 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21047 2004-07-06 Dan Williams <dcbw@redhat.com>
21049 * src/NetworkManager.c
21050 - Add IPv4 address update for active device during link state check
21051 - Don't allow wireless cards to be powered up when they are not the
21054 * src/NetworkManagerDbus.c
21055 src/NetworkManagerDbus.h
21056 - Add DBUS IPv4 address change signal
21057 - Add DBUS IPv4 address get method for devices
21059 * src/NetworkManagerDevice.c
21060 - Make setting the WEP key actually work
21061 - Move IP address get/set/update stuff here, per-device
21062 - Power down/bring down wireless device when deactivated
21063 - For scanning wireless devices, if first scan returned ENODATA, try again
21065 * src/NetworkManagerPolicy.c
21066 - Only set the WEP key for an allowed access point if there is one.
21067 We were setting it to be blank if one wasn't specified.
21069 * src/NetworkManagerUtils.h
21070 src/NetworkManagerUtils.c
21071 - Move the IP address stuff to NetworkManagerDevice.c
21073 * dispatcher-daemon/NetworkManagerDispatcher.c
21074 - Add device IPv4 address change notification stuff
21076 2004-07-05 Dan Williams <dcbw@redhat.com>
21078 * dispatcher-daemon/NetworkManagerDispatcher.c
21079 - A bit more descriptive state message
21080 - Don't segfault when reading directory
21082 * src/NetworkManager.h
21083 - Remove NMData desired_ap member, its now
21084 per-device rather than global
21086 * src/NetworkManager.c
21087 - Remove references to desired_ap
21088 - Move the allowed AP list refresh stuff into a thread
21090 * src/NetworkManagerDevice.c
21091 src/NetworkManagerDevice.h
21092 - Each wireless device now has a "best ap"
21093 - Make device activate/deactivate functions per-device
21094 - Make wireless scanning per-device
21095 - Add IPv4 address discover functions, stub IPv6 ones
21096 - Move ethernet address validation functions to NetworkManagerUtils.c
21097 - Add wireless access point accessor function
21098 - Get/Set functions for "best ap"
21100 * src/NetworkManagerPolicy.c
21101 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21102 - Deal with per-device "best ap" rather than data->desired_apa
21103 - Implement allowed access point worker thread
21104 - Add nm_policy_essid_is_allowed() function
21106 * src/NetworkManagerUtils.c
21107 src/NetworkManagerUtils.h
21108 - Add nm_ethernet_address_is_valid() function
21109 - Add IPv4/IPv6 address get functions
21111 * src/NetworkManagerWireless.c
21112 src/NetworkManagerWireless.h
21113 - Move scanning stuff into NetworkManagerDevice.c, per-device
21115 2004-06-29 Dan Williams <dcbw@redhat.com>
21117 * dispatcher-daemon/NetworkManagerDispatcher.c
21118 - Implement script callout functionality
21120 2004-06-24 Dan Williams <dcbw@redhat.com>
21124 - Flush device routes and ip addresses when added to the device list
21126 * NetworkManagerDbus.c
21128 - Add missing returns in the two signal functions
21130 * NetworkManagerPolicy.c
21131 - Spacing and variable cleanups
21133 2004-06-24 Dan Williams <dcbw@redhat.com>
21138 dispatcher-daemon/Makefile.am
21139 dispatcher-daemon/Makefile.in
21140 dispatcher-daemon/NetworkManagerDispatcher.c
21141 - Add a daemon that receives signals from NetworkManager
21142 and will (eventually) call scripts in /etc/somewhere
21143 when devices go up or down.
21147 - Flush device routes and ip addresses when added to the device list
21149 * NetworkManagerDbus.c
21151 - Add missing returns in the two signal functions
21153 * NetworkManagerPolicy.c
21154 - Spacing and variable cleanups
21155 - Rename nm_policy_switch_interface->nm_policy_switch_device
21156 - nm_policy_switch_device():
21157 Use kill (pid) instead of system ("kill <pid>")
21158 - nm_state_modification_monitor():
21159 Add wireless essid to output of debug statements
21160 Correct typo in device compare to switch or not (should be !=)
21161 Don't sleep after sending "no longer active" signal, was useless
21163 2004-06-24 Dan Williams <dcbw@redhat.com>