1 2008-10-10 Tambet Ingo <tambet@gmail.com>
3 * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
4 a daemon to prevent NM logging spew on console on startup and shutdown (due
5 to dependency loop between NM and syslog).
7 2008-10-10 Alexander Sack <asac@ubuntu.com>
9 Implement managed mode. We bind devices configured in /etc/network/interfaces
10 to their connections by updating wired/wireless setting with the
11 mac address of the device.
13 * system-settings/plugins/ifupdown/plugin.c
14 - (get_net_address_for_udi): implement function to retrieve MAC
15 address of udi from hal in GByteArray format
16 - (bind_device_to_connection): bind mac address of device to
17 wired/wireless system connection
18 - (hal_device_added_cb): call bind_device_to_connection for
19 system connections with a matching interface.name
20 - (hal_device_added_cb): ensure that all code paths
21 properly free the "iface" string.
23 2008-10-10 Alexander Sack <asac@ubuntu.com>
25 Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
26 mode of the ifupdown system config plugin.
28 * system-settings/plugins/ifupdown/plugin.c
29 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
30 private unmanage_well_known state field accordingly
32 2008-10-10 Alexander Sack <asac@ubuntu.com>
34 Implement unmanaged mode that will prevent all devices in the
35 well_known_udis set from being touched by NetworkManager
37 * system-settings/plugins/ifupdown/plugin.c
38 - (typedef struct SCPluginIfupdownPrivate): add gboolean
39 unmanage_well_known field used to turn on/off unmanaged
41 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
42 signal when well_known_udis get added/removed
43 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
44 if we are in unmanaged mode
46 2008-10-10 Alexander Sack <asac@ubuntu.com>
48 Add support to track network devices that have a configuration
49 with a matching interface.name in /etc/network/interfaces
51 * system-settings/plugins/ifupdown/plugin.c
52 - (typedef struct SCPluginIfupdownPrivate): add hash table
53 to track |well_known_udis|
54 - (get_iface_for_udi): helper function to get interface.name
56 - (hal_device_added_cb, hal_device_removed_cb): callbacks
57 that add and remove devices to and from the well_known_udis
58 set depending on whether their |interface.name| matches
59 any interface definition in /etc/network/interfaces
60 - (SCPluginIfupdown_init): connect callbacks from above with
61 hal_mgr and setup well_known_udis hashtable
62 - (GObject__dispose): destroy well_known_udis hashtable
63 - (hal_device_added_cb2): implement wrapper callback with GFunc
64 signature. user_data is supposed to be a triple (hal_mgr,
66 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
67 startup and call hal_device_added_cb2
69 2008-10-10 Alexander Sack <asac@ubuntu.com>
71 Remove implementation for not used NMSystemConfigInterface callback functions
74 * system-settings/plugins/ifupdown/plugin.c
75 - (SCPluginIfupdown_unmanaged_devices_changed): removed
76 - (SCPluginIfupdown_connection_added): removed
78 2008-10-08 Dan Williams <dcbw@redhat.com>
80 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
82 * src/NetworkManagerUtils.c
83 - (nm_utils_call_dispatcher): add a 'hostname' action
85 * src/NetworkManagerPolicy.c
86 - (set_system_hostname): dispatch hostname changes
88 * callouts/nm-dispatcher-action.c
89 - (nm_dispatcher_action): handle 'hostname' actions
91 2008-10-08 Dan Williams <dcbw@redhat.com>
93 * src/NetworkManagerSystem.c
94 - (find_route): ref the route so it doesn't get destroyed when the cache
96 - (nm_system_device_set_priority): unref the route here after it's done
99 2008-10-08 Dan Williams <dcbw@redhat.com>
101 * src/nm-serial-device.c
102 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
104 2008-10-08 Tambet Ingo <tambet@gmail.com>
106 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
107 connection with new settings before saving it.
109 2008-10-06 Dan Williams <dcbw@redhat.com>
111 * src/nm-ip4-config.c
113 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
115 * src/nm-device-interface.c
116 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
117 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
118 by using '/' for the object path
121 - (src/nm-device.c): marshal missing/unexported ip4-config through
122 dbus as '/' since dbus-glib can't handle NULL objects nor can
123 dbus handle NULL object paths
125 2008-10-03 Alexander Sack <asac@ubuntu.com>
127 Implement system hostname support for debian/ubuntu
129 * system-settings/plugins/ifupdown/plugin.c
130 - (GObject__get_property): extend announced capabilities; add
131 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
132 - (GObject__set_property,write_system_hostname): implement
133 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
134 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
135 update_system_hostname, get_hostname):
136 implement hostname property that watches and
139 2008-10-03 Alexander Sack <asac@ubuntu.com>
141 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
142 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
143 system-settings/plugins/ifcfg-fedora/Makefile.am
144 system-settings/src/nm-inotify-helper.c
145 system-settings/src/nm-inotify-helper.h
147 - Move ifcfg-fedora inotify helpers to the system settings service so
148 they are available to all plugins
150 2008-10-03 Alexander Sack <asac@ubuntu.com>
152 Implement support for wep-tx-keyidx in ifupdown system
155 * system-settings/plugins/ifupdown/parser.c
156 - (update_wireless_security_setting_from_if_block): introduce
157 free_type_mapping func table; rename a few local
158 variables to improve readability; add wpa security mapping
159 for wep-tx-keyidx property
160 - (string_to_gpointerint): new function used for the auto_type_mapping
161 of new wep-tx-keyidx property
162 - (slist_free_all): free func used for mapped slist types
164 2008-10-03 Alexander Sack <asac@ubuntu.com>
166 * system-settings/src/main.c:
167 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
168 always used as the hash key; fixes a crash when removing wired
171 2008-10-02 Dan Williams <dcbw@redhat.com>
173 * src/nm-gsm-device.c
174 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
175 pass the required GSM secret along via user_data rather than keeping
176 it around in the private data where it sometimes didn't get cleared
177 - (real_get_ppp_name): implement using the GSM username
179 2008-10-02 Dan Williams <dcbw@redhat.com>
181 * src/ppp-manager/nm-ppp-manager.c
182 src/ppp-manager/nm-ppp-manager.h
183 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
184 the settings daemon for completely new ones
185 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
186 local PPP peer name; allow PPP debuging by launching NM with
187 the environment variable NM_PPP_DEBUG defined
188 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
189 create_pppd_cmd_line()
191 * src/nm-serial-device.c
192 src/nm-serial-device.h
193 - New 'get_ppp_name' function for subclasses to implement to return the
195 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
196 and pass that name to the PPP manager
198 * src/nm-device-ethernet.c
199 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
202 * src/nm-cdma-device.c
203 - (real_get_ppp_name): implement using the CDMA username
205 2008-10-02 Dan Williams <dcbw@redhat.com>
207 Patch from Alexander Sack <asac ubuntu com>
209 * system-settings/plugins/ifupdown/parser.c
210 - Implement more graceful ip4 config parsing for cases where
211 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
212 by using default values
214 2008-10-02 Dan Williams <dcbw@redhat.com>
216 * src/NetworkManagerPolicy.c
217 - (device_state_changed): when marking a connection invalid, clear its
218 secrets too so that fresh secrets get requested the next time
220 2008-10-01 Dan Williams <dcbw@redhat.com>
222 * system-settings/src/dbus-settings.c
223 - (nm_sysconfig_settings_init): cache system hostname on startup as
224 a fallback if no plugin provides a hostname
225 - (get_property): fall back to cached hostname if no plugin provides
228 2008-10-01 Dan Williams <dcbw@redhat.com>
230 Fix setting value comparison issue that caused some settings to look the
231 same when they were really different (rh #464417)
233 * libnm-util/nm-param-spec-specialized.c
234 - (type_is_fixed_size): return fundamental size of the fixed type too
235 - (nm_gvalues_compare_collection): use the fundamental fixed type size
236 in the comparison so that the _entire_ fixed type collection gets
237 compared rather than just the first 'len1' bytes
239 2008-09-30 Dan Williams <dcbw@redhat.com>
241 * src/NetworkManagerPolicy.c
242 - (lookup_thread_worker): don't store the idle handler ID becuase the
243 idle handler could have already run and freed the LookupThread
246 2008-09-30 Tambet Ingo <tambet@gmail.com>
248 * src/nm-device.c (nm_device_get_priority): Implement.
249 (nm_device_set_ip4_config): Send the device priority to system ip4
252 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
253 Add priority argument and if it's >= 0, set the priority of the network
254 route added automatically by netlink (or kernel?).
255 (nm_system_device_set_priority): Implement.
257 * src/NetworkManagerPolicy.c (get_best_device): Use
258 nm_device_get_priority() instead of home-grown version. Revert the
259 meaning, best priority is the lowest one.
261 2008-09-29 Dan Williams <dcbw@redhat.com>
263 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
264 when it returns EAGAIN (rh #362421)
266 * src/nm-device-wifi.c
267 - (wireless_get_range): try GIWRANGE a few times until the card responds
268 - (real_get_generic_capabilities, constructor): use wireless_get_range()
270 2008-09-28 Dan Williams <dcbw@redhat.com>
272 * src/nm-serial-device.c
273 src/nm-serial-device.h
274 - (nm_serial_device_close): stop PPP manager here so that PPP gets
275 cleaned at the right times when subclasses close the serial port too
276 - (nm_serial_device_send_command): use a default send delay; don't
277 spin forever on EAGAIN
278 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
279 remove, no longer used
280 - (find_response): return the matched response if any
281 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
283 - (wait_for_reply_done): pass the matched response to the callback
284 - (wait_for_reply_got_data): save the matched response; simplify timeout
286 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
287 const since they never get modified
288 - (cleanup_device): split out common cleanup stuff to a new function
289 - (real_deactivate_quickly, finalize): use cleanup_device()
291 * src/nm-gsm-device.c
292 - (modem_get_reply): remove, unused
293 - (set_apn): give the card a bit more time to respond
294 - (manual_registration_again, schedule_manual_registration_again,
295 manual_registration_response, manual_registration): handle manual
296 registration timeouts better by retrying registration a few times
297 because cards are a bit slow after CFUN=1
298 - (automatic_registration_get_network, get_network_response): use
299 modem_wait_for_reply() because it interacts better with the serial
300 buffer and does more intelligent matching; need to wait for 'OK'
301 rather than just matching terminators
302 - (schedule_automatic_registration_again,
303 automatic_registration_response, automatic_registration): retry
304 registration a few times on timeout or "searching" because cards
305 take a bit to find a network after being powered up with CFUN=1
306 - (power_up_response, power_up, init_full_done, enter_pin,
307 check_pin_done): power up the card with CFUN=1 before trying to
308 register with the network
309 - (init_modem_full, init_modem): use more standard 3G init strings
311 * src/nm-hso-gsm-device.c
312 - (modem_get_reply): remove, unused
313 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
314 modem_wait_for_reply() to match actual responses instead of single
315 termination characters; it doesn't leave stuff in the serial buffer
316 that might confuse later calls
317 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
318 to ensure that the call is really disconnected and not leave extra
319 stuff in the serial buffer
321 * src/nm-cdma-device.c
322 - (power_up_response, power_up, init_done): try Sierra-style modem
323 power up before attempting to connect
325 2008-09-27 Dan Williams <dcbw@redhat.com>
327 * libnm-util/nm-setting-gsm.c
328 - (verify): verify GSM network ID
330 2008-09-25 Dan Williams <dcbw@redhat.com>
332 * libnm-util/nm-setting-gsm.c
333 libnm-util/nm-setting-gsm.h
334 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
335 technology terms (bgo #551361)
337 2008-09-25 Dan Williams <dcbw@redhat.com>
339 Fix bgo #549401 (inspired by patch from Alexander Sack)
341 * src/nm-device-ethernet.c
342 - (finish_supplicant_task): clean up scheduled tasks and free memory
343 - (remove_supplicant_interface_error_handler): remove the supplicant
344 error idle callback too
345 - (supplicant_interface_release): rename from supplicant_interface_clean
346 to match nm-device-wifi.c; clean up supplicant interface-related
347 state tasks when the supplicant interface is disposed of
348 - (schedule_state_handler): add scheduled tasks to a list so they can
350 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
351 supplicant_iface_connection_state_cb_handler): use
352 finish_supplicant_task() to clean up each completed task
353 - (supplicant_iface_connection_error_cb_handler,
354 supplicant_connection_timeout_cb): clear source id when the task is
356 - (supplicant_iface_connection_error_cb): save scheduled task id for
358 - (nm_device_ethernet_dispose): clean up any pending supplicant state
361 * src/nm-device-wifi.c
362 - (finish_supplicant_task): clean up scheduled tasks and free memory
363 - (remove_supplicant_interface_error_handler): remove the supplicant
364 error idle callback too
365 - (supplicant_interface_release): clean up supplicant interface-related
366 state tasks when the supplicant interface is disposed of
367 - (schedule_state_handler): add scheduled tasks to a list so they can
369 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
370 supplicant_iface_connection_state_cb_handler): use
371 finish_supplicant_task() to clean up each completed task
372 - (supplicant_iface_connection_error_cb_handler): clear source id when
374 - (supplicant_iface_connection_error_cb): save scheduled task id for
376 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
378 2008-09-24 Tambet Ingo <tambet@gmail.com>
380 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
381 method and get/set hostname property.
383 2008-09-24 Tambet Ingo <tambet@gmail.com>
385 * src/supplicant-manager/nm-supplicant-interface.c
386 (nm_supplicant_interface_disconnect): Don't increment the reference
387 count when disconnecting. The problem is on shutdown, when the replies
388 to these commands do not arrive before NM exits, resulting on never
389 calling supplicant interface's dispose(), which removes the interface
392 2008-09-24 Tambet Ingo <tambet@gmail.com>
394 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
395 all the public function arguments.
397 2008-09-22 Tambet Ingo <tambet@gmail.com>
399 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
400 "Failure" signal from VPN plugins, store the failure reason, and
401 use it when the state is changed to failure.
403 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
406 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
407 reason to the end of the list to not break the API.
408 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
409 so it can be shared by plugins and daemon.
411 2008-09-18 Dan Williams <dcbw@redhat.com>
413 Patch from Alexander Sack <asac@ubuntu.com>
416 system-settings/plugins/Makefile.am
417 system-settings/plugins/ifupdown/Makefile.am
418 system-settings/plugins/ifupdown/interface_parser.c
419 system-settings/plugins/ifupdown/interface_parser.h
420 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
421 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
422 system-settings/plugins/ifupdown/parser.c
423 system-settings/plugins/ifupdown/parser.h
424 system-settings/plugins/ifupdown/plugin.c
425 system-settings/plugins/ifupdown/plugin.h
426 - Implement a Debian/Ubuntu legacy network configuration plugin
429 2008-09-18 Dan Williams <dcbw@redhat.com>
431 Implement support for honoring configured and automatic hostnames, and for
432 setting the configured hostname.
434 * introspection/nm-ip4-config.xml
437 src/dhcp-manager/nm-dhcp-manager.c
438 - Remove useless hostname property; it's not really part of the IPv4
441 * introspection/nm-settings-system.xml
442 libnm-glib/nm-dbus-settings-system.c
443 libnm-glib/nm-dbus-settings-system.h
444 - Add SetHostname() call to system settings D-Bus interface
445 - Add Hostname property to system settings D-Bus interface
446 - (nm_dbus_settings_system_save_hostname,
447 nm_dbus_settings_system_get_hostname): implement
451 - (nm_device_get_dhcp4_config): implement
455 - Fetch and track system settings service hostname changes, and proxy
456 the changes via a GObject property of the manager
458 * system-settings/src/nm-system-config-interface.c
459 system-settings/src/nm-system-config-interface.h
460 - Replace nm_system_config_interface_supports_add() with a capabilities
463 * system-settings/src/nm-system-config-error.c
464 system-settings/src/nm-system-config-error.h
465 - Add additional errors
467 * system-settings/src/dbus-settings.c
468 system-settings/src/dbus-settings.h
469 - (get_property, nm_sysconfig_settings_class_init): add hostname
470 property; first plugin returning a hostname wins
471 - (impl_settings_add_connection): use plugin capabilities instead of
472 nm_system_config_interface_supports_add()
473 - (impl_settings_save_hostname): implement hostname saving
475 * src/NetworkManagerPolicy.c
476 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
477 lookup_thread_die): implement an asynchronous hostname lookup thread
478 which given an IPv4 address tries to look up the hostname for that
479 address with reverse DNS
480 - (get_best_device): split out best device code from
481 update_routing_and_dns()
482 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
483 to preserve the 127.0.0.1 reverse mapping that so many things require
484 - (set_system_hostname): set a given hostname
485 - (update_system_hostname): implement hostname policy; a configured
486 hostname (from the system settings service) is used if available,
487 otherwise an automatically determined hostname from DHCP, VPN, etc.
488 If there was no automatically determined hostname, reverse DNS of
489 the best device's IP address will be used, and as a last resort the
490 hostname 'localhost.localdomain' is set.
491 - (update_routing_and_dns): use get_best_device(); update the system
492 hostname when the network config changes
493 - (hostname_changed): update system hostname if the system settings
494 service signals a hostname change
495 - (nm_policy_new): list for system settings service hostname changes
496 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
499 * system-settings/plugins/keyfile/plugin.c
500 system-settings/plugins/ifcfg-suse/plugin.c
501 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
502 capabilities properties
504 * system-settings/plugins/ifcfg-fedora/shvar.c
505 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
506 writes out /etc/sysconfig/network now
508 * system-settings/plugins/ifcfg-fedora/plugin.c
509 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
510 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
511 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
512 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
513 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
514 hostname get/set and capabilities get
516 2008-09-18 Dan Williams <dcbw@redhat.com>
518 * libnm-util/nm-setting-wireless.c
519 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
520 group ciphers if the wireless-security setting explicitly specified
521 them, effectively making the default be "all ciphers" (idea from
524 2008-09-15 Dan Williams <dcbw@redhat.com>
526 Patch from Alexander Sack <asac@ubuntu.com>
528 * src/named-manager/nm-named-manager.c
529 - (dispatch_resolvconf): respect resolvconf exit code
531 2008-09-12 Tambet Ingo <tambet@gmail.com>
533 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
534 again. Add some debugging.
536 2008-09-11 Dan Williams <dcbw@redhat.com>
538 * system-settings/plugins/keyfile/plugin.c
539 - (update_connection_settings): update connection manually, since
540 nm_exported_connection_update() does authentication
541 - (dir_changed): update_connection_settings() doesn't need to return
544 2008-09-09 Dan Williams <dcbw@redhat.com>
546 * libnm-glib/nm-vpn-plugin-ui-interface.c
547 libnm-glib/nm-vpn-plugin-ui-interface.h
548 libnm-glib/libnm_glib_vpn.ver
549 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
550 should clean up resources related to the connection (like keyring
552 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
553 should save user-scope secrets (like to the keyring)
555 2008-09-08 Dan Williams <dcbw@redhat.com>
557 Patch from Alexander Sack <asac@ubuntu.com>
559 * libnm-util/crypto_gnutls.c
560 libnm-util/crypto_nss.c
561 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
563 * libnm-util/nm-utils.c
564 libnm-util/nm-utils.h
565 libnm-util/libnm-util.ver
566 - (nm_utils_init): initialize libnm-util
567 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
569 * libnm-util/nm-setting-8021x.c
570 - (nm_setting_802_1x_class_init): init libnm-util when needed
572 2008-09-05 Dan Williams <dcbw@redhat.com>
574 Patch from Roy Marples <roy@marples.name> and others
577 src/named-manager/nm-named-manager.c
578 - Add support for resolvconf; use --with-resolvconf at configure time
581 2008-09-05 Dan Williams <dcbw@redhat.com>
583 * libnm-util/crypto_nss.c
584 libnm-util/crypto_gnutls.c
586 - (crypto_init): return error when init fails
588 2008-09-05 Dan Williams <dcbw@redhat.com>
590 * libnm-glib/nm-device-wifi.c
591 - (access_point_removed_proxy): clean up the active access point too
592 just in case the active ap changed signal didn't come through yet
593 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
595 2008-09-05 Dan Williams <dcbw@redhat.com>
597 * libnm-glib/nm-client.c
598 - (constructor): get initial state after we know whether NM is running
601 2008-09-05 Dan Williams <dcbw@redhat.com>
603 * libnm-glib/nm-ip4-config.c
604 libnm-glib/nm-dhcp4-config.c
605 - (finalize): clean up the DBusGProxy
607 2008-09-04 Dan Williams <dcbw@redhat.com>
609 * src/nm-ip4-config.c
611 - (nm_ip4_config_new): don't export over D-Bus here
612 - (nm_ip4_config_export): new function; export the config over D-Bus
613 - (nm_ip4_config_is_exported): new function
616 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
617 objects by balancing the IP4Config constructor; the device holds
618 a reference to the IP4Config already
619 - (nm_device_set_ip4_config): export the IP4Config when needed
621 2008-09-04 Dan Williams <dcbw@redhat.com>
623 * src/supplicant-manager/nm-supplicant-settings-verify.c
624 - Allow WPA-NONE key management for Ad-Hoc WPA connections
626 2008-09-04 Dan Williams <dcbw@redhat.com>
628 * libnm-util/nm-setting-vpn.c
629 libnm-util/nm-setting-vpn.h
630 - Split VPN secrets from VPN data so that settings services can actually
631 figure out that they are secrets and store them accordingly
633 * system-settings/plugins/keyfile/nm-keyfile-connection.c
634 system-settings/plugins/keyfile/reader.c
635 system-settings/plugins/keyfile/reader.h
636 system-settings/plugins/keyfile/writer.c
637 - Store VPN secrets separately from VPN data so that they can be fetched
639 - Implement the get_secrets() call so that (a) secrets don't leak out
640 to unprivileged callers, and (b) secrets can be sent to privileged
643 * vpn-daemons/vpnc/src/nm-vpnc-service.c
644 - Handle split VPN secrets
646 2008-08-27 Dan Williams <dcbw@redhat.com>
648 * system-settings/plugins/ifcfg-fedora/reader.c
649 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
651 2008-08-27 Dan Williams <dcbw@redhat.com>
653 Ensure zombie children get cleaned up. To get notifications when children
654 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
655 that requires calling waitpid() yourself if you've removed the child watch
656 handler before the process has actually died, which NM needs to do in a few
657 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
658 cleans up after the child when required. Should fix problems trying to
659 activate mobile broadband connections after a previous failure.
661 * src/dhcp-manager/nm-dhcp-dhclient.c
662 src/dhcp-manager/nm-dhcp-dhcpcd.c
663 - Use G_SPAWN_DO_NOT_REAP_CHILD
665 * src/dhcp-manager/nm-dhcp-manager.c
666 - (nm_dhcp_device_destroy): ensure child is cleaned up
667 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
668 block on child quitting, since the non-blocking functionality was
671 * src/dnsmasq-manager/nm-dnsmasq-manager.c
672 - (dm_watch_cb): child is already reaped here
673 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
676 - (aipd_cleanup): block until child is dead
678 * src/named-manager/nm-named-manager.c
679 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
680 event bothering to watch the child
682 * src/ppp-manager/nm-ppp-manager.c
683 - (ppp_watch_cb): child is already reaped here
684 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
686 * src/vpn-manager/nm-vpn-service.c
687 - (vpn_service_watch_cb): child is already reaped here
688 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
689 status of the child is actually tracked
690 - (ensure_killed, finalize): block until child is dead
692 2008-08-26 Dan Williams <dcbw@redhat.com>
694 * system-settings/plugins/keyfile/nm-keyfile-connection.c
695 - (update): Update filename of the connection if the connection id
698 * system-settings/plugins/keyfile/plugin.c
699 - (dir_changed): first pass at handling connection renames correctly
701 * system-settings/plugins/keyfile/writer.c
702 system-settings/plugins/keyfile/writer.h
703 - (write_connection): replace '/' with '*' when writing out the filename
704 from the connection id
706 2008-08-26 Dan Williams <dcbw@redhat.com>
708 Add connection UUIDs, since connection names can be changed, and since
709 old-style connection IDs could change over the life of the connection. The
710 UUID should be assigned at connection creation time, be stable for a given
711 connection, and should be unique among all connections for a given settings
715 libnm-util/Makefile.am
718 * introspection/nm-exported-connection.xml
719 - Remove "GetID" method
721 * libnm-glib/nm-dbus-connection.c
722 libnm-glib/nm-settings.c
723 libnm-glib/nm-settings.h
724 - Remove id-related stuff
726 * libnm-util/nm-utils.c
727 libnm-util/nm-utils.h
728 libnm-util/libnm-util.ver
729 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
730 utility functions to generate UUIDs
732 * libnm-util/nm-setting-connection.c
733 libnm-util/nm-setting-connection.h
734 - Add 'uuid' member to the connection setting
735 - (verify): require valid 'uuid' for a valid connection
737 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
738 system-settings/plugins/ifcfg-fedora/reader.c
739 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
740 system-settings/plugins/ifcfg-suse/parser.c
741 system-settings/plugins/keyfile/nm-keyfile-connection.c
742 system-settings/src/main.c
743 - Remove id-related stuff
744 - Give connections UUIDs where needed
746 2008-08-25 Dan Williams <dcbw@redhat.com>
748 * libnm-util/crypto_gnutls.c
749 libnm-util/crypto_nss.c
750 - (crypto_init, crypto_deinit): refcount init/deinit
751 - (crypto_md5_hash): allow NULL salt
753 2008-08-22 Michael Biebl <mbiebl@gmail.com>
755 * libnm-glib/Makefile.am
756 libnm-util/Makefile.am
757 libnm-glib/libnm_glib.ver
758 libnm-glib/libnm_glib_vpn.ver
759 libnm-util/libnm-util.ver
760 - Use linker version scripts to control the list of exported
761 symbols. List each exported symbol explicitely.
762 * libnm-util/Makefile.am
763 - Fix compilation of the test-crypto binary. The crypto
764 functions are no longer part of the libnm-util API. Add
765 crypto_*.c to test_crypto_SOURCES and link against the correct
768 2008-08-19 Dan Williams <dcbw@redhat.com>
772 - Don't build test/test-common
773 - Remove unused stuff
775 * test/nm-set-fallback
777 test/test-common/.cvsignore
778 test/test-common/Makefile.am
779 test/test-common/test-common.c
780 test/test-common/test-common.h
783 2008-08-18 Dan Williams <dcbw@redhat.com>
785 * libnm-util/nm-utils.c
786 libnm-util/nm-utils.h
787 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
788 export anything that needs to be converted with this function
790 * src/dhcp-manager/nm-dhcp-manager.c
791 - (garray_to_string): convert a byte array to a UTF-8 string with
792 minimal validation; the DHCP client sends it in ASCII anyway
793 - (get_option, copy_option): use garray_to_string()
795 2008-08-18 Dan Williams <dcbw@redhat.com>
797 * include/NetworkManager.h
798 introspection/nm-device.xml
799 - Add a "missing firmware" device state reason
801 * src/NetworkManagerSystem.c
802 src/NetworkManagerSystem.h
803 - (nm_system_device_set_up_down): add a no_firmware argument
804 - (nm_system_device_set_up_down_with_iface): if the result of setting
805 IFF_UP is ENOENT, that almost always means missing firmware
807 * src/backends/NetworkManagerGeneric.c
808 src/nm-device-ethernet.c
809 src/nm-device-private.h
813 src/nm-hso-gsm-device.c
814 src/vpn-manager/nm-vpn-connection.c
815 - Pass no_firmware along; check it where appropriate
817 2008-08-18 Dan Williams <dcbw@redhat.com>
819 Patch from Robert Buchholz <rbu@gentoo.org>
823 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
824 1003.1-1988, allowing for file names longer than 99 characters
826 2008-08-17 Dan Williams <dcbw@redhat.com>
828 * include/NetworkManager.h
829 introspection/nm-device.xml
831 - Finer-grained GSM registration failure error codes
833 2008-08-17 Dan Williams <dcbw@redhat.com>
835 * callouts/Makefile.am
837 - Move dispatcher directory creation to callouts/Makefile.am
839 * system-settings/plugins/keyfile/Makefile.am
840 - Create keyfile connections directory in DESTDIR (bgo #546833)
842 2008-08-15 Dan Williams <dcbw@redhat.com>
844 Do connection sharing in a cleaner manner; all required iptables rules
845 are now stored in the activation request and pertain only to the device
846 which is being shared to other computers. (rh #458625)
848 * src/nm-activation-request.c
849 src/nm-activation-request.h
850 - (nm_act_request_add_share_rule): new function; add a sharing rule to
851 the activation request which will get torn down automatically when
852 the activation request dies
853 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
854 is started, and tear them down when sharing is stopped
857 - (start_sharing): start up sharing by doing the required iptables magic
858 - (share_init): poke the right bits of the kernel and load the right
860 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
861 connection if it's a 'shared' connection
863 * src/NetworkManagerPolicy.c
864 - Remove all sharing stuff; done in the device code itself
866 2008-08-15 Dan Williams <dcbw@redhat.com>
868 * src/dnsmasq-manager/nm-dnsmasq-manager.c
869 - (create_dm_cmd_line): send the right router address
871 2008-08-15 Dan Williams <dcbw@redhat.com>
873 * src/ppp-manager/nm-ppp-manager.c
874 - (pppd_timed_out): ensure timeouts fail the connection
876 2008-08-14 Dan Williams <dcbw@redhat.com>
878 * src/nm-properties-changed-signal.c
879 src/nm-properties-changed-signal.h
880 - Add a property spec flag for "don't export this property" in
881 property changed signals
883 * src/nm-hso-gsm-device.c
886 - Don't export monitor interface or netdev interface properties
888 2008-08-14 Dan Williams <dcbw@redhat.com>
890 * src/NetworkManagerPolicy.c
891 - (update_routing_and_dns): 'hso' devices can be default even if they
894 2008-08-14 Dan Williams <dcbw@redhat.com>
897 - (nm_device_deactivate_quickly): tear down activation request after
898 calling device-specific deactivation
900 * src/nm-hso-gsm-device.c
901 - (real_deactivate_quickly): terminate connection when deactivating
903 2008-08-14 Dan Williams <dcbw@redhat.com>
905 * src/nm-activation-request.h
906 - Add HSO secrets caller
908 * src/nm-gsm-device.c
910 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
911 something to the callback function
912 - (set_apn, set_apn_done): call class dial function, not a static one
913 - (nm_gsm_device_class_init): add a class 'dial' function
915 * src/nm-hal-manager.c
916 - (get_hso_netdev): find the hso-driven hardware's net device
917 - (modem_device_creator): recognize hso-driven hardware and create the
918 right type of device object for it
921 src/nm-hso-gsm-device.c
922 src/nm-hso-gsm-device.h
923 - Implement support for devices driven by the 'hso' driver as a subclass
926 2008-08-14 Dan Williams <dcbw@redhat.com>
928 * src/NetworkManagerSystem.c
929 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
930 - (nm_system_device_set_up_down_with_iface): cleanups; only return
931 success if the operation really was successful
933 2008-08-14 Dan Williams <dcbw@redhat.com>
935 * src/nm-netlink-monitor.c
936 src/nm-netlink-monitor.h
937 src/nm-device-ethernet.c
938 - (nm_netlink_monitor_request_status): return an error on failure
939 - (constructor): don't segfault on missing error
941 2008-08-13 Dan Williams <dcbw@redhat.com>
943 * callouts/nm-dispatcher-action.c
944 - Add IP4 config info to script environment
946 2008-08-12 Dan Williams <dcbw@redhat.com>
949 - (nm_device_set_ip4_config): don't touch hostnames here; distros
950 that want to use DHCP hostnames should use dispatcher scripts
953 * src/NetworkManagerSystem.h
954 src/backends/NetworkManagerArch.c
955 src/backends/NetworkManagerDebian.c
956 src/backends/NetworkManagerFrugalware.c
957 src/backends/NetworkManagerGeneric.c
958 src/backends/NetworkManagerGeneric.h
959 src/backends/NetworkManagerGentoo.c
960 src/backends/NetworkManagerMandriva.c
961 src/backends/NetworkManagerPaldo.c
962 src/backends/NetworkManagerRedHat.c
963 src/backends/NetworkManagerSlackware.c
964 src/backends/NetworkManagerSuSE.c
965 - Remove nm_system_set_hostname(), no longer used
967 * src/backends/Makefile.am
970 - Remove shvar.*; no longer used
972 2008-08-12 Dan Williams <dcbw@redhat.com>
974 Revert most of the 'hostname' patch. Too much stuff still breaks when
975 hostname is updated at runtime. Distros or users who want hostname updates
976 can use dispatcher scripts to update the hostname if they need it.
978 2008-08-12 Dan Williams <dcbw@redhat.com>
980 * introspection/nm-settings-system.xml
981 system-settings/src/dbus-settings.c
982 system-settings/src/dbus-settings.h
983 - Add a 'Hostname' property (rw) which represents the configured
984 hostname and domain of the system, if any
986 * system-settings/src/nm-system-config-error.c
987 system-settings/src/nm-system-config-error.h
988 system-settings/src/nm-system-config-interface.c
989 system-settings/src/nm-system-config-interface.h
990 - Add a 'hostname' property to the plugin interface
991 - Add a method to send updated hostname to plugins to save in their
992 backing configuration store
994 * system-settings/plugins/keyfile/nm-keyfile-connection.c
995 system-settings/plugins/keyfile/plugin.c
996 system-settings/plugins/keyfile/writer.c
997 system-settings/plugins/keyfile/writer.h
998 system-settings/plugins/ifcfg-suse/plugin.c
999 - Add minimal hostname support
1001 * system-settings/plugins/ifcfg-fedora/plugin.c
1002 - Add support for updating system hostname in /etc/sysconfig/network
1004 2008-08-12 Dan Williams <dcbw@redhat.com>
1006 * system-settings/plugins/ifcfg-fedora/shvar.c
1007 system-settings/plugins/ifcfg-fedora/shvar.c
1008 - Fix double-free caused by svSetValue() followed by svCloseFile()
1010 2008-08-12 Tambet Ingo <tambet@gmail.com>
1012 * Makefile.am: Fix distcheck.
1014 2008-08-12 Tambet Ingo <tambet@gmail.com>
1016 * libnm-glib/*.c. Document some more.
1018 2008-08-12 Tambet Ingo <tambet@gmail.com>
1020 Start documenting libnm-glib public API using gtk-doc.
1022 * libnm-glib/nm-serial-device.c:
1023 * libnm-glib/nm-object.c:
1024 * libnm-glib/nm-gsm-device.c:
1025 * libnm-glib/nm-device.c:
1026 * libnm-glib/nm-device-wifi.c:
1027 * libnm-glib/nm-device-ethernet.c:
1028 * libnm-glib/nm-client.c:
1029 * libnm-glib/nm-cdma-device.c: Document the public API.
1031 * docs/libnm-glib/libnm-glib.types: Implement.
1033 * docs/libnm-glib/Makefile.am: Implement.
1037 * Makefile.am: Add gtk-doc support.
1039 2008-08-12 Tambet Ingo <tambet@gmail.com>
1041 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1043 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1044 the composite result of all the IP4 configurations and call a distro
1045 specific update_resolv_conf().
1046 (update_resolv_conf): Implement one for directly writing to
1047 /etc/resolv.conf and one for opensuse to call netconfig.
1049 2008-08-11 Dan Williams <dcbw@redhat.com>
1051 * src/ppp-manager/nm-ppp-manager.c
1052 - (impl_ppp_manager_need_secrets): pass interface as required
1054 2008-08-11 Dan Williams <dcbw@redhat.com>
1056 Merge the vpn-properties setting with the vpn setting since it was pointless
1057 to keep both of them around. Convert the vpn 'data' hash table to a hash
1058 of string:string (instead of string:variant) so that system settings plugins
1059 can have an easier time dealing with the arbitrary key/value pairs.
1061 2008-08-11 Dan Williams <dcbw@redhat.com>
1063 * libnm-util/nm-utils.c
1064 - (nm_utils_register_value_transformations): add value transform for
1065 a hash table of string:string
1067 2008-08-10 Dan Williams <dcbw@redhat.com>
1069 * libnm-glib/nm-vpn-plugin.c
1070 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1071 an idle handler so the Connect reply gets delivered before the
1072 stop StateChanged signal
1074 2008-08-10 Dan Williams <dcbw@redhat.com>
1076 * src/nm-ip4-config.c
1077 - (get_property): use common ip4 address/route conversion functions
1078 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1079 copy the new route here, not take ownership
1081 2008-08-08 Tambet Ingo <tambet@gmail.com>
1083 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1084 Update the IP4 setting's method name.
1086 2008-08-07 Dan Williams <dcbw@redhat.com>
1088 * introspection/nm-ip4-config.xml
1089 libnm-glib/libnm-glib-test.c
1090 libnm-glib/nm-ip4-config.c
1091 libnm-glib/nm-ip4-config.h
1092 src/NetworkManagerSystem.h
1093 src/backends/NetworkManagerArch.c
1094 src/backends/NetworkManagerDebian.c
1095 src/backends/NetworkManagerFrugalware.c
1096 src/backends/NetworkManagerGeneric.c
1097 src/backends/NetworkManagerGeneric.h
1098 src/backends/NetworkManagerGentoo.c
1099 src/backends/NetworkManagerMandriva.c
1100 src/backends/NetworkManagerPaldo.c
1101 src/backends/NetworkManagerRedHat.c
1102 src/backends/NetworkManagerSlackware.c
1103 src/backends/NetworkManagerSuSE.c
1104 src/dhcp-manager/nm-dhcp-manager.c
1108 - Remove NIS logic; should be done from dispatcher scripts instead
1110 2008-08-07 Dan Williams <dcbw@redhat.com>
1112 * src/dhcp-manager/nm-dhcp-manager.c
1113 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1114 mis-handling of DHCP responses that returned more than one router
1115 (found by Grant Williamson)
1117 2008-08-07 Dan Williams <dcbw@redhat.com>
1119 * callouts/nm-dispatcher-action.c
1120 - (nm_dispatcher_action): grab device path and create the device; pass
1121 the device's DHCP4 config to script caller
1122 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1125 * libnm-glib/nm-dhcp4-config.c
1126 libnm-glib/nm-dhcp4-config.h
1127 - (nm_dhcp4_config_get_options): expose
1128 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1130 2008-08-07 Dan Williams <dcbw@redhat.com>
1132 * include/NetworkManager.h
1133 - Add the DHCP4Config D-Bus interface
1135 * libnm-glib/Makefile.am
1136 libnm-glib/nm-dhcp4-config.c
1137 libnm-glib/nm-dhcp4-config.h
1138 - Handle DHCP4 config objects exported by NM over D-Bus
1140 * libnm-glib/nm-device.c
1141 libnm-glib/nm-device.h
1142 - Add a 'dhcp4-config' property
1144 * libnm-glib/libnm-glib-test.c
1145 - Print out DHCP4 config for devices
1146 - Fix some crashes when no connections are active
1148 * src/nm-device-interface.c
1150 src/nm-dhcp4-config.c
1151 src/nm-dhcp4-config.h
1152 - Treat dhcp4-config object as an object path at the D-Bus interface so
1153 that when it doesn't exist we can proxy it as "/" which dbus-glib
1154 doesn't let us do when the property type is G_TYPE_OBJECT
1156 2008-08-07 Dan Williams <dcbw@redhat.com>
1158 * src/NetworkManager.c
1159 src/NetworkManagerSystem.h
1160 src/backends/NetworkManagerArch.c
1161 src/backends/NetworkManagerDebian.c
1162 src/backends/NetworkManagerFrugalware.c
1163 src/backends/NetworkManagerGeneric.c
1164 src/backends/NetworkManagerGeneric.h
1165 src/backends/NetworkManagerGentoo.c
1166 src/backends/NetworkManagerMandriva.c
1167 src/backends/NetworkManagerPaldo.c
1168 src/backends/NetworkManagerRedHat.c
1169 src/backends/NetworkManagerSlackware.c
1170 src/backends/NetworkManagerSuSE.c
1171 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1173 2008-08-06 Dan Williams <dcbw@redhat.com>
1175 * libnm-glib/nm-ip4-config.c
1176 libnm-glib/nm-ip4-config.h
1177 - Add 'routes' property
1179 * libnm-util/nm-setting-vpn.c
1180 libnm-util/nm-setting-vpn.h
1181 - Remove 'routes' property
1183 * libnm-util/nm-setting-ip4-config.c
1184 libnm-util/nm-setting-ip4-config.h
1185 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1186 - Add 'ignore-auto-routes' property
1187 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
1188 accomodate route metrics
1189 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1191 * libnm-util/nm-utils.c
1192 libnm-util/nm-utils.h
1193 - Add helpers for marshalling IP4 routes
1195 * src/NetworkManagerUtils.c
1196 - (nm_utils_merge_ip4_config): handle property renames and new route
1199 * src/NetworkManagerSystem.c
1200 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1201 nm_system_vpn_device_set_from_ip4_config): respect route metrics
1203 * src/dhcp-manager/nm-dhcp-manager.c
1204 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1206 * system-settings/plugins/ifcfg-fedora/reader.c
1207 system-settings/plugins/ifcfg-fedora/writer.c
1208 - Handle routes separately from addresses now that routes have a different
1211 * introspection/nm-ip4-config.xml
1214 - Rename internal routing functions
1215 - 'static-routes' renamed to 'routes'
1217 2008-08-04 Dan Williams <dcbw@redhat.com>
1219 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1221 * src/NetworkManager.c
1224 - More explicitly make the NMManager a singleton
1226 2008-08-04 Dan Williams <dcbw@redhat.com>
1228 * libnm-util/nm-connection.c
1229 libnm-util/nm-connection.h
1230 - (nm_connection_verify): return error on missing 'connection' setting
1231 (found by Sjoerd Simons)
1233 2008-08-04 Dan Williams <dcbw@redhat.com>
1235 Handle multiple concurrent PPP connections.
1237 * src/ppp-manager/nm-ppp-manager.c
1238 src/ppp-manager/nm-ppp-manager.h
1239 - (constructor): only PPP Manager request bus name once; each
1240 NMPPPManager object gets a unique object path
1241 - (nm_ppp_manager_class_init, get_property, set_property,
1242 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1244 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1245 remove timeout until PPP manager gets an IP4 config
1246 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1247 the plugin can call back to this specific PPP manager instance
1249 * src/nm-device-ethernet.c
1250 src/nm-serial-device.c
1251 - Pass parent device in nm_ppp_manager_new()
1253 * src/nm-gsm-device.c
1254 src/nm-cdma-device.c
1255 - (device_state_changed): don't close serial device on NEED_AUTH
1256 state changed, that's not a failure case like the rest are
1258 * src/ppp-manager/nm-pppd-plugin.c
1259 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1260 binds one interface to any pppd process, thus the correct index
1261 is always 0; send PHASE_DEAD on error to alert NM immediately of
1262 problems; try harder to get a peer address in spite of pppd
1263 - (plugin_init): use 'ipparam' as the object path back to our specific
1264 PPP manager instance
1266 2008-08-04 Dan Williams <dcbw@redhat.com>
1268 * src/ppp-manager/nm-ppp-manager.c
1269 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1270 since the GSM and CDMA settings now implement need_secrets, we can
1271 rely on them to do the right thing. Where secrets are not required,
1272 just pass empty strings back to the pppd plugin.
1273 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1274 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1275 on successful IP4 config receipt
1277 2008-08-04 Dan Williams <dcbw@redhat.com>
1279 * libnm-util/nm-setting-cdma.c
1280 libnm-util/nm-setting-gsm.c
1281 - (verify): validate username & password if they exist
1282 - (need_secrets): if username given, require a password too
1284 2008-08-04 Dan Williams <dcbw@redhat.com>
1286 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1287 - (create_dm_cmd_line): really don't listen on lo, despite what the
1288 manpage says about --listen-address without --interface
1291 2008-08-01 Dan Williams <dcbw@redhat.com>
1293 * libnm-glib/nm-device.c
1294 - (proxy_get_string): util function for querying a HAL property
1295 - (get_ancestor_device): split out from get_product_and_vendor()
1296 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1297 from PCI devices by querying subsys properties
1298 - (nm_device_update_description): simplify
1300 2008-08-01 Dan Williams <dcbw@redhat.com>
1302 * libnm-util/nm-setting-ip4-config.c
1303 libnm-util/nm-setting-ip4-config.h
1304 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1305 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
1306 settings, and they don't necessarily use DHCP.
1308 * src/NetworkManagerPolicy.c
1310 system-settings/plugins/ifcfg-fedora/reader.c
1311 system-settings/plugins/ifcfg-suse/parser.c
1312 - Fixup for method changes
1314 2008-07-31 Dan Williams <dcbw@redhat.com>
1316 * src/nm-activation-request.c
1317 src/vpn-manager/nm-vpn-connection.c
1318 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1319 itself should be attached to the activation request or the VPN
1320 connection, not the NMConnection object, since the call is not
1321 expected to live as long as the NMConnection itself
1323 2008-07-31 Dan Williams <dcbw@redhat.com>
1325 * src/nm-device-wifi.c
1326 - (real_act_stage2_config): fix issue where association would continue
1327 even though secrets were needed; 'goto out' was in wrong scope and
1328 result of handle_auth_or_fail() should have been dumped directly to
1329 'ret' to ensure that the association was postponed until secrets
1332 2008-07-31 Dan Williams <dcbw@redhat.com>
1334 * system-settings/plugins/ifcfg-fedora/plugin.c
1335 system-settings/plugins/ifcfg-fedora/reader.c
1336 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1339 2008-07-29 Dan Williams <dcbw@redhat.com>
1341 * src/nm-gsm-device.c
1342 - (automatic_registration_response, automatic_registration): recognize
1343 denied registration and reorder responses
1345 2008-07-29 Dan Williams <dcbw@redhat.com>
1347 * src/nm-serial-device.c
1348 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
1349 time(2) is used for current time, which returns seconds, we shouldn't
1350 be multiplying by 1000.
1352 2008-07-28 Dan Williams <dcbw@redhat.com>
1354 Patch from Fabrice Bellet <fabrice@bellet.info>
1356 * src/NetworkManagerSystem.c
1357 - (route_in_same_subnet): mask addresses and compare them so that the
1358 function actually does what it says it's going to do (rh #456685)
1360 2008-07-27 Dan Williams <dcbw@redhat.com>
1362 * libnm-util/nm-setting-ip6-config.c
1363 - (set_property): add missing break that caused routes to be overwritten
1366 * libnm-util/nm-setting-ip6-config.c
1367 - (verify): validate routes and return GError everywhere on invalid setting
1368 - (finalize): don't leak routes
1369 - (set_property): add missing break that caused routes to be overwritten
1372 2008-07-27 Dan Williams <dcbw@redhat.com>
1375 - Relicense to LGPLv2+
1377 2008-07-27 Dan Williams <dcbw@redhat.com>
1379 * system-settings/plugins/ifcfg-fedora/reader.c
1380 - (make_ip4_setting): fix parsing automatic configs
1382 2008-07-27 Dan Williams <dcbw@redhat.com>
1384 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1386 src/ppp-manager/nm-ppp-manager.c
1387 - Ensure child process gets reaped. The child watch function may be
1388 removed from the mainloop before the child gets killed, so we have
1389 to make sure the child is reaped when it's told to die intentionally
1391 2008-07-27 Dan Williams <dcbw@redhat.com>
1393 Patch from Roy Marples <roy@marples.name>
1395 * src/dhcp-manager/nm-dhcp-dhcpcd.c
1396 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1398 2008-07-27 Dan Williams <dcbw@redhat.com>
1400 * src/nm-gsm-device.c
1401 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1402 Huawei devices turn echo back on after CPIN (rh #456770)
1404 2008-07-24 Tambet Ingo <tambet@gmail.com>
1406 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1407 format argument to g_set_error() call.
1409 * src/backends/interface_parser.[ch]: Remove.
1411 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1413 2008-07-21 Dan Williams <dcbw@redhat.com>
1415 * src/ppp-manager/nm-ppp-manager.c
1416 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1417 to prevent pppd from picking up some random local address from an
1418 interface that doesn't have anything to do with the one we're
1419 interested in (rh #455348)
1421 2008-07-17 Dan Williams <dcbw@redhat.com>
1423 * libnm-util/nm-utils.c
1424 - (string_to_utf8): general function for conversion to UTF-8 assisted
1426 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1427 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1429 2008-07-17 Dan Williams <dcbw@redhat.com>
1431 * introspection/Makefile.am
1432 introspection/nm-device.xml
1433 introspection/nm-dhcp4-config.xml
1434 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1436 * src/nm-device-interface.c
1437 src/nm-device-interface.h
1438 - Add the DHCP4Config property
1441 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1442 D-Bus clients when it changes
1444 * src/nm-dhcp4-config.c
1445 src/nm-dhcp4-config.h
1446 - Simple object to store DHCP4 options, export them over D-Bus, and
1447 notify when they change
1449 * src/dhcp-manager/nm-dhcp-manager.c
1450 src/dhcp-manager/nm-dhcp-manager.h
1451 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1452 filter server-returned DHCP options into an NMDHCP4Config object
1454 2008-07-16 Dan Williams <dcbw@redhat.com>
1456 * introspection/nm-device.xml
1457 - Add device state reasons
1459 2008-07-16 Dan Williams <dcbw@redhat.com>
1461 Patch from Roy Marples <roy@marples.name>
1464 - Add --with-dhcp-client option
1466 * src/dhcp-manager/Makefile.am
1467 - pass DHCP_CLIENT_PATH on compile line
1469 * src/dhcp-manager/nm-dhcp-manager.c
1470 src/dhcp-manager/nm-dhcp-manager.h
1471 - Genericize for both dhcpcd and dhclient
1473 * src/dhcp-manager/nm-dhcp-dhclient.c
1474 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1476 * src/dhcp-manager/nm-dhcp-dhcpcd.c
1477 - Implement support for dhcpcd too
1479 2008-07-16 Tambet Ingo <tambet@gmail.com>
1481 * system-settings/src/nm-system-config-interface.c
1482 (nm_system_config_interface_supports_add): Implement.
1483 (nm_system_config_interface_add_connection): Return a boolean to notify
1486 * system-settings/src/nm-polkit-helpers.c:
1487 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1490 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1491 Return an error when none of the plugins support add or if addition
1492 failed for some reason.
1494 * system-settings/src/nm-system-config-error.h:
1495 * system-settings/src/nm-system-config-error.c: New files, mostly moved
1496 here from nm-polkit-helpers.[ch].
1498 * system-settings/src/Makefile.am: Build new files.
1500 * system-settings/plugins/keyfile/reader.c
1501 (read_array_of_array_of_uint): Make it more general so that it would
1502 work for routes as well.
1504 * system-settings/plugins/keyfile/writer.c
1505 (write_array_of_array_of_uint): Ditto.
1506 Fix the netmask/prefix writing.
1508 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
1509 boolean to notify errors.
1511 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
1512 Return more specific error.
1515 2008-07-11 Dan Williams <dcbw@redhat.com>
1517 Modify the NMDevice::state-changed signal to include the previous state
1518 and reason. Enables the applet to provide more information why device
1521 2008-07-09 Dan Williams <dcbw@redhat.com>
1523 * callouts/Makefile.am
1524 callouts/nm-avahi-autoipd-action.c
1525 callouts/nm-avahi-autoipd.conf
1526 - avahi-autoipd callout to send options back to NM
1533 src/nm-device-private.h
1535 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
1538 2008-07-07 Dan Williams <dcbw@redhat.com>
1540 * system-settings/plugins/ifcfg-fedora/reader.c
1541 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
1542 handle PREFIX too; clean up
1544 2008-07-07 Dan Williams <dcbw@redhat.com>
1546 Convert to using IPv4 prefixes instead of netmasks.
1548 2008-07-03 Dan Williams <dcbw@redhat.com>
1550 * libnm-util/nm-setting-ip4-config.c
1551 libnm-util/nm-setting-ip4-config.h
1552 - Add properties for DHCP Client Identifier and DHCP Hostname
1554 * src/dhcp-manager/nm-dhcp-manager.c
1555 src/dhcp-manager/nm-dhcp-manager.h
1556 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
1557 setting as an argument to pass on to the dhclient config file
1559 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
1561 - (dhclient_run): punt config file handling to create_dhclient_config()
1562 - (create_dhclient_config): create an interface-specific dhclient
1563 config file since there may need to be interface-specific options
1565 - (merge_dhclient_config): merge normal distro dhclient config file and
1566 add options from the connection
1567 - (nm_dhcp_device_new): generate the interface specific dhclient
1568 config file path once
1569 - (nm_dhcp_device_destroy): handle partially initialized objects; free
1570 dhclient config file path
1573 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
1574 DHCP manager when starting DHCP
1576 2008-07-02 Dan Williams <dcbw@redhat.com>
1578 * libnm-util/nm-setting-8021x.c
1579 - (verify): allow forcing the PEAP label to 0
1581 2008-07-02 Dan Williams <dcbw@redhat.com>
1583 * introspection/nm-active-connection.xml
1584 introspection/nm-vpn-connection.xml
1585 libnm-glib/nm-active-connection.c
1586 src/nm-activation-request.c
1587 src/nm-active-connection.h
1588 src/vpn-manager/nm-vpn-connection.c
1589 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
1590 and libnm-glib API since sharing didn't get implemented that way
1592 2008-07-02 Dan Williams <dcbw@redhat.com>
1594 * src/nm-device-wifi.c
1595 - (can_scan): don't scan when a shared connection is activated since
1596 that makes drivers mad (causing disconnects); also NM doesn't need
1597 to hedge against disconnects by keeping up-to-date network topology
1598 because the connection originates from the local machine, and thus
1599 there should be no disconnects
1601 2008-07-01 Dan Williams <dcbw@redhat.com>
1603 Fix mobile broadband username/password issues. NM was never requesting
1604 mobile broadband secrets, nor was it passing back the username and password
1607 * marshallers/nm-marshal.list
1608 - Add some new types for activation request objects
1610 * src/nm-activation-request.c
1611 src/nm-activation-request.h
1612 - (get_secrets_cb): pass the caller type in the signal
1613 - (nm_act_request_request_connection_secrets): take a caller type, so
1614 that GetSecrets() reply handlers know who asked for the secrets in
1615 the first place; use secret hints too so the settings service can
1616 figure out exactly what NM wants (ie, PIN or the PPP password)
1618 * src/ppp-manager/nm-ppp-manager.c
1619 src/ppp-manager/nm-ppp-manager.h
1620 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
1621 detect needed secrets when the secret could be blank, like GSM/CDMA
1622 passwords. So always ask for secrets, and send a hint as to what
1623 secret we really want.
1624 - (nm_ppp_manager_update_secrets): make function more generic by making
1625 the device specific class figure out the username and password, and
1626 accept an error argument to return back over D-Bus
1628 * src/nm-device-wifi.c
1629 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1630 nm_act_request_request_connection_secrets()
1631 - (real_connection_secrets_updated): update for 'caller' changes
1635 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
1636 for 'caller' changes
1638 * src/nm-device-ethernet.c
1639 - (real_connection_secrets_updated): update for 'caller' changes and
1640 move logic for getting PPPoE username and password here before
1641 calling nm_ppp_manager_update_secrets()
1642 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1643 nm_act_request_request_connection_secrets()
1645 * src/nm-cdma-device.c
1646 - (real_connection_secrets_updated): pass username and password back
1647 to the PPP manager when required
1649 * src/nm-gsm-device.c
1650 - (enter_pin): send the required secret name to the settings service
1651 - (real_connection_secrets_updated): pass username and password back
1652 to the PPP manager when required
1654 2008-06-30 Dan Williams <dcbw@redhat.com>
1656 * src/nm-device-wifi.c
1657 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
1659 2008-06-30 Dan Williams <dcbw@redhat.com>
1661 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
1662 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
1663 priv->supplicant.iface. When either condition is false, the device should
1664 transition back to UNAVAILABLE because it cannot be used.
1666 * src/nm-device-wifi.c
1667 - (constructor): cleanup; connect to supplicant manager here since the
1668 supplicant manager is always around
1669 - (supplicant_interface_acquire): rename from init_supplicant_interface,
1670 ensure the supplicant manager is in the IDLE state
1671 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
1672 cancel any pending scans too
1673 - (real_bring_up): don't set up the supplicnat interface here, because
1674 we need the supplicant interface at times when the device may not
1676 - (real_take_down): just remove the periodic source
1677 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
1678 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
1679 do anything if there's no supplicant interface
1680 - (cleanup_association_attempt): cleanup
1681 - (supplicant_iface_state_cb_handler): request an immediate scan when
1682 the interface enters the READY state; transition to UNAVAILABLE
1683 state when the interface goes down because the device can't be used
1684 without a supplicant interface
1685 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
1686 up and transition to UNAVAILABLE; if the supplicant becomes ready,
1687 acquire the supplicant interface and transition to DISCONNECTED
1688 if the radio isn't killed
1689 - (nm_device_wifi_dispose): move most of device_cleanup() here
1690 - (state_changed_cb): release any existing supplicant interface; if the
1691 radio is enabled then try to acquire a new supplicant interface;
1692 if the radio is enabled and a supplicant interface has been acquired,
1693 we can transition to DISCONNECTED
1694 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
1695 don't enable the radio, because HAL probably lied to us about the
1696 killswitch being off. If bringing the hardware up worked, then
1697 try to grab a supplicant interface, and if that was successful,
1698 transition to DISCONNECTED
1700 2008-06-30 Dan Williams <dcbw@redhat.com>
1702 * src/supplicant-manager/nm-supplicant-interface.c
1703 - (request_scan_results, nm_supplicant_interface_dispose,
1704 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
1705 the id of the timeout, not a GSource
1707 2008-06-30 Tambet Ingo <tambet@gmail.com>
1709 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
1710 bunch of typoes introduced by "Patch from David Cantrell
1711 <dcantrell@redhat.com> and me".
1713 2008-06-30 Tambet Ingo <tambet@gmail.com>
1715 * src/nm-serial-device.c:
1716 * src/nm-gsm-device.c:
1717 * src/nm-cdma-device.c: Move the pending call handling to a common location
1718 in serial device. Handle setting device state to failed in one place as well.
1720 2008-06-29 Dan Williams <dcbw@redhat.com>
1722 * src/nm-hal-manager.c
1723 - Rework killswitch handling to query killswitch status immediately
1724 when the first killswitch is added, so that rfkill state is
1725 known as early as possible
1726 - Also treat failure of GetPower() as rfkill when the dbus method
1727 call times out (but not when the HAL callout returns an error)
1729 2008-06-26 Dan Williams <dcbw@redhat.com>
1731 Patch from David Cantrell <dcantrell@redhat.com> and me
1733 * include/nm-dbus-glib-types.h
1734 - Add IP6 address types
1736 * libnm-util/Makefile.am
1737 libnm-util/nm-setting-ip6-config.c
1738 libnm-util/nm-setting-ip6-config.h
1739 - Add IP6 settings object
1741 * libnm-util/nm-connection.c
1742 - (register_default_settings): register ip6 settings object
1744 * libnm-util/nm-utils.c
1745 libnm-util/nm-utils.h
1746 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
1747 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
1748 ip6 address conversion functions
1750 2008-06-26 Dan Williams <dcbw@redhat.com>
1752 Patch from David Cantrell <dcantrell@redhat.com>
1754 * Use inet_ntop() and inet_pton() everwhere and check for errors
1756 2008-06-26 Dan Williams <dcbw@redhat.com>
1758 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
1760 2008-06-26 Dan Williams <dcbw@redhat.com>
1762 Patch from Adel Gadllah <adel.gadllah@gmail.com>
1764 * src/nm-device-wifi.c
1765 - (link_timeout_cb): don't ignore disconnects due to scanning
1766 - (supplicant_iface_connection_state_cb_handler): instead, schedule
1767 a longer timeout when scanning; avoids case where supplicant can't
1768 find the AP and just keeps scanning forever but isn't connected
1770 2008-06-26 Dan Williams <dcbw@redhat.com>
1772 Patch from Michael Biebl <biebl@debian.org>
1774 * Clean up build system stuff
1776 2008-06-23 Christian Persch <chpe@gnome.org>
1778 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
1779 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
1780 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
1782 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
1784 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
1785 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
1786 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
1788 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
1789 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
1790 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
1791 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
1792 * vpn-daemons/pptp/properties/vpnui_opt.c:
1793 (vpnui_opt_connect_signals):
1794 * vpn-daemons/pptp/properties/vpnui_opt.h:
1795 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
1796 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
1797 deprecated gtk type macros. Bug #539325.
1799 2008-06-20 Dan Williams <dcbw@redhat.com>
1801 * libnm-glib/nm-vpn-plugin-ui-interface.c
1802 libnm-glib/nm-vpn-plugin-ui-interface.h
1803 - 'validity-changed' -> 'changed' to work better with the connection
1804 editor. Plugin UI widgets should emit 'changed' whenever their
1805 UI values change in a meaningful way.
1806 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
1807 update_connection member now returns validity of the UI widget
1809 2008-06-20 Tambet Ingo <tambet@gmail.com>
1811 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
1813 2008-06-17 Dan Williams <dcbw@redhat.com>
1815 * libnm-glib/nm-vpn-plugin-ui-interface.c
1816 libnm-glib/nm-vpn-plugin-ui-interface.h
1817 - Add "desc" property for longer descriptions of the VPN plugin
1819 2008-06-16 Dan Williams <dcbw@redhat.com>
1822 libnm-glib/libnm_glib_vpn.pc.in
1823 - add a .pc file for libnm_glib_vpn
1825 * libnm-glib/nm-vpn-plugin-ui-interface.c
1826 libnm-glib/nm-vpn-plugin-ui-interface.h
1827 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
1828 rework it substantially
1830 2008-06-12 Dan Williams <dcbw@redhat.com>
1832 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
1833 and add error enums to each NMSetting subclass. Each NMSetting subclass now
1834 returns a descriptive GError when verification fails.
1836 2008-06-11 Dan Williams <dcbw@redhat.com>
1838 Patch from Tambet Ingo <tambet@gmail.com>
1840 * libnm-util/nm-setting-gsm.c
1841 - (verify): validate APN
1843 * src/nm-gsm-device.c
1844 - (manual_registration_done): start setting APN if needed
1845 - (set_apn, set_apn_done): set the APN
1846 - (do_dial): use the APN when dialing
1848 2008-06-11 Dan Williams <dcbw@redhat.com>
1850 * src/NetworkManagerSystem.c
1851 - (nm_system_device_set_ip4_route,
1852 nm_system_device_replace_default_ip4_route): check for the right
1853 return value from rtnl_route_add() to know when to add a gateway
1856 2008-06-11 Dan Williams <dcbw@redhat.com>
1858 * src/NetworkManagerPolicy.c
1859 - do_ipt_cmd -> do_cmd
1860 - (sharing_init): use do_cmd() instead of system()
1862 2008-06-10 Dan Williams <dcbw@redhat.com>
1864 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
1865 and use "wifi" everwhere instead.
1867 2008-06-10 Dan Williams <dcbw@redhat.com>
1869 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
1871 2008-06-10 Dan Williams <dcbw@redhat.com>
1873 Patch from Tambet Ingo <tambet@gmail.com>
1875 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
1878 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
1879 a signal to emit these changes over dbus.
1881 * src/Makefile.am: Genereate nm-serial-device-glue.
1883 * libnm-glib/nm-serial-device.[ch]: Implement.
1885 * libnm-glib/nm-cdma-device.[ch]
1886 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
1888 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
1890 * introspection/nm-device-serial.xml: Implement.
1892 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
1894 * introspection/Makefile.am: Add nm-device-serial.xml.
1896 * include/NetworkManager.h: Add a DBus interface for serial device.
1898 2008-06-10 Dan Williams <dcbw@redhat.com>
1901 - Add TARGET_* define to config.h to distinguish distros
1903 * src/dhcp-manager/nm-dhcp-manager.c
1904 - (dhclient_run): use distro-specific path for dhclient config file
1906 2008-06-09 Dan Williams <dcbw@redhat.com>
1908 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1909 src/dnsmasq-manager/nm-dnsmasq-manager.h
1910 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
1911 calculate the addresses passed to dnsmasq instead of hard-coding
1915 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
1916 IP addresses for shared connections to guard against shared
1917 connection address collisions
1918 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
1920 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
1923 2008-06-09 Dan Williams <dcbw@redhat.com>
1925 * src/NetworkManagerPolicy.c
1926 - (update_routing_and_dns): set the default connection _after_ unsetting
1927 default on all non-default connections so that two connections can
1928 never be default at the same time
1929 - (device_state_changed): start and stop connection sharing when
1931 - (active_connection_default_changed): restart or stop sharing when
1932 the default connection changes to keep shared connections always
1933 NAT-ed through the default connection
1934 - (check_sharing): handle activation/deactivation of shared connections
1935 - (sharing_restart): atom-bomb approach to connection sharing until we
1936 can use libnl; reinit all sharing when the default connection or
1937 shared connections change
1938 - (sharing_init, sharing_stop): evil functions that init and deinit
1941 2008-06-09 Dan Williams <dcbw@redhat.com>
1943 * src/nm-activation-request.c
1944 src/nm-activation-request.h
1945 - (nm_act_request_set_shared, nm_act_request_get_shared,
1946 nm_act_request_get_device): new functions to facilitate connection
1949 2008-06-09 Dan Williams <dcbw@redhat.com>
1952 - (clear_act_request): unset the 'default' property of the activation
1953 request when clearing it to ensure the property changed signal gets
1954 delivered and handled
1956 2008-06-09 Dan Williams <dcbw@redhat.com>
1958 * libnm-glib/nm-device-802-11-wireless.c
1959 - (access_point_removed_proxy): actually unref the AP after removing
1960 it from the device's AP list. Fixes refcounting bug for APs that
1961 caused them to get mixed up in the applet's menu.
1963 2008-06-09 Tambet Ingo <tambet@gmail.com>
1965 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
1966 (nm_dhcp_device_destroy): Destroy the device options hash table.
1968 2008-06-06 Dan Williams <dcbw@redhat.com>
1970 * system-settings/src/nm-polkit-helpers.c
1971 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
1972 unref the context if the initialization fails; also avoid spew when
1975 2008-06-06 Dan Williams <dcbw@redhat.com>
1977 Patch from Tambet Ingo <tambet@gmail.com>
1979 * src/NetworkManagerSystem.c
1980 src/NetworkManagerSystem.h
1981 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
1982 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
1983 - (nm_system_device_set_ip4_route): clean up
1984 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
1987 - (nm_device_set_ip4_config): remove unused route_to_iface bits
1989 * src/vpn-manager/nm-vpn-connection.c
1990 - (ip_address_to_string): new function
1991 - (print_vpn_config): use ip_address_to_string
1992 - (merge_vpn_routes): add user-defined routes to the ip4 config
1993 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
1995 * include/NetworkManagerVPN.h
1998 2008-06-05 Dan Williams <dcbw@redhat.com>
2000 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2003 - Show which device is the default device
2005 2008-06-05 Tambet Ingo <tambet@gmail.com>
2009 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2010 Free data returned from dbus method call.
2012 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2013 dbus_g_method_get_sender() returns a duplicated string, free it
2015 (check_polkit_privileges): Looks like policykit sometimes returns
2016 error and non-null return value, don't leak errors in that case.
2018 * system-settings/src/main.c (find_plugin): Don't leak existing
2020 (load_stuff): Don't leak device list and list items.
2021 (have_connection_for_device): Don't leak connection list.
2023 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2024 Free the data received from g_keyfile_get_*.
2026 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2027 the key when the security object is updated.
2029 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2030 Free data returned from dbus method call.
2031 (iface_state_cb): Ditto.
2032 (add_network_cb): Ditto.
2033 (nm_supplicant_interface_add_cb): Don't make another copy of already
2034 duplicated object path.
2035 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2038 * src/supplicant-manager/nm-supplicant-config.c
2039 (ADD_STRING_LIST_VAL): Fix a memory leak.
2041 * src/nm-manager.c (free_get_settings_info): Free the allocated
2043 (list_connections_cb): Free data returned from dbus method call.
2044 (system_settings_get_unmanaged_devices_cb): Ditto.
2046 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2048 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
2049 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
2050 * src/backends/shvar.c (svCloseFile): Free the duplicated content
2053 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2054 arguments after the object is created.
2056 2008-06-04 Dan Williams <dcbw@redhat.com>
2058 * libnm-util/Makefile.am
2059 - Don't distribute nm-param-spec-specialized.h
2061 2008-06-02 Tambet Ingo <tambet@gmail.com>
2063 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2065 * src/nm-ip4-config.[ch]: Store the static routes as a list of
2066 NMIP4Address, update the getters and setters.
2068 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2069 Use the updated NMIP4Config routes api.
2071 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2072 static routes as well.
2074 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2075 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2078 2008-05-30 Dan Williams <dcbw@redhat.com>
2080 * src/named-manager/nm-named-manager.c
2081 src/named-manager/nm-named-manager.h
2082 - Remove stale/obsolete bits for controlling bind over DBus
2084 2008-05-29 Dan Williams <dcbw@redhat.com>
2086 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2087 src/dnsmasq-manager/nm-dnsmasq-manager.h
2088 - (nm_dnsmasq_manager_new): move iface argument here
2089 - (constructor): remove, not needed
2090 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2091 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2094 - (real_act_stage4_get_ip4_config,
2095 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2098 2008-05-29 Dan Williams <dcbw@redhat.com>
2101 - (dnsmasq_state_changed_cb): new function; fail the connection if
2102 something happens to dnsmasq
2103 - (nm_device_new_ip4_shared_config): new function; create a new
2104 ip4-config for shared connections. Shared connections always use a
2105 fixed static IP address.
2106 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2107 autoip connections by actually using the returned ip4-config and
2109 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2111 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2114 2008-05-29 Dan Williams <dcbw@redhat.com>
2116 * src/nm-device-802-11-wireless.c
2117 - (real_get_best_auto_connection): auto-activate 'shared' method
2120 2008-05-29 Dan Williams <dcbw@redhat.com>
2122 * libnm-util/nm-setting-ip4-config.c
2123 libnm-util/nm-setting-ip4-config.h
2124 - Add a 'shared' method to indicate that this connection should be
2125 brought up with a DHCP and proxy DNS server to facilitate
2127 - (verify): 'shared' method doesn't allow DNS or searches either
2129 2008-05-29 Dan Williams <dcbw@redhat.com>
2133 src/dnsmasq-manager/Makefile.am
2134 src/dnsmasq-manager/nm-dnsmasq-manager.c
2135 src/dnsmasq-manager/nm-dnsmasq-manager.h
2136 - Add a dnsmasq daemon manager to facilitate connection sharing
2138 2008-05-29 Dan Williams <dcbw@redhat.com>
2140 * src/nm-device-private.h
2141 - Remove unused prototypes and clean up
2144 - Remove anything related to system_config_data, which is no longer used
2145 - (nm_device_new_ip4_autoip_config): make static
2147 2008-05-29 Tambet Ingo <tambet@gmail.com>
2149 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2150 (file_changed): Fix a bug where suse system settings plugin didn't
2151 update the connections automatically when the files changed.
2153 2008-05-28 Dan Williams <dcbw@redhat.com>
2155 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2157 2008-05-28 Dan Williams <dcbw@redhat.com>
2159 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2161 * src/NetworkManagerSystem.c
2162 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2163 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2164 was causing -EINVAL errors since the libnl code actually does flush
2165 the routes on VPN interfaces now
2167 * src/backends/NetworkManagerArch.c
2168 src/backends/NetworkManagerDebian.c
2169 src/backends/NetworkManagerFrugalware.c
2170 src/backends/NetworkManagerGeneric.c
2171 src/backends/NetworkManagerGentoo.c
2172 src/backends/NetworkManagerMandriva.c
2173 src/backends/NetworkManagerPaldo.c
2174 src/backends/NetworkManagerRedHat.c
2175 src/backends/NetworkManagerSlackware.c
2176 src/backends/NetworkManagerSuSE.c
2177 - (nm_system_device_flush_ip4_routes,
2178 nm_system_device_flush_ip4_routes_with_iface): remove
2180 2008-05-28 Dan Williams <dcbw@redhat.com>
2182 * libnm-util/nm-setting-wireless.c
2183 libnm-util/nm-setting-wireless.h
2184 - (set_property, get_property, nm_setting_wireless_class_init): add the
2185 'adhoc-create' property, which when TRUE indicates that NM should
2186 create this connection as an adhoc wifi network if it's not found
2187 as an adhoc network during scanning. Can be used to auto-create
2188 adhoc networks when used in combination with autoconnect.
2190 2008-05-28 Tambet Ingo <tambet@gmail.com>
2192 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2194 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2195 checked, it doesn't work on some devices.
2197 2008-05-28 Tambet Ingo <tambet@gmail.com>
2199 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
2200 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2202 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2203 Use inet_aton() everywhere to improve error detection.
2204 Don't fall back to 'dhcp_server_identifier' if the gateway is not
2207 2008-05-26 Tambet Ingo <tambet@gmail.com>
2209 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2212 2008-05-26 Tambet Ingo <tambet@gmail.com>
2214 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2215 reference counting issue.
2217 2008-05-23 Dan Williams <dcbw@redhat.com>
2219 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2221 * src/backends/NetworkManagerGeneric.c
2222 - (nm_generic_enable_loopback): use libnl
2224 2008-05-23 Dan Williams <dcbw@redhat.com>
2226 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2228 * src/NetworkManagerSystem.h
2229 src/backends/NetworkManagerArch.c
2230 src/backends/NetworkManagerDebian.c
2231 src/backends/NetworkManagerFrugalware.c
2232 src/backends/NetworkManagerGentoo.c
2233 src/backends/NetworkManagerMandriva.c
2234 src/backends/NetworkManagerPaldo.c
2235 src/backends/NetworkManagerRedHat.c
2236 src/backends/NetworkManagerSlackware.c
2237 src/backends/NetworkManagerSuSE.c
2238 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2239 nm_system_flush_arp_cache): remove, unused
2241 * src/backends/NetworkManagerGeneric.c
2242 src/backends/NetworkManagerGeneric.h
2243 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2244 nm_generic_flush_arp_cache): remove, unused
2246 2008-05-23 Dan Williams <dcbw@redhat.com>
2248 * system-settings/plugins/ifcfg-fedora/reader.c
2249 - (make_ip4_setting): honor PEERDNS setting
2251 2008-05-23 Dan Williams <dcbw@redhat.com>
2253 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2255 * src/NetworkManagerSystem.c
2256 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2259 * src/backends/NetworkManagerArch.c
2260 src/backends/NetworkManagerDebian.c
2261 src/backends/NetworkManagerFrugalware.c
2262 src/backends/NetworkManagerGentoo.c
2263 src/backends/NetworkManagerMandriva.c
2264 src/backends/NetworkManagerPaldo.c
2265 src/backends/NetworkManagerRedHat.c
2266 src/backends/NetworkManagerSlackware.c
2267 src/backends/NetworkManagerSuSE.c
2268 - (nm_system_device_flush_ip4_addresses,
2269 nm_system_device_flush_ip4_addresses_with_iface): remove
2271 * src/backends/NetworkManagerGeneric.c
2272 - (nm_generic_device_flush_ip4_addresses,
2273 nm_generic_device_flush_ip4_addresses_with_iface): remove
2275 2008-05-23 Dan Williams <dcbw@redhat.com>
2277 * src/supplicant-manager/nm-supplicant-settings-verify.c
2278 - Switch 'bssid' from bytes to keyword type
2279 - (validate_type_keyword): allow NULL keyword lists
2281 * src/supplicant-manager/nm-supplicant-config.c
2282 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2283 a byte array to string form, which is what the supplicant expects
2285 2008-05-23 Tambet Ingo <tambet@gmail.com>
2287 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2288 information received from DHCP.
2290 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2291 to make it possible to ignore the DNS information (both servers and
2292 searches) returned by DHCP server.
2294 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2295 name servers and searches if "ignore_dhcp_dns" is set.
2297 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2298 (nm_ip4_config_reset_searches): Implement.
2300 2008-05-22 Dan Williams <dcbw@redhat.com>
2302 Remove anything mDNS related. This is better done from a distro-specific
2303 dispatcher script. Plus, any distro using avahi doesn't need to restart
2304 avahi, since avahi can handle interface changes just fine using netlink.
2307 - Remove --with-mdns-provider
2309 * src/NetworkManagerPolicy.c
2310 - (global_state_changed): don't restart the mdns provider
2312 * src/NetworkManagerSystem.h
2313 src/backends/NetworkManagerArch.c
2314 src/backends/NetworkManagerDebian.c
2315 src/backends/NetworkManagerFrugalware.c
2316 src/backends/NetworkManagerGentoo.c
2317 src/backends/NetworkManagerMandriva.c
2318 src/backends/NetworkManagerPaldo.c
2319 src/backends/NetworkManagerRedHat.c
2320 src/backends/NetworkManagerSlackware.c
2321 src/backends/NetworkManagerSuSE.c
2322 - (nm_system_restart_mdns_responder): remove
2324 * src/backends/NetworkManagerGeneric.c
2325 src/backends/NetworkManagerGeneric.h
2326 - (nm_generic_restart_mdns_responder): remove
2328 2008-05-22 Dan Williams <dcbw@redhat.com>
2331 - clean up crypto options; just use --with-crypto=nss or
2332 --with-crypto=gnutls
2334 2008-05-22 Tambet Ingo <tambet@gmail.com>
2336 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2337 anymore, do it right away.
2339 2008-05-22 Tambet Ingo <tambet@gmail.com>
2341 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2342 serial device open when we're not connecting or connected.
2344 * src/nm-cdma-device.c (device_state_changed): Ditto.
2346 2008-05-22 Tambet Ingo <tambet@gmail.com>
2348 Don't remove all devices on waking up, sync with HAL.
2350 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2351 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2352 (hal_manager_hal_reappeared_cb): Just call sync_devices.
2354 2008-05-21 Tambet Ingo <tambet@gmail.com>
2356 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2357 If the default gateway is unreachable, add a route to gateway and try
2360 2008-05-20 Dan Williams <dcbw@redhat.com>
2362 * system-settings/plugins/ifcfg-fedora/reader.c
2363 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2365 2008-05-19 Dan Williams <dcbw@redhat.com>
2367 * system-settings/plugins/ifcfg-fedora/reader.c
2368 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2369 if the ifcfg doesn't specify one (rh #446527)
2371 2008-05-19 Dan Williams <dcbw@redhat.com>
2373 Make the system settings service exit when the bus goes away. Since it's
2374 a bus-activated service, it's lifetime is limited to the bus that activated
2377 * system-settings/src/Makefile.am
2378 system-settings/src/nm-system-config-hal-manager-private.h
2379 - Remove nm-system-config-hal-manager-private.h
2381 * system-settings/src/nm-system-config-hal-manager.c
2382 - (nm_system_config_hal_manager_reinit_dbus,
2383 nm_system_config_hal_manager_deinit_dbus): remove
2385 * system-settings/src/main.c
2386 - (dbus_reconnect): remove
2387 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2388 - (destroy_cb): just quit when the bus goes away
2389 - (start_dbus_service, dbus_init): simplify
2390 - (main): destroy the wired devices hash table after destroying
2391 the HAL manager so we don't have to disconnect signals from the
2394 2008-05-15 Tambet Ingo <tambet@gmail.com>
2396 Move crypto functions from nm-applet to libnm-util.
2398 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2399 (nm_setting_802_1x_set_client_cert)
2400 (nm_setting_802_1x_set_phase2_ca_cert)
2401 (nm_setting_802_1x_set_phase2_client_cert)
2402 (nm_setting_802_1x_set_private_key)
2403 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2404 file (or private key and it's password), read the certificate data.
2406 * libnm-util/crypto_nss.c:
2407 * libnm-util/crypto_gnutls.c:
2408 * libnm-util/crypto.[ch]: Move here from nm-applet.
2410 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2412 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2413 Imlement WPA-EAP configuration reading from sysconfig.
2415 2008-05-16 Dan Williams <dcbw@redhat.com>
2417 * src/nm-device-802-11-wireless.c
2418 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2421 2008-05-14 Dan Williams <dcbw@redhat.com>
2423 Fix Linus' bug in rh #134886
2425 * src/nm-device-802-3-ethernet.c
2426 - (constructor): request initial carrier state
2428 * src/nm-netlink-monitor.c
2429 - (nm_netlink_monitor_request_status): schedule emission of carrier
2430 signals after refilling the link cache. Because the refill is a
2431 synchronous operation, the normal message hander won't get called
2432 since libnl has already consumed the messages.
2433 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2435 2008-05-14 Dan Williams <dcbw@redhat.com>
2437 * src/NetworkManagerSystem.c
2438 - (nm_system_device_is_up_with_iface): clean up
2440 2008-05-13 Dan Williams <dcbw@redhat.com>
2442 Fix refcounting issues over sleep/wake when a VPN connection was active that
2443 caused NM to try registering an object path for a device upon wake that was
2444 the same as an already registered object path.
2447 - (nm_device_take_down): properly handle cases where the device is
2448 no longer active but was just active, and therefore must be
2449 deactivated. When a device moves to unmanaged mode, this function
2450 previously would not deactivate the device, because the state was
2451 already unmanaged by the time this function was called.
2453 * src/vpn-manager/nm-vpn-connection.c
2454 - (device_state_changed): properly handle multiple devices states in
2455 which the device is now deactivated. Code previously didn't handle
2456 transitions to the UNAVAILABLE (like rfkill or carrier off) and
2459 2008-05-13 Dan Williams <dcbw@redhat.com>
2461 * src/nm-device-private.h
2463 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2465 * src/nm-device-802-11-wireless.c
2466 - (nm_device_802_11_wireless_set_enabled): take devices up
2467 and down as appropriate for the rfkill state
2469 2008-05-13 Dan Williams <dcbw@redhat.com>
2471 * marshallers/nm-marshal.list
2472 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2474 * system-settings/plugins/ifcfg-fedora/Makefile.am
2475 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2476 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2477 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2478 events. Solely for use watching ifcfg files to pick up changes
2479 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2481 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2482 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2483 file contents change
2484 - (finalize): clean up inotify watches
2485 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2486 and the connection ifcfg for changes on their hardlinks
2487 - (files_changed_cb): proxy the changed signal back out to listeners
2489 * system-settings/plugins/ifcfg-fedora/plugin.c
2491 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2493 - (read_one_connection): connect to change signals on the new connection
2494 - (dir_changed, connection_changed_handler,
2495 handle_connection_remove_or_new): break out connection change
2496 handling and connection new/remove handling so it can be used from
2497 both the GFileMonitor callback and the NMIfcfgConnection changed
2500 * system-settings/plugins/ifcfg-fedora/reader.c
2501 system-settings/plugins/ifcfg-fedora/reader.h
2502 - (connection_from_file): return the keyfile path the connection would use
2504 2008-05-13 Tambet Ingo <tambet@gmail.com>
2506 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
2507 single PolKitContext which is shared by all. PolKitContext::unref leaks
2508 just about everything, including all open file descriptiors and results
2509 in 99% cpu usage when data arrives to any of the fds that don't belong
2510 to any context anymore.
2512 2008-05-12 Dan Williams <dcbw@redhat.com>
2514 * gfilemonitor/glocaldirectorymonitor.c
2515 gfilemonitor/glocaldirectorymonitor.h
2516 - (g_local_directory_monitor_constructor): actually subscribe to the
2518 - (_g_local_directory_monitor_new): ensure that inotify is started up
2520 * gfilemonitor/glocalfilemonitor.c
2521 gfilemonitor/glocalfilemonitor.h
2522 - (g_local_file_monitor_constructor): actually subscribe to the watch
2523 - (_g_local_file_monitor_new): ensure that inotify is started up
2525 2008-05-11 Dan Williams <dcbw@redhat.com>
2528 - record PolicyKit version
2530 * system-settings/src/nm-polkit-helpers.c
2531 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
2532 with PolicyKit <= 0.6
2534 2008-05-11 Dan Williams <dcbw@redhat.com>
2536 Update Fedora system-settings plugin to support latest API and use
2537 GFileMonitor rather than home-rolled inotify code.
2539 * system-settings/plugins/ifcfg-fedora/Makefile.am
2540 system-settings/plugins/ifcfg-fedora/common.h
2541 system-settings/plugins/ifcfg-fedora/plugin.c
2542 - Update to latest system settings plugin API; use GIO instead of
2543 custom inotify code; use NMIfcfgConnection objects instead of
2544 ConnectionData structures tacked onto NMConnection objects
2546 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2547 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
2548 - Implement an NMExportedConnection subclass mapping ifcfg files to
2551 * system-settings/plugins/ifcfg-fedora/reader.c
2552 system-settings/plugins/ifcfg-fedora/reader.h
2553 - Move ifcfg parsing bits here from parser.c
2555 * system-settings/plugins/ifcfg-fedora/parser.c
2556 system-settings/plugins/ifcfg-fedora/parser.h
2557 - Remove; most code moved to reader.c
2559 2008-05-11 Dan Williams <dcbw@redhat.com>
2564 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
2565 implementation, so that the same change monitoring code can be used
2566 on systems without glib-2.14 (like Fedora 8)
2568 * system-settings/plugins/keyfile/Makefile.am
2569 system-settings/plugins/keyfile/plugin.c
2570 system-settings/plugins/ifcfg-suse/Makefile.am
2571 system-settings/plugins/ifcfg-suse/plugin.c
2572 - Use private gfilemonitor code if GIO is not present
2574 2008-05-09 Tambet Ingo <tambet@gmail.com>
2576 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
2577 NMExportedConnection's 'update' and 'delete' and return error with
2578 descriptive message.
2580 2008-05-08 Dan Williams <dcbw@redhat.com>
2582 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2584 * src/nm-gsm-device.c
2585 src/nm-cdma-device.c
2586 - (real_get_best_auto_connection): implement; allow autoconnection
2587 to GSM & CDMA devices
2589 2008-05-08 Tambet Ingo <tambet@gmail.com>
2591 Use PolicyKit to authorize the system settings' AddConnection method
2592 and the system settings connections' Update and Delete methods.
2594 * libnm-glib/nm-settings.c (impl_exported_connection_update)
2595 (impl_exported_connection_delete, nm_exported_connection_update)
2596 (nm_exported_connection_delete): Return boolean and fill GError
2597 to notify the callers of the reasons why it might have failed.
2599 * libnm-glib/nm-dbus-settings-system.c
2600 (nm_dbus_settings_system_add_connection): Return the error from dbus
2601 call so that the callers can see why it failed.
2603 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
2606 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
2608 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
2609 abstract base class that checks PolicyKit permissions.
2611 * system-settings/src/dbus-settings.c:
2612 (impl_settings_add_connection): Check the policy before carring out
2615 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
2616 Inherit from NMSysconfigConnection, check the policies before
2617 allowing updating or removing.
2619 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
2620 Inherit from NMSysconfigConnection.
2622 * introspection/nm-exported-connection.xml: Annotate "Update" and
2623 "Delete" methods with async flag so that the implementations can get
2624 access to DBusGMethodInvocation.
2626 * system-settings/src/dbus-settings.c
2627 (settings_add_connection_check_privileges): Implement.
2628 (impl_settings_add_connection): Check the privileges before adding a new
2629 connection. Improve error reporting.
2631 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
2632 async so that the implementation can access DBusGMethodInvocation.
2634 * configure.in: Check for PolicyKit.
2636 * policy/org.freedesktop.network-manager-settings.system.policy:
2639 * policy/Makefile.am: Install the policy file.
2641 * configure.in: Add 'policy' subdir.
2643 2008-05-08 Tambet Ingo <tambet@gmail.com>
2645 Rewrite the suse system settings plugin.
2647 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
2649 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
2651 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
2653 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
2655 * system-settings/src/dbus-settings.c: Fix connection reference counting.
2657 * system-settings/src/main.c (load_plugins): Improve error reporting.
2659 * system-settings/src/sha1.[ch] Add.
2661 * system-settings/src/Makefile.am: Add sha1[ch] to build.
2663 2008-05-07 Dan Williams <dcbw@redhat.com>
2665 * system-settings/plugins/keyfile/reader.c
2666 - (read_one_setting_value): handle IP address items separately
2667 - (read_array_of_uint): read IPv4 DNS option as a string array
2668 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
2671 * system-settings/plugins/keyfile/writer.c
2672 - (write_setting_value): handle IP address items separately
2673 - (write_array_of_uint): handle IPv4 DNS option as a string array,
2674 not an array of uint, so that it's user-editable
2675 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
2676 arrays, so they are user-editable
2678 2008-05-07 Dan Williams <dcbw@redhat.com>
2680 * system-settings/plugins/keyfile/Makefile.am
2681 - Change location of the keyfile plugin settings to
2682 /etc/NetworkManager/system-connections
2684 2008-05-05 Tambet Ingo <tambet@gmail.com>
2686 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
2688 * system-settings/plugins/keyfile/plugin.c: Work with
2689 NMKeyfileConnections.
2691 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
2692 Plugins are supposed to return NMExportedConnections now and handle the
2693 updated(), removed(), and GetSecrets().
2694 Store the internal list of connections in hash table to make it easier
2697 2008-05-07 Tambet Ingo <tambet@gmail.com>
2699 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
2700 for multiple IP addresses.
2702 2008-05-07 Tambet Ingo <tambet@gmail.com>
2704 Patch from André Lemos.
2706 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
2709 2008-05-06 Dan Williams <dcbw@redhat.com>
2711 * src/dhcp-manager/nm-dhcp-manager.c
2712 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
2713 NMIP4Config to support multiple IP addresses
2715 * src/NetworkManagerUtils.c
2716 - (nm_utils_merge_ip4_config): update for multiple IP addresses
2718 * src/nm-ip4-config.c
2720 - Store a list of IPv4 address/netmask/gateway tuples
2721 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
2722 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
2723 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
2724 nm_ip4_config_set_address): remove
2725 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
2726 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
2727 new functions; handle multiple IPv4 addresses
2730 src/ppp-manager/nm-ppp-manager.c
2731 src/vpn-manager/nm-vpn-connection.c
2732 src/NetworkManagerPolicy.c
2734 libnm-glib/libnm-glib-test.c
2735 - update for changes to NMIP4Config for multiple IPv4 addresses
2737 * src/NetworkManagerSystem.c
2738 - (nm_system_device_set_ip4_route): don't add the route if any address
2739 is on the same subnet as the destination
2740 - (check_one_address): ignore the exact match, just match family and
2742 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
2744 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
2745 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
2747 * introspection/nm-ip4-config.xml
2748 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
2749 - Add 'addresses' property which is an array of (uuu) tuples of
2750 address/netmask/gateway
2752 * libnm-util/nm-setting-ip4-config.c
2753 - (set_property): use ip-address <-> GValue converters from nm-utils.c
2755 * libnm-glib/nm-ip4-config.c
2756 libnm-glib/nm-ip4-config.h
2757 - Handle D-Bus interface changes to support multiple IP addresses
2759 2008-05-06 Dan Williams <dcbw@redhat.com>
2761 * libnm-util/nm-utils.c
2762 libnm-util/nm-utils.h
2763 - (nm_utils_ip4_addresses_from_gvalue,
2764 nm_utils_ip4_addresses_to_gvalue): new functions
2766 2008-05-06 Tambet Ingo <tambet@gmail.com>
2768 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
2769 the returned connection paths.
2771 2008-05-05 Tambet Ingo <tambet@gmail.com>
2773 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
2774 "PropertiesChanged" signal signature.
2776 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
2777 defined in nm-dbus-glib-types.h.
2778 Don't register the connection on dbus, we're a proxy class to
2779 communicate with an already registered connection over dbus.
2781 2008-04-30 Tambet Ingo <tambet@gmail.com>
2783 Implement new subclasses of NMSettings and NMExportedConnection to make
2784 it easier for the applet to access and modify system settings.
2786 * libnm-glib/nm-dbus-connection.[ch]:
2787 * libnm-glib/nm-dbus-settings.[ch]:
2788 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
2790 * libnm-glib/Makefile.am: Add the new files to build, generate some more
2793 * include/NetworkManager.h: Define the system settings DBus interface.
2795 2008-04-30 Tambet Ingo <tambet@gmail.com>
2797 Implement additional C API for exported connections to make them identical
2798 with the DBus API. Change the (list_connections) virtual function to be
2799 more usable from C - instead of requiring implementers to return a GPtrArray
2800 of dbus paths, return a list of connections.
2802 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
2803 (nm_settings_list_connections):
2804 (nm_exported_connection_new):
2805 (nm_exported_connection_update):
2806 (nm_exported_connection_delete): Implement.
2808 (impl_settings_list_connections):
2809 (impl_exported_connection_update):
2810 (impl_exported_connection_delete): Use the new public functions to make
2811 sure the C and dbus interfaces stay in sync.
2813 * system-settings/src/dbus-settings.c (list_connections): Return a list of
2816 2008-05-02 Dan Williams <dcbw@redhat.com>
2818 * system-settings/plugins/ifcfg-fedora/plugin.c
2819 - (dispose): use right unref call on the DBusGConnection
2821 2008-05-02 Dan Williams <dcbw@redhat.com>
2823 * src/nm-serial-device.c
2824 - (find_terminator): don't compare the whole line, just the size of the
2825 terminator, since some modems put stuff after the terminator, like
2828 2008-05-01 Dan Williams <dcbw@redhat.com>
2830 Patch from Michael Biebl <biebl@debian.org>
2832 * callouts/Makefile.am
2833 callouts/org.freedesktop.nm_dispatcher.service.in
2834 system-settings/src/Makefile.am
2835 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
2836 - use the right install location for dbus-activated stuff
2838 2008-04-30 Dan Williams <dcbw@redhat.com>
2840 * src/nm-gsm-device.c
2841 - (enter_pin): fix setting name passed to applets when asking for a GSM
2844 2008-04-30 Dan Williams <dcbw@redhat.com>
2847 - (nm_manager_error_get_type): remove erroneous NULL enum from table
2849 2008-04-30 Dan Williams <dcbw@redhat.com>
2851 * src/nm-device-802-3-ethernet.c
2852 src/nm-device-802-11-wireless.c
2853 - (real_is_up): return true instead of chaining up to unimplemented
2856 2008-04-30 Dan Williams <dcbw@redhat.com>
2858 * src/NetworkManagerSystem.c
2859 src/NetworkManagerSystem.h
2860 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
2861 functions to check device flags for IFF_UP
2863 * src/nm-serial-device.c
2864 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
2867 * src/nm-device-802-3-ethernet.c
2868 src/nm-device-802-11-wireless.c
2869 - (real_hw_is_up): call nm_system_device_is_up()
2872 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
2873 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
2876 2008-04-29 Dan Williams <dcbw@redhat.com>
2878 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
2880 * marshallers/nm-marshal.list
2883 * src/NetworkManager.c
2884 - (main): let the NMManager handle the NMHalManager
2886 * src/nm-hal-manager.c
2887 src/nm-hal-manager.h
2888 - convert to a GObject, and emit singals when stuff changes. Let the
2889 NMManager handle the signals, instead of the NMHalManager calling
2894 - (remove_one_device): consolidate device removals here
2895 - (dispose): use remove_one_device()
2896 - (nm_manager_get_device_by_udi): make static
2897 - (deferred_hal_manager_query_devices): idle handler to query the HAL
2898 manager for devices at startup or wakeup time
2899 - (nm_manager_new): create and monitor the HAL manager
2900 - (hal_manager_udi_added_cb): new function; do what
2901 nm_manager_add_device() used to do when signalled by the hal manager
2902 - (hal_manager_udi_removed_cb): new function; do what
2903 nm_manager_remove_device() used to do when signalled by the hal
2905 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
2907 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
2908 in our device list that aren't known to HAL
2909 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
2910 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
2912 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
2913 nm_manager_activation_pending, nm_manager_wireless_enabled,
2914 nm_manager_wireless_hardware_enabled,
2915 nm_manager_set_wireless_hardware_enabled): remove, unused
2917 2008-04-28 Dan Williams <dcbw@redhat.com>
2919 Fix the device up/down ambiguities. Up/down state used to be a
2920 conglomeration of hardware state (IFF_UP) and any device-specific things
2921 (supplicant, periodic timers, etc) that the device used to indicate
2922 readiness. Unfortunately, if the hardware was already IFF_UP for some
2923 reason, then the device specific stuff wouldn't get run, and the device
2928 - Create hw_is_up, hw_bring_up, and hw_take_down
2929 - Rename bring_down -> take_down
2930 - (real_hw_is_up): check interface flags for IFF_UP
2931 - (nm_device_hw_is_up): let subclasses figure out their own HW state
2932 - (nm_device_is_up): make static; only used locally
2933 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
2934 if the device is already up; if the device isn't up, bring it up
2935 - (nm_device_hw_take_down): just take down hardware
2936 - (nm_device_bring_up): bring up HW first, then device specific stuff
2937 - (nm_device_take_down): always deactivate device when called; always
2938 try to take hardware down too
2939 - (nm_device_state_changed): take device down when entering unmanaged
2940 state from a higher state
2942 * src/nm-device-802-11-wireless.c
2943 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
2945 - (real_take_down, supplicant_iface_state_cb_handler,
2946 supplicant_iface_connection_state_cb_handler,
2947 supplicant_mgr_state_cb_handler): fix some messages
2949 * src/nm-device-802-3-ethernet.c
2950 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
2953 2008-04-28 Dan Williams <dcbw@redhat.com>
2957 - (nm_manager_error_get_type): add new error
2958 - (nm_manager_remove_device): don't bother taking down the device here,
2959 the state change from unmanaging the device will do it
2960 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
2961 uses it; when going to sleep, just unmanage the device instead of
2962 taking it down, because stuff will cleaned up correctly when the
2963 device gets unmanaged
2965 2008-04-28 Dan Williams <dcbw@redhat.com>
2967 * src/nm-hal-manager.c
2968 - (add_initial_devices): convert to a GSourceFunc prototype
2969 - (nm_manager_state_changed): when coming out of sleep, punt the
2970 device re-addition to an idle handler to let D-Bus events go out
2971 first, fixing a potential dbus-glib assert if the old device was
2972 not yet disposed (due to references held while emitting the D-Bus
2973 signals) but the new device was found, because the mainloop didn't
2974 run between signal emission and add_initial_devices()
2976 2008-04-27 Dan Williams <dcbw@redhat.com>
2978 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2980 * initscript/paldo/NetworkManager.in
2981 initscript/SUSE/networkmanager.in
2982 - Remove last bits of dhcdbd
2984 2008-04-27 Dan Williams <dcbw@redhat.com>
2986 * src/nm-device-802-11-wireless.c
2987 - (link_timeout_cb): don't ask for secrets when disconnected during
2988 association/authentication phase, drivers are still just too crappy
2990 2008-04-27 Dan Williams <dcbw@redhat.com>
2994 dispatcher-daemon/Makefile.am
2995 dispatcher-daemon/NetworkManagerDispatcher.c
2996 initscript/Arch/Makefile.am
2997 initscript/Arch/networkmanager-dispatcher.in
2998 initscript/Gentoo/Makefile.am
2999 initscript/Gentoo/NetworkManagerDispatcher.in
3000 initscript/Mandriva/Makefile.am
3001 initscript/Mandriva/networkmanagerdispatcher.in
3002 initscript/RedHat/Makefile.am
3003 initscript/RedHat/NetworkManagerDispatcher.in
3004 initscript/SUSE/Makefile.am
3005 initscript/SUSE/networkmanager-dispatcher.in
3006 initscript/Slackware/Makefile.am
3007 initscript/Slackware/rc.networkmanager-dispatcher.in
3008 initscript/paldo/Makefile.am
3009 initscript/paldo/NetworkManagerDispatcher.in
3011 man/NetworkManagerDispatcher.8.in
3012 - Remove the dispatcher daemon
3014 2008-04-27 Dan Williams <dcbw@redhat.com>
3016 * callouts/Makefile.am
3017 callouts/nm-dispatcher-action.c
3018 callouts/nm-dispatcher-action.h
3019 callouts/nm-dispatcher.conf
3020 callouts/nm-dispatcher.xml
3021 callouts/org.freedesktop.nm_dispatcher.service
3022 - Re-implement the dispatcher as a system-bus activated service that
3023 NM calls on-demand, rather than an always running daemon
3026 - Add callouts dir to includes to pick up dispatcher defines
3029 - (nm_device_state_changed): call dispatcher on device activated/
3032 * src/vpn-manager/nm-vpn-connection.c
3033 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3036 * src/NetworkManagerUtils.c
3037 src/NetworkManagerUtils.h
3038 - (nm_utils_call_dispatcher): helper to call dispatcher
3040 2008-04-27 Dan Williams <dcbw@redhat.com>
3042 * src/NetworkManagerUtils.c
3043 src/NetworkManagerUtils.h
3044 - remove unneeded includes
3045 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3046 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3047 nm_timeval_cmp, nm_timeval_add): remove, unused
3048 - clean up formatting
3049 - (nm_spawn_process): de-uglify
3051 * src/nm-device-802-11-wireless.c
3052 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3054 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
3056 * initscript/Gentoo/NetworkManager.in:
3057 Fix for starting the daemon.
3059 2008-04-25 Dan Williams <dcbw@redhat.com>
3061 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3063 * src/NetworkManagerSystem.c
3064 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3066 2008-04-25 Dan Williams <dcbw@redhat.com>
3068 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3070 * src/NetworkManagerSystem.c
3071 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3072 implementation of nm_system_device_replace_default_route()
3074 * src/NetworkManagerPolicy.c
3075 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3077 * src/backends/NetworkManagerArch.c
3078 src/backends/NetworkManagerDebian.c
3079 src/backends/NetworkManagerFrugalware.c
3080 src/backends/NetworkManagerGeneric.c
3081 src/backends/NetworkManagerGeneric.h
3082 src/backends/NetworkManagerGentoo.c
3083 src/backends/NetworkManagerMandriva.c
3084 src/backends/NetworkManagerPaldo.c
3085 src/backends/NetworkManagerRedHat.c
3086 src/backends/NetworkManagerSlackware.c
3087 src/backends/NetworkManagerSuSE.c
3088 - (nm_system_device_replace_default_route): remove
3090 2008-04-25 Dan Williams <dcbw@redhat.com>
3092 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3094 * src/NetworkManagerSystem.c
3095 - (validate_ip4_route): remove; use nl_addr_parse() instead
3096 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3097 replace nm_system_device_add_route_via_device_with_iface() in the
3100 * src/backends/NetworkManagerArch.c
3101 src/backends/NetworkManagerDebian.c
3102 src/backends/NetworkManagerFrugalware.c
3103 src/backends/NetworkManagerGeneric.c
3104 src/backends/NetworkManagerGeneric.h
3105 src/backends/NetworkManagerGentoo.c
3106 src/backends/NetworkManagerMandriva.c
3107 src/backends/NetworkManagerPaldo.c
3108 src/backends/NetworkManagerRedHat.c
3109 src/backends/NetworkManagerSlackware.c
3110 src/backends/NetworkManagerSuSE.c
3111 - Remove nm_system_device_add_route_via_device_with_iface()
3113 2008-04-25 Dan Williams <dcbw@redhat.com>
3115 * system-settings/plugins/ifcfg-fedora/parser.c
3116 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3118 2008-04-24 Dan Williams <dcbw@redhat.com>
3120 * dispatcher-daemon/NetworkManagerDispatcher.c
3121 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3123 2008-04-24 Dan Williams <dcbw@redhat.com>
3125 * initscript/RedHat/NetworkManager.in
3126 initscript/RedHat/NetworkManagerDispatcher.in
3127 - Be active at runlevel 2
3128 - Adjust priorities earlier
3130 2008-04-22 Dan Williams <dcbw@redhat.com>
3132 * src/NetworkManagerPolicy.c
3133 - (update_routing_and_dns): when checking for a gateway, look at the
3134 composite IP4 config, not the connection's ip4-config setting, which
3135 doesn't include DHCP-returned information
3137 2008-04-22 Tambet Ingo <tambet@gmail.com>
3139 Implement GKeyFile system settings plugin.
3140 Implement writing system settings (currently supported only by GKeyFile plugin).
3142 * system-settings/src/main.c:
3143 * system-settings/src/dbus-settings.c: Move the communication with plugins
3144 from main.c to dbus-settings.c. Makes it possible to talk to all registered
3145 plugins for adding/updating/removing connections.
3147 * system-settings/src/nm-system-config-interface.c
3148 (nm_system_config_interface_add_connection): Implement
3149 (nm_system_config_interface_update_connection): Implement.
3150 (nm_system_config_interface_remove_connection): Implement.
3152 * system-settings/plugins/keyfile/Makefile.am:
3153 * system-settings/plugins/keyfile/plugin.[ch]:
3154 * system-settings/plugins/keyfile/writer.[ch]:
3155 * system-settings/plugins/keyfile/reader.[ch]: Implement.
3157 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3159 * configure.in: Generate GKeyFile Makefile.
3161 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3162 corruption, need to duplicate the returned string.
3163 (impl_exported_connection_update): Implement.
3164 (impl_exported_connection_delete): Implement.
3166 * introspection/nm-settings-system.xml: Add "AddConnection" method.
3168 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3170 2008-04-22 Dan Williams <dcbw@redhat.com>
3172 Patch from Charles R. Anderson (cra@wpi.edu)
3174 * src/NetworkManagerPolicy.c
3175 - (update_routing_and_dns): don't select devices without a gateway
3176 as having the default route (rh #437338)
3178 2008-04-21 Dan Williams <dcbw@redhat.com>
3180 * src/nm-activation-request.c
3181 src/nm-activation-request.h
3182 - (dispose): ensure to disconnect from the device's state-changed signal
3183 when appropriate so the signal doesn't get handled by an already
3184 disposed NMActRequest
3185 - (device_state_changed): update is_default here too just to make sure
3186 default is only True when the child device is activated
3187 - (nm_act_request_set_default): new function
3189 * src/NetworkManagerPolicy.c
3190 - (update_routing_and_dns): set 'default' on the active connection which
3191 has the default route and DNS
3193 2008-04-21 Dan Williams <dcbw@redhat.com>
3195 * src/NetworkManagerPolicy.c
3196 - (device_state_changed): update routing and DNS when a device goes
3197 into unmanaged or unavailable states too (like rfkill or carrier loss)
3199 2008-04-21 Dan Williams <dcbw@redhat.com>
3201 * include/NetworkManager.h
3202 - Add NMActiveConnectionState enum
3204 * introspection/nm-active-connection.xml
3205 introspection/nm-vpn-connection.xml
3206 - Add 'State' property for overall active connection state
3207 - Add 'Default' property, when True means this active connection
3208 has the default route
3209 - Add PropertyChanged signals so changes actually go out over the bus
3211 * src/nm-active-connection.h
3212 - Add defines for State & Default properties
3214 * src/nm-activation-request.c
3215 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3216 signal to determine active connection state
3218 * src/vpn-manager/nm-vpn-connection.c
3219 src/vpn-manager/nm-vpn-connection.h
3220 src/vpn-manager/nm-vpn-manager.c
3221 src/vpn-manager/nm-vpn-service.c
3222 - Rename old 'state' to 'vpn-state'
3223 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3224 - Add 'state' and 'default' properties, hook up to the vpn connection's
3225 'vpn-state-changed' signal
3227 * libnm-glib/nm-active-connection.c
3228 libnm-glib/nm-active-connection.h
3229 - Add new 'state' and 'default' properties and accessors
3231 * libnm-glib/nm-vpn-connection.c
3232 libnm-glib/nm-vpn-connection.h
3233 - Rename old 'state' property to 'vpn-state'
3234 - Add new 'state' and 'default' properties and accessors
3236 2008-04-21 Dan Williams <dcbw@redhat.com>
3238 * src/nm-ip4-config.c
3239 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3240 not specified (rh #443474)
3242 2008-04-20 Dan Williams <dcbw@redhat.com>
3244 * src/NetworkManagerUtils.c
3245 src/NetworkManagerUtils.h
3246 - (nm_utils_merge_ip4_config): new function; merge settings from an
3247 NMSettingIP4Config to an NMIP4Config object
3250 - (merge_ip4_config): move to NetworkManagerUtils.c
3252 * src/vpn-manager/nm-vpn-connection.c
3253 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3256 2008-04-18 Dan Williams <dcbw@redhat.com>
3258 * libnm-util/nm-setting-ppp.c
3259 libnm-util/nm-setting-ppp.h
3260 - Add 'no-vj-comp' option for TCP header compression
3261 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3264 2008-04-18 Dan Williams <dcbw@redhat.com>
3266 * libnm-util/nm-setting-ppp.c
3267 libnm-util/nm-setting-ppp.h
3268 src/ppp-manager/nm-ppp-manager.c
3269 - Add 'refuse-pap' and 'refuse-mschapv2' options
3271 2008-04-18 Dan Williams <dcbw@redhat.com>
3273 * libnm-util/nm-setting-ppp.c
3274 libnm-util/nm-setting-ppp.h
3275 src/ppp-manager/nm-ppp-manager.c
3276 - Remove the 'usepeerdns' option and always request DNS servers from
3277 the PPP server; the connection chooses to use/override/ignore the
3278 DNS servers returned from the PPP server
3280 2008-04-18 Dan Williams <dcbw@redhat.com>
3282 * libnm-util/nm-setting-ppp.c
3283 libnm-util/nm-setting-ppp.h
3284 src/ppp-manager/nm-ppp-manager.c
3285 - Remove the 'require-mppc' option, because pppd doesn't support it and
3286 it seems to have been an erroneous addition to the PPTP plugin in
3287 the first place (from which the ppp-manager is derived)
3289 2008-04-17 Dan Williams <dcbw@redhat.com>
3291 * libnm-util/nm-setting-pppoe.c
3292 - (verify): require a PPP setting too
3294 * src/ppp-manager/nm-ppp-manager.c
3295 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3298 2008-04-17 Dan Williams <dcbw@redhat.com>
3301 - (nm_device_state_changed): do deactivation and and promotion to
3302 unavailable here, so that the device gets cleaned up before the
3303 manager runs and starts emitting signals; do the
3304 FAILED->DISCONNECTED transition from an idle handler rather than
3305 immediately to guard against recursion
3306 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3307 FAILED->DISCONNECTED handler if it's scheduled
3309 2008-04-17 Dan Williams <dcbw@redhat.com>
3311 * src/nm-device-802-11-wireless.c
3312 - (state_changed_cb): clear AP list when device transitions to
3313 unavailable or unmanaged
3314 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3315 since this is already done in device_cleanup()
3316 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3317 isn't available or managed
3318 - (device_cleanup): use remove_all_aps()
3319 - (remove_all_aps): consolidate code removing all APs
3321 2008-04-17 Dan Williams <dcbw@redhat.com>
3323 * src/nm-serial-device.c
3324 src/nm-serial-device.h
3325 - (wait_for_reply_got_data): break input into lines, and search each
3326 line for responses _and_ terminator strings; also make sure that
3327 the read loop doesn't continue after the timeout is supposed to fire
3328 - (nm_serial_device_wait_for_reply): take an array of terminators too
3330 * src/nm-gsm-device.c
3331 src/nm-cdma-device.c
3332 - Send terminators to nm_serial_device_wait_for_reply()
3334 2008-04-16 Dan Williams <dcbw@redhat.com>
3336 Patch from 陈鑫 <znscnchen@gmail.com>
3338 * src/ppp-manager/nm-pppd-plugin.c
3339 - (get_credentials): return correct value for success; handle case where
3340 pppd just does some checking but doesn't want a password
3341 - (plugin_init): make CHAP work too
3343 2008-04-16 Dan Williams <dcbw@redhat.com>
3345 Patch from 陈鑫 <znscnchen@gmail.com>
3347 * src/ppp-manager/nm-ppp-manager.c
3348 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3350 2008-04-16 Dan Williams <dcbw@redhat.com>
3352 Patch from 陈鑫 <znscnchen@gmail.com>
3354 * src/nm-device-802-3-ethernet.c
3355 - (real_deactivate_quickly): clear the IP interface name on
3356 deactivation, otherwise the wrong interface might get used later
3357 for routing and IP management
3359 2008-04-15 Dan Williams <dcbw@redhat.com>
3361 * libnm-glib/nm-device.c
3362 - (get_product_and_vendor): handle serial devices correctly
3363 - (nm_device_update_description): pass device to get_product_and_vendor()
3365 2008-04-15 Dan Williams <dcbw@redhat.com>
3367 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3369 * src/NetworkManagerSystem.h
3370 src/backends/NetworkManagerArch.c
3371 src/backends/NetworkManagerDebian.c
3372 src/backends/NetworkManagerFrugalware.c
3373 src/backends/NetworkManagerGeneric.c
3374 src/backends/NetworkManagerGeneric.h
3375 src/backends/NetworkManagerGentoo.c
3376 src/backends/NetworkManagerMandriva.c
3377 src/backends/NetworkManagerPaldo.c
3378 src/backends/NetworkManagerRedHat.c
3379 src/backends/NetworkManagerSlackware.c
3380 src/backends/NetworkManagerSuSE.c
3382 - (nm_generic_device_add_ip6_link_address,
3383 nm_system_device_add_ip6_link_address): remove
3385 2008-04-15 Dan Williams <dcbw@redhat.com>
3387 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3389 * src/backends/NetworkManagerArch.c
3390 src/backends/NetworkManagerDebian.c
3391 src/backends/NetworkManagerFrugalware.c
3392 src/backends/NetworkManagerGeneric.c
3393 src/backends/NetworkManagerGeneric.h
3394 src/backends/NetworkManagerGentoo.c
3395 src/backends/NetworkManagerMandriva.c
3396 src/backends/NetworkManagerPaldo.c
3397 src/backends/NetworkManagerRedHat.c
3398 src/backends/NetworkManagerSlackware.c
3399 src/backends/NetworkManagerSuSE.c
3400 src/NetworkManagerSystem.h
3401 - flush_routes -> flush_ip4_routes
3402 - flush_addresses -> flush_ip4_addresses
3404 * src/NetworkManagerSystem.c
3406 src/vpn-manager/nm-vpn-connection.c
3407 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3409 2008-04-15 Dan Williams <dcbw@redhat.com>
3411 Remove exposure of wireless-tools mode types in the API.
3413 * include/NetworkManager.h
3414 - Define NM80211Mode enum
3416 * introspection/generic-types.xml
3417 - Describe NM_802_11_MODE enum
3418 - Remove IW_MODE_* enum
3420 * introspection/nm-access-point.xml
3421 libnm-glib/nm-access-point.c
3422 libnm-glib/nm-access-point.h
3423 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3425 * introspection/nm-device-802-11-wireless.xml
3426 libnm-glib/nm-device-802-11-wireless.c
3427 libnm-glib/nm-device-802-11-wireless.h
3428 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3430 * libnm-util/nm-setting-wireless.c
3431 src/NetworkManagerAP.c
3432 src/NetworkManagerAP.h
3433 src/nm-device-802-11-wireless.c
3434 src/nm-device-802-11-wireless.h
3436 - Use NM80211Mode not IW_MODE_*
3438 2008-04-15 Dan Williams <dcbw@redhat.com>
3440 Enhance nm-online based on a patch from Bill Nottingham.
3444 - Add help messages and option summary
3445 - Add long-format options
3446 - Add a '-x' option to exit if NM isn't running or isn't connecting
3448 2008-04-15 Tambet Ingo <tambet@gmail.com>
3450 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3452 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3454 2008-04-15 Dan Williams <dcbw@redhat.com>
3456 * nm-setting-ip4-config.c
3457 - (ip4_addresses_from_gvalue): handle NULL address array
3459 * nm-setting-8021x.c
3460 - (verify_tls, verify_ttls): warn on failed verification
3462 2008-04-10 Dan Williams <dcbw@redhat.com>
3464 * src/nm-gsm-device.c
3465 - (automatic_registration): accept "+CREG: 0,0"
3466 - (automatic_registration_response): fail on "+CREG: 0,0"
3468 2008-04-10 Tambet Ingo <tambet@gmail.com>
3470 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3472 2008-04-10 Tambet Ingo <tambet@gmail.com>
3474 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
3475 Make it compile again by commenting out broken code that at first didn't work and
3476 now didn't compile either.
3478 2008-04-08 Dan Williams <dcbw@redhat.com>
3480 * libnm-glib/nm-object-cache.c
3481 libnm-glib/nm-settings.c
3482 src/dhcp-manager/nm-dhcp-manager.c
3483 system-settings/plugins/ifcfg-fedora/plugin.c
3484 system-settings/plugins/ifcfg-suse/plugin.c
3485 system-settings/src/nm-system-config-hal-manager.c
3486 libnm-util/nm-utils.c
3487 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3488 not threadsafe anyway
3490 2008-04-08 Dan Williams <dcbw@redhat.com>
3492 * system-settings/src/main.c
3493 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3494 callbacks take a device type too
3496 2008-04-08 Dan Williams <dcbw@redhat.com>
3498 The system settings service will now create a new default DHCP connection
3499 for wired devices that have no existing applicable connection.
3501 * system-settings/src/nm-system-config-hal-manager.c
3502 system-settings/src/nm-system-config-hal-manager.h
3503 - (nm_system_config_hal_manager_get_type_for_udi): new function
3505 * system-settings/src/dbus-settings.c
3506 system-settings/src/dbus-settings.h
3507 - (nm_sysconfig_settings_get_connections): new function
3508 - (nm_sysconfig_settings_is_device_managed): new function
3510 * system-settings/src/main.c
3511 - (load_stuff): check for wired devices that need a default connection
3512 - (get_details_for_udi): get interface and MAC address from HAL
3513 - (add_default_dhcp_connection): add a default connection for a wired
3515 - (device_added_cb, device_removed_cb): do the right thing with
3516 wired devices and their default connections on HAL device events
3518 2008-04-07 Dan Williams <dcbw@redhat.com>
3520 * libnm-glib/nm-device.c
3521 libnm-glib/nm-device.h
3522 - Proxy the 'managed' property
3524 2008-04-07 Dan Williams <dcbw@redhat.com>
3526 * src/nm-gsm-device.c
3527 src/nm-cdma-device.c
3528 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3529 handler to transition to DISCONNECTED
3531 2008-04-07 Dan Williams <dcbw@redhat.com>
3533 Patch from Bill Nottingham
3535 * dispatcher-daemon/NetworkManagerDispatcher.c
3536 - ignore backup/packaging crufy (rh #440143)
3538 2008-04-07 Dan Williams <dcbw@redhat.com>
3540 * include/NetworkManager.h
3541 - Remove the DOWN and CANCELLED device states
3542 - Add UNMANAGED and UNAVAILABLE device states
3543 - Document the device states
3545 * introspection/nm-device.xml
3546 src/nm-device-interface.c
3547 src/nm-device-interface.h
3548 - Add the 'managed' property
3551 - (detail_device): print out device state
3553 * src/NetworkManagerSystem.h
3554 src/backends/NetworkManagerArch.c
3555 src/backends/NetworkManagerDebian.c
3556 src/backends/NetworkManagerFrugalware.c
3557 src/backends/NetworkManagerGentoo.c
3558 src/backends/NetworkManagerMandriva.c
3559 src/backends/NetworkManagerPaldo.c
3560 src/backends/NetworkManagerRedHat.c
3561 src/backends/NetworkManagerSlackware.c
3562 src/backends/NetworkManagerSuSE.c
3563 - (nm_system_device_get_system_config, nm_system_device_get_disabled
3564 nm_system_device_free_system_config): remove; they were unused and
3565 their functionality should be re-implemented in each distro's
3566 system settings service plugin
3568 * src/nm-gsm-device.c
3570 src/nm-cdma-device.c
3571 src/nm-cdma-device.h
3572 - (*_new): take the 'managed' argument
3575 - (nm_device_set_address): remove, fold into nm_device_bring_up()
3576 - (nm_device_init): start in unmanaged state, not disconnected
3577 - (constructor): don't start device until the system settings service
3578 has had a chance to figure out if the device is managed or not
3579 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
3580 don't set device state here, let callers handle that as appropriate
3581 - (nm_device_dispose): don't touch the device if it's not managed
3582 - (set_property, get_property, nm_device_class_init): implement the
3584 - (nm_device_state_changed): bring the device up if its now managed,
3585 and deactivate it if it used to be active
3586 - (nm_device_get_managed, nm_device_set_managed): do the right thing
3587 with the managed state
3589 * src/nm-hal-manager.c
3590 - (wired_device_creator, wireless_device_creator, modem_device_creator):
3591 take initial managed state and pass it along to device constructors
3592 - (create_device_and_add_to_list): get managed state and pass to
3595 * src/nm-device-802-11-wireless.c
3596 - (real_can_activate): fold in most of
3597 nm_device_802_11_wireless_can_activate()
3598 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
3599 - (link_timeout_cb): instead of deactivating, change device state and
3600 let the device state handler to it
3601 - (real_update_hw_address): clean up
3602 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3603 handler to transition to DISCONNECTED if the device isn't rfkilled
3605 * src/nm-device-802-3-ethernet.c
3606 - (set_carrier): move above callers and get rid of prototype
3607 - (device_state_changed): when entering UNAVAILABLE state, schedule an
3608 idle handler to transition to DISCONNECTED if the device has a
3610 - (real_update_hw_address): clean up
3611 - (link_timeout_cb, ppp_state_changed): change state instead of calling
3612 deactivation directly as deactivation doesn't change state anymore
3614 * src/NetworkManagerPolicy.c
3615 - (schedule_activate_check): yay, remove wireless_enabled hack since
3616 the NMManager and wireless devices work that out themselves now
3617 - (device_state_changed): change to a switch and update for new device
3619 - (device_carrier_changed): remove; device handles this now through
3621 - (device_added): don't care about carrier any more; the initial
3622 activation check will happen when the device transitions to
3626 - (dispose): clear unmanaged devices
3627 - (handle_unmanaged_devices): update unmanaged device list and toggle
3628 the managed property on each device when needed
3629 - (system_settings_properties_changed_cb): handle signals from the
3630 system settings service
3631 - (system_settings_get_unmanaged_devices_cb): handle callback from
3632 getting the unmanaged device list method call
3633 - (query_unmanaged_devices): ask the system settings service for its
3634 list of unmanaged devices
3635 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
3637 - (manager_set_wireless_enabled): push rfkill state down to wireless
3638 devices directly and let them handle the necessary state transitions
3639 - (manager_device_state_changed): update for new device states
3640 - (nm_manager_add_device): set initial rfkill state on wireless devices
3641 - (nm_manager_remove_device): don't touch the device if it's unmanaged
3642 - (nm_manager_activate_connection): return error if the device is
3644 - (nm_manager_sleep): handle new device states correctly; don't change
3645 the state of unavailable/unmanaged devices
3647 * libnm-glib/nm-device-802-11-wireless.c
3648 - (state_changed_cb): update for new device states
3650 2008-04-07 Dan Williams <dcbw@redhat.com>
3652 * marshallers/nm-marshal.list
3653 - Add VOID:STRING,UINT marshaller for system settings HAL manager
3655 2008-04-07 Dan Williams <dcbw@redhat.com>
3657 * system-settings/src/main.c
3658 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
3659 plugins to the dbus settings object
3660 - (load_stuff): start the dbus service after grabbing unmanaged devices
3661 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
3662 - (log_handler, logging_setup, logging_shutdown): log output to syslog
3663 - (main): switch default logging to syslog with a 'debug' option to
3664 output to console; start up the HAL manager
3666 2008-04-07 Dan Williams <dcbw@redhat.com>
3668 * introspection/nm-settings-system.xml
3669 introspection/Makefile.am
3670 - Define the unmanaged devices interface for the system settings service
3672 * system-settings/src/nm-system-config-hal-manager.c
3673 system-settings/src/nm-system-config-hal-manager.h
3674 system-settings/src/nm-system-config-hal-manager-private.h
3675 system-settings/src/Makefile.am
3676 - Add a lightweight HAL manager object for tracking network devices for
3677 the purpose of determining unmanaged devices and which devices need
3678 the default DHCP connections
3680 * system-settings/src/nm-system-config-interface.c
3681 system-settings/src/nm-system-config-interface.h
3682 - (nm_system_config_interface_init): add the HAL manager as an argument
3683 - (nm_system_config_interface_get_unmanaged_devices): implement
3684 - Define 'unmanaged-devices-changed' signal
3686 * system-settings/src/dbus-settings.c
3687 system-settings/src/dbus-settings.h
3688 - Implement the unmanaged devices interface; some cleanups
3690 * system-settings/plugins/ifcfg-suse/plugin.c
3691 - Fixup for plugin interface changes
3693 * system-settings/plugins/ifcfg-fedora/plugin.c
3694 - (get_ether_device_udi): new function; find the device that has
3695 a specified MAC address and return its UDI
3696 - (get_udi_for_connection): new function; try to find the specific
3697 device a connection is locked to, if any
3698 - (device_added_cb, device_removed_cb): update unmanaged device list in
3699 response to HAL events
3700 - (get_unmanaged_devices): new function; return unmanaged device list
3701 - (build_one_connection): set the connection's locked device, if any
3702 - (write_auto_wired_connection): remove
3703 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
3704 - (handle_connection_changed): alert listeners that the unmanaged device
3706 - (init): fixup for plugin interface changes, implement unmanaged devices
3708 * system-settings/plugins/ifcfg-fedora/parser.c
3709 system-settings/plugins/ifcfg-fedora/parser.h
3710 - (connection_data_free): clean up connection UDI
3712 2008-04-07 Dan Williams <dcbw@redhat.com>
3714 * system-settings/plugins/ifcfg-fedora/parser.c
3715 - (make_ip4_setting): fix parsing of DNS servers
3717 2008-04-05 Dan Williams <dcbw@redhat.com>
3721 marshallers/Makefile.am
3722 marshallers/nm-marshal-main.c
3723 marshallers/nm-marshal.list
3724 - Consolidate marshallers
3726 * libnm-glib/nm-marshal-main.c
3727 libnm-glib/nm-marshal.list
3728 src/marshallers/Makefile.am
3729 src/marshallers/nm-marshal-main.c
3730 src/marshallers/nm-marshal.list
3733 * libnm-glib/Makefile.am
3735 src/dhcp-manager/Makefile.am
3736 src/ppp-manager/Makefile.am
3737 src/supplicant-manager/Makefile.am
3738 src/vpn-manager/Makefile.am
3739 - Use consolidated marshallers
3741 2008-04-04 Dan Williams <dcbw@redhat.com>
3743 * src/nm-hal-manager.c
3744 src/nm-hal-manager.h
3745 - (hal_init): don't look for hardware here
3746 - (nm_hal_manager_start): new function; look for hardware here instead,
3747 which can be done at a later time than hal_init()
3749 * src/NetworkManager.c
3750 - (main): start HAL manager after entering the main loop
3752 2008-04-03 Dan Williams <dcbw@redhat.com>
3754 * libnm-glib/nm-settings.c
3755 libnm-glib/nm-settings.h
3756 - (nm_exported_connection_get_id): new function
3757 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
3759 2008-04-02 Dan Williams <dcbw@redhat.com>
3761 * src/nm-device-interface.c
3762 src/nm-device-interface.h
3765 - Rename check_connection_conflicts() to check_connection_compatible()
3767 * src/nm-device-802-11-wireless.c
3768 - (real_check_connection_conflicts): remove
3769 - (real_check_connection_compatible): implement; match MAC address
3771 * src/nm-device-802-3-ethernet.c
3772 - (real_check_connection_conflicts): remove
3773 - (real_check_connection_compatible): implement; match MAC address
3774 - (real_get_best_auto_connection): correctly handle PPPoE cases
3777 - (check_connection_allowed): remove; unused until PolicyKit integration
3778 - (internal_activate_device): check whether the connection is compatible
3779 with the device before trying to activate it
3781 2008-04-02 Dan Williams <dcbw@redhat.com>
3783 * system-settings/plugins/ifcfg-fedora/parser.c
3784 - (read_mac_address): new function; read in MAC address and stuff it
3786 - (add_one_wep_key): remove debug spew
3787 - (make_wireless_security_setting): validate the default TX key; don't
3788 add the wireless-security setting if the connection doesn't need
3789 security; don't leak the keys shvarFile on error cases
3790 - (make_wireless_setting, make_wired_setting): populate device's MAC
3793 2008-04-02 Dan Williams <dcbw@redhat.com>
3795 * libnm-util/nm-setting-connection.c
3796 libnm-util/nm-setting-connection.h
3797 - (set_property, get_property, nm_setting_connection_class_init): remove
3798 the 'lockdown' property; it's functionality will be replaced by
3801 2008-04-01 Dan Williams <dcbw@redhat.com>
3803 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
3806 initscript/Makefile.am
3807 initscript/Mandriva/Makefile.am
3808 initscript/Mandriva/networkmanager.in
3809 initscript/Mandriva/networkmanagerdispatcher.in
3810 src/backends/Makefile.am
3811 src/backends/NetworkManagerMandriva.c
3812 system-settings/plugins/Makefile.am
3813 - Add Mandriva support
3815 2008-03-31 Dan Williams <dcbw@redhat.com>
3817 * src/vpn-manager/nm-vpn-service.c
3818 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
3819 errors can be passed back to the caller; also no longer scheduled
3820 as an idle handler, but called directly; and bump up VPN service
3821 spawn timeout, 2s is really short
3822 - (nm_vpn_service_activate): don't schedule the VPN service activation,
3823 but call it directly so that errors are reported on return from
3824 ActivateConnection() and don't get lost. If scheduled as an idle
3825 handler, clients don't have the time to query NM for the new VPN
3826 connection's properties before the VPN connection is torn down again
3827 if the service couldn't be launched, and therefore launch errors
3830 2008-03-31 Dan Williams <dcbw@redhat.com>
3832 * src/vpn-manager/nm-vpn-connection.c
3833 - (device_state_changed): send correct state on device failure too
3834 - (plugin_state_changed): failed state means unexpected disconnection,
3835 thus if the service goes away while the VPN connection is activated
3836 that's a failure too
3838 2008-03-31 Dan Williams <dcbw@redhat.com>
3840 * src/vpn-manager/nm-vpn-manager.c
3841 src/vpn-manager/nm-vpn-manager.h
3842 - Make VPNManager errors more available; add a service-start-failed error
3844 2008-03-31 Dan Williams <dcbw@redhat.com>
3846 * libnm-glib/nm-client.c
3847 libnm-glib/nm-client.h
3848 - (activate_cb): pass the new active connection to callback; fix
3849 message when no callback is specified
3851 2008-03-30 Dan Williams <dcbw@redhat.com>
3853 * libnm-util/nm-setting-wireless-security.c
3854 - (need_secrets): only require key0 if the transmit key index is also
3856 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
3858 2008-03-29 Dan Williams <dcbw@redhat.com>
3860 * libnm-util/nm-setting-8021x.c
3861 libnm-util/nm-setting-ip4-config.c
3862 libnm-util/nm-setting-vpn-properties.c
3863 libnm-util/nm-setting-vpn.c
3864 libnm-util/nm-setting-wireless-security.c
3865 libnm-util/nm-setting-wireless.c
3866 libnm-util/nm-utils.c
3867 src/dhcp-manager/nm-dhcp-manager.c
3868 src/nm-activation-request.c
3871 src/nm-properties-changed-signal.c
3872 src/ppp-manager/nm-pppd-plugin.c
3873 src/supplicant-manager/nm-supplicant-interface.c
3874 src/vpn-manager/nm-vpn-connection.c
3875 - consistently use nm-dbus-glib-types.h
3877 2008-03-29 Dan Williams <dcbw@redhat.com>
3879 * src/vpn-manager/nm-vpn-connection.c
3880 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
3883 * src/nm-activation-request.c
3884 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
3887 2008-03-29 Dan Williams <dcbw@redhat.com>
3889 * libnm-glib/nm-device-802-11-wireless.c
3890 - (access_point_added_proxy): create new APs if not found
3892 2008-03-29 Dan Williams <dcbw@redhat.com>
3894 * libnm-glib/nm-client.c
3895 - (proxy_name_owner_changed): tell wireless devices about rfkill state
3898 2008-03-29 Dan Williams <dcbw@redhat.com>
3900 * system-settings/plugins/ifcfg-fedora/parser.c
3901 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
3902 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
3904 2008-03-29 Dan Williams <dcbw@redhat.com>
3906 * system-settings/plugins/ifcfg-fedora/parser.c
3907 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
3909 2008-03-27 Dan Williams <dcbw@redhat.com>
3912 - (nm_object_queue_notify): don't notify multiple times for the same
3915 * nm-object-private.h
3916 - (handle_ptr_array_return): return NULL if the given array is NULL or
3917 if it has zero elements
3920 - (finalize): use g_ptr_array_foreach() when freeing domains
3921 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
3923 * nm-active-connection.c
3924 - (nm_active_connection_get_devices): use handle_ptr_array_return()
3926 * nm-device-802-11-wireless.c
3927 nm-device-802-11-wireless.h
3928 - (nm_device_802_11_wireless_get_access_points): return const; use
3929 handle_ptr_array_return()
3932 - (nm_object_array_demarshal): always create an array, even of length
3933 zero, to distinguish between "NM returned no items" and "haven't
3937 - (dispose): free active connections too
3938 - (proxy_name_owner_changed): free active connections too when NM goes
3940 - (nm_client_get_devices): return const; use handle_ptr_array_return()
3941 - (nm_client_get_active_connections): use handle_ptr_array_return()
3943 2008-03-26 Dan Williams <dcbw@redhat.com>
3945 Rework VPN connection handling for a more consistent D-Bus API. The
3946 VPNManager object has been removed, and active VPN connections are now the
3947 same as any other active connection. The Manager object's ActivateConnection
3948 and DeactivateConnection methods are used to start and stop a VPN connection,
3949 and the VPNConnection objects are subclasses of the ActiveConnection objects.
3950 When activating a VPN connection, pass the path of the active connection
3951 to which the VPN connection is tied in the 'specific_object' argument.
3953 Consequently, the libnm-glib API has been reworked to match this arrangement,
3954 with the VPNManager object removed, and the NMVPNConnection objects now
3955 being subclasses of NMActiveConnection.
3957 2008-03-25 Dan Williams <dcbw@redhat.com>
3959 Patch from Björn Martensen <bjoern.martensen@gmail.com>
3961 * initscript/Arch/networkmanager.in
3962 initscript/Arch/networkmanager-dispatcher.in
3963 - Updates for Arch Linux (gnome.org #523701)
3965 2008-03-25 Dan Williams <dcbw@redhat.com>
3967 * libnm-glib/nm-ip4-config.c
3968 libnm-glib/nm-active-connection.c
3969 libnm-glib/nm-access-point.c
3970 - Use nm_object_queue_notify() instead of g_object_notify()
3972 * libnm-glib/nm-device.c
3973 - (demarshal_ip4_config): distinguish between successful but missing
3974 ip4-config request, and unsuccessful and missing ip4-config request
3975 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
3977 - Use nm_object_queue_notify() instead of g_object_notify()
3979 * libnm-glib/nm-device-802-11-wireless.c
3980 - (demarshal_active_ap): distinguish between successfull but missing
3981 active-ap request, and unsuccessful and missing active-ap request
3982 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
3984 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
3985 for the NMClient to notify the device that wireless is disabled,
3986 and therefore to clear the AP list and active AP
3987 - Use nm_object_queue_notify() instead of g_object_notify()
3989 * libnm-glib/nm-client.c
3990 - (poke_wireless_devices_with_rf_status): new function
3991 - (update_wireless_status): notify wireless devices of the rfkill status
3992 so they can clean up if needed
3993 - Use nm_object_queue_notify() instead of g_object_notify()
3995 2008-03-25 Dan Williams <dcbw@redhat.com>
3997 * libnm-glib/nm-object.c
3998 libnm-glib/nm-object-private.h
3999 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4000 signals to an idle handler
4001 - (nm_object_get_property): add a timeout to the D-Bus method call
4003 2008-03-25 Dan Williams <dcbw@redhat.com>
4005 * introspection/nm-device-cdma.xml
4006 introspection/nm-device-gsm.xml
4007 introspection/Makefile.am
4008 introspection/all.xml
4009 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4011 * src/nm-gsm-device.h
4013 src/nm-cdma-device.h
4014 src/nm-cdma-device.c
4016 - Implement PropertiesChanged signals
4018 * libnm-glib/nm-cdma-device.c
4019 libnm-glib/nm-cdma-device.c
4020 - Attach to PropertiesChanged signals
4022 2008-03-24 Dan Williams <dcbw@redhat.com>
4024 * libnm-glib/nm-client.c
4025 - (client_device_added_proxy): add new devices to the internal device
4026 list so they appear to clients
4028 2008-03-24 Dan Williams <dcbw@redhat.com>
4030 Massive fixup of libnm-glib to:
4031 a) have all objects (with the exception of VPN) cache their properties and
4032 update them asynchronously on PropertiesChanged signals from NM
4033 b) return internal const data for most attributes/properties instead of
4034 allocated values that the caller must free
4035 c) cache wrapped objects such that a given D-Bus path will always map to the
4036 same GObject returned by libnm-glib
4037 d) remove a few signals and move them to GObject property notifications
4038 e) match recent NM D-Bus API changes for activation/deactivation
4039 f) remove some private functions from libnm-glib headers
4041 2008-03-20 Dan Williams <dcbw@redhat.com>
4044 - (nm_manager_update_state, manager_device_state_changed,
4045 nm_manager_activate_device, connection_added_default_handler,
4046 impl_manager_activate_connection, impl_manager_deactivate_connection):
4047 queue PropertyChanged singals when the active connections change
4049 2008-03-20 Dan Williams <dcbw@redhat.com>
4051 * introspection/nm-manager.xml
4052 introspection/nm-manager-client.xml
4053 - (ActivateConnection): return the object path of the active connection
4055 - (GetActiveConnections): remove
4056 - (DeactivateConnection): new function; deactivate a currently active
4058 - Add an ActiveConnections property which returns an array of
4059 active connection object paths
4061 * introspection/nm-device.xml
4062 - (Deactivate): remove
4064 * introspection/all.xml
4065 - Add ActiveConnection introspection
4067 * introspection/nm-active-connection.xml
4068 - Add the ActiveConnection object
4070 * include/NetworkManager.h
4071 - Add the Connection.Active D-Bus interface
4073 * src/nm-device-interface.c
4074 - (impl_device_deactivate): remove
4076 * src/nm-activation-request.c
4077 src/nm-activation-request.c
4079 - Implement the Connection.Active D-Bus interface
4082 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4083 - (nm_manager_activate_device): return the active connection path
4084 - (connection_added_default_handler, impl_manager_activate_connection):
4085 return the active connection to the caller
4086 - (add_one_connection_element, impl_manager_get_active_connections):
4088 - (impl_manager_deactivate_connection): new function; deactivate an
4091 * libnm-glib/nm-device.c
4092 libnm-glib/nm-device.h
4093 - Remove Deactivate() function
4095 2008-03-19 Dan Williams <dcbw@redhat.com>
4097 * introspection/nm-manager.xml
4098 introspection/nm-manager-client.xml
4099 - Rename the ActivateDevice method to ActivateConnection to better
4100 reflect it's usage; it's arguments get reordered a bit too
4101 - Convert GetActiveConnections method return from a struct to a dict
4103 * include/NetworkManager.h
4104 - Define the dict keys for return value of GetActiveConnections
4107 - impl_manager_activate_device -> impl_manager_activate_connection
4108 - (add_one_connection_element): return a populated hash table, not
4111 * libnm-glib/nm-client.c
4112 libnm-glib/nm-client.h
4113 - nm_client_activate_device -> nm_client_activate_connection
4114 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4115 - (nm_client_get_active_connections): return a GSList of GHashTables,
4116 instead of the custom structures. Each element of the returned list
4117 must be freed with nm_client_free_active_connections_element()
4119 2008-03-18 Dan Williams <dcbw@redhat.com>
4121 * system-settings/plugins/ifcfg-fedora/parser.c
4122 system-settings/plugins/ifcfg-fedora/parser.h
4123 system-settings/plugins/ifcfg-fedora/plugin.c
4124 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4125 profiles. DNS servers and searches must now be stored in the ifcfg
4128 2008-03-18 Tambet Ingo <tambet@gmail.com>
4130 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4131 print out username and password, it's supposed to be a secret.
4133 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
4134 request and set the device state accordingly.
4136 2008-03-18 Tambet Ingo <tambet@gmail.com>
4138 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4140 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4142 2008-03-18 Dan Williams <dcbw@redhat.com>
4144 * src/vpn-manager/nm-vpn-connection.c
4145 - (get_secrets_cb): handle new GetSecrets return format
4147 2008-03-18 Dan Williams <dcbw@redhat.com>
4149 Adapt system settings service for split 802.1x.
4151 * system-settings/src/nm-system-config-interface.h
4152 - clarify return value of get_secrets()
4154 * system-settings/src/dbus-settings.c
4155 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4156 - (check_for_secrets): check if there actually secrets returned by a
4158 - (exported_connection_get_secrets): just return the plugin-returned
4159 hash of settings' secrets if it looks valid
4161 * system-settings/plugins/ifcfg-fedora/plugin.c
4162 - (get_secrets): add split secrets with correct format to reply hash
4164 * system-settings/plugins/ifcfg-fedora/parser.c
4165 system-settings/plugins/ifcfg-fedora/parser.h
4166 - (copy_one_cdata_secret, connection_data_copy_secrets,
4167 connection_data_free, connection_data_add): keep secrets for
4168 different settings in different hashes
4170 2008-03-17 Tambet Ingo <tambet@gmail.com>
4172 Clean up activating device deactivation.
4174 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4175 should be done whether the device activation gets cancelled or the device
4176 is just getting deactivated.
4177 (nm_device_activation_cancel): Remove.
4178 (nm_device_deactivate_quickly): Handle the case where device is activating.
4180 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4181 It does the exact same thing as real_deactivate_quickly().
4183 2008-03-17 Dan Williams <dcbw@redhat.com>
4185 Split the 802.1x bits out of the wireless-security setting so they are
4186 generalized enough for wired 802.1x to use too.
4188 * introspection/nm-exported-connection.xml
4189 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4190 of just a hash of the secrets for one setting
4192 * libnm-util/nm-setting-wireless-security.c
4193 libnm-util/nm-setting-wireless-security.h
4194 - Remove 802.1x-specific stuff
4195 - Added leap-username and leap-password properties for old-school LEAP
4199 - (connection_secrets_updated_cb): take a list of updated settings names,
4202 * src/supplicant-manager/nm-supplicant-config.c
4203 src/supplicant-manager/nm-supplicant-config.h
4204 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4205 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4206 to nm_supplicant_config_add_setting_8021x()
4207 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4208 the supplicant config
4210 * src/nm-device-802-11-wireless.c
4211 - (build_supplicant_config): pass in the 802.1x setting too, if any
4212 - (real_connection_secrets_updated): take a list of updated settings
4215 * src/nm-device-802-3-ethernet.c
4216 src/nm-cdma-device.c
4218 - (real_connection_secrets_updated_cb): take a list of updated settings
4221 * src/nm-activation-request.c
4222 src/nm-activation-request.h
4223 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4224 now passes a list of updated settings names, not just one
4225 - (update_one_setting): new function; handle one updated setting
4226 - (get_secrets_cb): handle multiple settings returned from the
4227 settings service; have to be careful of ordering here as there are
4228 some dependencies between settings (ex. wireless-security and 802.1x
4231 * src/marshallers/nm-marshal.list
4232 - new marshaller for connection-secrets-updated signal
4234 * libnm-util/nm-setting-8021x.c
4235 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4237 - (verify): a valid 'eap' property is now required
4239 * libnm-util/nm-connection.c
4240 - (register_default_settings): add priorities to settings; there are
4241 some dependencies between settings, and during the need_secrets
4242 calls this priority needs to be respected. For example, only the
4243 wireless-security setting knows whether or not the connection is
4244 going to use 802.1x or now, so it must be asked for secrets before
4245 any existing 802.1x setting is
4246 - (nm_connection_lookup_setting_type): expose
4248 * libnm-util/nm-setting-wireless.c
4249 - (verify): should verify even if all_settings is NULL; otherwise won't
4250 catch the case where there is missing security
4252 * libnm-util/nm-setting-wireless-security.c
4253 - Remove everything to do with 802.1x
4254 - Add old-school LEAP specific properties for username and password
4255 - (need_secrets): rework LEAP secrets checking
4256 - (verify): rework for LEAP and 802.1x verification
4258 2008-03-17 Dan Williams <dcbw@redhat.com>
4260 * src/NetworkManagerPolicy.c
4261 - (auto_activate_device): always remove the current activation check
4262 from the pending activation list, otherwise when the policy gets
4263 destroyed on NM exit it will attempt to free the already freed
4266 2008-03-14 Tambet Ingo <tambet@gmail.com>
4268 * src/backends/NetworkManagerSlackware.c
4269 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4271 * src/backends/NetworkManagerSuSE.c: Add missing includes.
4273 2008-03-14 Dan Williams <dcbw@redhat.com>
4276 - (nm_device_interface_get_iface): g_object_get() will return an
4277 allocated value, so this function must not return const
4278 - (nm_device_interface_activate): free returned iface
4280 2008-03-14 Tambet Ingo <tambet@gmail.com>
4282 * libnm-util/Makefile.am: Add new files to build.
4284 * libnm-util/nm-connection.c: Register NMSetting8021x.
4286 * libnm-util/nm-setting-8021x.c
4287 * libnm-util/nm-setting-8021x.h: Implement.
4289 2008-03-14 Tambet Ingo <tambet@gmail.com>
4291 * libnm-util/Makefile.am: Add new files to build.
4293 * libnm-util/nm-connection.c: Register NMSetting8021x.
4295 * libnm-util/nm-setting-8021x.c
4296 * libnm-util/nm-setting-8021x.h: Implement.
4298 2008-03-14 Tambet Ingo <tambet@gmail.com>
4300 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4303 2008-03-14 Dan Williams <dcbw@redhat.com>
4305 * include/wireless-helper.h
4307 - One place for all the junk needed for #including wireless.h
4310 src/NetworkManagerAP.c
4313 libnm-util/nm-utils.c
4314 libnm-util/nm-setting-wireless.c
4315 libnm-glib/nm-device-802-11-wireless.c
4316 libnm-glib/nm-access-point.c
4317 libnm-glib/libnm-glib-test.c
4318 - include wireless-helper.h, not iwlib.h
4321 - Don't need libiw really, just need to check for wireless.h
4323 * src/kernel-types.h
4324 - Remove; used types moved into wpa.c
4326 * src/nm-device-802-11-wireless.c
4327 - (nm_device_802_11_wireless_update_signal_strength,
4328 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4329 nm_device_802_11_wireless_set_mode,
4330 nm_device_802_11_wireless_get_frequency,
4331 nm_device_802_11_wireless_get_ssid,
4332 nm_device_802_11_wireless_set_ssid,
4333 nm_device_802_11_wireless_get_bitrate,
4334 nm_device_802_11_wireless_get_bssid,
4335 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4336 instead of iwlib functions
4338 2008-03-14 Dan Williams <dcbw@redhat.com>
4340 * src/ppp-manager/nm-ppp-manager.c
4341 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4342 should only take the DBusGMethodInvocation argument, not user/pass
4343 too. With dbus-glib, async functions only take 2 C arguments since
4344 the real dbus method arguments get passed back with
4345 dbus_g_method_return()
4347 2008-03-13 Tambet Ingo <tambet@gmail.com>
4349 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
4350 Adapt the changes of NMSettingIP4Config.
4352 2008-03-13 Dan Williams <dcbw@redhat.com>
4354 * src/NetworkManagerUtils.c
4355 src/NetworkManagerUtils.h
4356 - (nm_ether_ntop): replacement for iw_ether_ntop()
4358 * src/NetworkManagerAP.c
4359 src/nm-device-802-11-wireless.c
4360 src/nm-device-802-3-ethernet.c
4361 - s/iw_ether_ntop/nm_ether_ntop/g
4363 2008-03-13 Dan Williams <dcbw@redhat.com>
4365 * src/NetworkManagerPolicy.c
4366 - (update_routing_and_dns): never set the default route through an
4367 IPv4LL addressed device
4369 2008-03-13 Dan Williams <dcbw@redhat.com>
4371 * NetworkManagerUtils.c
4372 NetworkManagerUtils.h
4373 - Remove NMSock stuff
4374 - Remove the completion stuff
4379 NetworkManagerSystem.c
4381 nm-device-802-11-wireless.c
4382 nm-device-802-3-ethernet.c
4383 - Remove NMSock and completion stuff
4384 - Remove nm_ioctl_info()
4386 2008-03-12 Dan Williams <dcbw@redhat.com>
4389 - (merge_ip4_config): avoid duplicates
4391 2008-03-12 Dan Williams <dcbw@redhat.com>
4393 * libnm-util/nm-setting-ip4-config.c
4394 libnm-util/nm-setting-ip4-config.h
4395 - Remove 'manual' and 'autoip' properties
4396 - Add 'method' property
4397 - (verify): fix verification with 'method'
4398 - (finalize): free 'method'
4399 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4403 - (real_act_stage3_ip_config_start): check IP4Config method
4404 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4406 - (merge_ip4_config): IP settings are valid with DHCP too
4407 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4408 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4410 * src/nm-device-802-11-wireless.c
4411 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4412 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4415 * system-settings/plugins/ifcfg-fedora/parser.c
4416 system-settings/plugins/ifcfg-suse/parser.c
4417 - (make_ip4_setting): fix up for 'method'
4419 2008-03-12 Dan Williams <dcbw@redhat.com>
4421 * system-settings/plugins/ifcfg-fedora/parser.c
4422 system-settings/plugins/ifcfg-fedora/parser.h
4423 - (get_ifcfg_name): ignore more file suffixes
4424 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4426 2008-03-12 Dan Williams <dcbw@redhat.com>
4429 - Bring in the bits of gnome-common we actually use (all 15 lines)
4431 2008-03-12 Dan Williams <dcbw@redhat.com>
4433 * system-settings/plugins/ifcfg-fedora/plugin.c
4434 - (write_auto_wired_connection): new function; write out an auto
4435 wired connection file since the applet isn't doing it any more
4436 - (reload_all_connections): write out the auto wired connection file
4437 if there aren't any wired connections already
4438 - (init): don't leak a GError
4440 2008-03-12 Dan Williams <dcbw@redhat.com>
4442 * src/nm-device-interface.c
4443 - (nm_device_interface_activate): print the ID of the connection
4444 that's about to be activated
4446 2008-03-12 Dan Williams <dcbw@redhat.com>
4448 Harmonize the 802.11 bitrate API
4450 * introspection/nm-access-point.xml
4451 - 'Rate' -> 'MaxBitrate'; clarify units
4453 * introspection/nm-device-802-11-wireless.xml
4454 - Clarify units of 'Bitrate'
4456 * src/NetworkManagerAP.c
4457 src/NetworkManagerAP.h
4458 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4459 property to 'max-bitrate'
4460 - (foreach_property_cb): convert rate to Kb/s
4462 * src/nm-device-802-11-wireless.c
4463 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4465 * libnm-glib/nm-access-point.c
4466 libnm-glib/nm-access-point.h
4467 - 'rate' -> 'max-bitrate'
4470 libnm-glib/libnm-glib-test.c
4471 - Fix up for these changes
4473 2008-03-12 Dan Williams <dcbw@redhat.com>
4476 - (nm_device_set_ip4_config): don't send property notifications when
4477 the ip4 config is set to NULL; it causes a PropertyChanged signal
4478 which dbus-glib can't parse because the value is NULL, which isn't
4479 a legal object path. Setting the IP4 config to NULL is only
4480 valid when deactivating a device anyway, so the device state change
4481 will alert listeners that the ip4 config is invalid.
4483 2008-03-12 Dan Williams <dcbw@redhat.com>
4485 * src/nm-properties-changed-signal.c
4486 - (add_to_string): better handling of NULL objects
4488 2008-03-12 Dan Williams <dcbw@redhat.com>
4490 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4491 convert the libnm-glib NMDevice8023Ethernet to cached properties
4493 * introspection/nm-device-802-3-ethernet.xml
4494 - New 'Carrier' property
4495 - New 'PropertiesChanged' signal
4497 * introspection/nm-device.xml
4498 - Remove 'Carrier' property
4499 - Remove 'CarrierChanged' signal
4501 * src/nm-device-interface.c
4502 src/nm-device-interface.h
4503 - (nm_device_interface_init): remove 'carrier' property and
4504 'carrier-changed' signal
4508 - (nm_device_get_carrier, nm_device_set_carrier): remove
4509 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
4510 the link here; wired device will handle that
4511 - (handle_dhcp_lease_change): don't bother updating link here
4512 - (get_property, nm_device_class_init): remove carrier property
4514 * src/nm-device-802-11-wireless.c
4515 - (real_update_link, nm_device_802_11_wireless_class_init): remove
4516 real_update_link(); wireless devices don't use carrier at all
4517 - (link_timeout_cb, supplicant_iface_state_cb_handler,
4518 supplicant_iface_connection_state_cb_handler,
4519 supplicant_mgr_state_cb_handler): remove anything to do with carrier
4521 * src/nm-device-802-3-ethernet.c
4522 src/nm-device-802-3-ethernet.h
4523 - (nm_device_802_3_ethernet_carrier_on,
4524 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
4525 instead of nm_device_set_carrier()
4526 - (device_state_changed): update link from sysfs on activation;
4527 replaces real_update_link()
4528 - (real_update_link): remove, replaced by device_state_changed()
4529 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
4530 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
4531 - (real_get_generic_capabilities, real_can_interrupt_activation): use
4532 new get_carrier function
4533 - (get_property): add 'carrier' property
4534 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
4535 hook into property-changed signal helper
4537 * src/NetworkManagerPolicy.c
4538 - (device_carrier_changed): will only ever be called with a wired device
4539 - (device_added): only hook up to carrier-changed for wired devices
4541 * libnm-glib/nm-device.c
4542 libnm-glib/nm-device.h
4543 - (constructor, nm_device_class_init): remove carrier-changed signal
4544 - (device_carrier_changed_proxy): remove; unused
4545 - (nm_device_get_carrier): remove; carrier a property of wired devices
4547 * libnm-glib/nm-device-802-3-ethernet.c
4548 libnm-glib/nm-device-802-3-ethernet.h
4549 - Convert to cached properties like AP and Wireless objects
4550 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
4551 instead of a 'char *', return value should not be freed
4552 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
4553 - (constructor): hook into properties-changed helper
4554 - (set_property, get_property): new functions
4555 - (nm_device_802_3_ethernet_class_init): export GObject properties
4558 - (detail_device): strdup the wired hardware address too since it's
4561 * libnm-glib/libnm-glib-test.c
4562 - (dump_wired): strdup the wired hardware address too since it's
4565 2008-03-12 Dan Williams <dcbw@redhat.com>
4567 * libnm-util/nm-setting-ip4-config.c
4568 libnm-util/nm-setting-ip4-config.h
4569 - (set_property, get_property, nm_setting_ip4_config_class_init): add
4570 the 'autoip' property from the spec
4572 2008-03-11 Dan Williams <dcbw@redhat.com>
4574 * src/backends/NetworkManagerGeneric.c
4575 src/backends/NetworkManagerGeneric.h
4576 - (nm_generic_device_get_use_dhcp): remove
4578 2008-03-11 Dan Williams <dcbw@redhat.com>
4581 - (nm_device_deactivate): don't need to munge DNS here; that gets done
4582 already in nm_device_set_ip4_config()
4583 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
4584 due to a DHCP rebind fails
4585 - (nm_device_set_ip4_config): send property notifications when the
4587 - (get_property): only report IP4Config property during valid states
4589 * src/NetworkManagerPolicy.c
4590 - (update_routing_and_dns): ignore devices that don't have an ip4
4591 config; add parameter 'force_update' to allow callers to specify
4592 that changes should be made even if the default device doesn't change
4593 - (device_ip4_config_changed): update DNS and routing when the device's
4594 IP4Config changes, like for DHCP updates
4595 - (device_added): listen for ip4-config property changes
4597 2008-03-11 Dan Williams <dcbw@redhat.com>
4599 Fix address handling as a result of DHCP rebind/renew/reboot.
4601 * src/NetworkManagerSystem.c
4602 - (check_one_address): delete an address if it doesn't match a given
4603 one for the same interface
4604 - (nm_system_device_set_from_ip4_config): don't flush the default route,
4605 be smarter about flushing addresses (only flush ones that don't
4606 match the one we're about to apply)
4608 * src/backends/NetworkManagerDebian.c
4609 src/backends/NetworkManagerSuSE.c
4610 src/backends/NetworkManagerArch.c
4611 src/backends/NetworkManagerSlackware.c
4612 src/backends/NetworkManagerRedHat.c
4613 src/backends/NetworkManagerPaldo.c
4614 src/backends/NetworkManagerFrugalware.c
4615 src/backends/NetworkManagerGentoo.c
4616 - (nm_system_delete_default_route): remove
4618 * src/backends/NetworkManagerGeneric.c
4619 src/backends/NetworkManagerGeneric.h
4620 - (nm_generic_enable_loopback): fix the loopback device label
4621 - (nm_generic_delete_default_route): remove; no longer used
4623 2008-03-11 Dan Williams <dcbw@redhat.com>
4625 * src/nm-device-interface.h
4626 - Delimit property name words with '-', otherwise g_object_notify()
4627 doesn't work the way we expect
4629 2008-03-11 Tambet Ingo <tambet@gmail.com>
4631 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
4633 2008-03-11 Dan Williams <dcbw@redhat.com>
4635 * src/NetworkManagerPolicy.c
4636 - (update_routing_and_dns): don't change anything if the default device
4637 hasn't changed; print something out when switching the default route
4640 2008-03-10 Tambet Ingo <tambet@gmail.com>
4644 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
4645 setting. Use "nic-$eth".
4647 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
4648 the device is activating here to fix a race condition.
4650 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
4652 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
4653 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
4654 (nm_ppp_manager_start): Take activation request instead of connection, we might
4655 need it for asking secrets.
4656 (nm_ppp_manager_update_secrets): Implement.
4658 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
4659 ppp manager start. It might be needed for asking secrets.
4661 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
4662 (ppp_state_changed): Handle pppd daemon disappearing.
4663 (pppoe_stage2_config): Send activation request to ppp manager start.
4665 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
4667 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
4668 username and password.
4670 2008-03-10 Dan Williams <dcbw@redhat.com>
4673 - (handle_dhcp_lease_change): apply an IP4 config to a device in
4674 response to a DHCP lease change
4675 - (dhcp_state_changed): handle DHCP lease changes while activated
4676 - (nm_device_set_ip4_config): remove a previously set named config
4677 when setting an ip4 config
4679 2008-03-10 Dan Williams <dcbw@redhat.com>
4681 * src/nm-serial-device.c
4682 - (nm_serial_device_send_command): report errno on error
4683 - (get_reply_got_data): limit the size of the overall buffer
4684 - (wait_for_reply_info_destroy): destroy result string
4685 - (wait_for_reply_got_data): append received data to an overall buffer
4686 until timeout, filled buffer, or error instead of keeping a per-call
4687 buffer. Some devices send data slowly enough that this function
4688 gets called multiple times for the same command stream.
4689 - (nm_serial_device_wait_for_reply): initialize overall buffer for
4690 wait_for_reply_got_data() here
4692 2008-03-10 Dan Williams <dcbw@redhat.com>
4694 * src/nm-cdma-device.c
4695 - (do_dial, init_modem): handle errors from
4696 nm_serial_device_send_command_string()
4698 * src/nm-gsm-device.c
4699 - (do_dial, manual_registration, automatic_registration_get_network,
4700 automatic_registration, enter_pin, check_pin, init_modem): handle
4701 errors from nm_serial_device_send_command_string()
4703 2008-03-10 Dan Williams <dcbw@redhat.com>
4705 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
4707 * src/named-manager/nm-named-manager.c
4708 - (compute_searches): prefer searches before domains
4709 - (compute_domain): new function
4710 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
4711 - (merge_one_ip4_config): if there are no searches in the source config,
4712 merge domains of the source config into the target config
4713 - (compute_nameservers): make formatting of resolv.conf a bit nicer
4715 2008-03-10 Dan Williams <dcbw@redhat.com>
4717 * src/nm-serial-device.c
4718 - (get_reply_got_data): clean up indentation, shrink serial buffer
4719 - (wait_for_reply_got_data): try to handle slower serial devices where
4720 the reply is broken up into multiple reads by concatenating replies
4721 together until either an error is received or the search string is
4724 2008-03-10 Dan Williams <dcbw@redhat.com>
4727 - (nm_device_bring_down): deactivate the device if it's activating too,
4728 not just if it's already activated. This makes sure that everything
4729 from an association attempt is cleaned up (like DHCP for example)
4731 2008-03-10 Dan Williams <dcbw@redhat.com>
4733 * src/nm-serial-device.c
4734 - (config_fd): report error from TCSETA
4735 - (nm_serial_device_open): fail when config_fd() fails
4737 2008-03-10 Dan Williams <dcbw@redhat.com>
4739 * src/nm-ip4-config.c
4740 - (nm_ip4_config_init): allocate searches list
4741 - (finalize): free searches list
4743 2008-03-09 Dan Williams <dcbw@redhat.com>
4745 Patch from Bas Zoetekouw <bas@debian.org>
4747 * src/dhcp-manager/nm-dhcp-manager.c
4748 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
4750 2008-03-09 Dan Williams <dcbw@redhat.com>
4752 Patch from Bas Zoetekouw <bas@debian.org>
4754 * src/nm-ip4-config.c
4756 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
4757 nm_ip4_config_get_num_searches): add 'searches' as distinct from
4758 domains. 'searches' is the correct way to store multiple search
4759 domains, whereas 'domains' is really just supposed to store one
4760 domain. Some sites abuse the DHCP 'domain-name' option to push
4761 search domains to the client.
4762 - (nm_ip4_config_add_domain): group with related functions (my patch)
4764 2008-03-09 Dan Williams <dcbw@redhat.com>
4766 * src/dhcp-manager/nm-dhcp-manager.c
4767 - (dhclient_run): send interface-specific config files to dhclient
4769 2008-03-07 Dan Williams <dcbw@redhat.com>
4771 * system-settings/plugins/ifcfg-fedora/parser.c
4772 - (is_wireless_device): new function; test a device for wireless
4774 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
4775 test the device for wireless extensions to determine the type
4777 2008-03-07 Dan Williams <dcbw@redhat.com>
4779 Change manager's StateChange signal to StateChanged for consistency.
4781 * introspection/nm-manager.xml
4782 - Add 'StateChanged' signal
4783 - Move 'StateChange' down to the deprecated section
4785 * src/nm-hal-manager.c
4786 - (nm_hal_manager_new): connect to 'state-changed' instead
4788 * src/NetworkManagerPolicy.c
4789 - (nm_policy_new): connect to 'state-changed' instead
4793 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
4794 - (nm_manager_class_init): add 'state-changed' and not the deprecation
4797 * libnm-glib/nm-client.c
4798 libnm-glib/nm-client.h
4799 - (constructor, nm_client_class_init, client_state_changed_proxy):
4800 track and proxy 'state-changed' instead of 'state-change'
4802 2008-03-07 Dan Williams <dcbw@redhat.com>
4804 First pass of multiple active device support. Expect bugs.
4806 * src/nm-ip4-config.c
4808 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
4809 there are better ways to do this in the named manager
4813 - (nm_device_can_activate): return whether the device can activate a
4814 connection right now; taking into account things like carrier state
4816 - (nm_device_get_best_auto_connection): renamed from
4817 nm_device_get_best_connection
4818 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
4819 device subclasses themselves, so that each device can override the
4820 MTU from it's NMSetting subclass if needed
4821 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
4822 in NetworkManagerSystem.c, not here
4824 * src/named-manager/nm-named-manager.c
4825 src/named-manager/nm-named-manager.h
4826 - (nm_named_manager_name_owner_changed,
4827 nm_named_manager_dbus_connection_changed): fix for changes to
4828 rewrite_resolv_conf()
4829 - (compute_nameservers): don't need the NMNamedManager at all, remove
4831 - (merge_one_ip4_config): new function; merge ip4 configs together
4832 - (rewrite_resolv_conf): write out resolv.conf from all the stored
4833 ip4 configs; the VPN config takes precedence, then the best
4834 device config, then the rest of the configs
4835 - (get_domain_for_config): take the NMNamedManager as an argument
4836 to check whether the config is the VPN config
4837 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
4838 attribute from ip4 configs
4839 - (add_all_ip4_configs_to_named): add all the configs in priority order
4840 - (remove_ip4_config_from_named): fix for changes to
4841 get_domain_for_config()
4842 - (nm_named_manager_add_ip4_config): assign the config to the right slot
4843 based on its type; callers must pass in the type now
4844 - (get_last_default_domain): remove, unused
4845 - (nm_named_manager_remove_ip4_config): handle config slots correctly
4847 * src/nm-device-802-11-wireless.c
4848 - (real_can_activate): new function
4849 - (real_get_best_auto_connection): renamed from real_get_best_connection
4850 - (real_act_stage4_get_ip4_config): handle MTU override
4852 * src/nm-device-802-3-ethernet.c
4853 - (real_can_activate): new function
4854 - (real_get_best_auto_connection): renamed from real_get_best_connection
4855 - (real_act_stage4_get_ip4_config): new function; handle MTU override
4857 * src/vpn-manager/nm-vpn-connection.c
4858 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
4859 attribute on the ip4 config
4861 * src/NetworkManagerPolicy.c
4862 - (nm_policy_auto_get_best_device): remove
4863 - (nm_policy_device_change_check): remove
4864 - (update_default_route): new function; set the default route via
4865 the specified device
4866 - (get_device_priority): new function; return the priority number of
4867 a device type WRT which one should have the default route. Order is
4868 (highest to lowest) wired, wireless, GSM, CDMA.
4869 - (update_routing_and_dns): new function; determine which device should
4870 have the default route, then update the routing table and DNS
4871 - (maybe_auto_activate_device): new function; if a device is now
4872 available for activation, find out what connection it would like to
4874 - (schedule_activate_check): new function; if a device can be activated
4875 now, schedule the activation. Each device may have only one
4876 pending activation at a given time.
4877 - (device_state_changed): if activation was canceled, try again,
4878 possibly with another connection; if the device was activated,
4879 update routing and DNS; if the device was deactivated, try again
4880 with another connection
4881 - (device_carrier_changed): if there is no carrier, deactivate the
4882 device; otherwise schedule an activation check for the device
4883 - (wireless_networks_changed): schedule an activation check for the
4885 - (device_added): keep track of the signal handler IDs so they can
4886 be removed when the device goes away
4887 - (device_removed): remove any signal handlers that might be attached
4888 to the device; update routing and DNS
4889 - (schedule_activate_all): new function
4890 - (connections_added, connection_added, connection_updated): when
4891 connections change, schedule all devices for an activation check
4892 - (connection_removed): when a device is deactivated because its
4893 connection was removed, schedule another activation check for it
4894 - (nm_policy_destroy): destroy pending activations and disconnect
4895 all device signal handlers
4898 - (nm_manager_activate_device): if the device was already actived,
4900 - (deactivate_old_device): remove
4901 - (connection_added_default_handler, impl_manager_activate_device):
4902 don't deactivate other devices when activating this one
4904 * src/backends/NetworkManagerGentoo.c
4905 src/backends/NetworkManagerFrugalware.c
4906 src/backends/NetworkManagerPaldo.c
4907 src/backends/NetworkManagerRedHat.c
4908 src/backends/NetworkManagerSlackware.c
4909 src/backends/NetworkManagerArch.c
4910 src/backends/NetworkManagerSuSE.c
4911 src/backends/NetworkManagerDebian.c
4912 - (nm_system_get_mtu): remove; MTU should be provided through the
4913 distro's system settings service plugin instead
4914 - (nm_system_device_add_default_route_via_device): remove
4915 - (nm_system_device_add_default_route_via_device_with_iface): remove
4916 - (nm_system_device_replace_default_route): new function; call
4917 generic implementation
4919 * src/backends/NetworkManagerGeneric.c
4920 src/backends/NetworkManagerGeneric.h
4921 - (nm_generic_device_add_default_route_via_device,
4922 nm_generic_device_add_default_route_via_device_with_iface): remove
4923 - (nm_generic_device_replace_default_route): replace the default route
4924 with the given route via some gateway
4926 * src/NetworkManagerSystem.c
4927 src/NetworkManagerSystem.h
4928 - (nm_system_device_set_from_ip4_config): let the policy handle updates
4929 to routing and DNS; but set the MTU here
4930 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
4931 ip_iface of the active device; use the standard MTU setting function
4932 - (nm_system_set_mtu): remove
4933 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
4935 2008-03-07 Tambet Ingo <tambet@gmail.com>
4937 Rework the interaction between ppp manager and pppd plugin. Register a well
4938 known DBUS service in manager and let the plugin call it's methods instead
4939 of listening plugin's signals.
4941 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
4942 of emitting signals.
4944 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
4946 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
4948 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
4949 nm_ppp_manager_start().
4951 * introspection/nm-ppp-manager.xml: New file.
4953 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
4954 the case correctly where driver is trying to send -1 for the speed, which gets
4955 casted to u16 and thus is always > 0.
4957 2008-03-07 Dan Williams <dcbw@redhat.com>
4959 * src/nm-hal-manager.c
4960 - (nm_get_device_driver_name): use net.originating_device first, fall
4961 back to physical device. HAL has deprecated physical_device.
4963 * libnm-glib/nm-device.c
4964 - (get_product_and_vendor): use net.originating_device first, fall
4965 back to physical device. HAL has deprecated physical_device.
4966 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
4968 2008-03-07 Dan Williams <dcbw@redhat.com>
4971 - (nm_netlink_get_default_handle): mistakenly removed too much code in
4972 last commit; fix that
4973 - (get_link_cache): print error string
4975 2008-03-07 Dan Williams <dcbw@redhat.com>
4978 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
4979 don't need this hack any more (Benoit Boissinot)
4981 2008-03-06 Dan Williams <dcbw@redhat.com>
4984 - Die gnome-common, die
4986 2008-03-04 Dan Williams <dcbw@redhat.com>
4988 Patch from Michael Biebl <biebl@debian.org>
4990 * NetworkManager.pc.in
4991 - doesn't actually depend on dbus-1
4993 * libnm-util/nm-utils.h
4994 - remove unused #include <dbus/dbus.h>
4996 * libnm-glib/libnm_glib.pc.in
4997 - depends on glib and dbus-glib
4999 2008-03-02 Dan Williams <dcbw@redhat.com>
5001 * src/NetworkManagerPolicy.c
5002 - s/device_state_changed_idle_id/update_state_id/
5004 2008-03-02 Dan Williams <dcbw@redhat.com>
5008 src/nm-device-802-11-wireless.c
5009 src/nm-device-802-3-ethernet.c
5010 src/NetworkManagerPolicy.c
5011 - s/link_active/carrier
5012 - nm_device_set_active_link() -> nm_device_set_carrier()
5013 - nm_device_has_active_link() -> nm_device_get_carrier()
5015 2008-03-02 Dan Williams <dcbw@redhat.com>
5017 * system-settings/plugins/ifcfg-fedora/parser.c
5018 - (make_wireless_setting): fail connection creation on missing SSID
5020 2008-02-29 Dan Williams <dcbw@redhat.com>
5022 * src/NetworkManagerPolicy.c
5023 - (nm_policy_device_change_check): ensure that a previously active
5024 device with a system connection has a link before denying a switch
5025 to a user connection
5027 2008-02-29 Dan Williams <dcbw@redhat.com>
5029 * src/nm-device-802-11-wireless.c
5030 - (link_timeout_cb): try again if scanning; deactivate the device when
5031 activated if the link dies
5032 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5035 2008-02-29 Dan Williams <dcbw@redhat.com>
5037 * src/nm-device-802-11-wireless.c
5038 src/nm-device-802-11-wireless.h
5039 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5040 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5041 - (device_cleanup): reset the scan interval lower when the device
5043 - (can_scan): base decision mostly off device state, not supplicant
5044 interface state since the supplicant interface state isn't a
5045 great indicator of whether the device is active or not
5046 - (request_wireless_scan): clean up; schedule the next scan here
5047 - (schedule_scan): only back the scan interval off if a new scan
5048 actually gets scheduled; and make scan intervals tighter when the
5049 device is disconnected
5050 - (supplicant_iface_state_cb_handler): fold in the bits of
5051 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5053 - (activation_success_handler): reset scan interval to something
5056 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
5058 reviewed by: Steev <steev@steev.net>
5061 * src/backends/NetworkManagerGentoo.c:
5062 (nm_system_restart_mdns_responder):
5063 Howl is no longer a supported mDNS provider
5065 2008-02-28 Tambet Ingo <tambet@gmail.com>
5067 Get rid of a bunch of unused distro specific functions.
5069 2008-02-28 Tambet Ingo <tambet@gmail.com>
5071 Implement suse plugin for system settings daemon.
5073 * system-settings/plugins/ifcfg-suse/*: Implement.
5075 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5078 * configure.in: Check (without failing) for gio.
5079 Create ifcfg-suse plugin's Makefile.
5081 2008-02-20 Dan Williams <dcbw@redhat.com>
5083 * libnm-util/nm-connection.c
5084 libnm-util/nm-connection.h
5085 - (nm_connection_compare): accept compare flags and pass them to the
5086 setting compare function
5088 * libnm-util/nm-setting.c
5089 libnm-util/nm-setting.h
5090 - (nm_setting_compare): accept compare flags; ignore properties that are
5093 * libnm-util/nm-setting-connection.c
5094 libnm-util/nm-setting-wireless.c
5095 libnm-util/nm-setting-ppp.c
5096 libnm-util/nm-setting-wired.c
5097 - Mark some setting properties as ignorable when doing a fuzzy compare
5100 - (device_activation_precheck): use exact compare
5102 2008-02-20 Dan Williams <dcbw@redhat.com>
5104 * src/NetworkManagerPolicy.c
5105 - (nm_policy_device_change_check): get scope off the connection, not
5106 using the manager helper
5110 - (get_scope_for_proxy): rename from get_type_for_proxy()
5111 - (connection_get_settings_cb): set scope and path on connection, not
5112 using GObject data items
5113 - (get_connection_for_proxy): don't need to return path, since that
5114 can be gotten from the connection
5115 - (get_connection_for_proxy): get path off the connection, not from
5117 - (connection_removed_cb, connection_updated_cb): don't need to get
5118 path from get_connection_for_proxy(); get scope off the connection
5119 instead of using GObject data items
5120 - (connection_added_default_handler, add_one_connection_element): use
5121 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5122 - (nm_manager_get_connection_dbus_path): remove
5123 - (nm_manager_get_connection_scope): remove
5125 2008-02-20 Dan Williams <dcbw@redhat.com>
5127 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5130 * Add 'path' and 'scope' properties to NMConnection since both NM and the
5131 applet were having to hack this in anyway. Remove the 'path' stuff from
5132 NMExportedConnection
5134 * Internally rename NMConnectionType -> NMConnectionScope
5136 * Provide default implementations of the 'get_id' and 'get_settings' methods
5137 of NMExportedConnection
5139 2008-02-15 Dan Williams <dcbw@redhat.com>
5141 * src/nm-device-802-11-wireless.c
5142 - (device_cleanup): release the AP list here too so that the AP list
5143 doesn't survive across suspend/resume and up/down. There is some
5144 room for optimization, for example blow the list away when the card
5145 brought back up, but only if the device has only been down for a
5148 2008-02-15 Dan Williams <dcbw@redhat.com>
5150 * src/nm-hal-manager.c
5151 - (modem_device_creator): recognize new HAL modem capabilities
5153 2008-02-12 Dan Williams <dcbw@redhat.com>
5155 * system-settings/plugins/ifcfg-fedora/plugin.c
5156 - (watch_path): handle IN_DELETE_SELF too
5157 - (handle_connection_changed): notify when removing a connection
5158 - (stuff_changed): don't warn on unknown inotify watches; handle the
5159 case of a file moving out of the profile directory
5161 2008-02-12 Dan Williams <dcbw@redhat.com>
5163 * system-settings/plugins/ifcfg-fedora/parser.c
5164 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5166 2008-02-12 Dan Williams <dcbw@redhat.com>
5168 * libnm-util/nm-utils.c
5169 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5170 just any empty array
5172 2008-02-12 Dan Williams <dcbw@redhat.com>
5174 * system-settings/src/nm-system-config-interface.c
5175 system-settings/src/nm-system-config-interface.h
5176 - (load_connections): get_connections() should now return an allocated
5177 GSList that the system settings service will free
5179 * system-settings/plugins/ifcfg-fedora/plugin.c
5180 system-settings/plugins/ifcfg-fedora/parser.h
5181 system-settings/plugins/ifcfg-fedora/parser.c
5182 - Fix up inotify issues; handle keys-* files, handle new files appearing
5183 in the profile directory, handle resolv.conf file changes
5185 2008-02-10 Dan Williams <dcbw@redhat.com>
5187 * src/nm-device-802-3-ethernet.c
5188 - (real_bring_up): save the supplicant interface state signal id
5189 - (real_bring_down): disconnect from the supplicant interface state
5192 2008-02-07 Dan Williams <dcbw@redhat.com>
5194 * initscript/RedHat/NetworkManager.in
5195 initscript/RedHat/NetworkManagerDispatcher.in
5196 - Add new-style LSB init headers
5198 2008-02-07 Dan Williams <dcbw@redhat.com>
5200 * system-settings/src/dbus-settings.c
5201 system-settings/src/dbus-settings.h
5202 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5204 - (connection_settings_get_secrets): consolidate error returns into
5205 one place; use the new get_secrets() plugin interface function to
5206 get secrets from the plugin itself rather than using GObject data
5209 * system-settings/src/main.c
5210 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5211 load_connections): keep a private list of the plugin-returned
5212 connections, don't use the plugin's GSList
5214 * system-settings/plugins/ifcfg-fedora/plugin.c
5215 - (watch_path): watch the path, not the filename (duh)
5216 - (reload_all_connections): use the direct hash/equal functions; the
5217 ones for int aren't appropriate here
5218 - (get_secrets, system_config_interface_init): implement the
5219 get_secrets() function
5220 - (build_one_connection, find_connection_by_path): ifcfg file path is
5221 now in the connection's ConnectionData instead of being a GObject
5223 - (handle_profile_item_changed): ifcfg file path is now in the
5224 connection's ConnectionData instead of being a GObject data property;
5225 be sure to copy secrets over from the new connection to the existing
5226 connection when updating the connection's settings
5227 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5230 * system-settings/plugins/ifcfg-fedora/parser.c
5231 system-settings/plugins/ifcfg-fedora/parser.h
5232 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5233 connection_data_copy_secrets, connection_data_free,
5234 connection_data_add): new functions; connection data manipulation
5235 - (make_wireless_security_setting): stuff secrets into the
5236 connection data, not as GObject data items; make sure to close
5238 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5239 connection data to the connection
5241 2008-02-07 Dan Williams <dcbw@redhat.com>
5243 * system-settings/src/nm-system-config-interface.c
5244 system-settings/src/nm-system-config-interface.h
5245 - Add a get_secrets() interface function to retrieve secrets for a
5246 specific setting of a specific connection. Document the interface
5249 2008-02-07 Dan Williams <dcbw@redhat.com>
5251 * src/nm-device-802-11-wireless.c
5252 - (handle_auth_or_fail): new function; consolidate device activation
5253 failure check after a certain number of failures getting secrets
5254 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5255 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5256 the connection if secrets were requested more than a few times
5257 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5258 tries here; otherwise they are cleared before the IP configure
5259 timeout, which happens with open system WEP when key is wrong
5260 - (activation_success_handler): clear wireless secrets tries here too
5262 2008-02-07 Dan Williams <dcbw@redhat.com>
5264 * src/NetworkManagerPolicy.c
5265 - (connection_updated): clear invalid tag when connection gets updated
5266 to allow that connection to be tried again
5267 - (nm_policy_new): save signal ids so they can be disconnected when
5268 the policy is destroyed
5269 - (nm_policy_destroy): stop any in-progress state change idle handler,
5270 and disconnect all signals from the manager object so that none
5271 of the policy functions gets called after the policy is destroyed
5273 2008-02-06 Dan Williams <dcbw@redhat.com>
5276 - (finalize): remove devices a bit earlier; clean up system settings
5278 - (nm_manager_name_owner_changed): clean up system settings poke when
5279 the service appears, and try to restart it if it fails
5280 - (poke_system_settings_daemon_cb): try to get the system settings
5281 service started through D-Bus service activation
5282 - (initial_get_connections): start the system settings daemon if it's
5285 2008-02-05 Dan Williams <dcbw@redhat.com>
5287 * src/supplicant-manager/nm-supplicant-config.c
5288 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5289 broadcast networks too
5291 2008-02-04 Dan Williams <dcbw@redhat.com>
5293 * system-settings/plugins/ifcfg-fedora/parser.c
5294 - (make_wireless_security_setting): fix spelling; unencrypted networks
5295 need key_mgmt set too
5296 - (parser_parse_file): validate ifcfg file name and don't try to parse
5297 .bak files; ensure that an error is set whenever NULL gets returned
5299 2008-02-04 Dan Williams <dcbw@redhat.com>
5301 * system-settings/src/Makefile.am
5302 - Install D-Bus service activation file for the system settings
5305 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5306 - D-Bus service activation file for system settings service
5308 2008-02-04 Dan Williams <dcbw@redhat.com>
5310 * system-settings/src/main.c
5311 - (parse_config_file): parse a config file
5312 - (main): accept --config option and read plugins from config file
5314 2008-02-04 Dan Williams <dcbw@redhat.com>
5316 * system-settings/plugins/ifcfg-fedora/plugin.c
5317 - Change reported name to 'ifcfg-fedora'
5318 - Use IFCFG_PLUGIN_NAME
5320 * system-settings/plugins/ifcfg-fedora/plugin.c
5321 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5323 2008-02-04 Dan Williams <dcbw@redhat.com>
5325 * system-settings/plugins/ifcfg-fedora/parser.c
5326 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5327 - (make_connection_setting): use get_ifcfg_name()
5328 - (make_wireless_security_setting): handle shadow key files
5329 - (get_one_wep_key): treat empty string as NULL
5331 2008-02-04 Dan Williams <dcbw@redhat.com>
5333 * src/supplicant-manager/nm-supplicant-manager.c
5334 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5335 glib automatically reschedule
5336 - (nm_supplicant_manager_init): immediately try to start the supplicant
5337 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5340 2008-02-01 Dan Williams <dcbw@redhat.com>
5342 * src/NetworkManagerPolicy.c
5343 - (device_state_changed): schedule a change check when a device gets
5344 deactivated so something happens if you disconnect GSM/CDMA
5346 2008-01-31 Dan Williams <dcbw@redhat.com>
5348 * src/nm-device-802-11-wireless.h
5349 src/nm-device-802-11-wireless.c
5350 - (ap_list_get_ap_by_ssid, is_associated,
5351 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5352 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5353 - (nm_device_802_11_wireless_get_activation_ap): collapse
5354 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5357 2008-01-30 Dan Williams <dcbw@redhat.com>
5359 * system-settings/plugins/ifcfg
5360 * system-settings/plugins/ifcfg-fedora
5361 - Move the ifcfg plugin to ifcfg-fedora
5363 2008-01-24 Dan Williams <dcbw@redhat.com>
5365 * libnm-glib/nm-device-802-11-wireless.c
5366 - (get_access_point): move the "/" check here; check for invalid path
5368 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5369 to get_access_point()
5370 - (access_point_added_proxy, access_point_removed_proxy): don't try
5371 to send signals for non-existent access points
5373 2008-01-24 Dan Williams <dcbw@redhat.com>
5375 * libnm-glib/nm-device-802-11-wireless.c
5376 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5378 2008-01-23 Dan Williams <dcbw@redhat.com>
5380 * libnm-glib/libnm_glib.c
5381 - (libnm_glib_init): make thread joinable
5382 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5384 2008-01-23 Dan Williams <dcbw@redhat.com>
5386 * test/libnm_glib_test.c
5387 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5388 - (main): set up signal handlers; call libnm_glib_shutdown
5390 2008-01-21 Dan Williams <dcbw@redhat.com>
5392 * include/NetworkManager.h
5393 - Add CDMA mobile broadband card device type
5395 * src/nm-hal-manager.c
5396 - (modem_device_creator): handle both CDMA and GSM modems; the device
5397 must now be tagged with 'cdma' or 'gsm' capability
5399 * src/nm-cdma-device.c
5400 src/nm-cdma-device.h
5402 - Add the CDMA mobile broadband card device class
5404 * libnm-util/nm-connection.c
5405 - (register_default_settings): add NMSettingCdma
5407 * libnm-util/nm-setting-cdma.c
5408 libnm-util/nm-setting-cdma.h
5409 libnm-util/Makefile.am
5410 - Add the CDMA mobile broadband card setting class
5412 * libnm-glib/nm-cdma-device.c
5413 libnm-glib/nm-cdma-device.h
5414 libnm-glib/Makefile.am
5415 - Add the CDMA mobile broadband card GLib proxy class
5417 * libnm-glib/nm-client.c
5418 - (get_device): handle CDMA devices too
5420 2008-01-21 Dan Williams <dcbw@redhat.com>
5422 * src/ppp-manager/nm-ppp-manager.c
5423 - (ip4_config_get): set peer address too
5425 * src/ppp-manager/nm-pppd-plugin.c
5426 - (nm_ip_up): try harder to get the peer's address
5428 * src/NetworkManagerSystem.c
5429 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5430 address, use that too. Otherwise, some PPP connections won't work.
5432 2008-01-19 Dan Williams <dcbw@redhat.com>
5434 * src/NetworkManagerPolicy.c
5435 - (nm_policy_device_change_check): system connections override user
5436 connections; don't activate a user connection if there's a currently
5437 active system connection, and new, better system connections always
5438 interrupt user connections
5440 2008-01-19 Dan Williams <dcbw@redhat.com>
5443 - (nm_manager_get_connection_type): new function
5445 2008-01-19 Dan Williams <dcbw@redhat.com>
5447 * src/nm-device-802-11-wireless.c
5448 - (real_get_best_connection): collapse find_best_connection() into this
5451 2008-01-19 Dan Williams <dcbw@redhat.com>
5453 * src/nm-device-802-3-ethernet.c
5454 - (real_get_best_connection): collapse find_best_connection() into this
5457 2008-01-18 Dan Williams <dcbw@redhat.com>
5459 * src/nm-device-802-3-ethernet.c
5460 - (find_best_connection): check MAC address too
5461 - (real_get_best_connection): let autoconnect=True connections activate
5462 for devices that don't have carrier detection
5464 * src/nm-device-802-11-wireless.c
5465 - (find_best_connection): check MAC address too
5467 2008-01-18 Dan Williams <dcbw@redhat.com>
5469 * system-settings/plugins/ifcfg/parser.c
5470 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5472 2008-01-17 Dan Williams <dcbw@redhat.com>
5474 * src/nm-device-802-3-ethernet.c
5475 - (nm_device_802_3_ethernet_carrier_on,
5476 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5477 carrier events that might come in for devices that don't support
5480 2008-01-17 Dan Williams <dcbw@redhat.com>
5482 * src/nm-device-interface.c
5483 - (nm_device_interface_check_connection_conflicts): need to actually
5484 get the interface, not cast to the object
5487 - (nm_device_check_connection_conflicts): need to get the device class,
5488 not cast the device to the device class
5490 2008-01-17 Dan Williams <dcbw@redhat.com>
5492 * src/nm-device-802-11-wireless.c
5493 - (real_check_connection_conflicts): ignore connections that aren't
5494 wireless connections
5496 2008-01-17 Dan Williams <dcbw@redhat.com>
5498 * src/NetworkManagerPolicy.c
5499 - (nm_policy_device_change_check): clear change check idle here
5500 - (device_change_check_done): remove
5501 - (schedule_change_check): simplify
5503 2008-01-17 Dan Williams <dcbw@redhat.com>
5506 - (check_connection_allowed): take an NMDeviceInterface instead of
5507 an NMDevice object as an argument
5508 - (nm_manager_activate_device): pass an NMDeviceInterface to
5509 check_connection_allowed()
5511 2008-01-13 Dan Williams <dcbw@redhat.com>
5513 * libnm-glib/nm-device-802-11-wireless.c
5514 - (nm_device_802_11_wireless_get_access_points): fix memory leak
5516 2008-01-12 Dan Williams <dcbw@redhat.com>
5518 * src/nm-device-802-11-wireless.c
5519 - (activation_success_handler): if a match was found in the scan list
5520 and that match is a hidden AP, update that AP's SSID
5522 2008-01-11 Dan Williams <dcbw@redhat.com>
5524 * src/NetworkManagerAP.c
5525 - (nm_ap_new_fake_from_connection): mark fake APs as fake
5527 * src/nm-device-802-11-wireless.c
5528 - (get_active_ap): do two passes over the scan list if the caller
5529 requests that hidden APs get matched too; during the second pass
5530 when matching hidden APs, ignore the SSID since hidden APs in the
5531 scan list don't have an SSID yet
5532 - (periodic_update): move some checks to
5533 nm_device_802_11_periodic_update() because not all callers need them
5534 - (nm_device_802_11_periodic_update): move some checks here from
5536 - (merge_scanned_ap): if the current AP is fake, then don't do strict
5537 matching on incoming scan results, because the fake AP's flags
5538 might be slightly different (yet still compatible) with the incoming
5539 scan result's flags and they might actually be the same AP; update
5540 the rate on merged APs too
5541 - (activation_success_handler): update the frequency of the fake AP
5542 on successful connection; match hidden APs too since if the
5543 current AP is fake, there might already be a scan result in the
5544 scan list for the desired AP, just without it's SSID filled in yet
5546 2008-01-10 Dan Williams <dcbw@redhat.com>
5548 * src/NetworkManagerAP.c
5549 - (foreach_property_cb): catch more hidden SSID formats
5551 2008-01-10 Dan Williams <dcbw@redhat.com>
5553 Fix gnome.org #464215. Requires the kernel patch titled
5554 "Introduce WEXT scan capabilities" but will handle the patch not being
5555 present, you'll just continue to have problems with hidden SSIDs when
5556 using mac80211-based drivers.
5558 * src/supplicant-manager/nm-supplicant-config.h
5559 src/supplicant-manager/nm-supplicant-config.c
5560 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
5561 whether the driver supports SSID scans or not. If it does, and if
5562 the AP is hidden, use ap_scan=1 instead of ap_scan=2
5564 * src/nm-device-802-11-wireless.c
5565 - (constructor): check whether or not the driver supports SSID scans
5566 - (build_supplicant_config): pass driver SSID scan capability when
5567 building the wireless bits of the supplicant config
5569 2008-01-09 Dan Williams <dcbw@redhat.com>
5573 - (device_activation_precheck, check_connection_complete): remove this
5574 virtual function; incomplete connections should be invalid by
5575 definition, complete-ness should be checked in the setting's
5578 * src/nm-serial-device.c
5580 - (real_check_connection_complete): remove
5582 * libnm-util/nm-setting-serial.c
5583 - (verify): new function; ensure there is a PPP setting too
5585 * libnm-util/nm-setting-gsm.c
5586 - (verify): ensure there is a serial setting too
5588 2008-01-06 Dan Williams <dcbw@redhat.com>
5590 * src/dhcp-manager/nm-dhcp-manager.c
5591 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
5594 2008-01-04 Dan Williams <dcbw@redhat.com>
5596 * src/named-manager/nm-named-manager.c
5597 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
5598 nameservers if the secondary config doesn't have any
5601 2008-01-02 Tambet Ingo <tambet@gmail.com>
5603 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
5604 with G_PARAM_CONSTRUCT so that they get the default values.
5606 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
5607 the monitoring device and prints out the output for now. Or more precicely, doesn't
5608 do absolutely anything right now since the montoring device argument is never set.
5610 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
5611 requires it's own knob to turn it on.
5612 (config_fd): Add NMSettingSerial to the arguments list.
5613 (nm_serial_device_open): Ditto.
5614 (get_reply_got_data): Ignore the terminators at the beginning of the output.
5615 (nm_serial_device_get_io_channel): Implement.
5617 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
5618 a new reference every time (and forgetting to release it sometimes) is a pain and
5619 it's not like NMManager could work without dbus.
5620 (nm_manager_add_device): Register the added device on dbus here.
5622 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
5625 * src/nm-device.c (constructor): Don't export the device here, instead export
5626 it when it's added to the NMManager's device list.
5628 2007-12-31 Dan Williams <dcbw@redhat.com>
5630 * src/nm-device-interface.c
5631 src/nm-device-interface.h
5632 - (nm_device_interface_check_connection_conflicts): new function
5636 - (nm_device_check_connection_conflicts): new function
5637 - (device_activation_precheck): don't require subclasses to implement
5638 check_connection_complete()
5639 - check_connection() -> check_connection_complete()
5641 * src/nm-device-802-11-wireless.c
5642 - (real_check_connection): remove; unused
5643 - (real_check_connection_conflicts): implement, handle lockdown for
5646 * src/nm-device-802-3-ethernet.c
5647 - (real_check_connection): remove; unused
5650 - (check_connection_allowed): new function
5651 - (nm_manager_activate_device): ensure the connection being requested
5652 is allowed to be activated
5654 * src/nm-serial-device.c
5656 - real_check_connection() -> real_check_connection_complete()
5658 2007-12-27 Dan Williams <dcbw@redhat.com>
5660 * src/nm-device-interface.c
5661 src/nm-device-interface.h
5662 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
5663 normalize and expand errors
5664 - (nm_device_interface_init): register errors so they can be marshalled
5666 - (nm_device_interface_activate): ensure that failure of activation
5671 - (device_activation_precheck): implementations of check_connection()
5672 now take a GError and must fill it in if the check fails. Return
5673 more descriptive error if the requested connection is already
5675 - (nm_device_activate): actually try to return descriptive errors on
5678 * src/nm-device-802-11-wireless.c
5679 src/nm-device-802-3-ethernet.c
5680 src/nm-serial-device.c
5682 - (real_check_connection): return more descriptive errors on failure
5684 * src/NetworkManagerPolicy.c
5685 - (nm_policy_device_change_check): print activation errors in the logs
5688 - (nm_manager_error_quark, nm_manager_error_get_type,
5689 nm_manager_class_init): new errors
5690 - (nm_manager_activate_device): handle errors
5691 - (nm_manager_error_new): removed
5692 - (wait_for_connection_expired, connection_added_default_handler,
5693 impl_manager_activate_device): better error handling
5695 2007-12-27 Dan Williams <dcbw@redhat.com>
5697 Fixes gnome.org #466954
5699 * src/supplicant-manager/nm-supplicant-settings-verify.c
5700 - Allow 'frequency' network property
5702 * src/supplicant-manager/nm-supplicant-config.c
5703 src/supplicant-manager/nm-supplicant-config.h
5704 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
5705 for callers to specify the frequency an Ad-Hoc network should operate
5706 on. Some drivers require this to successfully create an Ad-Hoc
5709 * src/nm-device-802-11-wireless.c
5710 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
5711 guint32 value in MHz
5712 - (constructor, nm_device_802_11_wireless_get_frequency): use
5714 - (find_supported_frequency): new function; find a free supported
5715 frequency for a user-created Ad-Hoc network
5716 - (build_supplicant_config): if no frequency was specified for a user-
5717 created Ad-Hoc network, find a free one to use
5718 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
5719 a specific object as user-created
5721 2007-12-27 Dan Williams <dcbw@redhat.com>
5723 * libnm-util/nm-utils.c
5724 libnm-util/nm-utils.h
5725 - (nm_utils_security_valid): add 'adhoc' argument and handle security
5728 2007-12-24 Dan Williams <dcbw@redhat.com>
5730 * libnm-util/nm-setting-wireless.c
5731 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
5732 185, 187, 188, 192, and 196
5734 2007-12-24 Dan Williams <dcbw@redhat.com>
5736 * src/nm-device-802-11-wireless.c
5737 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
5738 a channel # instead of a frequency
5740 2007-12-24 Dan Williams <dcbw@redhat.com>
5742 * src/NetworkManagerAP.c
5743 src/NetworkManagerAP.h
5744 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
5745 - (freq_to_channel): handle split band tables
5746 - (channel_to_freq): handle split band tables, take a band argument
5748 2007-12-24 Dan Williams <dcbw@redhat.com>
5750 * libnm-util/nm-setting-connection.h
5751 libnm-util/nm-setting-connection.c
5752 - Add 'lockdown' member
5754 2007-12-22 Dan Williams <dcbw@redhat.com>
5756 * libnm-util/nm-setting-wireless.c
5757 - (nm_setting_wireless_class_init): add missing 'rate' property
5760 2007-12-18 Dan Williams <dcbw@redhat.com>
5762 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
5764 * src/nm-netlink-monitor.c
5765 src/nm-netlink-monitor.h
5766 - Remove handrolled netlink, use libnl instead
5768 * src/nm-device-802-3-ethernet.c
5769 - (constructor, nm_device_802_3_ethernet_carrier_off,
5770 nm_device_802_3_ethernet_carrier_on): use new names
5772 2007-12-17 Dan Williams <dcbw@redhat.com>
5775 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
5776 and fixes memory leaks)
5779 - (nm_netlink_get_default_handle): handle new versions of libnl that
5780 automatically handle the netlink PID
5782 2007-12-17 Dan Williams <dcbw@redhat.com>
5784 Patch from Michael Biebl <biebl@debian.org>
5787 src/ppp-manager/Makefile.am
5788 - fix up install dir of pppd plugin
5789 - clean up configure.in a bit
5791 2007-12-12 Dan Williams <dcbw@redhat.com>
5793 * system-settings/src/nm-system-settings.conf
5794 - Allow non-root clients (like the applet) to read settings
5796 2007-12-10 Tambet Ingo <tambet@gmail.com>
5798 * Replace all occurences of 'UMTS' with 'GSM'.
5800 2007-12-07 Dan Williams <dcbw@redhat.com>
5802 * src/nm-serial-device.c
5803 - (real_is_up): serial devices are always "up"
5805 2007-12-07 Dan Williams <dcbw@redhat.com>
5808 src/NetworkManagerSystem.c
5809 - (new_nl_handle): ensure that the same netlink pid is never chosen
5810 twice (gnome.org #491047)
5811 - Make more robust against allocation-related failures should they occur
5813 2007-12-07 Dan Williams <dcbw@redhat.com>
5815 Noticed by Christian Persch <chpe@gnome.org>
5817 Always chain up to parent object in dispose and finalize handlers.
5820 2007-12-07 Dan Williams <dcbw@redhat.com>
5822 * src/nm-device-802-11-wireless.c
5823 - Wrap #include of linux/mii.h to fix redefined structures due to
5824 incorrect kernel headers (gnome.org #350061)
5826 2007-12-06 Tambet Ingo <tambet@gmail.com>
5828 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
5829 before doing anything else.
5830 (init_modem): Move modem initialization here.
5832 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
5833 (nm_serial_device_flash): Implement.
5835 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
5836 changes signal is "StateChanged" and not "Status".
5837 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
5839 2007-12-06 Dan Williams <dcbw@redhat.com>
5841 * src/supplicant-manager/nm-supplicant-config.c
5842 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
5843 to only send some options when they make sense; also send phase2
5844 option to the supplicant (possible fix for rh #399631)
5846 2007-12-06 Tambet Ingo <tambet@gmail.com>
5848 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
5849 arguments: This whole file shouldn't really know anything about NMDevices, it
5850 should deal only with device interfaces. Devices might have different ifaces for
5851 different stuff and this place shouldn't know anything about it.
5853 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
5854 (global_state_changed): Implement. In the current NM it's not really important,
5855 but will be required in the case of multiple active devices. (Or even better,
5856 if stuff like that gets moved out from NM).
5858 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
5859 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
5862 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
5863 devices like serial devices (ttyS0 and ppp0 for example).
5864 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
5866 (nm_device_set_ip_iface): Implement.
5867 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
5868 after setting ip4_config from here ...
5869 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
5870 than this function should call nm_system_device_set_from_ip4_config() because no
5871 other code has enough information on which arguments to use. So instead, other code
5872 could just set the new ip4 config using this function and everyone is happy.
5874 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
5875 if we happen to get deactivated while something is pending.
5876 (automatic_registration): Handle the response that indicates pending network
5877 registration and wait until the pending registration is done.
5878 (real_deactivate_quickly): If there's a pending operation, cancel it.
5880 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
5881 (real_deactivate_quickly): ... and remove it when it's down.
5882 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
5884 (nm_serial_device_wait_for_reply): Ditto.
5886 2007-12-05 Tambet Ingo <tambet@gmail.com>
5888 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
5889 (get_network_done): Remove newline, nm_info() does it already.
5890 (real_act_stage1_prepare): Turn the modem echo off.
5892 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
5893 device, set the route to the device interface. This is a hack.
5895 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
5896 return, no need for a new-line.
5897 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
5898 Change the device iface here (ugh).
5899 (real_act_stage4_get_ip4_config): Implement.
5900 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
5901 Restore the device iface.
5903 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
5904 device is not wired or wireless (eg, automatically upped) device.
5906 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
5908 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
5910 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
5911 before calling it's is_device_fn().
5913 2007-12-05 Dan Williams <dcbw@redhat.com>
5915 * libnm-util/nm-utils.c
5916 - (nm_utils_register_value_transformations,
5917 nm_utils_convert_gvalue_hash_to_string): better debug output of
5918 GHashTables of GValues too
5920 2007-12-04 Dan Williams <dcbw@redhat.com>
5922 * initscript/RedHat/NetworkManager.in
5923 - No longer start named; it's D-Bus interface is going away
5925 2007-12-04 Dan Williams <dcbw@redhat.com>
5927 Patch from Michael Biebl <biebl@debian.org>
5929 * system-settings/plugins/ifcfg/Makefile.am
5930 system-settings/src/main.c
5931 system-settings/src/Makefile.am
5932 - Put system settings plugins in NM plugins dir
5934 * src/ppp-manager/Makefile.am
5935 src/ppp-manager/nm-ppp-manager.c
5936 - Move pppd plugin to NM plugins dir
5938 2007-12-04 Dan Williams <dcbw@redhat.com>
5940 * libnm-util/nm-setting-vpn-properties.h
5941 - Clarify usage of the 'data' member of the setting
5943 * libnm-util/nm-setting-vpn-properties.c
5944 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
5945 - (set_property): just remove all the settings; don't recreate the has
5946 - (update_one_secret): don't need to create the hash table here since
5947 it should always be present
5949 2007-12-03 Tambet Ingo <tambet@gmail.com>
5951 Implement PIN and PUK requesting.
5953 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
5954 (enter_pin): Handle PIN and PUK requests.
5955 (real_act_stage1_prepare): Clear the secret type.
5956 (real_connection_secrets_updated): Implement this class method to get
5957 notified when new secrets arrive.
5958 (nm_umts_device_class_init): Add private data back to the umts device class
5959 to store the required secret type.
5961 2007-12-01 Dan Williams <dcbw@redhat.com>
5963 * system-settings/plugins/ifcfg/parser.c
5964 - (parser_parse_file): don't try to verify NULL connections
5966 2007-12-01 Dan Williams <dcbw@redhat.com>
5968 * system-settings/src/main.c
5969 - (load_connections, add_connection_to_settings): actually export
5970 plugin-provided connections over D-Bus so NM can get them
5972 2007-12-01 Dan Williams <dcbw@redhat.com>
5974 * system-settings/plugins/ifcfg/parser.c
5975 system-settings/plugins/ifcfg/parser.h
5976 system-settings/plugins/ifcfg/plugin.c
5977 - Hook up more inotify bits (untested)
5979 2007-11-29 Dan Williams <dcbw@redhat.com>
5981 * system-settings/src/nm-system-config-interface.h
5982 system-settings/src/nm-system-config-interface.c
5983 - (nm_system_config_interface_init,
5984 nm_system_config_interface_get_connections): add
5986 * system-settings/src/main.c
5987 - (load_plugins, load_connections, main): use a GSList for plugins
5988 to ensure priority ordering
5990 * system-settings/plugins/ifcfg/parser.c
5991 - (ifcfg_error_quark): move to plugin.c, and rename
5993 * system-settings/plugins/ifcfg/plugin.h
5994 system-settings/plugins/ifcfg/plugin.c
5995 - (ifcfg_plugin_error_quark): move here from parser.c
5996 - rework connection loading and initialization
5997 - Add preliminary inotify support for network profile config file
5999 2007-11-28 Tambet Ingo <tambet@gmail.com>
6001 Merge the beginnings of the new GSM card support.
6003 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6004 ppp watch source before killing pppd - If this happens from g_object_unref()
6005 then the ppp manager is already destroyed by the time the watch callback runs.
6007 * src/nm-hal-manager.c: Add a device_type_name string to the device
6008 creators, so that we can print a nice human readable string when a
6011 * src/nm-umts-device.c (automatic_registration_get_network): Query
6012 for the activated network, not much is done with the result thought.
6014 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6015 (ppp_ip4_config): Change the device state to activated here for now.
6016 (real_check_connection): Make sure the connection includes ppp setting.
6018 * libnm-glib/nm-client.c (get_device): Handle umts devices.
6020 * libnm-glib/Makefile.am: Add the new files to build.
6022 * libnm-glib/nm-umts-device.c:
6023 * libnm-glib/nm-umts-device.h: Implement.
6025 2007-11-26 Tambet Ingo <tambet@gmail.com>
6027 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6028 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6030 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6031 the timeout source - this function is only called when the timeout source has
6033 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6034 to be big enough to contain the terminating zero element as well.
6035 The timeout argument is meant to be in seconds now.
6036 (real_deactivate_quickly): Implement.
6038 * src/NetworkManager.conf: Allow root to own
6039 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6041 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6042 (not unsigned ints).
6044 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
6045 small issue with parity bounds - capital letters have lower ascii codes
6046 than lower case letters.
6048 * libnm-util/nm-connection.c (register_default_settings): Register serial
6051 2007-11-22 Tambet Ingo <tambet@gmail.com>
6053 Remove the "index" property from devices as not all device types have this.
6055 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6057 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6058 (wired_device_creator): Get the device interface from hal to create the device.
6059 (wireless_device_creator): Ditto.
6061 * src/nm-device.c (nm_device_init): Remove the index member.
6062 (constructor): Remove the checks for index property, make interface property
6063 a require constructor property.
6064 Use the HAL udi for DBus path for devices.
6065 (nm_device_get_index): Remove.
6066 (set_property): Remove index handling.
6067 (get_property): Ditto.
6068 (nm_device_get_dbus_path): Remove.
6070 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6073 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6074 Access the device index through it's interface.
6075 (nm_device_802_3_ethernet_link_deactivated): Ditto.
6076 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6077 index argument. Add interface argument.
6079 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6080 the useless test_dev argument. Remove index argument. Add interface arugment.
6082 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6083 device index through interface.
6084 (nm_system_set_mtu): Ditto.
6086 * introspection/nm-device.xml: Remove the "Index" property.
6088 2007-11-21 Tambet Ingo <tambet@gmail.com>
6090 * src/nm-serial-device.c:
6091 * src/nm-serial-device.c:
6092 * src/nm-umts-device.c:
6093 * src/nm-umts-device.h: Implement.
6095 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
6096 allocated by libhal.
6097 (modem_device_creator): Implement.
6098 (register_built_in_creators): Register the modem creator.
6100 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
6101 Remove the unused test_dev argument.
6103 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6105 * src/Makefile.am: Add new files to build.
6106 Link in ppp-manager.
6108 * libnm-util/nm-setting-umts.c:
6109 * libnm-util/nm-setting-umts.h:
6110 * libnm-util/nm-setting-serial.c:
6111 * libnm-util/nm-setting-serial.h: Implement.
6113 * libnm-util/Makefile.am: Add new files to build.
6115 2007-11-28 Dan Williams <dcbw@redhat.com>
6117 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6119 Support DHCP-provided static routes.
6121 * src/nm-ip4-config.h
6123 - Add get/set functions for static routes
6125 * src/dhcp-manager/nm-dhcp-manager.c
6126 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6129 * src/NetworkManagerSystem.c
6130 - (nm_system_device_set_from_ip4_config): set any static routes on the
6131 interface when applying the IP4Config
6133 2007-11-28 Dan Williams <dcbw@redhat.com>
6135 * src/nm-device-802-11-wireless.c
6136 - (real_act_stage1_prepare): mark APs created for hidden networks
6139 2007-11-27 Dan Williams <dcbw@redhat.com>
6141 * system-settings/src/nm-system-config-interface.h
6142 - Note how to store secrets on NMSetting objects
6144 * system-settings/src/dbus-settings.c
6145 - (connection_settings_get_secrets): implement
6147 2007-11-27 Dan Williams <dcbw@redhat.com>
6149 * system-settings/plugins/ifcfg/Makefile.am
6150 system-settings/plugins/ifcfg/parser.c
6151 system-settings/plugins/ifcfg/parser.h
6152 system-settings/plugins/ifcfg/plugin.c
6153 - Parse wireless connections too
6155 * system-settings/src/dbus-settings.c
6156 system-settings/src/dbus-settings.h
6157 system-settings/src/main.c
6158 - Handle connection update/removal if the plugin supports it
6160 2007-11-27 Dan Williams <dcbw@redhat.com>
6162 * src/nm-dbus-manager.h
6163 src/nm-hal-manager.c
6164 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6168 src/NetworkManagerDbusUtils.c
6169 src/NetworkManagerDbusUtils.h
6170 - Remove these two source files; they are unused
6172 2007-11-27 Dan Williams <dcbw@redhat.com>
6174 * src/vpn-manager/nm-vpn-manager.c
6175 - (impl_vpn_manager_connect): fix system settings check (found by
6178 2007-11-26 Dan Williams <dcbw@redhat.com>
6180 * Fix warnings so everything compiles with --enable-more-warnings
6182 2007-11-25 Dan Williams <dcbw@redhat.com>
6185 - Rework structure and code to use GModule-loaded plugins and a plugin
6186 interface that plugins export to the system settings service
6188 2007-11-21 Dan Williams <dcbw@redhat.com>
6191 - Add Soren's system settings service. Needs work for distros other
6192 than Fedora; the backends from NM should mostly migrate to here
6193 and be converted to GObjects
6195 2007-11-21 Dan Williams <dcbw@redhat.com>
6197 * libnm-util/nm-setting-vpn-properties.c
6198 - (set_property): must deep-copy the given settings hash, otherwise
6199 double-free errors occur when the setting is disposed of
6201 2007-11-21 Dan Williams <dcbw@redhat.com>
6203 * src/vpn-manager/nm-vpn-act-request.h
6204 src/vpn-manager/nm-vpn-act-request.c
6207 2007-11-20 Dan Williams <dcbw@redhat.com>
6209 * libnm-util/nm-utils.c
6210 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6211 nm_utils_convert_ip4_addr_struct_array_to_string,
6212 nm_utils_register_value_transformations): print out the readable
6213 values of more types of properties of NMSettings subclasses
6215 2007-11-20 Dan Williams <dcbw@redhat.com>
6217 * libnm-util/nm-setting-ip4-config.c
6218 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6219 nm_setting_ip4_config_class_init): apparently dbus-glib can't
6220 marshal GValueArrays inside collections, so switch to types that it
6221 can actually marshal/demarshal
6223 2007-11-16 Dan Williams <dcbw@redhat.com>
6225 * libnm-util/nm-setting-wireless-security.c
6226 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6227 minimal verification of EAP methods too
6228 - (verify): verify phase1 eap methods too
6230 2007-11-15 Dan Williams <dcbw@redhat.com>
6232 * libnm-glib/nm-device.h
6233 libnm-glib/nm-device.c
6234 - (nm_device_get_product, nm_device_get_vendor): should be returning
6237 2007-11-15 Dan Williams <dcbw@redhat.com>
6239 * libnm-glib/nm-device.c
6240 - (get_product_and_vendor): don't try to free things that should be
6243 2007-11-15 Dan Williams <dcbw@redhat.com>
6245 * src/NetworkManagerUtils.c
6246 - (nm_ethernet_address_is_valid): unbreak previous fix
6248 2007-11-15 Dan Williams <dcbw@redhat.com>
6250 * src/supplicant-manager/nm-supplicant-config.c
6251 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6254 2007-11-15 Dan Williams <dcbw@redhat.com>
6256 * src/NetworkManagerUtils.c
6257 - (nm_ethernet_address_is_valid): fix style, clarify
6258 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6260 * src/nm-device-802-11-wireless.c
6261 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6262 - (nm_device_802_11_wireless_get_ssid,
6263 nm_device_802_11_wireless_get_bssid,
6264 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6265 before calling the ioctl; fixes valgrind-reported jump depends on
6266 uninitialized value errors
6268 2007-11-15 Dan Williams <dcbw@redhat.com>
6270 * libnm-util/nm-setting.c
6271 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6272 unecessary to serialize 'name'
6274 * src/nm-activation-request.c
6275 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6278 2007-11-15 Dan Williams <dcbw@redhat.com>
6280 * libnm-util/nm-setting-connection.h
6281 libnm-util/nm-setting-connection.c
6282 - Rename the 'name' property to 'id', because it conflicted with the
6283 NMSetting superclass' 'name' property.
6285 * libnm-util/nm-setting.c
6286 - (nm_setting_to_hash): serialize the 'name' property
6287 - (one_property_cb): ignore 'name' on deserialization of a connection
6289 * src/nm-device-802-11-wireless.c
6290 src/vpn-manager/nm-vpn-connection.c
6291 src/NetworkManagerPolicy.c
6292 - Fix up for NMSettingConnection 'name'->'id' changes
6294 2007-11-13 Dan Williams <dcbw@redhat.com>
6296 * libnm-glib/nm-device-802-11-wireless.h
6297 libnm-glib/nm-device-802-11-wireless.c
6298 - (nm_device_802_11_wireless_get_hw_address): return should be const
6301 libnm-glib/libnm-glib-test.c
6302 - Fixes for above change
6304 2007-11-12 Dan Williams <dcbw@redhat.com>
6306 * src/supplicant-manager/nm-supplicant-settings-verify.c
6307 - Allow fragment_size option
6309 * src/supplicant-manager/nm-supplicant-settings-verify.c
6310 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6311 EAP fragment size than the default to help some TLS connections
6313 2007-11-12 Dan Williams <dcbw@redhat.com>
6315 Make certs actually work. The private key is now a secret, and should be
6316 decrypted when requested by NM. The private key and phase2 private key
6317 passwords are no longer interesting to NM because they should be used by
6318 the settings service to decrypt the private key itself before passing it
6319 to NM, and hence have been removed as fields.
6321 * libnm-util/nm-setting-wireless-security.h
6322 libnm-util/nm-setting-wireless-security.c
6323 - Remove private-key-passwd and phase2-private-key-passwd from
6325 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6326 need_secrets): use property #defines instead strings to keep things
6328 - (need_secrets_tls): if a client certificate is present but no
6329 private key, request the private key
6330 - (set_property, get_property, nm_setting_wireless_security_class_init):
6331 remove private key password stuff, mark private keys as secret
6333 * src/supplicant-manager/nm-supplicant-settings-verify.c
6334 - Remove private_key_passwd and private_key2_passwd from opt_table
6336 2007-11-09 Dan Williams <dcbw@redhat.com>
6338 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6339 Since the vpn-properties are managed and known by the VPN daemons themselves,
6340 libnm-util doesn't know what's secret and what's in the setting's 'data'
6343 * libnm-util/nm-setting.h
6344 libnm-util/nm-setting.c
6345 - Add the ability for subclasses to override update_one_secret
6347 * libnm-util/nm-setting-vpn-properties.c
6348 - Override update_one_secret and just copy the values into the
6351 2007-11-09 Dan Williams <dcbw@redhat.com>
6353 * libnm-glib/nm-settings.h
6354 libnm-glib/nm-settings.c
6355 - (nm_settings_new_error): remove
6356 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6357 clients should use g_set_error() with NM_SETTINGS_ERROR
6359 2007-11-09 Dan Williams <dcbw@redhat.com>
6361 * src/supplicant-manager/nm-supplicant-config.c
6362 - (nm_supplicant_config_add_setting_wireless_security): private key
6363 passwords are never sent to wpa_supplicant, because the supplicant
6364 should never be reading random files from the disk. Clients like
6365 the applet are required to decrypt the private keys and send NM
6366 the decrypted blobs.
6368 2007-11-08 Dan Williams <dcbw@redhat.com>
6370 * libnm-util/nm-setting-wireless-security.h
6371 libnm-util/nm-setting-wireless-security.c
6372 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6373 members to 802-11-wireless-security structure. This should be used
6374 to indicate that the values in private-key and phase2-private-key
6375 are already decrypted by the user agent, and that no
6376 private-key-passwd or phase2-private-key-passwd should be expected.
6377 It is not meant to be a stored configuration value, but meant to
6378 be set when the conneciton is sent to NM over dbus.
6380 2007-11-08 Dan Williams <dcbw@redhat.com>
6382 * libnm-util/nm-connection.h
6383 libnm-util/nm-connection.c
6384 - (nm_connection_need_secrets): add argument to return hints
6386 * src/nm-device-802-11-wireless.c
6387 - (link_timeout_cb, supplicant_connection_timeout_cb,
6388 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6389 nm_connection_need_secrets() change
6391 2007-11-07 Tambet Ingo <tambet@gmail.com>
6393 Rework NMSetting structures: Move each setting to it's own file.
6394 Convert to GObject. Remove home grown setting types and use GTypes.
6395 Use GObject property introspection for hash conversion, enumerating
6398 * libnm-util/nm-setting-connection.[ch]
6399 * libnm-util/nm-setting-ip4-config.[ch]
6400 * libnm-util/nm-setting-ppp.[ch]
6401 * libnm-util/nm-setting-vpn.[ch]
6402 * libnm-util/nm-setting-vpn-properties.[ch]
6403 * libnm-util/nm-setting-wired.[ch]
6404 * libnm-util/nm-setting-wireless.[ch]
6405 * libnm-util/nm-setting-wireless-security.[ch]
6407 New files, each containing a setting.
6409 * libnm-util/nm-setting-template.[ch]: A template for creating new
6410 settings. To use it, just replace 'template' with the new setting
6411 name, and you're half-way done.
6413 * libnm-util/nm-setting.c: Convert to GObject and use GObject
6414 introspection instead of internal types and tables.
6416 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6418 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6419 GValue types defined by dbus-glib for composed types like collections,
6420 structures and maps.
6422 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6423 a setting from connection takes the setting type now. Also, since
6424 the settings are in multiple files, include relevant settings.
6426 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
6429 * src/backends/NetworkManagerGentoo.c:
6430 (nm_system_restart_mdns_responder): Implement restarts for other mdns
6431 providers in Gentoo.
6433 2007-10-31 Dan Williams <dcbw@redhat.com>
6435 * libnm-util/nm-connection.c
6436 - (gvalue_to_string): handle UINT32 arrays
6438 2007-10-31 Dan Williams <dcbw@redhat.com>
6440 * libnm-glib/nm-device.h
6441 libnm-glib/nm-device.c
6442 - (nm_device_get_description): remove
6443 - (nm_device_get_product, nm_device_get_vendor): add
6444 - (nm_device_update_description): new function (private); walk HAL
6445 devices to get product and vendor IDs for a specific device
6447 2007-10-31 Dan Williams <dcbw@redhat.com>
6449 * src/nm-device-802-11-wireless.c
6450 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6452 2007-10-29 Dan Williams <dcbw@redhat.com>
6454 * src/nm-hal-manager.c
6455 - (device_added, device_new_capability): ignore device additions while
6456 asleep. Fixes crash caused when NM goes to sleep, a network device
6457 kernel module is unloaded and reloaded and recognized by NM again.
6459 2007-10-26 Dan Williams <dcbw@redhat.com>
6461 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6463 * src/NetworkManagerAP.c
6464 src/NetworkManagerAP.h
6465 libnm-glib/nm-access-point.c
6466 libnm-glib/nm-access-point.h
6467 - Make 'rate' property a guint32 to better match with WEXT and
6468 wpa_supplicant and to allow representation of higher bitrates
6470 * src/nm-device-802-11-wireless.c
6471 introspection/nm-device-802-11-wireless.xml
6472 libnm-glib/nm-device-802-11-wireless.c
6473 libnm-glib/nm-device-802-11-wireless.h
6474 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6476 * src/nm-device-802-3-ethernet.c
6477 src/nm-device-802-3-ethernet.h
6478 introspection/nm-device-802-3-ethernet.xml
6479 libnm-glib/nm-device-802-3-ethernet.c
6480 libnm-glib/nm-device-802-3-ethernet.h
6481 - Make 'speed' property a guint32 to match other speed/rate types
6482 - Make nm_device_802_3_ethernet_get_speed() static
6485 - Update for the changes above
6487 2007-10-26 Dan Williams <dcbw@redhat.com>
6489 * src/named-manager/nm-named-manager.c
6490 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6491 not calling fclose() twice on some error conditions
6493 2007-10-26 Dan Williams <dcbw@redhat.com>
6495 * src/nm-activation-request.c
6496 - (dispose): clean up indentation; get the right DBusGProxy object to
6497 cancel the GetSecrets pending call on. Need to use the Secrets
6498 proxy, not the regular connection proxy. Otherwise the GetSecrets
6499 pending call doesn't get canceled, and pressing Cancel in the
6500 applet's password dialog could cause get_secrets_cb() to be called
6501 after the activation request has already been destroyed
6503 2007-10-24 Dan Williams <dcbw@redhat.com>
6505 * src/supplicant-manager/nm-supplicant-config.c
6506 - (nm_supplicant_config_add_blob): pass blob data and length for
6508 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
6510 2007-10-24 Dan Williams <dcbw@redhat.com>
6512 * src/supplicant-manager/nm-supplicant-settings-verify.c
6513 - (opt_table): max length for certificates should be 65536
6515 2007-10-24 Dan Williams <dcbw@redhat.com>
6517 * src/supplicant-manager/nm-supplicant-interface.c
6518 - (blob_free): correctly free blob data after use
6519 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
6521 2007-10-24 Dan Williams <dcbw@redhat.com>
6523 * libnm-util/nm-setting.c
6524 - (setting_wireless_security_need_secrets): Fix lookup table logic for
6525 EAP method need secrets
6527 2007-10-24 Dan Williams <dcbw@redhat.com>
6529 * src/backends/NetworkManagerRedHat.c
6530 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
6532 2007-10-23 Dan Williams <dcbw@redhat.com>
6534 * libnm-util/nm-setting.c
6535 libnm-util/nm-setting.c
6536 - (nm_setting_compare): implement
6537 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
6538 compare_one_hash_gvalue): compare the contents of a setting
6540 * libnm-util/nm-connection.c
6541 - (nm_connection_compare): implement
6543 2007-10-23 Dan Williams <dcbw@redhat.com>
6545 * src/nm-activation-request.c
6546 - (get_secrets_cb): handle getting a setting back that is more than
6547 just secrets (ie, user changed auth or EAP method or something)
6549 2007-10-23 Dan Williams <dcbw@redhat.com>
6551 * libnm-util/nm-setting.c
6552 libnm-util/nm-setting.h
6553 - (nm_setting_verify): new function; verify one setting
6554 - (nm_settings_verify_all): rename from nm_settings_verify()
6555 - (setting_connection_verify, setting_wireless_verify): allow NULL
6558 * libnm-util/nm-connection.c
6559 - (nm_connection_replace_settings, nm_connection_verify,
6560 nm_connection_new_from_hash): handle nm_settings_verify() rename
6562 2007-10-23 Dan Williams <dcbw@redhat.com>
6564 * src/nm-device-802-11-wireless.c
6565 - (real_act_stage2_config): use pre-increment on 'tries' to get the
6568 2007-10-23 Dan Williams <dcbw@redhat.com>
6570 * src/supplicant-manager/nm-supplicant-settings-verify.c
6571 - eap_allowed, phase2_allowed: harmonize with allowed values from
6574 2007-10-23 Dan Williams <dcbw@redhat.com>
6576 * src/nm-device-802-11-wireless.c
6577 - (real_act_stage2_config): after the first association failure,
6578 if the connection still needs secrets ask the user for them
6579 explicitly. After the fourth association failure due to bad
6580 secrets, fail the connection entirely. Handles the GetSecrets
6581 loop that NM gets into when the provided secrets don't match up
6582 with the connection details.
6584 2007-10-23 Dan Williams <dcbw@redhat.com>
6586 * src/supplicant-manager/nm-supplicant-config.c
6587 - (nm_supplicant_config_add_setting_wireless_security): only add
6588 WPA-specific options when WPA is in use
6590 2007-10-23 Dan Williams <dcbw@redhat.com>
6592 * src/supplicant-manager/nm-supplicant-config.c
6593 - (nm_supplicant_config_add_setting_wireless_security): 'password'
6594 secret doesn't need to be unhexified
6596 2007-10-23 Dan Williams <dcbw@redhat.com>
6598 * libnm-util/nm-setting.c
6599 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
6600 before trying to do something with it
6602 2007-10-23 Dan Williams <dcbw@redhat.com>
6604 * src/nm-device-802-11-wireless.c
6605 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
6607 2007-10-23 Dan Williams <dcbw@redhat.com>
6609 * src/nm-device-802-11-wireless.c
6610 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
6611 non-SSID-broadcasting APs
6613 2007-10-23 Dan Williams <dcbw@redhat.com>
6615 * src/NetworkManagerAP.c
6616 - (match_cipher, security_compatible): remove
6617 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
6620 2007-10-23 Dan Williams <dcbw@redhat.com>
6622 * libnm-util/nm-utils.c
6623 libnm-util/nm-utils.h
6624 - (nm_utils_ap_security_compatible): common function for checking
6625 whether a specific AP is compatible with an NMConnection
6627 2007-10-23 Dan Williams <dcbw@redhat.com>
6629 * libnm-util/nm-setting.c
6630 - (setting_wireless_security_need_secrets, need_secrets_phase2,
6631 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
6632 need_secrets_password, setting_wireless_security_verify): fix
6633 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
6634 secrets logic for each supported EAP method
6636 2007-10-23 Dan Williams <dcbw@redhat.com>
6638 * src/supplicant-manager/nm-supplicant-config.c
6639 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
6640 config option name, should be "private_key2_passwd"
6642 2007-10-22 Tambet Ingo <tambet@gmail.com>
6644 Implement support for static IP addresses, additional/overridden DNS and
6645 DNS domain search lists.
6647 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
6648 (ip4_addresses_to_gvalue): Implement.
6649 (convert_array_to_byte_array): Implement.
6650 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
6651 NM_S_TYPE_IP4_ADDRESSES.
6652 (nm_setting_hash): Ditto.
6653 (default_setting_clear_secrets): Add a default case for the switch: IP address
6654 shouldn't be secret, ever.
6655 (setting_ip4_config_verify): Update, requires addresses in case of manual
6657 (setting_ip4_config_destroy): Free stuff.
6659 * src/nm-device.c (merge_ip4_config): Implement.
6660 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
6662 2007-10-22 Dan Williams <dcbw@redhat.com>
6664 * libnm-util/nm-setting.c
6665 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
6666 pairwise cipher options for Dynamic WEP
6668 2007-10-21 Dan Williams <dcbw@redhat.com>
6670 * src/NetworkManagerAP.c
6671 src/NetworkManagerAP.h
6672 - Rename 'articifical' -> 'fake' since that's what they are until
6674 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
6675 from the attributes in an NMConnection object
6676 - (security_compatible): better handle Dynamic WEP and LEAP; handle
6678 - (nm_ap_match_in_list): find a matching AP in a scan list
6680 * src/nm-device-802-11-wireless.c
6681 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
6682 AP when searching the scan list; match on frequency and mode too
6683 - (nm_device_802_11_wireless_get_frequency): implement
6684 - (merge_scanned_ap): replace duplicate matching logic with
6685 nm_ap_match_in_list()
6686 - (real_act_stage1_prepare): handle a NULL specific object; ie where
6687 the user is trying to connect to a hidden network that is not yet
6688 known from the scan list
6689 - (activation_success_handler): now that the card knows the AP's BSSID,
6690 there may already be a scanned AP in the scan list that is what
6691 we really wanted to connect to, but didn't know at the time. Use
6692 that instead of the 'fake' AP created at activation start and get
6693 rid of the 'fake' AP
6694 - (cull_scan_list): don't remove fake APs
6696 2007-10-21 Dan Williams <dcbw@redhat.com>
6698 * src/nm-activation-request.h
6699 src/nm-activation-request.c
6700 - (nm_act_request_set_specific_object): new function; allow setting the
6701 specific object if one isn't set yet
6703 2007-10-20 Dan Williams <dcbw@redhat.com>
6705 * src/supplicant-manager/nm-supplicant-config.h
6706 src/supplicant-manager/nm-supplicant-config.c
6707 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
6708 table to store blobs
6709 - (nm_supplicant_config_add_blob): new function; add blob to internal
6711 - (nm_supplicant_config_get_blobs): new function; get stored blobs
6712 - (nm_supplicant_config_add_setting_wireless_security): handle
6713 options that use certificates (ie, blobs)
6715 * src/nm-device-802-11-wireless.c
6716 - (build_supplicant_config): pass a UID (just use the connection path)
6717 to the supplicant config as now required
6719 * src/supplicant-manager/nm-supplicant-interface.c
6720 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
6721 there are any blobs to send to wpa_supplicant, send those first
6722 before sending the network configuration
6724 2007-10-19 Dan Williams <dcbw@redhat.com>
6726 Split the GetSecrets() call off to a separate D-Bus interface so that it
6727 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
6728 should be able to call GetSecrets().
6730 * include/NetworkManager.h
6731 - Define the connection secrets D-Bus interface
6733 * src/vpn-manager/nm-vpn-connection.c
6734 - (clear_need_auth): get the right proxy object for the connection
6736 - (get_connection_secrets): use the connection secrets proxy; send
6737 empty hints in get secrets request
6739 * src/nm-activation-request.c
6740 - (nm_act_request_request_connection_secrets): use the connection
6741 secrets proxy; send empty hints in get secrets request
6745 - (connection_get_settings_cb): set the connection secrets proxy on
6746 the connection object too
6747 - (internal_new_connection_cb): create the connection secrets proxy
6749 * introspection/nm-settings-connection.xml
6750 - Define Connection.Secrets interface and move GetSecrets there
6751 - Add a 'hints' argument to GetSecrets
6753 * libnm-glib/nm-settings.c
6754 libnm-glib/nm-settings.h
6755 - (impl_connection_settings_get_secrets): add 'hints' argument
6757 2007-10-19 Dan Williams <dcbw@redhat.com>
6760 - (constructor): add message about what path a device is exported as
6761 to help in debugging rh #339011
6763 2007-10-17 Dan Williams <dcbw@redhat.com>
6765 * libnm-util/nm-utils.h
6766 libnm-util/nm-utils.c
6767 - (nm_utils_security_valid): common function to help find the intersection
6768 of capabilities of devices and (optionally) access points
6770 2007-10-17 Dan Williams <dcbw@redhat.com>
6772 * src/nm-device-802-11-wireless.c
6773 - (get_wireless_capabilities): add missing braces so that WPA capabilities
6774 don't get erroneously cleared
6776 2007-10-17 Dan Williams <dcbw@redhat.com>
6780 src/nm-hal-manager.c
6781 - (device_removed, finalize, nm_manager_remove_device,
6782 nm_manager_sleep): add a 'deactivate' argument to
6783 nm_manager_remove_device() to fully deactivate devices when necessary
6784 (ie, always except when waking up)
6786 2007-10-16 Dan Williams <dcbw@redhat.com>
6788 * libnm-util/nm-setting.c
6789 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
6790 also isn't valid phase2 autheap method
6792 2007-10-16 Dan Williams <dcbw@redhat.com>
6794 * libnm-glib/nm-client.c
6795 - (update_wireless_status): consolidate updates of wireless status
6796 - (constructor): use update_wireless_status()
6797 - (manager_running): set wireless status off when NM goes away; requery
6798 the wireless status when NM comes back
6800 2007-10-16 Dan Williams <dcbw@redhat.com>
6802 * libnm-glib/nm-client.c
6803 - (nm_client_activate_device): actually use the fixed-up specific
6806 2007-10-16 Dan Williams <dcbw@redhat.com>
6808 * src/nm-hal-manager.c
6809 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
6810 killswitch error messages once
6812 2007-10-16 Dan Williams <dcbw@redhat.com>
6815 - (manager_set_wireless_enabled): don't allow wireless to be enabled
6816 if it's disabled in hardware; don't touch network devices while
6819 2007-10-16 Dan Williams <dcbw@redhat.com>
6821 * libnm-util/nm-client.c
6822 - (nm_client_activate_device): convert NULL specific_object to "/",
6823 which is used in place of NULL
6826 - (impl_manager_activate_device): convert "/" specific_object back into
6829 2007-10-16 Tambet Ingo <tambet@gmail.com>
6831 Implement a generic NMSetting creator from setting name.
6832 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
6833 add a virtual function 'populate_fn'.
6835 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
6836 (register_default_creators): Register setting creators instead of functions
6837 that create and then populate.
6838 (parse_one_setting): Use the common setting creator and then setting specific
6839 poplulation function.
6841 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
6842 they all looked exactly the same.
6843 Add a 'populate_fn' virtual function to NMSetting.
6844 Use default virtual functions in case they are not overriden.
6845 (nm_setting_populate_from_hash): Implement.
6847 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
6848 name, use a defined string.
6849 (real_act_stage4_get_ip4_config): Ditto.
6851 2007-10-16 Tambet Ingo <tambet@gmail.com>
6853 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
6854 HAL is int, not uint.
6856 2007-10-15 Tambet Ingo <tambet@gmail.com>
6858 Implement killswitch polling through HAL.
6860 * src/nm-manager.c: Add wireless hardware status property. Add
6861 'properties-changed' signal for changes in wireless and wireless hardware
6864 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
6865 and update NMManager's wireless hardware state when it has changed.
6866 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
6869 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
6870 values of wireless state and wireless hardware state. Listen for the
6871 'properties-changed' signals, update the cached values and emit notify.
6873 * include/NetworkManager.h: Fix a typo in a comment.
6875 2007-10-14 Dan Williams <dcbw@redhat.com>
6877 * libnm-util/nm-setting.c
6878 - (setting_wireless_security_need_secrets): handle LEAP secrets
6880 2007-10-13 Dan Williams <dcbw@redhat.com>
6882 * libnm-util/nm-setting.h
6883 libnm-util/nm-setting.c
6884 src/supplicant-manager/nm-supplicant-config.c
6885 - Make the 'proto' field of the 802-11-wireless-security field a
6888 2007-10-12 Tambet Ingo <tambet@gmail.com>
6890 Rework the "properties-changed" signal listening implementation.
6891 Add a generic implementation to NMObject class that listens for
6892 the signal and calls property setters of the target NMObject.
6894 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
6896 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
6897 code to the end of file so that all the static functions are available
6898 without extra declarations.
6899 Remove the "properties-changed" signal handling and use the framework from
6901 Implement property setters for properties that change with
6902 "properties-changed" signal.
6904 * libnm-glib/nm-access-point.c: Ditto.
6906 2007-10-12 Tambet Ingo <tambet@gmail.com>
6908 Rework the "properties-changed" signal implementation.
6909 In classes that need to use it, just emit "GObject::notify" and the new
6910 framework takes care of the rest to make the signal available on dbus.
6911 The framework queues the notifications and tries to send as many together
6912 in one signal as possible.
6914 * src/nm-properties-changed-signal.c:
6915 * src/nm-properties-changed-signal.h: Implement.
6917 * src/Makefile.am: Add new files to build.
6919 * src/NetworkManagerAP.c: Use the general framework for properties-changed
6922 * src/nm-device-802-11-wireless.c: Ditto.
6924 2007-10-10 Dan Williams <dcbw@redhat.com>
6927 - (wait_for_connection_expired): ensure info is valid
6928 - (connection_added_default_handler): Should only remove pending
6929 connection info when the manager has the connection that it's
6930 waiting for. Fixes segfault in wait_for_connection_info().
6932 2007-10-10 Dan Williams <dcbw@redhat.com>
6934 * libnm-util/nm-setting.c
6935 libnm-util/nm-setting.h
6936 - Add a default 'user_name' field to the VPN setting, which VPN plugins
6937 can use if they choose. Should be filled in by the settings service
6938 on-the-fly with the currently logged in user's username
6940 2007-10-10 Dan Williams <dcbw@redhat.com>
6942 * src/nm-device-802-11-wireless.c
6943 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
6944 as such, because even if the manager fills in the SSID, NM still
6945 has to indicate to wpa_supplicant that the AP isn't broadcasting
6948 2007-10-10 Tambet Ingo <tambet@gmail.com>
6950 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
6951 code that used NM's own version of dbus signal handling and custom dictionary
6952 marshalling/unmarshalling. With this change, all that obsolete code can disappear
6953 and we get to maintain over 2000 lines less code.
6955 * libnm-util/dbus-dict-helpers.c:
6956 * libnm-util/dbus-dict-helpers.h: Remove.
6958 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
6960 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
6962 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
6965 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
6967 * configure.in: Remove test/libnm-util/Makefile creation.
6969 * test/Makefile.am: Remove libnm-util from SUBDIRS.
6971 * test/libnm-util/: Remove the whole directory.
6973 2007-10-10 Tambet Ingo <tambet@gmail.com>
6975 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
6976 device_state_changed_idle_id variable or it would contain some random value and the
6977 schedule_change_check calls would not do anything.
6979 2007-10-09 Dan Williams <dcbw@redhat.com>
6981 * src/nm-device-802-11-wireless.c
6982 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
6983 - (merge_scanned_ap): only have the manager fill the SSID if the AP
6984 isn't broadcasting its SSID; set the non-broadcast flag here; fix
6985 merging of non-SSID-broadcasting APs
6987 2007-10-09 Tambet Ingo <tambet@gmail.com>
6989 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
6990 "guint8 *" since it's usually used with GByteArray->data.
6991 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
6993 2007-10-09 Tambet Ingo <tambet@gmail.com>
6995 * src/NetworkManagerUtils.c
6996 (nm_utils_is_empty_ssid):
6997 (nm_utils_escape_ssid):
6998 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
6999 lot of places, so they belong to libnm-utils instead.
7001 Now with 100% less compiler warnings:
7003 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7004 (nm_dbus_unescape_object_path): Ditto.
7005 (nm_utils_ssid_to_utf8): Ditto.
7006 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7007 (nm_utils_escape_ssid): Ditto.
7008 (nm_utils_same_ssid): Ditto.
7010 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7011 (add_one_connection_element): Remove an unused variable.
7012 (impl_manager_get_active_connections): Ditto.
7014 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7017 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7018 from the previous commit.
7020 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7021 (real_act_stage1_prepare): Ditto.
7022 (activation_success_handler): Ditto.
7023 (get_property): Ditto.
7025 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7028 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7031 * src/supplicant-manager/nm-supplicant-config.c
7032 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7033 to expected "char *".
7034 (nm_supplicant_config_add_setting_wireless): Ditto.
7035 (nm_supplicant_config_remove_option): Remove, not used.
7037 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7039 (test_wireless_enabled): Ifdef out unused function.
7040 (device_deactivate): Ditto.
7041 (device_state_changed): Ditto.
7042 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7043 (nm_utils_escape_ssid): Ditto.
7045 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7046 (nm_utils_is_empty_ssid): Ditto.
7048 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7051 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7052 (setting_vpn_properties_update_secrets): Ditto.
7053 (int_to_gvalue): Ifdef out for now, not used.
7054 (byte_to_gvalue): Ditto.
7056 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
7059 2007-10-08 Tambet Ingo <tambet@gmail.com>
7061 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7062 about dbus manager, not named manager.
7063 Make sure hal_manager and dbus_mgr are created before trying to unreference.
7065 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7066 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7067 However, the same signal is emitted when we destroy it and there's
7068 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7070 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7071 releasing the DBusGConnection, since proxy needs a conneciton.
7072 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7074 2007-10-08 Dan Williams <dcbw@redhat.com>
7076 * src/NetworkManager.c
7077 - (main): error on unknown command-line options
7079 2007-10-08 Dan Williams <dcbw@redhat.com>
7081 Reimplement the invalid connection list. Don't try to re-activate a
7082 connection that just failed or was canceled.
7085 - (connection_secrets_failed_cb): fail device activation, don't just
7086 deactivate the device. Listeners have to know about the failure.
7088 * src/NetworkManagerPolicy.c
7089 - (nm_policy_auto_get_best_device): exclude invalid connections from
7090 the connection list given to a device's get_best_connection()
7092 - (device_state_changed): tag failed connections as invalid; clear the
7093 tag from successful connections
7095 2007-10-08 Dan Williams <dcbw@redhat.com>
7097 Fix problems with interrupted activation. Previously, choosing an AP
7098 from the menu, then choosing another one before the first connection was
7099 successful wouldn't deactivate the device before starting the new connection
7100 on that same device.
7102 * src/NetworkManagerPolicy.c
7103 - (deactivate_old_device, device_state_changed, state_changed,
7104 nm_policy_new): wrong place to deactivate old devices
7107 - (pending_connection_info_destroy, finalize,
7108 wait_for_connection_expired): decouple destruction of the pending
7109 connection info from the manager device
7110 - (connection_added_default_handler): deactivate any active or
7111 activating device before starting a new activation
7112 - (impl_manager_activate_device): deactivate any active or activating
7113 device before starting a new activation; be sure not to leak
7114 pending connection info if a new activation request arrives but
7115 there's already a pending one in-process
7117 2007-10-08 Dan Williams <dcbw@redhat.com>
7119 * src/NetworkManagerAP.h
7120 src/NetworkManagerAP.c
7121 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
7122 should handle default SSIDs and whether or not to autoconnect
7125 2007-10-08 Dan Williams <dcbw@redhat.com>
7127 * src/NetworkManagerPolicy.c
7128 - (nm_policy_device_change_check): print out connection name where
7131 2007-10-08 Dan Williams <dcbw@redhat.com>
7133 * src/nm-device-802-11-wireless.c
7134 src/nm-device-802-11-wireless.h
7135 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7136 'hidden-ap-found' signal (for internal use only) that allows the
7137 NMManager to fill in the AP's SSID if a connection has that AP's
7138 BSSID in its seen-bssids list
7141 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7142 wireless device's hidden-ap-found signal and fill in the APs SSID
7145 2007-10-07 Dan Williams <dcbw@redhat.com>
7149 - Add a 'connections-added' signal to batch together updates of large
7150 numbers of connections, like when reading from a settings service
7151 the first time. Otherwise, the policy would just activate the first
7152 suitable connection it saw rather than waiting for the full list
7154 - (nm_manager_class_init): register new signal
7155 - (get_type_for_proxy, connection_get_settings_cb,
7156 get_connection_for_proxy): centralize places where a proxy's setting
7157 service is determined
7158 - (free_get_settings_info): if the call being freed is the last call
7159 in a pending call group, fire off the connections-added signal
7160 - (internal_new_connection_cb): add call to a pending call group if
7162 - (list_connections_cb): always create a call group here, because this
7163 call results in a batch of new connections
7164 - (initial_get_connections): start getting system connections first
7165 - (nm_manager_connections_destroy, emit_removed): actually emit the
7166 removed signal when destroying connections
7168 * src/NetworkManagerPolicy.c
7169 - (nm_policy_new, connections_added): handle connections-added signal
7172 2007-10-06 Dan Williams <dcbw@redhat.com>
7174 * src/nm-device-802-11-wireless.c
7175 - (constructor): fix leaked socket
7177 2007-10-06 Dan Williams <dcbw@redhat.com>
7179 * src/NetworkManagerPolicy.c
7180 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
7181 connection in the list returned by nm_manager_get_connections() is
7182 reffed, but they weren't getting unreffed before returning
7184 2007-10-06 Dan Williams <dcbw@redhat.com>
7187 - (connections_to_slist): sort connections first on autoconnect, then
7190 2007-10-06 Dan Williams <dcbw@redhat.com>
7192 * libnm-util/nm-connection.c
7193 - (gvalue_to_string): handle UINT64
7195 2007-10-06 Dan Williams <dcbw@redhat.com>
7197 * src/NetworkManagerPolicy.c
7198 - (connection_updated, nm_policy_new): recheck state when a connection
7201 2007-10-06 Dan Williams <dcbw@redhat.com>
7205 - (nm_manager_get_connection_dbus_path): make static
7206 - (nm_manager_update_connections): remove; unused
7207 - Add a connection-updated signal
7208 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7209 handle connection object updates
7211 2007-10-06 Dan Williams <dcbw@redhat.com>
7213 * src/NetworkManagerPolicy.c
7214 - (connection_removed): deactivate removed connections
7216 2007-10-06 Dan Williams <dcbw@redhat.com>
7218 * libnm-util/nm-connection.c
7219 libnm-util/nm-connection.h
7220 - (nm_connection_replace_settings): new function
7222 2007-10-06 Dan Williams <dcbw@redhat.com>
7224 * libnm-glib/nm-device-802-11-wireless.c
7225 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7226 on error when getting the active access point over D-Bus from NM
7228 2007-10-05 Dan Williams <dcbw@redhat.com>
7230 * libnm-util/nm-setting.c
7231 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7232 to the NMSettingWireless table; it's now a string array not an array
7235 2007-10-05 Dan Williams <dcbw@redhat.com>
7237 * libnm-glib/nm-device-802-11-wireless.c
7238 - Cache properties and update cached properties on D-Bus signals from NM
7240 2007-10-05 Dan Williams <dcbw@redhat.com>
7242 * src/nm-device-802-11-wireless.c
7243 - (set_current_ap): consolidate current_ap handling code into one place
7244 to ensure that PropertiesChanged signals are emitted in all cases
7245 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7246 nm_device_802_11_wireless_dispose): use set_current_ap()
7248 2007-10-05 Dan Williams <dcbw@redhat.com>
7250 * libnm-glib/nm-access-point.c
7251 libnm-glib/nm-access-point.h
7252 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7253 because the value is cached internally now. Callers should not
7254 free the internal value.
7255 - Make signal name defines private
7258 libnm-glib/libnm-glib-test.c
7259 - Don't free value returned from nm_access_point_get_hw_address()
7261 2007-10-04 Dan Williams <dcbw@redhat.com>
7263 * introspection/nm-device-802-11-wireless.xml
7264 src/nm-device-802-11-wireless.h
7265 src/nm-device-802-11-wireless.c
7266 - Add a PropertiesChanged signal for wireless device
7267 - Store currently associated access point
7268 - (periodic_update): generalize; update rate here too and emit the
7269 correct PropertiesChanged signal when stuff changes
7270 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7271 real_activation_cancel_handler): clear current_ap when device is
7273 - (link_to_specific_ap, get_ap_blacklisted,
7274 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7276 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7278 - (real_set_hw_address): emit property changed signal if the card's
7280 - (real_act_stage1_prepare): set the initial current_ap to the AP
7281 the card is supposed to be connecting to
7282 - (activation_success_handler): send out property updates on successful
7284 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7285 for ACTIVE_ACCESS_POINT property because sometimes there won't be
7286 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7287 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7288 is now boxed; add PropertiesChanged signal
7290 2007-10-04 Dan Williams <dcbw@redhat.com>
7292 * libnm-util/nm-connection.c
7293 libnm-util/nm-connection.h
7294 - (nm_connection_verify): new function
7296 2007-10-04 Dan Williams <dcbw@redhat.com>
7298 * libnm-util/nm-setting.c
7299 - (nm_settings_verify): use #defines when possible rather than strings
7300 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7301 - (setting_vpn_verify): tighter validity check on 'service_type'
7303 2007-10-04 Dan Williams <dcbw@redhat.com>
7305 * libnm-glib/nm-settings.c
7306 - (nm_connection_settings_class_init): provide correct type for argument
7307 to the Updated signal so that dbus-glib knows how to marshal it
7309 2007-10-03 Dan Williams <dcbw@redhat.com>
7311 * src/nm-device-802-3-ethernet.c
7312 - (real_get_best_connection): don't create automatic connections
7313 internally; clients should provide a setting that applies to
7314 the device with 'autoconnect: True'. Problem was that these
7315 internally auto-created connections don't have a proxy or service
7316 name becuase they weren't created by a settings daemon, and therefore
7317 clients have no idea what to do with them.
7319 2007-10-03 Dan Williams <dcbw@redhat.com>
7321 * src/nm-device-802-11-wireless.c
7322 src/nm-device-802-11-wireless.h
7323 introspection/nm-device-802-11-wireless.xml
7324 - GetActiveNetworks -> GetAccessPoints
7325 - ActiveNetwork -> ActiveAccessPoint
7326 - NetworkAdded -> AccessPointAdded
7327 - NetowrkRemoved -> AccessPointRemoved
7329 * libnm-glib/nm-device-802-11-wireless.c
7330 libnm-glib/nm-device-802-11-wireless.h
7331 - network-added signal -> access-point-added
7332 - network-removed signal -> access-point-removed
7333 - nm_device_802_11_wireless_get_active_network() ->
7334 nm_device_802_11_wireless_get_active_access_point()
7335 - nm_device_802_11_wireless_get_network_by_path() ->
7336 nm_device_802_11_wireless_get_access_point_by_path()
7337 - nm_device_802_11_wireless_get_networks() ->
7338 nm_device_802_11_wireless_get_access_points()
7340 * libnm-glib/libnm-glib-test.c
7342 src/NetworkManagerPolicy.c
7343 - Fixups for Network -> AccessPoint
7345 2007-10-03 Dan Williams <dcbw@redhat.com>
7347 Add a GetActiveConnections() method on the Manager object.
7351 introspection/nm-manager.xml
7352 - (connection_get_settings_cb): keep connection type around too
7353 - (impl_manager_get_active_connections, add_one_connection_element):
7354 implement; returns all active connections and what devices they
7357 * libnm-glib/nm-client.c
7358 libnm-glib/nm-client.h
7359 introspection/nm-manager-client.xml
7360 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7361 by the caller; free here to avoid memory leak
7362 - (nm_client_get_active_connections): implement; return the list of
7364 - (nm_client_free_active_connection_element): implement; free an element
7365 of the GSList returned by nm_client_get_active_connections()
7367 2007-10-03 Dan Williams <dcbw@redhat.com>
7369 * src/nm-device-802-11-wireless.c
7370 - (nm_device_802_11_wireless_update_bssid): remove
7371 - (get_active_ap): new function; find the AP in the scan list which
7372 matches the current BSSID and SSID of the wireless device
7373 - (nm_device_802_11_periodic_update): get current AP using
7374 get_active_ap() and print AP roam messages
7376 2007-10-01 Dan Williams <dcbw@redhat.com>
7378 * libnm-util/nm-setting.h
7379 - Add a 'timestamp' option to NMSettingConnection
7382 * libnm-util/nm-setting.c
7383 - (uint64_to_gvalue): new function
7384 - (nm_setting_populate_from_hash, nm_setting_hash,
7385 default_setting_clear_secrets): handle UINT64 type
7386 - con_table: add 'timestamp' member
7388 2007-10-01 Dan Williams <dcbw@redhat.com>
7391 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7392 value when the connection can be activated immediately
7394 2007-10-01 Dan Williams <dcbw@redhat.com>
7396 * libnm-glib/nm-device.c
7397 - (nm_device_class_init): actually tell glib about the carrier-changed
7400 2007-10-01 Dan Williams <dcbw@redhat.com>
7403 src/marshallers/Makefile.am
7404 src/marshallers/nm-marshal.list
7405 src/marshallers/nm-marshal-main.c
7406 - Consolidate glib marshallers into one place
7408 * src/dhcp-manager/Makefile.am
7409 src/dhcp-manager/nm-dhcp-manager.c
7410 src/supplicant-manager/Makefile.am
7411 src/supplicant-manager/nm-supplicant-manager.c
7412 src/supplicant-manager/nm-supplicant-interface.c
7413 src/ppp-manager/Makefile.am
7414 src/ppp-manager/nm-ppp-manager.c
7415 src/vpn-manager/Makefile.am
7416 src/vpn-manager/nm-vpn-connection.c
7418 - Use consolidated marshallers
7420 * src/dhcp-manager/nm-dhcp-marshal.list
7421 src/dhcp-manager/nm-dhcp-marshal-main.c
7422 src/supplicant-manager/nm-supplicant-marshal-main.c
7423 src/supplicant-manager/nm-supplicant-marshal.list
7424 src/nm-marshal-main.c
7426 src/ppp-manager/nm-ppp-marshal-main.c
7427 src/ppp-manager/nm-ppp-marshal.list
7428 src/vpn-manager/nm-vpn-marshal-main.c
7429 src/vpn-manager/nm-vpn-marshal.list
7432 2007-10-01 Dan Williams <dcbw@redhat.com>
7434 * include/NetworkManagerVPN.h
7435 - define VPN connection state change reason codes
7437 * src/vpn-manager/Makefile.am
7438 src/vpn-manager/nm-vpn-marshal.list
7439 src/vpn-manager/nm-vpn-marshal-main.c
7440 - Add marshallers for StateChanged signal
7442 * introspection/nm-vpn-connection.xml
7443 - New Banner property
7444 - StateChanged signal now includes a 'reason' argument
7446 * src/vpn-manager/nm-vpn-connection.c
7447 src/vpn-manager/nm-vpn-connection.h
7448 - Add a "Banner" property that contains the returned VPN server login
7449 banner (if any); valid only in the ACTIVATED state
7450 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7451 a 'reason' argument and emits that reason along with the
7452 state-changed signal
7453 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7454 - (nm_vpn_connection_ip4_config_get): save banner for later
7455 - (nm_vpn_connection_get_banner, get_property,
7456 nm_vpn_connection_class_init): implement Banner property
7458 * src/vpn-manager/nm-vpn-service.c
7459 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7460 connection list because elements may get added/removed from it
7461 while iterating over the list
7462 - (connection_state_changed): signal now includes the 'reason' argument
7464 * libnm-glib/nm-vpn-connection.c
7465 libnm-glib/nm-vpn-connection.h
7466 - (nm_vpn_connection_get_banner): new function
7467 - (state_changed_proxy): handle reason argument
7469 2007-09-28 Tambet Ingo <tambet@gmail.com>
7473 Implement device activation through NMManager.
7474 Implement "pending device activation" here - If the connection isn't found,
7475 we try to wait for up to 5 seconds for the connection to be provided.
7476 Add NMConnectionType argument to "connection-added" and "connection-removed"
7478 (nm_manager_get): Remove. Finally.
7480 * src/nm-activation-request.c:
7481 * src/nm-activation-request.h:
7482 Remove all the deferred activation code.
7484 * src/nm-device.c: Remove all the deferred activation code. Once the device
7485 activation is started, it's started. Update the activation virtual function
7488 * src/nm-device-interface.c:
7489 * src/nm-device-interface.h:
7490 Device activation now takes only NMActRequest argument.
7491 Don't expose device activation directly on dbus, it's supposed to go through
7494 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
7496 Use the new device activation methods through NMManager.
7498 * introspection/nm-manager-client.xml:
7499 * introspection/nm-manager.xml:
7500 * libnm-glib/nm-client.c:
7501 * libnm-glib/nm-client.h:
7502 Add device activation method.
7504 * libnm-glib/nm-device.c:
7505 * libnm-glib/nm-device.h:
7506 * introspection/nm-device.xml:
7507 Remove device activation method. It's done through NMManager now.
7509 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
7510 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
7512 2007-09-28 Dan Williams <dcbw@redhat.com>
7514 * libnm-glib/nm-vpn-connection.c
7515 - (nm_vpn_connection_get_state): try to update state if the current
7518 2007-09-27 Dan Williams <dcbw@redhat.com>
7520 Patch from Bill Nottingham
7522 * src/supplicant-manager/nm-supplicant-config.c
7523 - (ADD_STRING_VAL): use correct length for binary blobs when sending
7524 data to the supplicant
7526 2007-09-27 Dan Williams <dcbw@redhat.com>
7528 * src/NetworkManagerSystem.c
7529 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
7530 and all address manipulation here should be happening on the
7531 _VPN_ device, not the active device
7533 2007-09-26 Dan Williams <dcbw@redhat.com>
7537 src/nm-activation-request.c
7538 src/nm-activation-request.h
7539 - Move the GetSecrets stuff out of the NMManager instance because it
7540 doesn't really need to be there and complicates things
7543 - (connection_secrets_failed_cb, device_activation_go): connect to the
7544 connection-secrets-failed signal and deactivate the device if
7545 the GetSecrets call fails
7547 * src/nm-device-802-11-wireless.c
7548 - (link_timeout_cb, supplicant_connection_timeout_cb,
7549 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
7550 secrets and give correct hints about whether new secrets should be
7551 asked for by the client or not
7553 2007-09-26 Dan Williams <dcbw@redhat.com>
7555 * src/vpn-manager/nm-vpn-connection.c
7556 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
7557 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
7558 to the secrets-updated signal of the NMConnection since updating
7559 the secrets is done within the scope of the NMVPNConnection object
7561 - (get_connection_secrets): fix an uninialized variable usage error
7563 2007-09-26 Dan Williams <dcbw@redhat.com>
7565 * libnm-util/nm-setting.c
7566 - (setting_vpn_properties_update_secrets): implement so VPN secrets
7567 actually get updated when the user enters them
7569 2007-09-26 Dan Williams <dcbw@redhat.com>
7571 * libnm-glib/nm-vpn-plugin.c
7572 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
7574 2007-09-26 Dan Williams <dcbw@redhat.com>
7576 * include/NetworkManagerVPN.h
7577 - Add a NEED_AUTH state
7579 * src/vpn-manager/nm-vpn-connection.c
7580 - Implement the NEED_AUTH state. First ask the VPN service plugin if
7581 the connection needs secrets, and if so, then ask the settings
7582 service to fill in the secrets. Then start the connection.
7584 2007-09-26 Dan Williams <dcbw@redhat.com>
7586 * src/vpn-manager/nm-vpn-manager.c
7587 - (new_vpn_error, impl_vpn_manager_connect): set errors
7589 2007-09-26 Dan Williams <dcbw@redhat.com>
7591 * introspection/nm-vpn-plugin.xml
7592 libnm-glib/nm-vpn-plugin.c
7593 libnm-glib/nm-vpn-plugin.h
7594 - (impl_vpn_plugin_need_secrets): implement a call that should return
7595 the name of the NMSetting in an NMConnection that may require
7596 secrets specific to that VPN plugin
7598 2007-09-26 Dan Williams <dcbw@redhat.com>
7602 - (nm_manager_get_connection_secrets): make static, unused outside
7604 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
7606 2007-09-26 Tambet Ingo <tambet@gmail.com>
7608 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
7610 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
7611 unreference the connection.
7613 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
7614 passing properties hash and routes string list, pass NMConnection (in hashed form).
7616 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
7617 as GSList, no need to copy stuff around anymore.
7618 (nm_vpn_connection_activate): Update the plugin activation method.
7620 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
7621 routes argument to GSList.
7623 2007-09-26 Tambet Ingo <tambet@gmail.com>
7625 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
7626 state and try to get the secrets.
7628 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
7629 connections from NMManager and let the device to choose the best from the list.
7630 Since the connection list is sorted by system ones first and user ones later,
7631 the devices still prefer system connections like they did before.
7632 (deactivate_old_device): Implement. When a device starts activation, we have a
7633 policy (for now at least) to deactivate any other device that might be either
7634 active or still activating.
7636 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
7637 It's set on construction, there will be no other way to access it.
7639 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
7640 device events and drive the device, not the other way around.
7642 * src/nm-device-802-3-ethernet.c: Ditto.
7644 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
7645 sent along, pass it on to virtual functions.
7647 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
7648 for now, but should really be public instead of nm_device_get_iface() since iface
7649 is a property of the DeviceInterface, not Device.
7650 (impl_device_activate): Don't touch NMManager!
7652 2007-09-26 Jürg Billeter <j@bitron.ch>
7654 * initscript/paldo/NetworkManager.in:
7655 * initscript/paldo/NetworkManagerDispatcher.in:
7656 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
7657 (nm_system_flush_loopback_routes): update paldo backend
7659 2007-09-26 Tambet Ingo <tambet@gmail.com>
7661 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
7662 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
7663 which means none of the devices get brought down properly, which in turn leaves
7664 DHCP client running.
7666 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
7667 (supplicant_connection_timeout_cb): Ditto.
7669 2007-09-25 Dan Williams <dcbw@redhat.com>
7672 - (device_activation_go): small hack to work around race when
7673 activating deferred connections; should solve this in a better way
7675 2007-09-25 Dan Williams <dcbw@redhat.com>
7677 * introspection/nm-device.xml
7678 libnm-glib/nm-device.c
7679 libnm-glib/nm-device.h
7680 - Add 'Carrier' property to exported NMDevice objects
7682 * src/nm-device-interface.h
7683 src/nm-device-interface.c
7685 - Add a 'carrier' property to internal NMDevice objects
7687 2007-09-25 Dan Williams <dcbw@redhat.com>
7689 * src/nm-device-802-11-wireless.c
7690 - (ap_auth_enforced): also return the encryption status of the AP so
7691 that callers can differentiate easily between unencrypted APs
7692 and encrypted ones, in addition to whether the AP has an
7694 - (link_timeout_cb, supplicant_connection_timeout_cb,
7695 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
7696 previously would request secrets from unencrypted APs at times
7698 2007-09-25 Dan Williams <dcbw@redhat.com>
7701 - (nm_manager_update_state): new function; updates state and emits
7702 appropriate signals ensuring a state-change signal for the same state
7703 never gets emitted twice in a row.
7704 - (manager_device_state_changed): handle more device state to get a
7705 better picture of the overall NM state
7707 2007-09-25 Dan Williams <dcbw@redhat.com>
7709 * libnm-glib/nm-settings.c
7710 libnm-glib/nm-settings.h
7711 - (new_error -> nm_settings_new_error): make public so that subclasses
7712 can use the same error domain. Also pass a valid error code to
7713 g_error_new_literal() so that libdbus doesn't assert when converting
7714 the GError into a DBusError
7715 - (impl_settings_list_connections, impl_connection_settings_get_id,
7716 impl_connection_settings_get_settings,
7717 impl_connection_settings_get_secrets): use new error creator
7720 2007-09-25 Dan Williams <dcbw@redhat.com>
7722 * src/NetworkManager.c
7723 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
7725 2007-09-25 Dan Williams <dcbw@redhat.com>
7727 * src/supplicant-manager/nm-supplicant-manager.c
7728 - (poke_supplicant_cb, nm_supplicant_manager_init,
7729 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
7730 nm_supplicant_manager_startup): when the supplicant isn't running,
7731 try to start it periodically via system bus activation. Fixes
7732 a problem where if wpa_supplicant goes away, NM gets stuck waiting
7733 for the supplicant to come back
7735 2007-09-25 Dan Williams <dcbw@redhat.com>
7737 Ensure that old activation requests are forgotten about; previously
7738 hitting Cancel in the password dialog would deactivate whatever device
7739 that password was requested for, even if that wasn't the currently
7740 activating connection.
7744 - (nm_manager_get_connection_secrets): track the pending call
7745 object so it can be canceled later if needed
7746 - (nm_manager_cancel_get_connection_secrets): cancel a pending
7747 GetSecrets call for a particular connection
7749 * src/nm-activation-request.c
7750 - (dispose): cancel any outstanding GetSecrets calls on the
7753 2007-09-25 Dan Williams <dcbw@redhat.com>
7755 * src/NetworkManagerPolicy.c
7756 - (nm_policy_device_change_check): handle devices that have a
7757 deferred activation. These devices are not really active _yet_,
7758 but need to be treated as such here. Don't interrupt them
7761 * src/nm-device-interface.c
7762 - (impl_device_activate): handle devices that have a deferred activation
7763 like activating or active devices. When multiple active devices
7764 get committed, the device shouldn't be deactivated until the
7765 connection details are available to avoid DoS and such. Currently,
7766 any active, activating, or deferred activation device is deactivated
7767 here before starting the new activation request.
7769 2007-09-25 Dan Williams <dcbw@redhat.com>
7771 Properly re-query secrets from the settings daemon when stuff fails.
7773 * src/nm-device-802-11-wireless.c
7774 - (ap_auth_enforced): handle static WEP correctly here by differentiating
7775 between Shared Key and Open System auth modes
7776 - (link_timeout_cb, supplicant_connection_timeout_cb,
7777 real_act_stage4_ip_config_timeout): clear existing secrets and
7778 request new ones when something fails due to a suspected wrong key
7779 - (real_act_stage2_config): fix for new request_new argument to
7780 nm_manager_get_connection_secrets()
7784 - (nm_manager_get_connection_secrets): return error status; pass
7785 new request_new argument on to the settings daemon
7787 * introspection/nm-settings-connection.xml
7788 - New 'request_new' argument to the GetSecrets call that hints to the
7789 settings daemon to ask the user for completely new secrets
7791 * libnm-glib/nm-settings.c
7792 libnm-glib/nm-settings.h
7793 - (impl_connection_settings_get_secrets): handle new 'request_new'
7796 2007-09-25 Dan Williams <dcbw@redhat.com>
7798 * libnm-util/nm-connection.c
7799 libnm-util/nm-connection.h
7800 - (nm_connection_clear_secrets): new function; clear secrets out of
7801 each NMSetting in an NMConnection
7803 * libnm-util/nm-setting.h
7804 libnm-util/nm-setting.c
7805 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
7806 secrets out of an NMSetting
7807 - (nm_setting_connection_new, nm_setting_ip4_config_new,
7808 nm_setting_wired_new, nm_setting_wireless_new,
7809 nm_setting_wireless_security_new, nm_setting_ppp_new,
7810 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
7811 to default handler default_setting_clear_secrets()
7813 2007-09-25 Dan Williams <dcbw@redhat.com>
7815 * src/nm-activation-request.c
7816 src/nm-activation-request.h
7817 - (nm_act_request_is_deferred): new function
7819 2007-09-24 Dan Williams <dcbw@redhat.com>
7821 * src/nm-device-802-11-wireless.c
7822 - (activation_success_handler): update signal strength immediately
7825 2007-09-24 Dan Williams <dcbw@redhat.com>
7827 * libnm-util/nm-setting.c
7828 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
7830 2007-09-24 Dan Williams <dcbw@redhat.com>
7832 * src/NetworkManagerPolicy.c
7833 - (nm_policy_auto_get_best_device): don't interrupt activation of a
7834 device by deactivating it because it doesn't have a "best connection".
7835 Since autoconnect=False connections aren't automatically chosen,
7836 NM would interrupt activation of such a connection because it
7837 would never be "best" due to autoconnect=False.
7839 2007-09-24 Dan Williams <dcbw@redhat.com>
7842 - (nm_manager_get_connection_secrets): Add a long timeout so the user
7843 actually has some time to enter a key before the GetSecrets call
7846 2007-09-24 Dan Williams <dcbw@redhat.com>
7848 * introspection/nm-manager.xml
7850 - (impl_manager_legacy_state): fix 'state' method call return value
7852 2007-09-24 Matthias Clasen <mclasen@redhat.com>
7854 * test/Makefile.am: Install nm-tool
7856 2007-09-24 Dan Williams <dcbw@redhat.com>
7858 Patch from Ross Burton <ross@burtonini.com>
7861 callouts/nm-dhcp-client-action.c
7863 src/vpn-manager/nm-vpn-connection.c
7864 libnm-glib/libnm-glib-test.c
7867 2007-09-24 Dan Williams <dcbw@redhat.com>
7869 * libnm-util/nm-utils.h
7870 libnm-util/nm-utils.c
7871 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
7874 2007-09-23 Dan Williams <dcbw@redhat.com>
7876 * vpn-daemons/vpnc/properties/nm-vpnc.c
7877 - Update for new VPN properties API bits; instead of passing around
7878 a lot of random things, everything goes into the NMConnection
7881 2007-09-23 Dan Williams <dcbw@redhat.com>
7883 * libnm-util/nm-setting.c
7884 - Correctly dispose of settings objects if creating them from a hash
7887 2007-09-23 Dan Williams <dcbw@redhat.com>
7889 * libnm-util/nm-setting.c
7890 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
7891 the hash table in a standard manner. Clients of libnm-util should
7892 only call g_hash_table_remove_all(), never destroy the hash table
7895 2007-09-22 Dan Williams <dcbw@redhat.com>
7897 * src/nm-device-802-11-wireless.c
7898 - (real_bring_up): update signal strength every 6 seconds, not 2. No
7899 real reason to do it so often, and reduces wakeups for clients.
7901 2007-09-21 Dan Williams <dcbw@redhat.com>
7903 * src/nm-device-802-11-wireless.c
7904 - (build_supplicant_config): wpa_supplicant requires the option
7905 key_mgmt=NONE for unencrypted networks
7906 - (real_act_stage2_config): clarify log message on activation
7908 2007-09-21 Dan Williams <dcbw@redhat.com>
7910 * test/nm-supplicant-test.c
7912 - Remove supplicant test binary; no longer applicable
7914 2007-09-21 Dan Williams <dcbw@redhat.com>
7916 * src/supplicant-manager/nm-supplicant-manager.c
7917 - (nm_supplicant_manager_init): poke the supplicant at startup to
7918 activate it on the system bus
7920 2007-09-20 Dan Williams <dcbw@redhat.com>
7922 * initscript/RedHat/NetworkManager.in
7923 - dhcdbd is no longer used, so don't try to start it from the initscripts
7925 2007-09-20 Dan Williams <dcbw@redhat.com>
7928 - (nm_device_is_activating): work around a race between auto-activation
7929 and the user activating the same device that is being auto-activated
7931 2007-09-20 Dan Williams <dcbw@redhat.com>
7933 * src/nm-device-interface.c
7934 - (impl_device_activate): until multiple active device support lands,
7935 ensure only one device can be active at a time
7937 2007-09-20 Dan Williams <dcbw@redhat.com>
7939 * src/supplicant-manager/nm-supplicant-config.c
7940 src/supplicant-manager/nm-supplicant-config.h
7941 - (nm_supplicant_config_add_option): hide secrets from system logs
7943 2007-09-20 Dan Williams <dcbw@redhat.com>
7945 * src/NetworkManagerPolicy.c
7946 - (nm_policy_device_change_check): re-enable the wireless device change
7947 checking code; insted of checking for SSIDs, check for the same
7950 2007-09-20 Dan Williams <dcbw@redhat.com>
7952 * src/nm-device-802-11-wireless.c
7953 - (supplicant_iface_connection_state_cb_handler): don't use the card's
7954 composite link state when determining when to start the disconnection
7955 timer; that link state is already based on the supplicant interface's
7956 status which is exactly what's already being examined, plus the link
7957 state is a conglomeration of various things that we don't want here
7959 2007-09-20 Dan Williams <dcbw@redhat.com>
7961 * libnm-glib/nm-access-point.c
7962 - (handle_property_changed): strength is a UCHAR
7964 2007-09-20 Dan Williams <dcbw@redhat.com>
7966 * src/supplicant-manager/nm-supplicant-config.c
7967 - (nm_supplicant_config_add_setting_wireless_security): uppercase
7968 string list keywords too since that's what wpa_supplicant wants
7970 2007-09-20 Dan Williams <dcbw@redhat.com>
7972 * libnm-util/nm-setting.c
7973 - (convert_strv_to_slist): dupe the values in the list because since
7974 the list is a boxed value, it'll get destroyed when it's container
7975 (like a hash table or whatever) gets destroyed
7977 2007-09-20 Tambet Ingo <tambet@gmail.com>
7979 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
7982 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
7984 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
7985 just use (g_object_set_data_full).
7987 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
7988 that NMSettingVPN->routes is a GSList, convert it to char **.
7989 (nm_vpn_connection_ip4_config_get): Free routes when done.
7990 (nm_vpn_connection_activate): Ditto.
7992 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
7993 (real_act_stage2_config): Use defined setting names.
7995 2007-09-20 Dan Williams <dcbw@redhat.com>
7997 * src/nm-device-802-11-wireless.c
8000 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8001 so that the device can be deactivated if secrets are wrong
8003 2007-09-20 Dan Williams <dcbw@redhat.com>
8005 * introspection/nm-settings-connection.xml
8006 libnm-glib/nm-settings.c
8007 libnm-glib/nm-settings.h
8008 - Make GetSecrets asynchronous on the server side
8010 2007-09-20 Dan Williams <dcbw@redhat.com>
8014 - (nm_device_activate): actually check if a given connection
8015 exists before assuming it doesn't
8017 2007-09-20 Tambet Ingo <tambet@gmail.com>
8019 * libnm-util/nm-connection.c (register_default_creators): Use defined
8020 setting names. Register NMSettingVPN and NMSettingVPNProperties.
8022 * libnm-util/nm-setting.c: Define property name strings, use them.
8023 Implement NMSettingVPN and NMSettingVPNProperties settings.
8024 Implement NM_S_TYPE_GVALUE_HASH.
8025 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8026 (setting_connection_verify): Rename 'devtype' property to 'type'.
8028 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8031 * src/vpn-manager/nm-vpn-service.c: Ditto.
8033 * src/vpn-manager/nm-vpn-connection.c: Ditto.
8035 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8036 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8038 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8039 names. NMSettingConnection->devtype got renamed to 'type'.
8041 * src/nm-device-802-3-ethernet.c (find_best_connection):
8042 (real_get_best_connection): Ditto.
8044 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8046 * libnm-glib/nm-vpn-manager.[ch]: Update.
8048 2007-09-19 Dan Williams <dcbw@redhat.com>
8050 * src/NetworkManagerAP.c
8051 src/NetworkManagerAP.h
8052 introspection/nm-access-point.xml
8053 - Change strength-changed signal into a properties-changed signal
8054 for all properties, not just strength. Export that signal over dbus
8055 so listeners don't have to poll NM for changes.
8056 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8057 get exported over D-Bus, so break up the logic and let other bits
8058 decided when to export the AP
8059 - (nm_ap_new_from_ap): remove, unused
8061 * src/nm-device-802-11-wireless.c
8062 - (merge_scanned_ap): only export APs that are actually on the device
8063 list, not every AP created internally
8065 * libnm-glib/nm-access-point.c
8066 libnm-glib/nm-access-point.h
8067 - Cache properties internally and only hit DBus when needed. Get
8068 property updates from NM signals
8070 2007-09-16 Dan Williams <dcbw@redhat.com>
8072 * libnm-util/nm-connection.c
8073 libnm-util/nm-connection.h
8074 - (nm_connection_for_each_setting_value): new function; iterate over
8075 each setting's value and call a user-provided function with details
8078 * libnm-util/nm-setting.c
8079 libnm-util/nm-setting.h
8080 - (nm_setting_enumerate_values): new function; enumerate the values
8081 of a specific NMSetting subclass for a user-provided function with
8082 details about that value
8083 - Change wep_tx_keyidx to a uint32
8084 - Create settings value tables for each setting defining their type,
8085 key name, offset into the NMSetting subclass' structure, and whether
8086 they are required and/or a secret
8087 - (nm_setting_populate_from_hash): generic function to populate an
8088 NMSetting from a GHash table, make all settings use it
8089 - (nm_setting_hash): generic function to derive a GHashTable from
8090 an NMSetting object, make all settings use it
8092 2007-09-14 Dan Williams <dcbw@redhat.com>
8094 Remove unused stuff in libnm-util
8097 libnm-util/Makefile.am
8098 libnm-util/cipher-private.h
8099 libnm-util/cipher-wep-ascii.c
8100 libnm-util/cipher-wep-ascii.h
8101 libnm-util/cipher-wep-hex.c
8102 libnm-util/cipher-wep-hex.h
8103 libnm-util/cipher-wep-passphrase.c
8104 libnm-util/cipher-wep-passphrase.h
8105 libnm-util/cipher-wpa-psk-hex.c
8106 libnm-util/cipher-wpa-psk-hex.h
8107 libnm-util/cipher-wpa-psk-passphrase.c
8108 libnm-util/cipher-wpa-psk-passphrase.h
8111 libnm-util/dbus-helpers.c
8112 libnm-util/dbus-helpers.h
8113 libnm-util/gnome-keyring-md5.c
8114 libnm-util/gnome-keyring-md5.h
8117 src/nm-device-802-11-wireless.c
8118 test/libnm-util/Makefile.am
8119 test/libnm-util/test-ciphers.c
8120 test/libnm-util/test-dbus-helpers.c
8121 test/libnm-util/test-inputs.h
8124 2007-09-14 Dan Williams <dcbw@redhat.com>
8126 * libnm-util/dbus-method-dispatcher.c
8127 libnm-util/dbus-method-dispatcher.h
8130 2007-09-14 Dan Williams <dcbw@redhat.com>
8132 Implement deferred activation support in the device class.
8134 * src/nm-device-interface.c
8135 src/nm-device-interface.h
8136 - (nm_device_interface_activate): take more arguments to support
8137 deferred activation; callers must pass one of (connection) OR
8138 (service_name, connection_path)
8139 - (impl_device_activate): connection validation is punted to the device
8140 to be able to handle deferred activation. Yes, this means errors
8141 don't get returned from the Activate() dbus call, and yes, that
8142 should be fixed somehow later.
8146 - (clear_act_request): clear additional deferred activation stuff too
8147 - (deferred_activation_timeout_cb): new function; clean up when
8148 deferred activation times out.
8149 - (deferred_activation_start_cb): new function; when the connection
8150 finally becomes available, start device activation
8151 - (nm_device_activate): attach to the right signals of the activation
8152 request if we need to defer activation until the connection is valid
8154 * src/NetworkManagerPolicy.c
8155 - (nm_policy_device_change_check): update for additional arguments
8156 required for nm_device_interface_activate(). Pass NULL for these
8157 though because this function already knows exactly which
8160 2007-09-14 Dan Williams <dcbw@redhat.com>
8162 Implement deferred activation handling in the NMActRequest class. When a
8163 client wants to activate a device but must create the NMConnection details
8164 on the fly, there likely hasn't been enough time yet for NM to receive the
8165 new connection signal and grab all the connection details. So the
8166 activation is deferred (and bounded by a timer) for a while, and if the
8167 connection appears within the window, it is activated.
8169 * src/nm-activation-request.c
8170 src/nm-activation-request.h
8171 - (nm_act_request_class_init): two new signals to support deferred
8172 activation, to allow the listener to handle both timeout and success
8173 - (nm_act_request_new_deferred): new function, starts the deferred
8174 activation timeout handler and listens to the NMManager for
8175 new-connection signals to notice when the connection comes in
8177 2007-09-14 Dan Williams <dcbw@redhat.com>
8181 - (nm_manager_get_connection_service_name,
8182 nm_manager_get_connection_dbus_path): get details about a connection
8183 known internally by the NMManager
8184 - (nm_manager_class_init): fix connection add/remove signal marshalers
8185 because NMConnection is now a GObject subclass
8186 - Use constant for the gobject data tag used on NMConnection objects for
8187 storing the associated DBusGProxy
8189 2007-09-14 Dan Williams <dcbw@redhat.com>
8194 src/supplicant-manager/Makefile.am
8195 src/dhcp-manager/Makefile.am
8196 src/backends/Makefile.am
8197 src/named-manager/Makefile.am
8198 src/ppp-manager/Makefile.am
8199 src/vpn-manager/Makefile.am
8200 test/libnm-util/Makefile.am
8201 test/test-common/Makefile.am
8202 - Remove utils/; it was unused
8204 2007-09-13 Dan Williams <dcbw@redhat.com>
8206 * libnm-glib/nm-vpn-manager.h
8207 libnm-glib/nm-vpn-manager.c
8208 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8210 2007-09-13 Dan Williams <dcbw@redhat.com>
8212 * src/nm-device-802-3-ethernet.c
8213 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8214 netlink monitor carrier signals on dispose, not bring down. The
8215 carrier signals should be handled over the entire lifetime of the
8216 device anyway, not created/destroyed on up or down.
8218 2007-09-13 Dan Williams <dcbw@redhat.com>
8220 * libnm-glib/nm-device.c
8221 libnm-glib/nm-device.h
8222 - (nm_device_activate): take a connection object path rather than an
8223 NMConnection because NMConnection isn't exported over D-Bus and
8224 therefore it dbus-glib can't automatically get an object path from it
8226 2007-09-13 Dan Williams <dcbw@redhat.com>
8228 * libnm-util/nm-setting.c
8229 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8231 2007-09-13 Tambet Ingo <tambet@gmail.com>
8233 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8235 2007-09-12 Tambet Ingo <tambet@gmail.com>
8237 * src/vpn-manager/nm-vpn-connection.[ch]:
8238 * src/vpn-manager/nm-vpn-manager.[ch]:
8239 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
8240 dbus-glib, GObjects, signals etc.
8242 * libnm-glib/nm-vpn-manager.[ch]:
8243 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8244 so much, rewrite these too.
8246 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8247 the new introspection files.
8249 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8251 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8252 the header with the same name from libnm-utils.
8254 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8256 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8258 * introspection/nm-vpn-plugin.xml: Implement.
8260 * introspection/nm-vpn-connection.xml: Implement.
8262 * introspection/nm-vpn-manager.xml: Implement.
8264 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8265 the named manager argument, it can just as easily get it as the caller.
8266 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8268 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8270 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8272 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8275 * libnm-util/nm-connection.c: Ditto.
8277 * src/NetworkManagerMain.h: Remove, it's finally empty.
8279 * configure.in: Remove utils/ from build.
8281 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8282 of hard-coded strings.
8284 * utils/: Move it over to libnm-util.
8286 * test/Makefile.am: Link against libnm-util now that util/ is gone.
8288 * dispatcher-daemon/Makefile.am: Ditto.
8290 * src/Makefile.am: Ditto.
8292 2007-09-12 Dan Williams <dcbw@redhat.com>
8294 Wireless connections can be made with config data from the applet now.
8298 * src/supplicant-manager/nm-supplicant-config.h
8299 src/supplicant-manager/nm-supplicant-config.c
8300 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8301 - (nm_supplicant_config_add_setting_wireless,
8302 nm_supplicant_config_add_setting_wireless_security): new functions;
8303 add key/value pairs from the settings objects to the supplicant
8306 * src/nm-device-802-11-wireless.c
8307 - (cull_scan_list): fix check to not prune currently associated AP
8308 - (build_supplicant_config, real_act_stage2_config): call the functions
8309 of the NMSupplicantConfig that parse settings objects rather than
8310 doing it manually here
8312 2007-09-12 Dan Williams <dcbw@redhat.com>
8314 * src/supplicant-manager/nm-supplicant-interface.c
8315 src/supplicant-manager/nm-supplicant-marshal.list
8316 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8317 "connection-error" signal arguments should be STRING not CHAR
8319 2007-09-12 Dan Williams <dcbw@redhat.com>
8321 * src/NetworkManagerUtils.c
8322 src/NetworkManagerUtils.h
8323 - (nm_utils_hexstr2bin): new function
8325 2007-09-11 Dan Williams <dcbw@redhat.com>
8328 - (connection_get_settings_cb): emit connection-added signal
8329 - (connection_removed_cb): uncomment bits for system settings service,
8330 send connection-removed when appropriate
8331 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8332 the stack by trying to g_object_set_data() on something that's
8333 not a GObject; handle case where settings service returns
8334 empty settings hash table
8336 2007-09-11 Dan Williams <dcbw@redhat.com>
8338 * src/NetworkManagerPolicy.c
8339 - (connection_added, connection_removed): trigger device change checks
8340 on connection changes
8342 2007-09-11 Dan Williams <dcbw@redhat.com>
8344 * src/nm-activation-request.c
8345 - (connection_secrets_updated_cb): fix c&p error in signal emission
8347 2007-09-11 Dan Williams <dcbw@redhat.com>
8349 * src/nm-device-802-11-wireless.c
8350 - (real_connection_secrets_updated): fix erroneous check
8352 2007-09-11 Dan Williams <dcbw@redhat.com>
8354 * introspection/nm-device.xml
8355 libnm-glib/nm-device.c
8356 libnm-glib/nm-device.c
8357 - Fix Activate call argument borkage; Activate takes 3 arguments
8359 2007-09-11 Dan Williams <dcbw@redhat.com>
8361 * libnm-glib/nm-access-point.c
8362 libnm-glib/nm-access-point.c
8363 - (nm_access_point_get_frequency): now returns guint32 to match
8364 property change on 2007-09-10
8366 2007-09-11 Dan Williams <dcbw@redhat.com>
8368 * src/nm-device-802-11-wireless.c
8369 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8370 somewhere defines 'index' and I missed this one when I fixed the
8371 shadow declaration errors earlier
8373 2007-09-11 Dan Williams <dcbw@redhat.com>
8375 * libnm-util/nm-connection.c
8376 - (nm_connection_update_secrets, need_secrets_check): move
8377 802-11-wireless-security need_secrets checks to the setting object
8378 itself, where it belongs
8380 * libnm-util/nm-setting.c
8381 libnm-util/nm-setting.h
8382 - (nm_setting_need_secrets): new function
8383 - (setting_wireless_security_verify,
8384 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8385 - (setting_wireless_security_need_secrets): mostly copy code over
8386 from nm-connection.c
8388 2007-09-11 Dan Williams <dcbw@redhat.com>
8390 * libnm-util/nm-setting.c
8391 libnm-util/nm-setting.h
8392 - (nm_setting_update_secrets): new function; add a virtual function that
8393 subclasses can implement to update their secrets
8394 - (setting_wireless_security_update_secrets): implement that function
8395 for the 802-11-wireless-security subclass
8397 * libnm-util/nm-connection.c
8398 libnm-util/nm-connection.h
8399 - (nm_connection_update_secrets): update secrets for a Setting and
8400 emit a signal on success
8405 - (connection_get_settings_cb): enable system settings bits
8406 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8407 to request secrets from the settings dbus service and to
8408 push those secrets to the NMConnection itself
8410 * src/nm-activation-request.c
8411 src/nm-activation-request.h
8412 - Attach to the 'secrets-updated' signal of the NMConnection that's
8413 currently being activated, and proxy that signal to other listeners.
8414 Goes through the activation request because the activation request
8415 is the thing that manages the lifetime of the NMConnection that's
8418 * src/nm-device-802-11-wireless.c
8419 - (real_connection_secrets_updated): implement the connection secrets
8420 updated notification and restart activation when secrets are
8422 - (real_act_stage2_config): request secrets from the settings dbus
8423 service if secrets are needed
8427 - (clear_act_request, nm_device_activation_cancel,
8428 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8429 where the activation request is cleared
8430 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8431 updated secrets signal of activation request and add a function
8432 that subclasses can override to handle it easily
8434 2007-09-11 Tambet Ingo <tambet@gmail.com>
8436 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8437 removal of NetworkManagerAPList.
8439 2007-09-10 Dan Williams <dcbw@redhat.com>
8441 * src/NetworkManagerAP.c
8442 src/NetworkManagerAP.h
8443 introspection/nm-access-point.xml
8444 - Change 'freq' property to a guint32 instead of a double since we
8445 weren't using the floating point bits anyway
8447 2007-09-10 Dan Williams <dcbw@redhat.com>
8449 * NetworkManagerAP.c
8451 NetworkManagerPolicy.c
8452 NetworkManagerSystem.c
8453 NetworkManagerUtils.c
8454 NetworkManagerUtils.h
8455 nm-device-802-11-wireless.c
8456 nm-device-802-3-ethernet.c
8459 vpn-manager/nm-dbus-vpn.c
8460 - Warning fixes; casts and removal of unused variables
8462 2007-09-10 Dan Williams <dcbw@redhat.com>
8464 * include/NetworkManager.h
8465 - Kill NMNetworkType; AP types don't matter any more
8467 * src/NetworkManagerAPList.c
8468 src/NetworkManagerAPList.h
8470 - Kill; NMAccessPointList has outlived it's usefulness
8472 * src/NetworkManagerAP.c
8473 src/NetworkManagerAP.h
8474 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8475 functions; check if an NMConnection object is compatible with the
8477 - (freq_to_channel, channel_to_freq): utility functions for
8478 channel <-> frequency conversion
8482 - (nm_device_get_best_connection): pass the specific object around
8483 (which might be the object path of a specific AP to connect to).
8484 The get_best_connection() call should populate this on return
8485 if needed (wireless does).
8487 * src/nm-device-802-3-ethernet.c
8488 - (real_get_best_connection): handle specific_object argument
8490 * src/NetworkManager.c
8491 src/NetworkManagerMain.h
8492 - Remove unused includes
8494 * src/nm-device-802-11-wireless.c
8495 src/nm-device-802-11-wireless.h
8496 - Convert the ap_list into a GSList from an NMAccessPointList
8497 - No need for caching the 'activation_ap' since this is now determined
8498 from the specific_object of the activation request, which is
8499 populated from the get_best_connection() call or from a user request
8500 - (nm_device_802_11_wireless_update_bssid): fix warning
8501 - (get_wireless_capabilities): fix error message format arguments
8502 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
8503 - (find_best_connection, real_get_best_connection): implement
8504 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
8505 move here from NetworkManagerAPList
8506 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
8507 - (real_act_stage1_prepare): just ensure an AP exists, connection is
8508 already verified earlier
8509 - (real_act_stage2_config): use nm_connection_need_secrets()
8511 * src/NetworkManagerPolicy.c
8512 - (nm_policy_auto_get_best_device): handle specific objects
8513 - (create_connection): remove; automatic connection creation functionality
8514 is handled by the Connection objects
8515 - (nm_policy_device_change_check): handle specific_object
8517 * libnm-util/nm-connection.c
8518 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
8520 2007-09-10 Dan Williams <dcbw@redhat.com>
8523 - (query_connections): fix uninitialized variable problem that caused
8525 - (nm_manager_add_device): take devices down on startup so that we can
8526 be assured that nm_device_is_up() won't short-circuit the init
8527 process. Hack until the is_up check gets split into two pieces
8528 that aren't behaviorally confusing.
8530 2007-09-09 Dan Williams <dcbw@redhat.com>
8532 * introspection/nm-device.xml
8533 - The 'Activate' method now takes 3 arguments, a service name for the
8534 settings service (user or system), the object path of the connection
8535 to activate, and the specific object to activate, if any
8537 * src/nm-device-interface.c
8538 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
8540 - (impl_device_activate): adapt to new Activate arguments; validate
8541 the service name and get the Connection object from the NMManager
8542 before starting to activate the device with the specified connection
8544 * src/nm-device-802-3-ethernet.c
8545 - (real_get_best_connection): find the best connection, or create a
8546 default one if no existing connections can be used
8548 * src/NetworkManagerPolicy.c
8549 - (nm_policy_auto_get_best_device): Get the device's best connection
8550 and only pick the device if it has one
8551 - (nm_policy_device_change_check): disable wireless bits for now until
8552 wireless get_best_connection() can be implemented (replacing "best_ap");
8553 don't create a default connection here as the device subclass will do
8558 - (nm_manager_get): make NMManager a singleton and expose the getter
8560 - Rework internal NMManager connection handling to use the same
8561 routines for both the system and user settings services. Most calls
8562 take a new NMConnectionType argument specifying either system or user
8564 - (nm_manager_get_connection_by_object_path): new function; get a
8565 connection keyed on its object path
8567 * src/NetworkManager.c
8568 - (main): use nm_manager_get()
8570 2007-09-09 Dan Williams <dcbw@redhat.com>
8574 - (nm_device_get_best_connection): new function; get best connection
8575 for the device at that time
8577 2007-09-09 Dan Williams <dcbw@redhat.com>
8579 * src/nm-device-interface.h
8580 - Add NMDeviceInterfaceError with an UnknownConnection error
8582 2007-09-09 Dan Williams <dcbw@redhat.com>
8584 Stupid mistake on my part; object path and interface for settings service
8585 and connection objects can be the same, only the service name must be
8586 different for the system and user settings services.
8588 * include/NetworkManager.h
8590 introspection/nm-settings-connection.xml
8591 introspection/nm-settings.xml
8592 libnm-glib/nm-settings.c
8593 - (nm_connection_settings_init, query_user_connections,
8594 new_connection_cb): Unify NetworkManagerSettings and Connection
8595 interface name and object path
8597 2007-09-06 Dan Williams <dcbw@redhat.com>
8599 * libnm-glib/nm-object.c
8600 - (nm_object_get_string_property, nm_object_get_object_path_property,
8601 nm_object_get_int_property, nm_object_get_uint_property,
8602 nm_object_get_boolean_property, nm_object_get_byte_property,
8603 nm_object_get_double_property, nm_object_get_byte_array_property):
8604 clear GValues after copying their contents, fixes memory leaks
8605 after every property access because dbus-glib copies the values
8606 from the DBusMessage into the GValue already.
8608 2007-09-06 Dan Williams <dcbw@redhat.com>
8610 * introspection/nm-access-point.xml
8611 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
8612 them to be. There's some magic property name parsing going on in
8613 dbus-glib that breaks up property names based on studly-caps and
8614 puts - between words.
8616 * libnm-glib/nm-access-point.c
8617 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
8620 2007-09-06 Dan Williams <dcbw@redhat.com>
8623 - (nm_manager_user_connections_destroy): clear the user connections hash
8624 table, don't destroy it
8625 - (finalize): only destroy the hash table on NMManager finalization
8627 2007-09-02 Dan Williams <dcbw@redhat.com>
8629 * include/NetworkManager.h
8630 libnm-glib/nm-settings.c
8631 - defines for the user settings daemon D-Bus bits
8633 * src/NetworkManager.c
8634 - Remove stuff that referred to the old NetworkManagerInfo service
8636 * src/vpn-manager/nm-dbus-vpn.h
8637 - Move old NMI defines to the only place they are used still
8639 * libnm-util/nm-connection.c
8640 libnm-util/nm-connection.h
8641 src/nm-activation-request.c
8642 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
8646 - Get connections and their settings from the user settings daemon
8647 at the appropriate times
8649 2007-09-02 Dan Williams <dcbw@redhat.com>
8651 * libnm-util/nm-setting.c
8652 - (nm_settings_verify): correct setting name is 'connection', not 'info'
8653 - (setting_wireless_hash): set the right value on the item
8655 2007-09-02 Dan Williams <dcbw@redhat.com>
8659 - Remove, no longer useful
8661 2007-08-30 Dan Williams <dcbw@redhat.com>
8664 src/NetworkManagerDbus.c
8665 src/NetworkManagerDbus.h
8666 src/vpn-manager/nm-dbus-vpn.c
8667 - Remove, no longer necessary. Move last bits to the only place its
8668 used, in nm-dbus-vpn.c
8670 * src/NetworkManagerAPList.c
8672 src/NetworkManager.c
8673 src/nm-device-802-11-wireless.c
8674 src/vpn-manager/nm-vpn-manager.c
8675 src/vpn-manager/nm-vpn-service.c
8676 src/NetworkManagerPolicy.c
8678 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
8679 that was message_is_error()
8681 2007-08-30 Dan Williams <dcbw@redhat.com>
8684 - Include config.h to get defines for endiannes (gnome.org #420216)
8686 2007-08-30 Dan Williams <dcbw@redhat.com>
8688 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
8690 * src/ppp-manager/Makefile.am
8691 - use -fPIC (gnome.org #471825)
8693 2007-08-29 Dan Williams <dcbw@redhat.com>
8695 * include/NetworkManager.h
8696 - Keep NMConnection object path in sync
8698 * libnm-glib/nm-settings.c
8699 libnm-glib/nm-settings.h
8700 - Break D-Bus object registration out of the init function, because
8701 every object that's exported over D-Bus needs to use the _same_
8702 DBusConnection. Otherwise, each object would get a different object
8703 path tree and wouldn't be callable.
8705 2007-08-29 Dan Williams <dcbw@redhat.com>
8707 * libnm-util/nm-setting.h
8708 libnm-util/nm-setting.c
8709 libnm-util/nm-connection.c
8710 src/NetworkManagerPolicy.c
8711 - 'info' settings object should be 'connection' says the spec
8712 at NetworkManagerConfigurationSpecification
8714 2007-08-29 Dan Williams <dcbw@redhat.com>
8716 * libnm-glib/nm-settings.c
8717 libnm-glib/nm-settings.h
8718 - make the dbus path a property of the object, and autogenerate it.
8719 It can't be composed of the 'id' field becuase that's not available
8720 yet during the GObject creation in nm_connection_settings_init()
8722 2007-08-29 Dan Williams <dcbw@redhat.com>
8724 * introspection/nm-settings-connection.xml
8725 introspection/nm-settings.xml
8726 - Service name -> NetworkManagerUserSettings because two services
8727 can't share part of the same path. I'm not really sure how we'll use
8728 the same code with the system-settings daemon...
8730 2007-08-28 Dan Williams <dcbw@redhat.com>
8732 * src/nm-device-interface.c
8733 src/nm-device-interface.h
8734 - Kill one more bit of NMData
8736 2007-08-28 Dan Williams <dcbw@redhat.com>
8738 * src/NetworkManagerSystem.h
8741 src/nm-hal-manager.c
8742 src/NetworkManager.c
8743 src/nm-device-802-11-wireless.c
8744 src/nm-hal-manager.h
8745 src/nm-device-802-3-ethernet.c
8746 src/vpn-manager/nm-vpn-service.h
8747 src/vpn-manager/nm-vpn-manager.c
8748 src/vpn-manager/nm-vpn-manager.h
8749 src/vpn-manager/nm-vpn-service.c
8750 src/nm-device-802-11-wireless.h
8751 src/NetworkManagerMain.h
8752 src/nm-device-802-3-ethernet.h
8753 src/backends/NetworkManagerGentoo.c
8754 src/backends/NetworkManagerPaldo.c
8755 src/backends/NetworkManagerFrugalware.c
8756 src/backends/NetworkManagerRedHat.c
8757 src/backends/NetworkManagerSlackware.c
8758 src/backends/NetworkManagerGeneric.c
8759 src/backends/NetworkManagerArch.c
8760 src/backends/NetworkManagerSuSE.c
8761 src/backends/NetworkManagerGeneric.h
8762 src/backends/NetworkManagerDebian.c
8765 2007-08-28 Dan Williams <dcbw@redhat.com>
8767 * src/NetworkManagerMain.h
8768 src/nm-device-802-11-wireless.c
8769 src/NetworkManager.c
8770 - Remove invalid AP list from NMData; need to rework this somewhat, but
8771 for now we should set the 'invalid' property on individual APs, and when
8772 we need to invalidate a whole ESS, set the 'invalid' on every member of
8775 2007-08-28 Dan Williams <dcbw@redhat.com>
8777 * src/NetworkManagerAP.c
8778 src/NetworkManagerAP.h
8779 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
8780 'autoconnect' property instead
8782 * src/NetworkManager.c
8783 src/NetworkManagerMain.h
8784 src/NetworkManagerPolicy.c
8785 src/NetworkManagerPolicy.h
8786 - Remove the 'allowed_ap_list', which should be replaced by
8787 NMConnection/NMSettings instead, since _those_ are the allowed
8788 things that NM can connect to
8790 * src/nm-device-802-11-wireless.c
8791 - Remove both allowed_ap_list usage and 'fallback' checking
8793 2007-08-28 Dan Williams <dcbw@redhat.com>
8796 src/named-manager/nm-named-manager.c
8797 src/named-manager/nm-named-manager.h
8798 src/NetworkManager.c
8799 src/vpn-manager/nm-vpn-manager.c
8800 src/NetworkManagerMain.h
8801 src/NetworkManagerSystem.c
8802 - Remove the named-manager object from NMData structure in preparation
8803 for NMData's timely death. Make the NMNamedManager the singleton that
8806 2007-08-28 Dan Williams <dcbw@redhat.com>
8808 Remove NMAPSecurity objects, they are replaced with flags on the APs for
8809 each AP's capabilities, and by NMConnection/NMSettings objects for user
8810 defined connections.
8812 * include/NetworkManager.h
8813 - Redefine 802.11 security properties. There are now device capabilities
8814 and AP flags and AP security flags. It was way to unclear before.
8817 src/nm-ap-security-leap.h
8818 src/nm-ap-security-leap.c
8819 src/nm-ap-security-wpa-eap.c
8820 src/nm-ap-security-wpa-eap.h
8821 src/nm-ap-security-private.h
8822 src/nm-ap-security-wpa-psk.c
8823 src/nm-ap-security-wpa-psk.h
8824 src/nm-ap-security-wep.c
8825 src/nm-ap-security-wep.h
8826 src/nm-ap-security.c
8827 src/nm-ap-security.h
8828 - Removed, to be replaced with NMConnection/NMSettings objects
8832 - Removed, to be replaced by code that talks to the new info daemon
8833 interface and gets NMConnection/NMSettings objects
8835 * src/backends/NetworkManagerSuSE.c
8836 - Remove usage of NMAPSecurity; should be replaced by a system-level
8837 info-daemon that does the same thing but talks the new info-daemon
8840 * src/NetworkManagerAP.h
8841 src/NetworkManagerAP.c
8842 src/NetworkManagerAPList.c
8843 libnm-glib/libnm-glib-test.c
8844 - Remove usage of NMAPSecurity objects and adjust to new flags for
8847 * libnm-glib/nm-access-point.c
8848 libnm-glib/nm-access-point.h
8849 introspection/nm-access-point.xml
8851 - Adjust to new flags for AP security
8855 src/vpn-manager/nm-dbus-vpn.c
8856 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
8857 stuff which is the only place it's used
8859 * src/nm-device-interface.c
8860 src/nm-device-interface.h
8861 introspection/nm-device.xml
8862 src/nm-activation-request.c
8863 src/nm-activation-request.h
8865 - Add a new 'specific_object' argument that hints to NM what actual
8866 AP or other device-specific thing the connection should apply to.
8867 NMConnection objects can apply to more than one actual device/AP.
8869 * libnm-util/nm-connection.c
8870 * libnm-util/nm-connection.h
8871 - Add 'have_secrets" call stubs
8873 * libnm-util/cipher.h
8874 - Move NM_AUTH_TYPE_* defines here for now
8876 * src/nm-device-802-11-wireless.c
8877 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
8880 * src/NetworkManagerDbus.c
8881 * src/NetworkManagerPolicy.c
8882 - Remove usage of update_allowed_networks, should be pushing data in
8885 2007-08-27 Tambet Ingo <tambet@gmail.com>
8887 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
8888 dbus-glib frees it when the call is done.
8890 2007-08-26 Dan Williams <dcbw@redhat.com>
8892 * introspection/nm-device.xml
8893 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
8895 2007-08-26 Dan Williams <dcbw@redhat.com>
8897 * src/nm-device-802-3-ethernet.c
8898 - (constructor): move connection of interface-connected/disconnected
8899 signals here from real_bring_up(). Should be listening to netlink
8900 for carrier events no matter what the initial state of the device
8903 2007-08-26 Dan Williams <dcbw@redhat.com>
8905 * src/nm-netlink-monitor.c
8906 - (nm_netlink_monitor_class_init): fix marshalling types for
8907 interface-connected/interface-disconnected
8908 - (nm_netlink_monitor_event_handler): clean up carrier on/off
8911 2007-08-26 Dan Williams <dcbw@redhat.com>
8913 Convert to using interface indexes as the primary method of identifying
8914 devices inside NetworkManager. Indexes are (?) stable, but devices can
8915 be renamed at any time. Device object paths now refer to the device
8916 index rather than the name, and you can map those two manually if you like
8917 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
8918 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
8919 to use interface indexes rather than names.
8921 2007-08-26 Dan Williams <dcbw@redhat.com>
8923 * src/nm-netlink-monitor.h
8924 - Remove one last bit of wireless-event signal
8926 2007-08-26 Dan Williams <dcbw@redhat.com>
8928 * src/nm-netlink-monitor.c
8929 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
8930 don't need the 'wireless-event' signal anymore since that's all
8931 handled by wpa_supplicant
8933 2007-08-25 Dan Williams <dcbw@redhat.com>
8935 It's 2007. Remove support for drivers that don't support wireless scanning.
8938 include/NetworkManager.h
8939 src/NetworkManagerUtils.c
8940 src/NetworkManagerPolicy.c
8941 src/nm-device-802-11-wireless.c
8942 - Remove special handling for non-scanning devices and mark them
8943 as unsupported/unhandled
8945 2007-08-20 Dan Williams <dcbw@redhat.com>
8947 * src/nm-device-802-11-wireless.c
8948 src/nm-device-802-3-ethernet.c
8949 - (real_is_up): move device-specific tests before generic IFF_UP test,
8950 because when the card is pulled or the module removed, the device
8951 is already !IFF_UP and then device-specific cleanup (removing
8952 the supplicant interface, periodic checks, etc) never gets done
8954 2007-08-20 Dan Williams <dcbw@redhat.com>
8957 - (nm_manager_remove_device): bring device down before disconnecting
8958 signal handlers, so that the 'state' signal will get broadcast when
8959 the device enters the DOWN state
8960 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
8961 of states that cause the NMManager to recheck its state
8963 2007-08-20 Dan Williams <dcbw@redhat.com>
8965 * src/supplicant-manager/nm-supplicant-interface.c
8966 - (interface_disconnect_done): don't try to dispose of the net proxy
8967 when it may already have been disposed of
8969 2007-08-20 Dan Williams <dcbw@redhat.com>
8971 * src/nm-device-802-11-wireless.c
8972 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
8973 the SSID isn't available; this can happen when the card is pulled
8974 or the module unloaded, during the post-removal deactivation
8975 paths, when the ioctl returns ENODEV
8977 2007-08-20 Dan Williams <dcbw@redhat.com>
8979 * src/nm-device-802-11-wireless.c
8980 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
8981 frequency, and mode match. Applets are now responsible for grouping
8984 2007-08-20 Dan Williams <dcbw@redhat.com>
8986 * src/NetworkManagerAP.c
8987 * src/NetworkManagerAP.h
8988 - (nm_ap_print_self): new function
8990 * src/NetworkManagerAPList.c
8991 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
8994 2007-08-17 Dan Williams <dcbw@redhat.com>
8996 * src/nm-device-802-3-ethernet.c
8997 - (real_bring_down): don't try to dispose of stuff that might not
9000 2007-08-17 Dan Williams <dcbw@redhat.com>
9002 * src/NetworkManagerAP.c
9003 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9004 applet. This ensures that the case between the seen-bssids and
9005 the bssids reported by the driver match.
9007 2007-08-17 Dan Williams <dcbw@redhat.com>
9009 * src/nm-device-802-11-wireless.c
9010 - (device_cleanup): disconnect the interface in wpa_supplicant before
9011 we dispose of the interface proxy in NM
9013 2007-08-16 Dan Williams <dcbw@redhat.com>
9015 * libnm-glib/nm-client.c
9016 - (nm_client_init): create VPN connections hash table with key free
9018 - (proxy_vpn_connection_added): VPN connections hash table key should
9019 be a duplicated value, not the same memory address as the VPN
9020 connection name. This is because the VPN connection name could
9021 potentially be freed and set to something else during the lifetime
9022 of the NMVPNConnection object.
9024 2007-08-16 Tambet Ingo <tambet@gmail.com>
9026 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9027 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9028 with the file descriptors. Send a child setup function to change the pppd
9031 2007-08-15 Dan Williams <dcbw@redhat.com>
9033 * src/supplicant-manager/nm-supplicant-interface.c
9034 - (try_remove_iface): new function, ask wpa_supplicant to remove
9036 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9037 disposing of the NMSupplicantInterface. Otherwise weird stuff
9038 happens on hotplug if wpa_supplicant doesn't tear down and readd
9039 the interface internally
9041 2007-08-15 Dan Williams <dcbw@redhat.com>
9043 * src/nm-device-802-11-wireless.c
9044 - (real_bring_down): move most of this function into device_cleanup()
9045 so that it can be called from elsewhere
9046 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9047 and stuff on dispose. These would normally get cleaned up when
9048 the device is marked down and deactivated, but when the device is
9049 hot-unplugged, it's already down and real_down() never gets run
9051 2007-08-15 Dan Williams <dcbw@redhat.com>
9054 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9055 caused a reference leak on device for which NM requested a key
9057 2007-08-15 Dan Williams <dcbw@redhat.com>
9059 * libnm-glib/nm-client.c
9060 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9062 2007-08-15 Tambet Ingo <tambet@gmail.com>
9064 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9065 nothing is using it at the moment, but it'll be all useful and stuff later on.
9067 * libnm-util/nm-setting.h: Define NMSettingPPP.
9069 * libnm-util/nm-setting.c: Implement NMSettingPPP.
9071 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9073 * src/Makefile.am: Add ppp-manager to SUBDIRS.
9075 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9077 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9079 2007-08-14 Tambet Ingo <tambet@gmail.com>
9081 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9083 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9084 an issue with dbus-glib bindings generator. The issue is, the generated C caller
9085 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9086 name and different arguments and it won't compile anymore. To fix this, we now have
9087 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9088 that is new API + compatibility API and used by the daemon. The other,
9089 nm-manager-client.xml is only the new API without compatibility bits and is used
9090 by libnm-glib to make it compile.
9092 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9094 * src/nm-manager.c (impl_manager_legacy_sleep)
9095 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9096 interface functions for 0.6 branch.
9098 2007-08-14 Dan Williams <dcbw@redhat.com>
9100 * src/NetworkManagerAP.c
9101 - (nm_ap_new_from_properties): fix mistaken check of return value
9102 from memcmp (should expect 0)
9104 2007-08-14 Dan Williams <dcbw@redhat.com>
9106 (force-commit to fix wrong comment and partial commit of r2685; this
9107 commit actually applies to r2685)
9109 * src/NetworkManagerUtils.c
9110 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9111 ignores trailing nulls in the SSID to work around mismatches in
9112 expectations between WEXT and what the info-daemon passes back. The
9113 info-daemon would pass back the correct length, but due to the
9114 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9115 the device would always have an SSID + 1 depending on what versions
9116 of wpa_supplicant, the kernel, and NM you have. This was most often
9117 visible by just quitting the applet and relaunching, which caused
9118 NM to reassociated to the same network over again when reloading
9121 * src/NetworkManagerPolicy.c
9122 src/NetworkManagerUtils.h
9123 src/nm-device-802-11-wireless.c
9124 - Update for new parameter to nm_utils_same_ssid()
9126 2007-08-14 Dan Williams <dcbw@redhat.com>
9128 * src/NetworkManagerAP.c
9129 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
9130 I encountered a BSS that wasn't just hiding it's ESSID, it was
9131 setting the BSSID to all 0s. That confused the heck out of NM,
9132 plus it's useless and probably out-of-spec.
9134 2007-08-14 Dan Williams <dcbw@redhat.com>
9136 * callouts/Makefile.am
9137 src/dhcp-manager/nm-dhcp-manager.c
9138 src/dhcp-manager/nm-dhcp-manager.h
9139 src/dhcp-manager/Makefile.am
9140 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9142 2007-08-14 Dan Williams <dcbw@redhat.com>
9144 * src/dhcp-manager/nm-dhcp-manager.c
9145 - (dhclient_run): don't pass -x to dhclient until we figure out if
9146 it's really needed, get rid of unused xtra_args parameter
9148 2007-08-14 Dan Williams <dcbw@redhat.com>
9150 * include/NetworkManagerVPN.h
9151 src/vpn-manager/nm-dbus-vpn.c
9152 src/vpn-manager/nm-dbus-vpn.h
9153 src/vpn-manager/nm-vpn-act-request.c
9154 src/vpn-manager/nm-vpn-act-request.h
9155 src/vpn-manager/nm-vpn-service.c
9156 src/vpn-manager/nm-vpn-service.h
9157 libnm-glib/nm-vpn-connection.c
9158 libnm-glib/nm-vpn-connection.h
9159 libnm-glib/nm-client.h
9160 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
9161 NMVPNServiceState to clarify what they apply to
9162 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9163 NMVPNActStage -> NMVPNConnectionState for the same reason
9165 * libnm-glib/nm-client.c
9166 - Constant + type renames from above
9167 - Properly handle NameOwnerChanged/manager_running signals
9168 for NM service; only emit when state really changes
9169 - Use hash tables correctly so that the key (which was previously owned
9170 by the D-Bus message) now has the same lifetime as the value, since
9171 the key is now taken from the the NMVPNConnection itself. This
9172 really fixes the double-VPN names in the applet
9174 2007-08-13 Dan Williams <dcbw@redhat.com>
9176 Patch from Michael Biebl <biebl@debian.org>
9180 - Update for vpn-properties move
9182 2007-08-13 Dan Williams <dcbw@redhat.com>
9184 * libnm-glib/nm-client.c
9185 - Convert internal VPN connection tracking from a list to a hash table
9186 to easily avoid duplicates
9187 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9188 must be freed by the caller, like nm_client_get_devices()
9189 - (nm_client_remove_vpn_connection): don't let the removal signal
9190 leak through for NMVPNConnection objects that aren't actually
9192 - (manager_running): throw away VPN connection list when NM goes away,
9193 like with the device list
9195 2007-08-13 Dan Williams <dcbw@redhat.com>
9197 * src/dhcp-manager/nm-dhcp-manager.c
9198 - Stop any dhclient instance that might be already running for a
9199 particular interface before starting an NM spawned dhclient. Fixes
9200 dhclient processes left over if NM crashes, stuff like that.
9202 2007-08-13 Dan Williams <dcbw@redhat.com>
9204 * src/NetworkManagerAP.c
9205 - (finalize): don't try to g_array_free (NULL, ...), which happened
9206 when the AP wasn't broadcasting it's SSID
9208 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
9210 * include/NetworkManager.h: added DBus path for connection settings.
9212 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9213 nm_connection_settings_signal_updated,
9214 nm_connection_settings_signal_removed): new functions to wrap the
9216 (nm_connection_settings_init): register GObject with DBus.
9217 (nm_connection_settings_get_dbus_object_path): new function.
9219 * libnm-glib/Makefile.am: added libnmutil to link flags.
9221 2007-08-13 Tambet Ingo <tambet@gmail.com>
9223 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9225 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9226 libnm_glib directory got merged with libnm-glib/.
9228 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9230 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9231 Rename the library from libnm-glib to libnm_glib to maintain the library API
9232 compatibility with 0.6 branch.
9234 * Makefile.am: Remove gnome/ SUBDIR.
9236 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9238 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9240 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9242 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9244 Remove checks for wpa_supplicant binary, it's used over dbus.
9245 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9247 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9248 Link the binaries with libnm_glib.la.
9250 2007-08-12 Dan Williams <dcbw@redhat.com>
9252 * src/NetworkManagerPolicy.c
9253 - (nm_policy_device_change_check): fix policy to deactivate old device
9254 before activating new one, at least until the multiple active
9255 device support lands
9257 2007-08-12 Dan Williams <dcbw@redhat.com>
9259 * src/NetworkManagerPolicy.c
9260 - (nm_policy_new): hook up to connection-added / connection-removed
9261 signals instead of connections-changed
9263 2007-08-12 Dan Williams <dcbw@redhat.com>
9265 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
9266 Robert Frank <rfrank@redhat.com>
9268 * src/dhcp-manager/nm-dhcp-manager.c
9269 src/dhcp-manager/nm-dhcp-manager.c
9271 - Spawn and communicate with dhclient directly, through means of a
9272 custom dhclient callout script. Process callout D-Bus signals
9273 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
9274 sent via gobject signals rather than being driven by the dhcp manager
9277 2007-08-12 Dan Williams <dcbw@redhat.com>
9279 * callouts/nm-dhcp-client-action.c
9280 - (build_message): ignore non-DHCP-related environment variables
9282 2007-08-12 Dan Williams <dcbw@redhat.com>
9286 callouts/Makefile.am
9287 callouts/nm-dhcp-client-action.c
9288 callouts/nm-dhcp-client.conf
9289 - Add dhclient-executed callout that takes the place of dhclient-script
9290 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9293 2007-08-09 Tambet Ingo <tambet@gmail.com>
9295 [Based on patch by Helmut Schaa <hschaa@suse.de>]
9297 * libnm-glib/nm-client.h:
9298 * libnm-glib/nm-object.h:
9299 * libnm-glib/nm-vpn-connection.h:
9300 * libnm-glib/nm-settings.h:
9301 * libnm-glib/nm-device.h:
9302 * libnm-glib/nm-ip4-config.h:
9303 * libnm-glib/nm-access-point.h:
9304 * libnm-glib/nm-device-802-3-ethernet.h:
9305 * libnm-util/nm-setting.h:
9306 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9308 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9310 * libnm-glib/nm-access-point.c: Strength has type char.
9312 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9313 to fix build. GnomeDruid is deprecated in recent libgnomeui.
9315 * introspection/nm-access-point.xml: Strength property is char, not int.
9317 * src/NetworkManagerAP.c (set_property): Set strength from char.
9318 (get_property): Handle hidden APs (with empty SSID).
9319 Get strength value from char.
9320 (nm_ap_class_init): Strength property has char type.
9322 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
9324 * introspection/Makefile.am:
9325 * introspection/nm-settings.xml:
9326 * introspection/nm-settings-connection.xml: added Settings interfaces.
9328 * libnm-glib/nm-settings.[ch]:
9329 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9330 containing the DBus implementation.
9332 2007-07-26 Dan Williams <dcbw@redhat.com>
9334 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9336 * src/NetworkManagerSystem.c
9337 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9338 same subnet (#437396)
9340 2007-07-26 Dan Williams <dcbw@redhat.com>
9342 Patch from Kelemen Gábor <kelemeng@gnome.hu>
9344 * gnome/vpn-properties/nm-vpn-properties.c
9345 - Fix translatable strings (#445865)
9347 2007-07-26 Dan Williams <dcbw@redhat.com>
9349 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9352 - Remove useless junk (#412530)
9354 2007-07-10 Christopher Aillon <caillon@redhat.com>
9356 Patch from Robert Buchholz <rbu@gentoo.org>:
9360 * introspection/Makefile.am:
9361 Make make distcheck work again.
9363 2007-06-27 Dan Williams <dcbw@redhat.com>
9365 * Make SSIDs GByteArrays everywhere
9366 * Rename "essid" -> "ssid" everywhere that's appropriate
9367 * Refcount activation_ap member of the 802.11 wireless device class
9369 2007-06-27 Tambet Ingo <tambet@ximian.com>
9371 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9373 2007-06-22 Tambet Ingo <tambet@ximian.com>
9375 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9376 that we got a new AP when we just update existing AP properties.
9378 2007-06-21 Tambet Ingo <tambet@ximian.com>
9380 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9382 * nm-utils.[ch]: Remove.
9384 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9385 objects for easy property access and dbus connection handling.
9387 * libnm-glib/nm-client.c: Derive from NMObject.
9389 * libnm-glib/nm-device.c: Ditto.
9391 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9393 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9395 * libnm-glib/nm-ip4-config.c: Ditto.
9397 * libnm-glib/nm-access-point.c: Ditto.
9399 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9400 comparision. Currently used by the device activation code to determine if the new
9401 activation is the same as the old one.
9403 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9404 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9405 able to ask password for the AP.
9407 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9408 up if the device is already connected, tear down it's connection (if it isn't the
9409 same as new one) and start the activation.
9411 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9413 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9414 the issue where all APs are always listed as encrypted.
9416 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9417 their own registered paths.
9419 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9420 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9422 2007-06-13 Tambet Ingo <tambet@ximian.com>
9424 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9427 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9428 because the handling code will cause the next state change and signal listeners
9429 get the signals in wrong order.
9431 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9432 correctly in case of pending activation.
9434 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9435 Convert the essid byte array to string correctly, including the terminating NULL.
9437 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9438 mode with correct types.
9440 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9441 constructed info to dbus call instead of the activation request.
9443 2007-06-11 Christopher Aillon <caillon@redhat.com>
9445 Patch from Christian Persch <chpe@gnome.org>
9447 * libnm-glib/Makefile.am:
9448 * dispatcher-daemon/Makefile.am:
9449 Use the correct variables, the correct paths, and correct ordering. (446315)
9451 2007-06-11 Tambet Ingo <tambet@ximian.com>
9453 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9454 argument. The activation request is easy to retrieve.
9456 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9457 just to be a convenient location for devices to store random stuff.
9459 2007-06-11 Christopher Aillon <caillon@redhat.com>
9461 Patch from Alex Smith <alex@alex-smith.me.uk>
9463 * src/backends/NetworkManagerFrugalware.c:
9464 Update the FrugalWare backend to fix a few segfaults. (#392642)
9466 2007-06-08 Tambet Ingo <tambet@ximian.com>
9468 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9470 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9472 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9474 2007-06-06 Tambet Ingo <tambet@ximian.com>
9476 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9478 Implement NMSettingIP4Config.
9479 Finish NMSettingWired by adding all known members.
9480 (setting_wired_verify): Implement.
9481 Finish NMSettingWireless by adding all known members.
9482 (setting_wireless_verify): Implement.
9484 * libnm-util/nm-connection.c: Register "ipv4" setting.
9485 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9486 dump function, we can introspect the GHashTable which is used for sending connections
9489 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9490 Take GByteArray for essid, it's really not a string.
9492 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9493 Start DHCP request if setting is not passed or if it states that DHCP should be used.
9494 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9495 means overriding the values we got from DHCP.
9496 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
9497 (nm_device_deactivate_quickly): Ditto.
9499 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
9502 2007-05-07 Tambet Ingo <tambet@ximian.com>
9504 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
9507 * libnm-glib/nm-device-802-11-wireless.c:
9508 (nm_device_802_3_ethernet_activate): Remove.
9510 * libnm-glib/nm-device-802-3-ethernet.c
9511 (nm_device_802_3_ethernet_activate): Remove.
9513 * libnm-glib/nm-device.c (nm_device_activate): Implement.
9515 * src/nm-device-802-3-ethernet.c: Implement the new activation using
9518 * src/nm-device-802-11-wireless.c: Store an activation AP once the
9519 activation has started.
9520 Implement the new activation using NMConnection.
9522 * src/nm-activation-request.c: Store a generic connection object instead
9523 of a wireless-specific AP.
9525 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
9526 on device type, create a device specific connection object suitable for
9529 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
9530 specific check to validate the connection and on success start the
9533 * src/nm-device-interface.h: Add a activate virtual function to the
9534 interface definition.
9536 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
9537 (impl_device_activate): Implement.
9539 * introspection/nm-device.xml: Add a generic device activation interface
9540 that accepts an abstract NMConnection structure that has device-specific
9543 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
9544 activation interface.
9546 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
9547 activation interface.
9549 * libnm-util/nm-connection.c:
9550 * libnm-util/nm-connection.h:
9551 * libnm-util/nm-setting.c:
9552 * libnm-util/nm-setting.h: Add.
9554 * libnm-util/Makefile.am: Build the added files.
9556 * src/nm-dbus-manager.c
9557 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
9558 DbusConnection argument from 'name-owner-changed' signal. The manager
9559 is already passed as a first argument to the signal and the connection
9560 is easy enough to get from it.
9562 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
9563 Update the signature of the function.
9565 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
9568 * src/NetworkManager.c: Ditto.
9570 * src/named-manager/nm-named-manager.c
9571 (nm_named_manager_name_owner_changed): Ditto.
9573 * src/supplicant-manager/nm-supplicant-manager.c
9574 (nm_supplicant_manager_name_owner_changed): Ditto.
9576 * src/nm-hal-manager.c (name_owner_changed): Ditto.
9578 * src/dhcp-manager/nm-dhcp-manager.c
9579 (nm_dhcp_manager_name_owner_changed): Ditto.
9581 * src/nm-hal-manager.c: Add a list of device detectors and creators
9582 to make it easier to add new devices. Each device type has it's own
9583 entry in the table so adding new device types is only a matter of
9584 implementing a couple of functions, one for device detection and the
9585 other for device creation.
9587 2007-04-25 Dan Williams <dcbw@redhat.com>
9589 * initscript/RedHat/NetworkManager.in: remove trailing backslash
9592 2007-03-30 Dan Williams <dcbw@redhat.com>
9594 * src/NetworkManagerSystem.c
9595 - (nm_system_device_set_ip4_route): clean up and fix argument
9596 to nm_dev_sock_open()
9598 2007-03-28 Tambet Ingo <tambet@ximian.com>
9600 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
9601 data to correct types instead of always using string.
9603 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
9604 _not_ have NM_802_11_CAP_PROTO_NONE.
9605 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
9608 2007-03-27 Tambet Ingo <tambet@ximian.com>
9610 * libnm-glib/Makefile.am: Fix the build issue.
9612 2007-03-26 Tambet Ingo <tambet@ximian.com>
9614 * libnm-glib/nm-vpn-connection.h:
9615 * libnm-glib/nm-vpn-connection.c: Implement.
9617 * libnm-glib/nm-client.c: Add VPN support.
9619 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
9622 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
9625 2007-03-26 Dan Williams <dcbw@redhat.com>
9627 * src/NetworkManagerAPList.c
9628 * src/nm-device-802-11-wireless.c
9629 * src/NetworkManagerAP.c:
9630 - Store last seen as glong instead of GTimeVal.
9631 - Fix the upper bound of capabilities, it's a bitfield.
9633 2007-03-16 Tambet Ingo <tambet@ximian.com>
9635 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
9637 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
9638 "manager-running" signal that notifies the appearance/disappearance of NM.
9639 (nm_client_sleep): Implement.
9641 * libnm-glib/nm-device.c:
9642 * libnm-glib/nm-device-802-11-wireless.c:
9643 * libnm-glib/nm-device-802-3-ethernet.c:
9645 Don't inherit from DBusGProxy, add a proxy to private
9646 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
9647 for anything but their own dbus interface. DBusGProxy objects support only one
9648 interfaces and to work around this, NMDevice has spearate proxy for each dbus
9649 interface. The nice side effect of this change is that we do not create a new
9650 DBusGProxy object for each property access.
9652 2007-03-15 Tambet Ingo <tambet@ximian.com>
9654 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
9655 with zeroes before passing them to functions - the functions never do that and
9656 reading the values back may produce wrong values.
9657 (real_bring_up): Store the signal handler id ...
9658 (real_bring_down): ... So that it can be removed here.
9659 Disconnect the supplicant interface here as well.
9660 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
9661 from the access point instead of old $device/Networks/$essid.
9663 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
9664 device state is connected (instead of just having link/carrier).
9666 * src/nm-activation-request.c: Don't store NMData in activation request, it's
9667 already easily accessible through the device.
9669 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
9670 store it within the object.
9671 (nm_ap_get_dbus_path): Export it to public as well.
9673 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
9676 2007-03-12 Dan Williams <dcbw@redhat.com>
9678 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
9679 for non-carrier-detect capable devices, and useless for carrier-detect
9680 devices since we get notifications from netlink about carrier status anyway.
9682 * src/nm-device-802-3-ethernet.c
9683 - remove 'link_source_id' member from private data
9684 - (probe_link): remove and collapse into real_update_link()
9685 - (nm_device_802_3_periodic_update): remove
9686 - (real_is_up): check for sup_iface rather than link_source_id
9687 - (real_bring_up): return gboolean for success/fail; require that
9688 sup_iface be valid for device bringup to succeed
9689 - (real_bring_down): zero out link signal ids
9692 - (nm_device_activate_stage2_device_config): fail activation if device
9694 - (real_act_stage4_get_ip4_config): fail activation if device bringup
9696 - (nm_device_bring_up): return success/fail
9699 - bring_up now returns success/fail
9701 * src/nm-device-802-11-wireless.c
9702 - (real_bring_up): return success from bringup
9704 2007-03-07 Dan Williams <dcbw@redhat.com>
9706 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
9707 * src/nm-ap-security-wpa-psk.c
9708 - (real_write_supplicant_config): work with PSKs that may contain
9709 zeros in the binary format rather than treating it as a string
9711 2007-03-02 Tambet Ingo <tambet@ximian.com>
9713 * libnm-glib/nm-device-802-11-wireless.c
9714 (nm_device_802_11_wireless_get_capabilities): Implement.
9716 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
9718 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
9720 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
9721 reply only if it's not NULL. Not sure why this started happening right now.
9723 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
9724 code paths for when devices get removed on shutdown or when a device is just
9726 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
9727 gets freed so any signal from a device (disconnected for instance) would invoke
9728 NMState update which would crash.
9729 (nm_manager_remove_device): Bring the device down when it gets removed.
9731 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
9732 the unused dev_type.
9734 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
9735 reference to the added device, NMManager will own it (if it wants).
9737 * test/nm-tool.c: Rewrite using libnm-glib.
9739 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
9740 We get signalled when it changes.
9742 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
9745 * libnm-glib/nm-device.c: Cache the device state property.
9747 * libnm-glib/nm-access-point.c: Cache the strength property.
9749 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
9750 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
9751 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
9752 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
9753 the device is down, activating, or activated (in case of A/B/G cards).
9754 Remove some old dead ifdef'ed out code that used to configure wireless devices,
9755 it's all done through supplicant now.
9757 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
9758 counting issues with pending calls which caused leaks and crashes when
9759 interface was removed (now that the interface actually gets removed).
9761 * src/nm-call-store.c: Make a copy of data before running a foreach
9762 with user callback on it - The most common usage pattern is to cancel
9763 (and thus remove) all pending calls with foreach which would modify
9764 the hash table we're iterating over.
9766 * src/nm-manager.c: When a device is added, make sure it is "up". When
9767 it's removed or disabled due to disabling wireless or networking, bring
9770 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
9772 * src/nm-device-802-11-wireless.c:
9773 * src/nm-device-802-3-ethernet.c:
9775 - Remove "init" virtual function, all gobjects have a place for that
9776 already (constructor).
9777 - Replace "start" virtual function with "bring_up", devices can be
9778 brought up and down more than just on startup now.
9779 - Add "is_up" virtual function.
9780 - Implement one way to bring a device down instead of previous 4 different
9781 ways, each of witch did something different.
9783 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
9784 all it needs is the device interface.
9786 Get rid of NMData.dev_list (3 members to go).
9787 Get rif of NMData in a lot of places.
9789 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
9791 2007-02-23 Dan Williams <dcbw@redhat.com>
9793 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
9795 * src/NetworkManagerAP.c
9796 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
9797 OR-ing rather than AND-ing
9799 2007-02-20 Tambet Ingo <tambet@ximian.com>
9801 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
9802 "network-removed" signals.
9804 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
9806 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
9807 when receiving the signal from dbus.
9809 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
9812 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
9813 deactivation of the previously activated device working again.
9815 * src/nm-activation-request.c: Remove NMActStage property and it's getter
9818 * src/nm-device.c (nm_device_is_activated): Remove.
9819 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
9821 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
9822 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
9823 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
9824 NM_DBUS_SIGNAL_STATE_CHANGE signal.
9825 Remove NMNetworkStatus and NMActStage enums.
9827 2007-02-19 Tambet Ingo <tambet@ximian.com>
9829 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
9830 Handle device state changes and disconnect VPN if it's device deactivates.
9834 * src/nm-dbus-device.c:
9835 * src/nm-dbus-device.c:
9836 * src/nm-dbus-net.c:
9837 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
9839 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
9841 * src/nm-device.c (nm_device_get_by_udi):
9842 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
9843 implemented in the correct location (NMManager).
9844 Rip out all the test_device stuff.
9846 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
9847 failure handlers, it's all done by NMDevice already.
9849 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
9850 Remove the iochannel hack to route the unix signals to the main thread since
9851 we're not threaded anymore.
9853 * src/NetworkManagerAP.c: Implement HWAddress property.
9855 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
9856 automatically with dbus-glib.
9858 * src/nm-netlink-monitor.c:
9859 * src/nm-netlink-monitor.h:
9860 - Move it low in the class hierarchy, don't reference any NM types.
9861 - Remove private data from the header.
9862 - Use type safe checks in public API methods.
9863 - Make it a singleton so we don't have to pass the single reference around.
9865 2007-02-16 Tambet Ingo <tambet@ximian.com>
9867 * introspection/nm-ip4-config.xml: Implement.
9869 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
9871 * libnm-glib/nm-ip4-config.c:
9872 * libnm-glib/nm-ip4-config.c: Implement.
9874 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
9875 securities. APs reference security.
9877 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
9878 be exported over DBUS.
9880 * src/nm-device-802-3-ethernet.c: Ditto.
9882 * src/NetworkManagerAP.c:
9883 * src/NetworkManagerAP.h:
9884 - Convert to GObject, export over DBUS.
9886 * src/nm-ip4-config.h:
9887 * src/nm-ip4-config.h:
9888 - Convert to GObject, export over DBUS.
9890 2007-02-12 Dan Williams <dcbw@redhat.com>
9892 Patch from Helmut Schaa <hschaa@suse.de>
9894 * vpn-daemons/pptp/configure.in
9895 vpn-daemons/pptp/Makefile.am
9896 vpn-daemons/openvpn/configure.in
9897 vpn-daemons/openvpn/Makefile.am
9898 vpn-daemons/vpnc/configure.in
9899 vpn-daemons/vpnc/Makefile.am
9900 - Add --without-gnome switch which disables building gnome bits
9902 2007-02-12 Tambet Ingo <tambet@ximian.com>
9904 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
9906 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
9908 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
9911 * introspection/nm-device.xml: Remove 'UseDhcp' property.
9913 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
9915 Totally break NetworkManager. Please use 0.6 branch until futher notice.
9918 - Remove old low-level dbus interface implementations and replace them
9922 - Require dbus-glib >= 0.72.
9923 - Plug in new sources to build.
9926 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
9927 to make it more convenient to use from GObject based programs.
9930 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
9932 2007-02-09 Tambet Ingo <tambet@ximian.com>
9934 * src/nm-device-802-11-wireless.c:
9935 - Add "network-added" and "network-removed" signals.
9936 - Use gobject boilerplate macros to define the GObject.
9937 - Implement wireless device activation.
9938 - Remove activation_failure_handler and activation_success_handler
9939 and instead listen on state-changed signals and run the same code
9943 - Implment NMDeviceInterface::deactivate.
9944 - Remove activation_failure_handler and activation_success_handler
9945 virtual methods. Each device which is interested in these events
9946 can just listen on it's state changed signals.
9948 * src/NetworkManagerPolicy.c:
9949 - Move a bit more NMData usage to NMManager.
9950 - Remove activation scheduling bits.
9951 - Add listeners for wireless device's "network-added" and
9952 "network-removed" signals.
9953 - Listen device changed signals and deactivate currently activated
9954 device when another device start activating (for now).
9955 - Remove (nm_policy_schedule_device_change_check): There's never a need
9956 for calling this, the policy code knows exactly when this should happen,
9957 by listening on events from NMManager and NMDevices.
9959 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
9962 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
9963 method on the specific device instead of going to through policy code
9964 and determining the device type by passed in AP's existance.
9966 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
9967 abstract NMDevice deactivation.
9969 2007-02-08 Tambet Ingo <tambet@ximian.com>
9971 * src/NetworkManager.c:
9972 - Set up all the shiny new managers.
9974 * src/NetworkManagerPolicy.c:
9975 - Add the beginnings of new NMPolicy code. Instead of requireing all
9976 classes to call into policy code, make the policy code kind of like
9977 a supervisor that monitors what's going on and drives the whole NM.
9979 * src/nm-hal-manager.c:
9980 * src/nm-hal-manager.h:
9981 - Collect all libhal code scattered around NM to this one class.
9982 - Listen libhal and NMManager events and add/remove devices to
9987 - Implment a replacement for NMData. NMData is now officially
9990 2007-02-05 Tambet Ingo <tambet@ximian.com>
9992 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
9993 * src/supplicant-manager/nm-supplicant-interface.h
9994 * src/supplicant-manager/nm-supplicant-interface.c
9995 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
9996 argument to boolean from enum.
9998 Make NMDevice abstract class, remove almost all references to it's
9999 subclasses (the last place gets removed with new policy manager). Add
10000 NMDeviceInterface (which NMDevice implements) so that when we have
10001 NMDevice exported over DBUS, there's a common NMDevice interface which
10002 all instances have, plus there's a device specific interface for each
10004 Remove functions (nm_device_is_802_3_ethernet) and
10005 (nm_device_is_802_11_wireless). There are already standard GObject macros
10006 for type safe checks.
10007 Use the updated supplican manager API.
10009 * src/nm-device-interface.h:
10010 * src/nm-device-interface.c:
10011 * src/nm-call-store.h:
10012 * src/nm-call-store.c: Implement.
10014 * src/supplicant-manager/nm-supplicant-interface.c:
10015 * src/supplicant-manager/nm-supplicant-interface.h:
10016 * src/supplicant-manager/nm-supplicant-manager.c:
10017 * src/supplicant-manager/nm-supplicant-manager.h:
10018 - Remove all private data type references from public header files.
10019 - Remove all references to other NM classes, this class is just a
10020 proxy between wpa_supplicant and NM so it doesn't have to know
10022 - Convert to dbus-glib bindings.
10023 - Type safe checks for public methods' arguments.
10024 - Store pending DBUS call ids to NMCallStore.
10026 * src/supplicant-manager/nm-supplicant-config.c:
10027 - Store config values in a GHashTable instead of GSList.
10029 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10031 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10034 * src/nm-device.c: Use the new DHCP manager API.
10036 * src/nm-activation-request.c:
10037 * src/nm-activation-request.h:
10038 - Remove all dhcp related properties and methods.
10040 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10042 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10044 * src/dhcp-manager/nm-dhcp-manager.c:
10045 * src/dhcp-manager/nm-dhcp-manager.h:
10046 - Convert it to GObject since we need to signal state changes.
10047 - Remove all references to other NM classes, this class is one
10048 of the lowest classes in our hierarchy.
10049 - One less class to use NMActRequest.
10050 - Make it singleton, one less user of NMData.
10051 - Remove a couple of sleep() calls.
10052 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10053 One less class to use the NM's custom tailored signal handlig.
10055 * Makefile.am: Generate marshallers, add them to build.
10057 2007-02-02 Dan Williams <dcbw@redhat.com>
10063 - Remove last bits referencing gnome applet
10065 2007-02-02 Dan Williams <dcbw@redhat.com>
10067 * src/vpn-manager/nm-vpn-service.c
10068 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10069 and NBNS server addresses
10071 2007-02-02 Tambet Ingo <tambet@ximian.com>
10073 * src/nm-dbus-manager.c:
10074 * src/nm-dbus-manager.h:
10075 - Convert all internal DBUS code to use dbus-glib bindings.
10076 - Remove GObject properties, we don't need them here.
10077 - Don't explicitly set things to NULL after freeing, glib is
10078 happy to do it if asked nicely (G_DEBUG=gc-friendly).
10079 - Make public API argument checks type safe.
10080 - Remove unnecessary (and wrong) cast to GObject for the first
10081 argument to g_signal_* calls - The first argument is a gpointer.
10082 - Export DBusGConnection to other cool classes that (are going to)
10085 2007-01-26 Dan Williams <dcbw@redhat.com>
10087 * libnm-util/dbus-dict-helpers.c
10088 libnm-util/dbus-dict-helpers.h
10089 - Coordinate style with wpa_supplicant version to minimize diff
10090 - Add uint32 array support
10091 - (nmu_dbus_dict_append_uint32_array): new function
10092 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10093 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10094 version; allow adding string array elements individually
10096 * test/libnm-util/test-dbus-dict-helpers.c
10097 - Test uint32 arrays
10099 2007-01-27 Jürg Billeter <j@bitron.ch>
10101 * src/backends/NetworkManagerPaldo.c
10102 - (nm_system_update_dns): clear nscd hosts cache
10104 2007-01-04 Dan Williams <dcbw@redhat.com>
10106 Threading removal related cleanups:
10108 - Use the glib default main context. Remove the device main context
10109 member from NMDevice, and the main_context member from NMData. Change
10110 all the idle and timeout scheduler functions to use plain
10111 g_idle_add() and g_timeout_add().
10113 - As a side-effect of the first change, nm_dbus_manager_get() no longer
10114 takes an argument; fix that up too.
10116 - Remove all locking, which is useless since we no longer use threads. For
10117 example, nm_get_device_by_iface_locked() has been removed. The global
10118 device list lock, the AP List lock, and all static locks in
10119 NetworkManagerPolicy.c have been removed. The locking utility functions
10120 in NetworkManagerUtils.c have also been removed.
10122 - Other cleanups in spacing and code style
10124 2007-01-01 Dan Williams <dcbw@redhat.com>
10126 Found by Bill Moss:
10128 * src/supplicant-manager/nm-supplicant-interface.c
10129 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10130 the supplicant interface wasn't already disconnected. Always
10131 call removeNetwork and disconnect unless the supplicant interface
10132 is in the DISCONNECTED or INACTIVE state.
10134 2006-12-28 Dan Williams <dcbw@redhat.com>
10136 Use a single thread for everything. With the move to wpa_supplicant
10137 and communication over D-Bus, there's no reason for multiple threads.
10138 Almost all of the blocking code has been removed, with one exception in
10139 the DHCP manager and a few in the VPN manager. This commit removes the
10140 per-device worker thread and fixes activation cancellation in the absence
10141 of threads. Further removal of thread-related code would be removing
10142 any locking code (like the device list lock) and simplification of logic
10143 around areas of code or data structures that are currently locked.
10146 dhcp-manager/nm-dhcp-manager.c
10147 nm-device-802-11-wireless.c
10148 nm-device-802-3-ethernet.c
10151 - Remove usage of multiple threads
10153 2006-12-19 Dan Williams <dcbw@redhat.com>
10155 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10156 plus a few other patches from wpa_supplicant bugzilla.
10159 src/NetworkManagerPolicy.c
10160 src/NetworkManagerUtils.c
10161 src/NetworkManagerUtils.h
10162 src/nm-ap-security-leap.c
10163 src/nm-ap-security-wep.c
10164 src/nm-ap-security-wpa-eap.c
10165 src/nm-ap-security-wpa-psk.c
10166 src/nm-ap-security.c
10167 src/nm-ap-security.h
10168 src/nm-device-802-11-wireless.c
10169 src/nm-device-802-11-wireless.h
10170 src/supplicant-manager/nm-supplicant-config.c
10171 src/supplicant-manager/nm-supplicant-config.h
10172 src/supplicant-manager/nm-supplicant-interface.c
10173 src/supplicant-manager/nm-supplicant-interface.h
10174 src/supplicant-manager/nm-supplicant-marshal.list
10175 src/supplicant-manager/nm-supplicant-settings-verify.c
10176 src/supplicant-manager/nm-supplicant-settings-verify.h
10177 - Move all connection management and association handling to
10178 wpa_supplicant over dbus, rather than spawning a private copy
10180 2006-12-19 Dan Williams <dcbw@redhat.com>
10182 * src/NetworkManagerPolicy.c
10183 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10184 better locking of the device change check handler ID. Incorrect
10185 locking was causing lost device change requests
10187 2006-12-18 Dan Williams <dcbw@redhat.com>
10189 * libnm-util/dbus-dict-helpers.c
10190 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10191 _nmu_dbus_dict_entry_get_byte_array): replace usage of
10192 dbus_message_iter_get_array_len() (Gnome.org #382898)
10194 2006-12-18 Dan Williams <dcbw@redhat.com>
10196 * gnome/libnm_glib/libnm_glib.c
10197 - Change dbus_connection_close() -> dbus_connection_unref()
10199 2006-12-11 Dan Williams <dcbw@redhat.com>
10201 * src/supplicant-manager/nm-supplicant-interface.c
10202 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10203 wpa_supplicant interface state
10204 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10205 state before transitioning to READY state
10207 2006-12-04 Dan Williams <dcbw@redhat.com>
10209 * src/nm-device-802-11-wireless.c
10210 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10211 odd length of ESSID returned from ieee80211 stack-based drivers
10213 2006-12-04 Dan Williams <dcbw@redhat.com>
10215 * src/nm-device-802-11-wireless.c
10216 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10217 IE handling blocks that cause mis-parsing of the IE
10219 2006-12-04 Dan Williams <dcbw@redhat.com>
10221 * src/nm-device-802-11-wireless.c
10222 - (init_supplicant_interface): new function; pull supplicant interface
10223 setup code out into standalone function since it must be called from
10224 two different places
10225 - (real_init): sup_mgr is now in private object data; get and track
10226 the supplicant manager object over the NMDevice subclass' lifetime
10227 and register a signal handler for its state signals; only try to
10228 initialize the supplicant interface if the supplicant manager is in
10229 the IDLE state (and therefore is ready for requests)
10230 - (request_wireless_scan): reschedule the scan request if (a) there is
10231 no supplicant interface yet (meaning wpa_supplicant isn't running
10232 or isn't ready yet), or (b) if the supplicant interface isn't ready
10234 - (supplicant_iface_connection_state_cb): new function; stub for
10235 handling supplicant interface connection state signals
10236 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10238 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10239 supplicant manager object that's being tracked starting with this
10242 2006-12-04 Dan Williams <dcbw@redhat.com>
10244 * src/supplicant-manager/nm-supplicant-interface.c
10245 - (nm_supplicant_interface_set_property): track signal handler ID
10246 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10248 2006-12-04 Dan Williams <dcbw@redhat.com>
10250 * src/supplicant-manager/nm-supplicant-interface.[ch]
10251 - (nm_supplicant_interface_get_state): new function
10253 2006-12-04 Dan Williams <dcbw@redhat.com>
10255 * src/supplicant-manager/nm-supplicant-interface.c
10256 - (bssid_properties_cb): don't treat DBus errors as valid
10257 scanned AP messages
10259 2006-12-04 Dan Williams <dcbw@redhat.com>
10261 * src/supplicant-manager/nm-supplicant-interface.[ch]
10262 - (nm_supplicant_interface_get_connection_state): new function
10263 - define new supplicant connection states
10264 - send a signal when the supplicant connection state changes
10266 2006-12-03 Dan Williams <dcbw@redhat.com>
10268 * src/supplicant-manager/Makefile.am
10269 src/supplicant-manager/nm-supplicant-connection.h
10270 src/supplicant-manager/nm-supplicant-connection.c
10271 src/supplicant-manager/nm-supplicant-config.h
10272 src/supplicant-manager/nm-supplicant-config.c
10273 src/supplicant-manager/nm-supplicant-types.h
10274 src/supplicant-manager/nm-supplicant-interface.h
10275 src/supplicant-manager/nm-supplicant-interface.c
10276 - Rename NMSupplicantConnection -> NMSupplicantConfig
10278 2006-12-03 Dan Williams <dcbw@redhat.com>
10280 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
10284 - Move VPN-related translatables to .skip
10286 * vpn-daemons/pptp/po/POTFILES.in
10287 - Update with new translatables
10289 2006-12-02 Dan Williams <dcbw@redhat.com>
10291 Patch from Christian Persch <chpe@gnome.org>
10293 * gnome/applet/Makefile.am
10294 gnome/applet/applet-dbus-devices.c
10295 gnome/applet/applet-notifications.c
10296 gnome/applet/applet.c
10297 gnome/applet/applet.h
10298 gnome/applet/main.c
10299 - Be a GtkStatusIcon on GTK+ >= 2.10
10301 2006-12-02 Dan Williams <dcbw@redhat.com>
10303 * gnome/applet/applet.c
10304 - (nma_update_info): fix two unecessary allocations
10306 2006-12-02 Dan Williams <dcbw@redhat.com>
10308 Patch from Michael Biebl <biebl@teco.edu>
10310 man/NetworkManager.1.in
10311 man/NetworkManagerDispatcher.1.in
10312 man/NetworkManager.8.in
10313 man/NetworkManagerDispatcher.8.in
10314 - Add .SH NAME stanzas
10315 - Move NM & NM Dispatcher manpages to section 8 (admin)
10317 2006-12-02 Dan Williams <dcbw@redhat.com>
10319 Patch from Christian Persch <chpe@gnome.org>
10322 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10324 2006-11-29 Tambet Ingo <tambet@ximian.com>
10326 Patch by Timo Hoenig <thoenig@suse.de>:
10327 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10330 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10331 we can't use the one from the main source directory.
10333 2006-11-27 Dan Williams <dcbw@redhat.com>
10335 Patch from Christian Persch <chpe@gnome.org>
10337 * gnome/applet/applet-dbus-devices.c
10338 - (hal_info_product_cb): fix memleak; free duped string.
10341 2006-11-27 Dan Williams <dcbw@redhat.com>
10343 Patch from Christian Persch <chpe@gnome.org>
10345 * gnome/applet/menu-items.c
10346 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10347 as gtk_progress_set_percentage is deprecated. Should
10348 work as far back as GTK+ 2.4. Gnome.org #379780
10350 2006-11-26 Dan Williams <dcbw@redhat.com>
10352 Scan using wpa_supplicant over DBus.
10354 * src/nm-device-802-11-wireless.c
10355 - remove wireless extensions netlink event handler bits
10356 (wireless_event_helper, nm_device_802_11_wireless_event)
10357 - remove wireless extensions scan event handler bits
10358 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10359 hex2byte, hex2num, request_and_convert_scan_results,
10360 free_process_scan_cb_data, scan_results_timeout,
10361 schedule_scan_results_timeout, cancel_scan_results_timeout)
10362 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10363 and request scans from the supplicant interface rather than directly
10364 - Move functionality of convert_scan_results() to cull_scan_list() and
10365 supplicant_iface_scanned_ap_cb()
10366 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10367 at the scan interval when the current scan has finished
10368 - (supplicant_iface_state_cb): start scanning when the supplicant
10369 interface enters the READY state, and stop scanning when it
10370 enters the DOWN state
10371 - (cull_scan_list): weed out old access points from the scan list
10372 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10373 point into an NMAccessPoint and merge it into the device's scan list
10375 * src/supplicant-manager/nm-supplicant-interface.c
10376 src/supplicant-manager/nm-supplicant-interface.h
10377 - Add a new signal "scan-result" which is issued when the supplicant
10378 notifies NM that a scan has completed
10379 - Add a new signal "scanned-ap" that notifies listeners of a new access
10380 point found in the scan. Called once for each access point that
10381 the supplicant interface object receives from the supplicant as a
10382 result of the "scanResults" method call
10383 - (wpas_iface_query_scan_results): don't wait 4s before querying
10384 for the initial scan results
10385 - (scan_request_cb): new function; send listeners the result
10386 (success, error) of a wireless scan request
10387 - (nm_supplicant_interface_request_scan): new function; ask the
10388 supplicant to perform an immediate wireless scan
10390 2006-11-25 Dan Williams <dcbw@redhat.com>
10392 * src/supplicant-manager/Makefile.am
10393 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10394 add HAL cflags/includes and named-manager includes directory
10396 * src/supplicant-manager/nm-supplicant-interface.h
10397 - New state STARTING to handle transition from INIT to READY where
10398 the addInterface pending call is still outstanding
10400 * src/supplicant-manager/nm-supplicant-interface.c
10401 - track pending calls differently since we may have more than one
10402 going on at any given time
10403 - request scan results from wpa_supplicant; but don't do it more often
10404 than every 4 seconds. Drivers that do background scanning
10405 (like the 'ipw' drivers) send a continuous stream of scan completion
10406 notifications, so we don't want to hammer the supplicant or dbus
10407 with requests for all scan results every time we get a completion
10410 2006-11-25 Dan Williams <dcbw@redhat.com>
10412 * src/supplicant-manager/nm-supplicant-types.h
10413 - new file; move all supplicant manager object typedefs here for
10416 * src/supplicant-manager/nm-supplicant-interface.c
10417 src/supplicant-manager/nm-supplicant-interface.h
10418 - new file; an object that interfaces an NMDevice object to the
10419 supplicant and handles signals from the supplicant. This object
10420 does all necessary DBus communication with wpa_supplicant.
10422 * src/supplicant-manager/nm-supplicant-manager.c
10423 src/supplicant-manager/nm-supplicant-manager.h
10424 - Actually do something. Track the state of the wpa_supplicant service
10425 and deal with its comings & goings. Handle life events of
10426 supplicant interfaces too.
10427 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10429 * src/supplicant-manager/nm-supplicant-connection.h
10430 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10432 * src/supplicant-manager/Makefile.am
10433 - Add new files to build, and add libnm-util to includes
10435 * src/nm-marshal.list
10436 - New marshaler type: VOID:UINT,UINT
10438 * src/nm-device-802-3-ethernet.c
10439 - (real_init): grab a supplicant interface
10440 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10441 - (supplicant_iface_state_cb): new function, stub for handling
10442 supplicant interface state changes
10444 * src/nm-device-802-11-wireless.c
10445 - (real_init): grab a supplicant interface
10446 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10447 - (supplicant_iface_state_cb): new function, stub for handling
10448 supplicant interface state changes
10450 * src/NetworkManager.c
10451 - (main): create and keep the supplicant manager around for the lifetime
10455 - Link to the supplicant manager sub-library and use the supplicant
10458 2006-11-25 Dan Williams <dcbw@redhat.com>
10460 Rework DBus manager signal handling to be more flexible. Previously,
10461 only one signal handler could be registered for a particular interface.
10462 The DBus manager now reference counts DBus bus matches and allows multiple
10463 clients to register signal handlers for the same interface and sender.
10465 * src/NetworkManager.c
10466 - (main): track NMI signal handler ID and remove it when we quit
10468 * src/NetworkManagerMain.h
10469 - Keep track of NMI signal handler ID
10471 * src/nm-dbus-manager.c
10472 src/nm-dbus-manager.h
10473 - rework signal handling; each signal handler references one signal
10474 match, but a signal match may be referenced by one or more
10475 signal handlers. Matches are refcounted and are destroyed when the
10476 last signal handler that references the match is removed. This is
10477 necessary because two signal handlers may end up requiring the same
10478 dbus bus match, so the match must live until the last signal handler
10479 is destroyed (for example, with the wpa_supplicant network interface
10482 * src/dhcp-manager/nm-dhcp-manager.c
10483 - (nm_dhcp_manager_new): track DHCP signal handler id
10484 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10486 * src/vpn-manager/nm-vpn-service.c
10487 - (nm_vpn_service_add_watch): track VPN service signal handler id
10488 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10490 2006-11-25 Dan Williams <dcbw@redhat.com>
10492 Suggested by Helmut Schaa <hschaa@suse.de>
10494 * src/vpn-daemons/nm-vpn-service.c
10495 - (supplicant_child_setup): new function
10496 - (supplicant_exec): make child process use a new process group id
10498 * src/nm-device-802-11-wireless.c
10499 - (nm_vpn_service_child_setup): new function
10500 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
10503 2006-11-19 Dan Williams <dcbw@redhat.com>
10505 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
10506 * gnome/vpn-properties/nm-vpn-properties.c
10507 - clean up after renamed VPN connection
10509 2006-11-19 Dan Williams <dcbw@redhat.com>
10511 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
10512 * gnome/applet/applet-dbus-vpn.c
10513 - (nma_dbus_vpn_properties_cb): sort VPN connections
10515 * gnome/vpn-properties/nm-vpn-properties.c
10516 - (init_app): sort VPN connections
10518 2006-11-09 Dan Williams <dcbw@redhat.com>
10520 * src/NetworkManagerAPList.c
10521 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
10522 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
10523 from the nm_ap_list_get_ap_by_address() call was incorrect and
10524 broke hidden SSID matching. Found by Bill Moss.
10526 2006-10-25 Dan Williams <dcbw@redhat.com>
10529 - (nm_dbus_nm_set_active_device): return an empty success message on
10530 success, rather than falling through to the error case.
10532 2006-10-25 Dan Williams <dcbw@redhat.com>
10534 * src/NetworkManagerUtils.c
10535 - (nm_utils_supplicant_request_with_check): suppress messages for the
10538 2006-10-24 Dan Williams <dcbw@redhat.com>
10540 Reduce the number of times the Gnome applet wakes up, especially when
10541 it's doing absolutely nothing and is hidden. Initial patch by
10544 * gnome/applet/applet-dbus.c
10545 - (nma_dbus_filter): when NM isn't around, or when it goes away,
10546 kill the redraw timeout. When NM starts up, start the redraw
10547 timeout. Also, if we get kicked off the bus for some reason,
10548 start the reconnection timeout if one's not already running.
10549 - (nma_dbus_init): better handling of error conditions, don't leak
10550 a half-initialized dbus connection
10551 - (nma_dbus_connection_watcher): consolidate places we reinitialize
10552 the applet's data, just call nm_dbus_init_helper()
10553 - (nma_start_dbus_connection_watch): new function, starts a periodic
10554 timeout that calls nma_dbus_connection_watcher()
10555 - (nma_dbus_init_helper): if we get a successful connection, kill the
10556 reconnection timeout, and don't start the reconnection timeout
10557 unconditionally anymore
10559 * gnome/applet/applet-dbus.h
10560 - Expose nma_start_dbus_connection_watch()
10562 * gnome/applet/applet.c
10563 - (nma_update_state): no longer static, called from applet-dbus.c for
10564 immediate UI updates on certain events
10565 - (nma_set_running): new function; take over setting applet->running,
10566 when not running (ie, NM is not active), don't activate the redraw
10567 timeout because we're not showing the applet anyway. When we are
10568 running (ie, NM is active), and only when we're running, start the
10570 - (nma_destroy): kill the redraw timeout by setting 'not running', and
10571 kill any reconnection timeout
10572 - (nma_get_instance): move one-off dbus initialization code here since
10573 nm_dbus_init_helper() gets called more than once, possibly by the
10574 reconnection timeout function too. And, when we start up, if we
10575 can't get a connection to the bus, start the reconnection timeout.
10576 But don't start the redraw timeout yet, only do that when we get
10577 NM's state and find out if it's running or not.
10579 * gnome/applet/applet.h
10580 - Add the reconnection GSource ID
10581 - Add prototypes for nma_set_running() and the no-longer-static
10584 2006-10-24 Dan Williams <dcbw@redhat.com>
10586 * src/vpn-daemons/nm-dbus-vpnc.c
10587 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
10588 pending call tracker
10589 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
10590 pending call tracker; register one-vpn-connection update pending
10591 call in pending call tracker
10592 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
10593 update pending call in pending call tracker
10594 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
10595 update pending call in pending call tracker; don't block waiting
10598 2006-10-19 Robert Love <rml@novell.com>
10600 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
10603 2006-10-14 Dan Williams <dcbw@redhat.com>
10605 * src/dhcp-manager/nm-dhcp-manager.c
10606 - (get_ip4_string, get_ip4_uint32s): have the caller pass
10607 the dbus connection and the device object path rather than
10608 constructing it inside both functions. Saves a bit of memory
10609 and clarifies a failure path.
10610 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
10611 and allocate device path here rather than each of the two
10614 2006-10-13 Dan Williams <dcbw@redhat.com>
10616 * src/NetworkManager.c
10617 - (nm_name_owner_changed_handler): handle NMI coming and going,
10618 this somehow droppout in the refactor
10620 2006-10-13 Dan Williams <dcbw@redhat.com>
10622 * Huge DBus refactor:
10623 - Create a "DBus Manager" object which manages the connection and
10624 sends signals on NameOwnerChanged and connection/disconnection events,
10625 handles reconnection to the bus if NM gets kicked off, and abstracts
10627 - Remove DBusConnection members from places where they are no
10628 longer needed due to the refactor, like the dbus-connection
10629 property of the named manager, and from NMData
10630 - Reformats a bunch of the code to gnome style
10631 (8-space tabs, braces on same line as statement, 80-col width).
10632 Consider it open season to reformat any bits to gnome style.
10633 style that aren't already.
10635 2006-10-13 Dan Williams <dcbw@redhat.com>
10637 * src/supplicant-manager/Makefile.am
10640 * src/supplicant-manager/nm-supplicant-manager.[ch]:
10641 - Make it a minimal GObject
10643 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
10644 - Verify settings destined for wpa_supplicant
10646 * src/supplicant-manager/nm-supplicant-connection.[ch]:
10647 - Minimal GObject to track wpa_supplicant controlled device
10650 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
10652 * gnome/applet/applet.c: (nma_update_info),
10653 (nma_act_stage_to_pixbuf), (nma_update_state):
10654 Mark missing strings for translation. Fixes bug #343306.
10656 2006-10-01 Dan Williams <dcbw@redhat.com>
10658 * src/vpn-manager/nm-vpn-manager.c
10659 - (nm_vpn_manager_load_services): split and clean up
10660 for readability and correctness. Restrict VPN service
10661 files to ending in ".name", as was meant from the
10662 beginning (but not coded in). Better error reporting.
10664 2006-10-01 Dan Williams <dcbw@redhat.com>
10667 - Clean up formatting of debug/info/warning log messages
10669 2006-09-27 Robert Love <rml@novell.com>
10671 Patch by Tambet Ingo <tambet@ximian.com>:
10672 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
10675 2006-09-07 Dan Williams <dcbw@redhat.com>
10678 test/libnm-util/Makefile.am
10679 test/nm-supplicant-test.c
10680 - Add test program emulating the way NM drives wpa_supplicant
10681 to help debug supplicant issues
10683 2006-08-24 Dan Williams <dcbw@redhat.com>
10687 src/supplicant-manager/Makefile.am
10688 src/supplicant-manager/nm-supplicant-manager.c
10689 src/supplicant-manager/nm-supplicant-manager.h
10690 - Add skeleton bits of the wpa_supplicant manager
10692 2006-08-24 Dan Williams <dcbw@redhat.com>
10694 Patch from Ed Catmur:
10695 * src/NetworkManagerUtils.c
10696 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
10697 if netmask is 0 (Gnome #352634)
10699 2006-08-17 Robert Love <rml@novell.com>
10701 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
10702 package is now DBUS-enabled and listens for the NM signals.
10704 2006-08-14 Dan Williams <dcbw@redhat.com>
10706 * Patch from Christian Persch <chpe gnome org>
10709 vpn-daemons/openvpn/po/LINGUAS
10710 vpn-daemons/openvpn/configure.in
10711 vpn-daemons/pptp/po/LINGUAS
10712 vpn-daemons/pptp/configure.in
10713 vpn-daemons/vpnc/po/LINGUAS
10714 vpn-daemons/vpnc/configure.in
10715 - Convert to LINGUAS method so translators don't have to modify
10716 configure.in, just stuff in po/. Gnome #343132, requires intltool
10719 2006-08-14 Dan Williams <dcbw@redhat.com>
10721 Patch from Alex Smith <alex.extreme2@gmail.com>
10723 src/backends/Makefile.am
10724 src/backends/NetworkManagerFrugalware.c
10725 - Add support for Frugalware
10727 2006-08-13 Dan Williams <dcbw@redhat.com>
10729 Patch from Valentine Sinitsyn <e_val@inbox.ru>
10730 * src/nm-device-802-11-wireless.c
10731 - (supplicant_exec): spawn wpa_supplicant without debug spew
10734 2006-08-13 Dan Williams <dcbw@redhat.com>
10736 Patch from Valentine Sinitsyn <e_val@inbox.ru>
10737 * src/nm-ap-security.c
10738 src/nm-ap-security.h
10739 - Add authentication_required bits for subclasses to specify whether
10740 or not real authentication is required for connections, i.e. whether
10741 the AP rejects us when an encryption key is wrong or not.
10743 * src/nm-ap-security-wep.c
10744 src/nm-ap-security-wpa-eap.c
10745 src/nm-ap-security-wpa-psk.c
10746 src/nm-ap-security-leap.c
10747 - Implement authentication_required appropriately for each method
10749 * src/nm-device-802-11-wireless.c
10750 - Be smarter about when to request a key; for example, using a wrong key
10751 in WEP shared key mode previously just timed out and did not request
10754 2006-08-13 Dan Williams <dcbw@redhat.com>
10756 * gnome/libnm_glib/libnm_glib.c
10757 - dbus_connection_disconnect() -> dbus_connection_close() for
10760 2006-08-07 Dan Williams <dcbw@redhat.com>
10762 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10763 * src/NetworkManagerSystem.c
10764 - Respect specified MTU. Gnome #344967
10766 2006-08-07 Dan Williams <dcbw@redhat.com>
10768 * src/vpn-manager/nm-vpn-service.c
10769 - Simplify print_vpn_config() arguments
10771 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10772 * src/vpn-manager/Makefile.am
10773 src/vpn-manager/nm-vpn-service.c
10774 - Add new API for passing VPN config options as a dict. Gnome #344967
10776 2006-08-06 Dan Williams <dcbw@redhat.com>
10778 * gnome/applet/applet-dbus-devices.c
10779 gnome/applet/applet-dbus-vpn.c
10780 gnome/applet/applet-dbus.c
10781 gnome/applet/applet-dbus.h
10785 - Make pending call tracking code generic,
10786 so we can use it in NM as well as the applet
10788 2006-08-06 Dan Williams <dcbw@redhat.com>
10790 * src/nm-activation-request.c
10791 - Refcount pending call objects
10793 2006-08-06 Dan Williams <dcbw@redhat.com>
10795 Patch from Christan Chiesa <christanc@gmail.com>
10797 - Tell sha1.c to use bigendian mode on PPC
10799 2006-08-04 Robert Love <rml@novell.com>
10801 Glib Memory Slices!
10802 * configure.in: Require glib 2.10 or later.
10803 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
10804 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
10805 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
10806 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
10807 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
10808 Memory Slices are the greatest thing since bread slices.
10809 * src/NetworkManagerAP.c: Also, fix memory leak.
10811 2006-08-01 Robert Love <rml@novell.com>
10813 * gnome/applet/main.c: Shutdown all VPN connections on logout.
10815 2006-07-31 Robert Love <rml@novell.com>
10817 * src/backends/interface_parser.c: Declarations must begin the block.
10819 2006-07-24 Dan Williams <dcbw@redhat.com>
10821 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
10822 * src/backends/Makefile.am
10823 src/backends/NetworkManagerArch.c
10824 src/backends/NetworkManagerDebian.c
10825 src/backends/NetworkManagerGeneric.c
10826 src/backends/NetworkManagerGeneric.h
10827 src/backends/NetworkManagerGentoo.c
10828 src/backends/NetworkManagerPaldo.c
10829 src/backends/NetworkManagerRedHat.c
10830 src/backends/NetworkManagerSlackware.c
10831 src/backends/NetworkManagerSuSE.c
10832 - Genericize common backend functions
10834 2006-07-18 Robert Love <rml@novell.com>
10836 * configure.in: Add "--with-notify" option to allow disabling of
10839 2006-07-13 Dan Williams <dcbw@redhat.com>
10841 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
10842 * gnome/applet/applet.glade
10843 gnome/applet/Makefile.am
10844 gnome/applet/nm-gconf-wso.c
10845 gnome/applet/nm-gconf-wso-leap.c
10846 gnome/applet/nm-gconf-wso-leap.h
10847 gnome/applet/wireless-security-manager.c
10848 gnome/applet/wso-leap.c
10849 gnome/applet/wso-leap.h
10850 include/NetworkManager.h
10851 libnm-util/dbus-helpers.c
10852 libnm-util/dbus-helpers.h
10854 src/NetworkManagerAP.c
10855 src/nm-ap-security.c
10856 src/nm-ap-security-leap.c
10857 src/nm-ap-security-leap.h
10858 - Add LEAP authentication support
10860 2006-07-13 Dan Williams <dcbw@redhat.com>
10862 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
10864 src/backends/NetworkManagerArch.c
10865 src/backends/NetworkManagerDebian.c
10866 src/backends/NetworkManagerGentoo.c
10867 src/backends/NetworkManagerPaldo.c
10868 src/backends/NetworkManagerRedHat.c
10869 src/backends/NetworkManagerSlackware.c
10870 src/backends/NetworkManagerSuSE.c
10871 - Convert hardcoding of 'ip' path to configure-time
10874 2006-07-12 Leonid Kanter <leon@asplinux.ru>
10876 * configure.in: added ru to ALL_LINGUAS
10878 2006-07-10 Dan Williams <dcbw@redhat.com>
10880 Patch from Valentine Sinitsyn <e_val@inbox.ru>
10882 - (real_act_stage3_ip_config_start): don't infinite loop when
10883 dhcdbd isn't running (Gnome #346845)
10885 2006-07-09 Dan Williams <dcbw@redhat.com>
10887 * gnome/applet/applet.c
10888 - (nma_destroy): don't pass NULL to notify_notification_close
10891 2006-07-09 Dan Williams <dcbw@redhat.com>
10893 * gnome/applet/applet.c
10894 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
10896 2006-07-04 Tor Krill <tor@krill.nu>
10898 Patch from Valentine Sinitsyn <e_val@inbox.ru>
10899 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
10900 (nm_system_restart_mdns_responder), (ArchReadConfig),
10901 (nm_system_device_get_system_config):
10902 - Explicitly check for DHCP configuration
10903 - Check if daemons are running before starting them
10905 2006-06-25 Dan Williams <dcbw@redhat.com>
10907 * libnm-util/dbus-dict-helpers.[ch]
10908 test/libnm-util/test-dbus-dict-helpers.c
10909 - Add string array support
10911 2006-06-24 Dan Williams <dcbw@redhat.com>
10913 * src/dhcp-manager/nm-dhcp-manager.c
10914 - (nm_dhcp_manager_process_signal): clean up spacing
10916 2006-06-21 Dan Williams <dcbw@redhat.com>
10918 * src/nm-dbus-device.c
10919 - (nm_dbus_device_get_driver): don't try to stuff a NULL
10922 2006-06-21 Raivis Dejus <orvils@gmail.com>
10924 * configure.in: Added 'lv' to ALL_LINGUAS
10926 2006-06-19 Dan Williams <dcbw@redhat.com>
10928 * src/NetworkManagerAP.c
10929 - Clarify usage of user_created
10931 * src/nm-ap-security-wep.c
10932 src/nm-ap-security-wpa-eap.c
10933 src/nm-ap-security-wpa-psk.c
10934 src/nm-ap-security.c
10935 src/nm-ap-security.h
10936 - s/user_created/adhoc, because we really do mean adhoc
10938 Patch from Bernard Blackham <bernard@blackham.com.au>
10939 * src/nm-device-802-11-wireless.c
10940 - (supplicant_send_network_config): instead of user_created,
10941 use adhoc, and do AP_SCAN 2 for adhoc networks
10943 2006-06-18 Robert Love <rml@novell.com>
10945 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
10946 we have a value to set. Gconf generates a warning if `val' is NULL.
10947 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
10948 unless we actually received a valid private key file passphrase or
10949 password. Otherwise, we don't know to later ask the applet to pull
10950 the key from the keyring.
10952 2006-06-17 Dan Williams <dcbw@redhat.com>
10954 * libnm-util/dbus-dict-helpers.[ch]
10955 test/libnm-util/test-dbus-dict-helpers.c
10956 - Fixes for zero-length byte arrays
10957 - Replace return values of 0 with FALSE for clarity
10958 - Test zero-length byte arrays
10960 2006-06-17 Dan Williams <dcbw@redhat.com>
10962 * libnm-util/dbus-dict-helpers.[ch]
10963 test/libnm-util/test-dbus-dict-helpers.c
10964 - Add helpers for byte arrays
10965 - Rework bits of the testcase
10967 2006-06-16 Dan Williams <dcbw@redhat.com>
10969 * libnm-util/Makefile.am
10970 * libnm-util/dbus-dict-helpers.[ch]
10971 - Add some helpers to take the pain out of using dict types in
10974 * test/libnm-util/Makefile.am
10975 * test/libnm-util/test-dbus-dict-helpers.c
10976 - Test cases for the dict helper functions
10978 2006-06-15 Robert Love <rml@novell.com>
10980 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
10981 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
10982 if there is no key to pass.
10983 * libnm-util/dbus-helpers.c: Given the above, we can trust always
10984 receiving a non-NULL key.
10986 2006-06-14 Robert Love <rml@novell.com>
10988 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
10992 2006-06-14 Dan Williams <dcbw@redhat.com>
10994 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
10995 * src/nm-device-802-11-wireless.c
10996 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
10997 or ones where the driver is unknown
10998 - (supplicant_exec): don't wait for supplicant startup here
10999 - (supplicant_interface_init): finer grained polling for supplicant
11002 2006-06-13 Robert Love <rml@novell.com>
11004 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11005 if it is currently set to TRUE. Otherwise, we will reset the value
11006 when we connect normally.
11007 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11008 the old BSSID is valid, too. The recently added ESSID check may not be
11009 sufficient (we can remove it?). What we really want to catch is the
11010 case of going from all-zeros to the BSSID of some other network, which
11011 happens on failure.
11013 2006-06-09 Dan Williams <dcbw@redhat.com>
11015 * src/NetworkManagerSystem.[ch]
11016 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11017 it was unused and pointless
11018 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11019 fix for set_up_down_with_iface change
11021 * src/vpn-manager/nm-vpn-connection.c
11022 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11024 * src/backends/NetworkManagerPaldo.c
11025 src/backends/NetworkManagerRedHat.c
11026 src/backends/NetworkManagerSuSE.c
11027 src/backends/NetworkManagerArch.c
11028 src/backends/NetworkManagerDebian.c
11029 src/backends/NetworkManagerGentoo.c
11030 - (nm_system_enable_loopback): use set_up_down_with_iface where
11032 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11035 2006-06-09 Dan Williams <dcbw@redhat.com>
11037 Patch from Peter Jones:
11038 * src/nm-device-802-11-wireless.c
11039 - (nm_device_802_11_wireless_update_bssid): make sure that the
11040 SSID hasn't changed from what we expect before automatically
11041 updating the saved BSSID from a new AP
11043 2006-06-08 Robert Love <rml@novell.com>
11045 Add 'fallback' support. NetworkManager will attempt to brute-force
11046 connect to networks marked as fallback if there are no better wireless
11047 connections available. This is useful as a method of last resort, to
11048 work around driver problems, and for use with hidden networks.
11049 * gnome/applet/applet-dbus-devices.c,
11050 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11051 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11052 pass it on via DBUS.
11053 * gnome/applet/applet.c: No fallback by default.
11054 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11055 Update other-network-dialog to add UI checkbox toggling fallback.
11056 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11057 propery from AP object. Add "fallback" property to AP object.
11058 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11059 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11060 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11061 separate function. Add get_best_fallback_ap() for returning an AP
11062 on which to attempt fallback.
11063 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11064 * test/nm-set-fallback: New file. Sets a given network as fallback.
11066 2006-06-07 Robert Love <rml@novell.com>
11068 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11069 checked that the return type was GCONF_VALUE_STRING, not the correct
11070 GCONF_VALUE_BOOL, and thus it never worked.
11071 * src/NetworkManagerAPList.c: Before concluding that two networks are
11072 identical based on their BSSID, make sure that the BSSID in question
11073 is actually valid. Specifically, an empty or all zero BSSID does not
11075 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11076 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11077 similar invariant clean up.
11079 2006-06-02 Robert Love <rml@novell.com>
11081 * gnome/applet/applet.c: Update copyright years. Add Novell.
11083 2006-05-28 Dan Williams <dcbw@redhat.com>
11085 * gnome/applet/applet.glade
11086 gnome/vpn-properties/nm-vpn-properties.glade
11087 - Set window icons on dialogs (Gnome.org #333420)
11089 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
11091 * gnome/vpn-properties/nm-vpn-properties.glade:
11092 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11093 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11094 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11095 - Make the VPN properties pages prettier and more HIG
11096 compliant. Gnome Bug #336913.
11098 2006-05-28 Dan Williams <dcbw@redhat.com>
11100 Patch from Christian Persch <chpe@gnome.org>
11101 * gnome/vpn-properties/nm-vpn-properties.c
11102 * gnome/vpn-properties/nm-vpn-properties.glade
11103 - HIG-ification love (Gnome.org #336846)
11105 2006-05-28 Dan Williams <dcbw@redhat.com>
11107 Patch from Christian Persch <chpe@gnome.org>
11109 gnome/vpn-properties/nm-vpn-properties.c
11110 - (main): Fix option parsing. Gnome.org #336847
11112 2006-05-28 Dan Williams <dcbw@redhat.com>
11114 * gnome/vpn-properties/nm-vpn-properties.c
11115 - (find_vpn_ui_by_service_name): protect against NULL service names
11116 - (update_edit_del_sensitivity): protect against NULL service names
11119 2006-05-28 Dan Williams <dcbw@redhat.com>
11121 Patch from Chris Fuller <crf@grandecom.net>:
11122 * src/nm-device-802-11-wireless.c
11123 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11124 don't dispose of wireless-specific stuff unless it is actually
11125 initialized. Gnome.org #341263
11127 2006-05-28 Dan Williams <dcbw@redhat.com>
11129 * src/NetworkManagerPolicy.c
11130 - (nm_policy_device_change_check): don't switch devices if the "best"
11131 AP is essentially the same as the current activation request, but
11132 the current activation request isn't done activating yet. Fixes
11133 multiple requests for keyring password on startup for Gnome applet.
11136 2006-05-26 Nicolas Trangez <eikke@eikke.com>
11138 * src/NetworkManager.c: use GOptions instead of getopt
11139 * configure.in: bump glib required version to >= 2.6 for GOption
11142 2006-05-25 Robert Love <rml@novell.com>
11144 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11145 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
11146 instead of dumping ifdef's throughout the code.
11147 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11148 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11149 use nm_ioctl_info() in lieu.
11151 2006-05-25 Robert Love <rml@novell.com>
11153 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11154 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11155 not using gcrypt. Otherwise, we get a linker error.
11157 2006-05-25 Robert Love <rml@novell.com>
11159 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11160 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11161 configure flag to disable building of the GNOME-based applet.
11163 2006-05-25 Robert Love <rml@novell.com>
11165 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11166 parameter from link, because it shadows a global variable with some
11167 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
11168 should never have exported to the entire system a common four letter
11169 word. But we here at NetworkManager are team players. Fixes
11172 2006-05-25 Arangel Angov <ufo@linux.net.mk>
11174 * configure.in: Added mk.po, Macedonian translation.
11176 2006-05-24 Robert Love <rml@novell.com>
11178 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11179 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11180 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11182 2006-05-24 Robert Love <rml@novell.com>
11184 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11185 libnm-util/Makefile.am, src/Makefile.am,
11186 vpn-daemons/openvpn/auth-dialog/Makefile.am,
11187 vpn-daemons/openvpn/properties/Makefile.am,
11188 vpn-daemons/pptp/auth-dialog/Makefile.am,
11189 vpn-daemons/pptp/properties/Makefile.am,
11190 vpn-daemons/vpnc/auth-dialog/Makefile.am,
11191 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11192 user passed for --datadir, if anything, when setting the GNOME locale
11193 directory. It should be a function of the specified datadir and not
11196 2006-05-24 Robert Love <rml@novell.com>
11198 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11199 src/NetworkManager.c: Take care to call bindtextdomain with the
11200 location of msgid files.
11201 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11204 2006-05-22 Robert Love <rml@novell.com>
11206 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11207 stage4_timeout on failure unless the wireless network is Ad-Hoc.
11208 99% of the time there is a real problem with wireless, and a
11209 seemingly successful connection via Zeroconf just confuses the user.
11210 And that 1% of the time the network is probably Ad-Hoc, anyhow.
11212 2006-05-22 Robert Love <rml@novell.com>
11214 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11215 autofs on interface up if NIS is configured. On interface down, do
11218 2006-05-22 Robert Love <rml@novell.com>
11220 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11221 to avoid calling g_object_unref() on stale pointers on error in
11222 nma_icons_free(). This happens because we short-circuit loaded the
11223 icons on the first failure but then free all icons. Normally we have
11224 no issue because the icons were zero'ed out malloc, but we have stale
11225 pointer data after nma_icon_theme_changed().
11226 * gnome/applet/main.c: Return error code if nma_new() failed.
11228 2060-05-21 Dan Williams <dcbw@redhat.com>
11230 * initscript/NetworkManager.in
11231 - Ensure both dhcdbd and named are started before NM
11233 2006-05-21 Dan Williams <dcbw@redhat.com>
11236 - Bump version to 0.7 to signify we are in 0.7 development
11238 2006-05-21 Dan Williams <dcbw@redhat.com>
11240 Patch from Adam Schreiber <sadam@clemson.edu>
11241 * gnome/vpn-properties/nm-vpn-properties.c
11242 - (main): correct Gnome program name (gnome.org #342498)
11244 2006-05-21 Dan Williams <dcbw@redhat.com>
11246 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11248 * src/NetworkManagerDbus.[ch]
11249 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11250 clarify that function's argument should be an escaped dbus object
11251 path, and look for path segment end before returning a match
11252 * src/nm-dbus-nm.c:
11253 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11255 2006-05-17 Robert Love <rml@novell.com>
11257 Functionality to differentiate Ad-Hoc networks from infrastructure
11258 networks in the applet, by displaying a special icon:
11259 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11260 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11261 * gnome/applet/menu-items.c: Set a special icon in the scan list for
11262 ad-hoc networks. TODO: Add a third icon representing "encrypted and
11263 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
11264 networks, encrypted or not.
11265 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11266 accessor functions to get and set the mode of a given network,
11267 wireless_network_get_mode() and wireless_network_set_mode().
11269 2006-05-17 Robert Love <rml@novell.com>
11271 Functionality to automatically add BSSIDs to the allowed-MAC list as
11272 one roams from access point to access point on a given network:
11273 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11274 helper function to compare two ether_addr structures and return TRUE
11275 if they contain the same MAC address.
11276 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11278 * src/nm-device-802-11-wireless.c: New function to update the BSSID
11279 stored with the current AP. If the BSSID has indeed changed, we
11280 send it out to the applet, allowing the allowed-MAC list to grow
11281 automatically in response to roaming.
11283 2006-05-16 Robert Love <rml@novell.com>
11285 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11286 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11288 2006-05-13 Dan Williams <dcbw@redhat.com>
11290 * src/nm-device-802-3-ethernet.c
11291 - (real_get_generic_capabilities): Don't ignore devices that can't do
11292 carrier detect (Debian bug #366373)
11294 2006-05-11 Dan Williams <dcbw@redhat.com>
11296 Patch from Michael Biebl <biebl@teco.edu>
11297 * src/backends/NetworkManagerDebian.c
11298 - Debian backend fixups
11300 2006-05-10 Robert Love <rml@novell.com>
11302 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11304 2006-05-09 Robert Love <rml@novell.com>
11306 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11307 private certificate passphrase, if any, in the GNOME Keyring.
11308 * libnm-utils/dbus-helpers.c: Update.
11310 2006-05-05 Dan Williams <dcbw@redhat.com>
11312 * src/nm-device-802-11-wireless.c
11313 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11314 nm_device_802_11_wireless_disable_encryption() since that's all
11315 we use it for anymore; we don't ever set WEP keys ourselves.
11316 - (real_deactivate_quickly): reset SSID and encryption keys
11317 - (real_deactivate): move SSID and encryption key reset to
11318 real_deactivate_quickly(), which gets run before us anyway
11320 2006-05-05 Robert Love <rml@novell.com>
11322 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11323 root has a wacky default of its own (or, more common, a user has a
11324 bad umask and uses su/sudo to restart NetworkManager). Anything
11325 other than 0022 does not do what we want with, for example,
11326 resolv.conf. This problem is amplified by our judicious use of
11327 fopen(), which uses mode 0666 -- implying that the only way to get
11328 the permissions we want is with a umask of 0022.
11330 2006-05-05 Dan Williams <dcbw@redhat.com>
11332 * gnome/libnm_glib/libnm_glib.c
11333 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11334 to reconnect; instead wait a bit more with each reconnect attempt
11335 up to a max of one minute.
11337 2006-05-04 Ryan Lortie <desrt@desrt.ca>
11339 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11340 the WirelessNetwork structure using the proper function instead of
11341 just casting it directly to (const char *) (gnome.org #336991)
11343 2006-05-03 Robert Love <rml@novell.com>
11345 * src/backends/NetworkManagerSuSE.c: Respect the variable
11346 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11347 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11348 to dynamically update /etc/resolv.conf.
11350 2006-05-02 Peter Jones <pjones@redhat.com>
11352 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11354 2006-05-02 Robert Love <rml@novell.com>
11356 Patch by Timo Hoenig;
11357 * tests/nm-online.c: Print pretty status indicator as timeout winds
11358 down. Also fix possible race between DBUS startup and failure
11361 2006-05-01 Robert Love <rml@novell.com>
11363 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11366 2006-04-27 Jeremy Katz <katzj@redhat.com>
11368 * src/nm-device.c (discover_device_type): Actually use the hal
11369 device type instead of ioctl poking
11371 2006-04-26 Robert Love <rml@novell.com>
11373 * tests/nm-online.c: New file. Simple utility that returns exit status
11374 noting whether the connection is offline or online. If offline on
11375 start, it waits 30 seconds (or a command-line given value) for an
11376 online signal. If it times out, it again returns offline. This is
11377 useful for scripts that want to wait for network connections.
11379 2006-04-25 Robert Love <rml@novell.com>
11381 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11382 key mode (the authentication algorithm), e.g. open or shared, when we
11383 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
11384 only shared was broken. If the user specified a shared key, set it
11385 explicitly, otherwise let wpa_supplicant go with the default.
11387 2006-04-24 Dan Williams <dcbw@redhat.com>
11389 * src/nm-device-802-11-wireless.c
11390 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11392 2006-04-24 Dan Williams <dcbw@redhat.com>
11394 Commit the async scanning patch
11396 * src/nm-device-802-11-wireless.c
11397 - get rid of scan_mutex
11398 - (wireless_event_helper): act on wireless scan events
11399 - (real_start): schedule a pending scan
11400 - (link_to_specific_ap): fake the link to the AP during a scan
11401 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11402 strength during scans
11403 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11404 nm_device_set_bitrate): unused with new scanning code, disable
11405 - (nm_device_wireless_schedule_scan): removed
11406 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11407 - (request_and_convert_scan_results): new function; retrieve scan
11408 results from the driver and schedule the processing function
11409 - (scan_results_timeout): timeout triggered when card doesn't send
11410 a scan results wireless event during a certain interval
11411 - (schedule_scan_results_timeout): new function; schedule the scan
11413 - (cancel_scan_results_timeout): new function; cancel the scan
11415 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11416 to do the scanning. Otherwise, just request a scan but don't
11417 grab results here; instead schedule a timeout for scan results and
11418 let netlink notify us of scan completion events
11419 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11420 - (cancel_pending_scan): new function; cancel a pending wireless scan
11421 - (supplicant_status_cb): ignore disconnect events while scanning
11422 - (supplicant_exec): wait a bit longer for the supplicant to start up
11423 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11425 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11427 2006-04-24 Dan Williams <dcbw@redhat.com>
11429 * gnome/applet/applet-dbus.c
11430 - Disable the pending call debug stuff, seems under control now
11432 2006-04-20 Robert Love <rml@novell.com>
11434 Fix bug where hidden ESSID's would not show up in the applet, even
11435 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
11436 because nm_policy_device_list_update_from_allowed_list() would merge
11437 the data, putting a name to the hidden networks, but never notify NMI
11438 of the changes. Simple fix is to invoke the function
11439 nm_dbus_signal_wireless_network_change() if we make a mapping.
11440 * src/NetworkManagerAPList.c: Call the function
11441 nm_dbus_signal_wireless_network_change() if we made a successful
11442 BSSID to ESSID mapping, notifying the applet of the "new" network.
11443 * src/NetworkManagerAPList.h: Update the prototypes for both
11444 nm_ap_list_copy_essids_by_address() and
11445 nm_ap_list_copy_one_essid_by_address().
11447 2006-04-20 Robert Love <rml@novell.com>
11449 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11450 not set. Just return zero.
11452 2006-04-20 Robert Love <rml@novell.com>
11454 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11455 only one copy of nm-vpn-properties is running at a time via the 'ol
11456 X selection trick. This prevents the user from opening two "VPN
11457 Connections" windows from within the applet, which leads to mass
11459 * clipboard.c: New file, implementing simple X selection logic.
11460 * clipboard.h: New file.
11461 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11463 2006-04-18 Nicolas Trangez <eikke@eikke.com>
11465 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11467 initscript/Gentoo/Makefile.am
11468 initscript/Gentoo/NetworkManagerDispatcher.in
11470 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11473 2006-04-16 Dan Williams <dcbw@redhat.com>
11475 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11477 initscript/Slackware/Makefile.am
11478 initscript/Slackware/rc.networkmanager-dispatcher.in
11479 initscript/Slackware/rc.networkmanager.in
11480 - Update slackware initscripts
11482 2006-04-10 Robert Love <rml@novell.com>
11484 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11485 the "delete_event" signal on the druid's parent window and handle it
11486 our way, lest using the WM to close the druid results in a series of
11487 bloody and ultimately lethal errors.
11489 2006-04-10 Robert Love <rml@novell.com>
11491 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11492 'Back' too or else the 'Forward' option is initially disabled despite
11495 2006-04-06 Robert Love <rml@novell.com>
11497 Fix bad but simple bug where an active modem connection did not update
11498 NM's connection state, breaking any app that did online/offline:
11499 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
11500 represented whether a dial up connection is active, or not.
11501 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
11502 to modem activation and deactivation.
11503 * src/NetworkManagerDbus.c: When asked our state, do not return
11504 disconnected if the modem is active.
11506 2006-04-04 Robert Love <rml@novell.com>
11508 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
11509 applet. It just confuses the crap out of people and does not make a
11510 lot of sense, as the daemon still runs.
11512 2006-04-02 Tor Krill <tor@krill.nu>
11514 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
11515 in start of service.
11516 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
11517 get Archlinux backend up to date.
11519 2006-03-29 Robert Love <rml@novell.com>
11521 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
11522 to add support for per-route MSS and improve support for per-interface
11524 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
11525 optionally take an MSS parameter and set it for the given route.
11526 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
11527 NMIP4Config's stored MSS, if any.
11528 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
11529 the interface's MTU and the route's MSS, respectively. Add functions
11530 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
11531 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
11533 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
11534 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
11535 nm_ip4_config_set_mss.
11536 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
11538 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
11539 Change the retval of nm_system_get_mtu to guint32.
11540 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
11541 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
11542 servers can specify MTU's, we should set it here if the MTU was not
11545 2006-03-27 Jürg Billeter <j@bitron.ch>
11548 * initscript/Makefile.am:
11549 * initscript/paldo/Makefile.am:
11550 * initscript/paldo/NetworkManager.in:
11551 * initscript/paldo/NetworkManagerDispatcher.in:
11552 * src/backends/Makefile.am:
11553 * src/backends/NetworkManagerPaldo.c:
11554 - Add paldo support
11556 2006-03-27 Dan Williams <dcbw@redhat.com>
11558 Patch from Christian Persch <chpe@gnome.org>
11559 * gnome/applet/applet.glade
11560 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
11562 2006-03-27 Dan Williams <dcbw@redhat.com>
11564 Patch from Diffe <diffie@blazebox.homeip.net>
11565 * src/backends/NetworkManagerSlackware.c
11566 - Don't restart howl, since it's been replaced by Avahi
11567 in most distributions
11569 2006-03-27 Dan Williams <dcbw@redhat.com>
11571 Patch from Tor Krill <bugzilla@krill.nu>
11573 initscript/Makefile.am
11574 src/backends/Makefile.am
11575 src/backends/NetworkManagerArch.c
11576 initscript/Arch/Makefile.am
11577 initscript/Arch/networkmanager-dispatcher.in
11578 initscript/Arch/networkmanager.in
11579 - Add Arch Linux support, fixes gnome.org #335147
11581 2006-03-27 Dan Williams <dcbw@redhat.com>
11583 Patch from Diffe <diffie@blazebox.homeip.net>
11584 * initscript/Slackware/rc.networkmanager
11585 - update, fixed gnome.org #333368
11587 2006-03-27 Robert Love <rml@novell.com>
11589 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
11590 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
11592 2006-03-27 Robert Love <rml@novell.com>
11594 Patch by Jürg Billeter <j@bitron.ch>:
11595 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
11597 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
11598 as we prefer glibc over kernel headers, if possible.
11600 2006-03-27 Robert Love <rml@novell.com>
11602 Patch by Jon Escombe <list@dresco.co.uk>:
11603 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
11604 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
11605 fail, don't bail out. We don't expect all of the various WPA-EAP
11606 values to be present.
11607 * src/nm-ap-security.c: We need to match all capabilities for each
11608 encryption type, not any one of them.
11610 2006-03-27 Robert Love <rml@novell.com>
11612 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
11613 restart, not reload, ypbind. Unfortunately there is no superior
11616 2006-03-24 Christopher Aillon <caillon@redhat.com>
11618 * gnome/applet/applet-notifications.c:
11619 When displaying a notification, make sure to get rid of the
11620 previous notification so as to not have competing bubbles,
11621 and stop leaking the old one.
11623 * gnome/applet/applet.c:
11624 * gnome/applet/applet.h:
11625 Add a new 'notification' member to the applet, and zero it out
11626 and free it appropriately.
11628 2006-03-23 Robert Love <rml@novell.com>
11630 Patch by j <j@bootlab.org>:
11631 * gnome/applet/applet.glade: Don't set the invisible_char property,
11632 which simply overrides the GTK default. By and by, this behavior
11633 ought to be fixed in Glade.
11635 2006-03-22 Robert Love <rml@novell.com>
11637 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
11639 2006-03-22 Robert Love <rml@novell.com>
11641 Bug fix by Timo Hoenig <thoenig@suse.de>:
11642 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
11643 disconnect. Otherwise, we have the daemon surviving DBUS restarts
11644 and the applet going AWOL.
11646 2006-03-22 Robert Love <rml@novell.com>
11648 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
11649 preprocessor define and use it instead of open-coded the DHCP
11650 timeout, which is currently 25 seconds, everywhere.
11652 2006-03-22 Robert Love <rml@novell.com>
11654 Implement "Dynamic WEP", which is basically WPA authentication and WEP
11655 key exchange via WPA, ostensibly providing good security without
11656 requiring hardware that supports full WPA. Also, add UI elements to
11657 allow the user to select the pairwise & group cipher for WPA Enterprise
11659 * gnome/applet/applet.glade: Update glade file.
11660 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
11661 key type, too, to and from gconf.
11662 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
11663 wso_wpa_create_key_type_model(), noting whether we are handling PSK
11664 or EAP configuration, and in the latter case add in "Dynamic WEP" if
11665 the capabilities match.
11666 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
11668 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
11669 serialize from UI to DBUS.
11670 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
11672 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
11673 nmu_security_serialize_wpa_eap_with_cipher(), and
11674 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
11675 serialize/deserialize the key type via DBUS as the new third DBUS
11677 * libnm-util/dbus-helpers.h: Update prototypes.
11678 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
11679 too. If the key type is WEP104, do Dynamic WEP, which means
11680 "IEEE8021X" for "key_mgmt". Also add support for user-specified
11681 pairwise and group ciphers (fixes a FIXME).
11683 2006-03-21 Robert Love <rml@novell.com>
11685 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
11686 nm_system_get_mtu(), which returns a user-provided or system-mandated
11687 MTU value for a given device, if any, or zero if no such value
11688 exists. Add nm_system_set_mtu() to set the MTU for a given device
11689 if we have a provided value.
11690 * src/nm-device.c: Set the MTU of devices.
11691 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
11692 * src/backends/NetworkManagerDebian.c,
11693 src/backends/NetworkManagerGentoo.c,
11694 src/backends/NetworkManagerRedHat.c,
11695 src/backends/NetworkManagerSlackware.c: Implement stub functions.
11697 2006-03-21 Robert Love <rml@novell.com>
11699 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
11700 configuration file.
11702 2006-03-17 Robert Love <rml@novell.com>
11704 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
11705 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
11706 it, in case it is not running in the first place. We just want its
11707 configuration reloaded. Also, do not "rcypbind stop" on device down.
11709 2006-03-15 Robert Love <rml@novell.com>
11711 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
11712 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
11713 label "WEP 40/128-bit" is inconsistent because the physical key size
11714 is 40 or 104-bits, to which a 24-bit initialisation vector is
11715 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
11716 to read "40/104" or "64/128". I do not care much which, but most
11717 users think of "silver" and "gold" encryption as 64 and 128-bits, so
11718 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
11719 WEP passphrase support only handles 128-bit keys, and any future
11720 64-bit passphrase support will require a new option (no way to auto-
11721 detect the target key size), explicitly label our passphrase support
11722 "WEP 128-bit Passphrase".
11724 2006-03-15 Robert Love <rml@novell.com>
11726 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
11727 the system init scripts (or some other mechanism) starting it (or a
11728 compatible DBUS service) before NetworkManager runs. This means that
11729 distributions might need to update their init scripts. This fixes
11730 possible races and is quite a bit cleaner.
11731 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
11732 starting the NetworkManager daemon.
11735 2006-03-14 Robert Love <rml@novell.com>
11737 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
11738 before adding anything.
11740 2006-03-13 Robert Love <rml@novell.com>
11742 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
11743 widgets, too, if they exist, in case the user hit the back button.
11744 Fixes a bug where the details page contains the widgets of multiple
11745 VPN modules (Novell bug #157048).
11747 2006-03-13 Robert Love <rml@novell.com>
11749 Patch by Timo Hoenig <thoenig@suse.de>:
11750 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
11751 daemon survive DBUS restarts, too.
11753 2006-03-10 Robert Love <rml@novell.com>
11755 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
11757 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
11758 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
11759 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
11760 in response to "toggled" signal on new toggle.
11762 2006-03-10 Robert Love <rml@novell.com>
11764 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
11765 serialization if strings are NULL, lest DBUS get angry.
11767 2006-03-10 Robert Love <rml@novell.com>
11769 * src/nm-ap-security-wpa-eap.c: Don't log the password.
11771 2006-03-09 Robert Love <rml@novell.com>
11773 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
11776 2006-03-09 Dan Williams <dcbw@redhat.com>
11778 Track pending call requests in the applet, and report how many are
11779 outstanding, and how long each completed one takes.
11781 * gnome/applet/applet-dbus-devices.c
11782 gnome/applet/applet-dbus-vpn.c
11783 - Track pending calls
11785 * gnome/applet/applet-dbus.[ch]
11786 - Remove some unused enums
11787 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
11788 new functions to track dbus pending calls and spit out some
11789 statistics about them
11791 2006-03-09 Robert Love <rml@novell.com>
11793 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
11794 nm_ap_set_timestamp() take the second and micro-second parameters as
11795 direct arguments, which avoids both a dynamic memory allocation and a
11796 structure-to-structure copy! Add a new interface, the aptly named
11797 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
11798 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
11799 the return from nm_ap_get_timestamp(). New users should use the new
11800 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
11801 the extreme benefit to performance.
11802 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
11803 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
11805 2006-03-08 Robert Love <rml@novell.com>
11807 * gnome/applet/applet.glade: Hide the password entry text with
11810 2006-03-08 Robert Love <rml@novell.com>
11812 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
11813 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
11814 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
11815 a second argument, NMData.
11816 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
11817 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
11818 config files as trusted.
11820 2006-03-06 Robert Love <rml@novell.com>
11822 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
11823 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
11824 to exit the applet. As a sweet side-effect, idea courtesy of Chris
11825 Rivera, detect if the applet was auto-started. If so, ask the user
11826 if he or she would like to stop automatically running the applet on
11827 login. If so, disable autostart.
11829 2006-03-06 Robert Love <rml@novell.com>
11831 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
11832 directory in CFLAGS so developers can actually use NetworkManager.h.
11834 2006-03-06 Robert Love <rml@novell.com>
11836 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
11837 open-coded integer constants. Add state_to_string() to map a given
11838 state to a textual description, and provide that when notifying of
11840 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
11841 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
11842 this header directly, but it is currently not installed on most
11845 2006-03-05 Dan Williams <dcbw@redhat.com>
11847 Process netlink messages in device subclasses rather than in
11848 NetworkManager.c. Also add support for recognizing Wireless Events.
11851 - Find GLIB_GENMARSHAL
11854 - Since we're marshalling custom types for wireless event signals,
11855 we get to create our own marshallers using GLIB_GENMARSHAL
11857 * src/NetworkManager.c
11858 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
11859 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
11860 cut down somewhat. We no longer process signals here.
11861 - (nm_data_new): create the netlink monitor here, and remove a
11862 useless call to nm_policy_schedule_device_change_check()
11863 - (nm_data_free): get rid of the netlink monitor here
11864 - (nm_device_link_activated, nm_device_link_deactivated): removed
11865 - (main): don't create the netlink monitor here, let nm_data_new
11866 do that. Call nm_policy_schedule_device_change_check() right
11867 before we jump to the mainloop to figure out which device
11870 * src/NetworkManagerSystem.[ch]
11871 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
11872 convert back and forth from interface names to interface
11875 * src/nm-device-802-11-wireless.c
11876 - (real_init): connect to wireless-event signals from the netlink
11878 - (nm_device_802_11_wireless_event): new function, schedule handler
11879 for wireless event signals from the netlink monitor object. We
11880 want the handler to run in the device's context
11881 - (wireless_event_helper): handle wireless-event signals from netlink
11882 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
11885 * src/nm-device-802-11-wireless.h
11886 - remove unused prototype for nm_device_802_11_wireless_new
11888 * src/nm-device-802-3-ethernet.c
11889 - (real_init): new function; set up signal handlers for link events
11890 - (nm_device_802_3_ethernet_link_activated): new function, schedule
11891 handler for netlink link activated events on device's main loop
11892 - (link_activated_helper): when we get a link activated event, set
11893 the device's link to be active
11894 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
11895 handler for netlink link deactivated events on device's main loop
11896 - (link_deactivated_helper): when we get a link deactivated event, set
11897 the device's link to be inactive
11898 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
11901 * src/nm-device-802-3-ethernet.h
11902 - remove unused prototype for nm_device_802_3_ethernet_new
11904 * src/nm-device.[ch]
11905 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
11906 but locks the device list
11907 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
11909 * src/nm-netlink-monitor.[ch]
11910 - (nm_netlink_monitor_class_install_signals): New signal
11912 - (nm_netlink_monitor_new): keep reference to NMData so we can get
11914 - (nm_netlink_monitor_event_handler): expand for wireless events too
11916 * src/nm-marshal-main.c
11917 - Include generated nm-marshal.c and nm-marshal.h
11919 * src/nm-marshal.list
11920 - List of custom marshal functions
11922 2006-03-05 Dan Williams <dcbw@redhat.com>
11924 * gnome/applet/applet-notifications.h
11925 - Protect prototype of nma_send_event_notification() because it
11926 includes libnotify-specific types
11927 - Include libnotify/libnotify.h too, since we technically need it
11929 * gnome/applet/applet.c
11930 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
11931 - (nma_show_vpn_login_banner_dialog): add some error checking
11933 2006-03-04 Dan Williams <dcbw@redhat.com>
11935 Clean up activation cancellation. Should be a lot faster now. Observed
11936 an issue with wireless devices between stage 2 and 3 of activation, where
11937 activation would be cancelled, but the device thread wouldn't notice until
11938 the supplicant association timed out. Reorganize activation such that
11939 a cancellation handler gets immediately scheduled in the device's thread,
11940 and devices have a chance to perform any custom cleanup too.
11942 * src/nm-device.[ch]
11943 - (activation_cancel_handler): new device-type-specific function
11944 for cleaning up device-type-specific stuff on cancellation
11945 - (cancel_activation): removed
11946 - (nm_device_activation_cancel): subsume functionality of
11947 real_cancel_activation, but instead of doing anything, punt
11948 operation to a handler that's run in device-thread context
11949 - (nm_device_schedule_activation_handle_cancel): fix spelling of
11951 - (activation_handle_cancel_helper): cancellation handler run in
11952 device-thread context, calls device-type-specific cancelation,
11953 then tears down the activation request
11954 - (real_activation_cancel_handler): generic cancellation handler,
11955 deals with cancelling any in-process DHCP request
11956 - (nm_device_activate_stage1_device_prepare,
11957 nm_device_activate_stage2_device_config,
11958 nm_device_activate_stage3_ip_config_start,
11959 nm_device_activate_stage4_ip_config_get,
11960 nm_device_activate_stage4_ip_config_timeout,
11961 nm_device_activate_stage5_ip_commit): don't call
11962 nm_device_schedule_activation_handle_cancel() any more, since
11963 cancellation will have been already scheduled for us by
11964 nm_device_activation_cancel(). Just exit the function and
11965 assume that the cancel handler will be called next.
11967 * src/nm-device-802-3-ethernet.c
11968 - (real_act_stage2_config): remove; didn't do anything anyway
11970 * src/nm-device-802-11-wireless.c
11971 - (supplicant_status_cb): ensure we don't do anything if the activation
11973 - (real_activation_cancel_handler): implement; cancel user key request
11974 on activation cancellation
11976 2006-03-04 Dan Williams <dcbw@redhat.com>
11978 * src/nm-device-802-11-wireless.c
11979 - (supplicant_send_network_config): assume that drivers that don't
11980 support WPA pretty much suck, and can't handle NM scanning
11981 along with wpa_supplicant.
11983 2006-03-03 Robert Love <rml@novell.com>
11985 * configure.in: Bump version to 0.6.0.
11988 2006-03-03 Robert Love <rml@novell.com>
11990 * configure.in: Require DBUS 0.60 or later.
11992 2006-03-03 Dan Williams <dcbw@redhat.com>
11994 Fix a crash if an "Other wireless network" was chosen, failed, then
11995 chosen again from the applet's menu. If the other network wasn't
11996 noticed in a scan, it wouldn't have any capabilities, but would still
11997 be listed because the user forced the network. To fix this, we set
11998 sensible capabilities on the forced network, which will get overwritten
11999 with the correct ones if the network shows up later in a scan.
12001 * src/nm-ap-security.h
12002 - Add a new "get_default_capabilities_func" member to the
12005 * src/nm-ap-security.c
12006 - (nm_ap_security_get_default_capabilities): new function
12008 * src/nm-ap-security.c
12009 src/nm-ap-security-wep.c
12010 src/nm-ap-security-wpa-psk.c
12011 src/nm-ap-security-wpa-eap.c
12012 - Implement get_default_capabilities_func() for all, which
12013 uses the information contained in a specific NMAPSecurity
12014 object to determine default AP capabilites necessary
12015 to support that object
12017 As a secondary measure, we now prune artificial access points that fail
12018 to be activated right away. The thing failed, and we have no scan data for
12019 it, so it's pretty much useless since security information is only saved
12020 in the applets when a connection is successful.
12022 * src/NetworkManagerAPList.c
12023 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12024 not artificial. If we see it, it's no longer a figment of the
12025 user's imagination :)
12027 * src/NetworkManagerPolicy.c
12028 - (nm_policy_activation_failed): send along the failed AP if we
12031 * src/nm-device-802-11-wireless.c
12032 - (real_activation_failure_handler): remove artificial APs from
12033 the device list, because activation failed
12035 2006-03-02 Robert Love <rml@novell.com>
12037 Add support for retrieving both the per-device speed and the
12038 per-network maximum supported rate. Then change the getProperties
12039 DBUS API for both networks and devices to report this informaiton.
12040 Finally, display the information via both nm-applet and nm-tool:
12041 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12043 * gnome/applet/applet.c: Display the device's speed in the 'Connection
12044 Information' dialog.
12045 * gnome/applet/applet.glade: Update the UI to show per-device speed.
12046 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12047 network_device_get_speed() and network_device_set_speed() for
12048 retrieving and setting, respectively, a network device's current
12050 * src/nm-dbus-device.c: Send the device's speed on getProperties.
12051 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12052 in the function nm_device_802_11_wireless_get_bitrate() -- it does
12053 not matter (yet) what the units are, because we only feed it its own
12054 output. Implement SIOCGIRATE and set the per-network maximum
12055 supported rate during scanning.
12056 * src/nm-device-802-11-wireless.h: Export the function
12057 nm_device_802_11_wireless_get_bitrate().
12058 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12059 function nm_device_802_3_ethernet_get_speed() for returning an
12060 802.3's current speed, in Mb/s.
12061 * test/nm-tool.c: Display the per-device current speed, if available,
12062 and the per-network maximum rate.
12064 2006-03-02 Dan Williams <dcbw@redhat.com>
12066 * src/nm-device-802-11-wireless.c
12067 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12068 card when it gets initialized. Since devices don't get added to
12069 the scan list until they are initialized, this function wasn't
12070 setting the intitial scan interval correctly, and was leaving
12071 it at 0. This caused cards to get many scan requests in a short
12072 amount of time when they were initialized
12074 2006-03-02 Robert Love <rml@novell.com>
12076 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12077 active device. But do not do what we used to do and override the
12078 state, which caused the dreaded icon race of '05.
12080 2006-03-02 Robert Love <rml@novell.com>
12082 Commit Dan's update of my previous commit:
12083 * src/nm-device-802-11-wireless.c: Always set the mode, because the
12084 set_mode() function itself does the check. But do only set the
12085 frequency if in Ad-Hoc mode.
12087 2006-03-02 Robert Love <rml@novell.com>
12089 Patch by Brian Magnuson <magnuson@rcn.com>:
12090 * src/nm-device-802-11-wireless.c: During scanning, only set the
12091 wireless mode to infrastructure if it is not currently in
12092 infrastructure mode. For some driver, setting the mode is a costly
12093 operation, apparently.
12095 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
12097 * Makefile.am: use the correct dir for autostart mechanism.
12099 2006-02-28 Dan Williams <dcbw@redhat.com>
12101 Patch from Brian Magnuson <magnuson@rcn.com>
12102 * gnome/applet/applet.c
12103 - (nma_show_vpn_failure_dialog): fix errors left over from
12104 libnotify support changes
12106 2006-02-28 Dan Williams <dcbw@redhat.com>
12108 * src/vpn-manager/nm-vpn-act-request.[ch]
12109 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12111 - (nm_vpn_act_request_is_failed): new function; return whether or
12112 not the vpn activation request has failed
12114 * src/vpn-manager/nm-vpn-manager.c
12115 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12116 daemon to kill the connection when the activation request fails.
12117 Fixes issue where NM would get confused if the VPN activation
12118 request timed out, and would not allow further VPN connections
12121 2006-02-28 Dan Williams <dcbw@redhat.com>
12123 * gnome/applet/applet.c
12124 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12125 overlapping connection requests, disable all VPN menu items
12126 but the active VPN connection
12128 2006-02-28 Dan Williams <dcbw@redhat.com>
12130 * src/vpn-manager/nm-vpn-connection.c
12131 - (nm_vpn_connection_set_parent_device): fix C&P error which
12132 called g_object_unref() on the connection's parent device
12133 when it should have been ref-ed instead. Fixes crash with
12134 repeated vpn connect requests
12136 2006-02-28 Christopher Aillon <caillon@redhat.com>
12138 * gnome/applet/applet.glade:
12139 Mark a few strings non-translatable, since they shouldn't be.
12141 2006-02-28 Dan Williams <dcbw@redhat.com>
12143 * src/vpn-manager/nm-vpn-service.c
12144 - (nm_vpn_service_start_connection): if the vpn service daemon is
12145 already running, don't blindly ask it to connect, but wait until
12146 it's in the STOPPED state first. Fixes an assertion when user
12147 starts a second vpn connection without stopping the first.
12148 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12149 dbus service exists before continuing with the connection
12150 process, and reduce latency while waiting for it to become
12152 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12153 waiting for the vpn service daemon to become available
12154 - General log message cleanups; show progress via "Stage x of 4"
12155 rather than not telling anyone how many stages there are
12157 2006-02-28 Robert Love <rml@novell.com>
12159 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12160 * src/backends/NetworkManagerSuSE.c: Implement the interface
12161 nm_system_should_modify_resolv_conf() for SUSE.
12162 * src/backends/NetworkManagerDebian.c,
12163 src/backends/NetworkManagerGentoo.c,
12164 src/backends/NetworkManagerRedHat.c,
12165 src/backends/NetworkManagerSlackware.c: Add stub.
12166 * src/named-manager/Makefile.am: Grab includes from src.
12167 * src/named-manager/nm-named-manager.c: Allow backends to disable the
12168 automatic updating of resolv.conf. This is useful for testing,
12169 broken static configurations, and administrator lock-down.
12171 2006-02-28 Dan Williams <dcbw@redhat.com>
12173 * src/nm-device-802-11-wireless.c
12174 - Move all the wpa_supplicant-related management stuff into its
12175 own struct, just for oranization's sake
12176 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12177 to a GIOChannel/GSource
12178 - (supplicant_log_stdout): new function; grab output from the
12179 wpa_supplicant stdout pipe and write it to our logs.
12181 2006-02-27 Christopher Aillon <caillon@redhat.com>
12183 * src/nm-device-802-11-wireless.c:
12184 Err, fix thinko in my previous commit.
12186 2006-02-28 Robert Love <rml@novell.com>
12188 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12190 2006-02-28 Robert Love <rml@novell.com>
12192 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12193 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12194 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12195 deserializers are responsible for freeing the returned DBUS strings.
12197 2006-02-27 Christopher Aillon <caillon@redhat.com>
12199 * src/nm-device-802-11-wireless.c:
12200 The scan list is being pruned prematurely. We should prune after
12201 the device has gone MIA for three scans, not one. Split out the
12202 interval to realtime seconds function to better serve this.
12204 2006-02-27 Robert Love <rml@novell.com>
12206 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12207 Open the pid file O_TRUNC, so if it already exists we truncate it to
12208 zero length. Also, be more verbose about warnings generated during
12209 writing out the pid file. Finally, always write out the pid file if
12210 in daemon mode. Use "--pid-file" to override the default.
12212 2006-02-27 Robert Love <rml@novell.com>
12214 Patch by R. Vinay <rvinay@novell.com>:
12215 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12216 'last_attempt_success' when removing a VPN connection, too. (Fixes
12217 Novell bug #153628).
12219 2006-02-27 Robert Love <rml@novell.com>
12221 * gnome/applet/applet.glade: Set "activates_default" on passphrase
12222 entry so user can hit <ENTER> after entering passphrase (Novell bug
12225 2006-02-27 Dan Williams <dcbw@redhat.com>
12228 - Mass search/replace of:
12230 NMWirelessApplet -> NMApplet
12231 NM_*_WIRELESS_APPLET -> NM_*_APPLET
12232 (it ain't just for wireless anymore, ma!)
12233 - Fix duplicate function name printing when using nm_warning
12234 - wireless-applet.glade -> applet.glade
12236 2006-02-27 Dan Williams <dcbw@redhat.com>
12238 * dispatcher-daemon/NetworkManagerDispatcher.c
12239 - Accept --pid-file with a path to a pidfile, write it out on
12240 startup, and delete it on shutdown
12242 * src/NetworkManager.c
12243 - Accept --pid-file with a path to a pidfile, write it out on
12244 startup, and delete it on shutdown
12245 - Move nm_print_usage() lower
12247 * initscripts/RedHat/NetworkManager.in
12248 - Use new --pid-file option
12249 - Fix service stopping to wait a bit for NM to quit
12251 * initscripts/RedHat/NetworkManagerDispatcher.in
12252 - Use new --pid-file option
12254 2006-02-26 Dan Williams <dcbw@redhat.com>
12257 - make and install nm-crash-logger
12259 * src/nm-logging.[ch]
12260 - New files; consolidate logging and crash handling
12262 * src/nm-crash-logger.c
12264 - Standalong crashlogger for NM, grab a backtrace
12267 * src/NetworkManager.[ch]
12268 - Remove signal handling and put it into nm-logging.c
12270 2006-02-26 Dan Williams <dcbw@redhat.com>
12273 gnome/applet/Makefile.am
12274 - Conditionalize all the notify stuff
12276 Merge most of Chris Aillon's notification patch:
12278 * gnome/applet/applet-notifications.[ch]
12279 - New files; show a notification
12281 * gnome/applet/applet-dbus-devices.[ch]
12282 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12283 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12284 new functions, do the right thing when a device change occurs
12286 * gnome/applet/applet-dbus.c
12287 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12288 signals, so we can handle them specially
12290 * gnome/applet/applet.[ch]
12291 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12292 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12293 - (nmwa_notify_state): remove
12294 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12295 notification work is now done when the appropriate dbus signals
12297 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12298 defer execution of the notification/dialog stuff. That was an
12299 artifact of the previous multi-threaded nature of the applet
12300 and is now pointless.
12301 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12302 no longer needed. Function folded into applet-notifications.c
12304 * src/NetworkManagerPolicy.c
12305 - (nm_policy_activation_finish): send the AP along with the device
12306 status change signal, if the connection is wireless. Should
12307 fix the race where applet would show a connection to "unknown"
12309 2006-02-25 Robert Love <rml@novell.com>
12311 Add WPA Enterprise support:
12312 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12313 nm-gconf-wso-wpa-eap.h.
12314 * gnome/applet/nm-gconf-wso-wpa-eap.c,
12315 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
12316 serialization and deserialization.
12317 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12318 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12319 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12320 * gnome/applet/wireless-applet.glade: Add UI for configurating security
12321 settings related to WPA Enterprise.
12322 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12323 instantiate WPA Enterprise wireless-security-option.
12324 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12325 Implement WPA Enterprise wireless-security-option object.
12326 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12328 * libnm-util/cipher-wpa-psk-hex.c,
12329 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12330 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12331 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12332 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12333 including the cipher to DBUS method, and
12334 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12336 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12337 nm-ap-security-wpa-eap.h
12338 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12339 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12340 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12341 files. Implement NMAPSecurityWPA_EAP object.
12342 * src/nm-ap-security-wpa-psk.c: Cleanup.
12343 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12344 an NMAPSecurityWPA_EAP object via the method
12345 nm_ap_security_wpa_eap_new_deserialize().
12346 * src/nm-dbus-nm.c: Cleanup.
12347 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12348 WPA Enterprise support.
12350 2006-02-24 Robert Love <rml@novell.com>
12352 Patch from Timo Hoenig <thoenig@suse.de>:
12353 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12355 2006-02-24 Robert Love <rml@novell.com>
12357 Patch from Dan Winship <danw@novell.com>:
12358 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
12359 area to transparent.
12361 2006-02-21 Dan Williams <dcbw@redhat.com>
12363 * gnome/applet/applet.[ch]
12364 gnome/applet/applet-dbus.c
12365 - Implement notification support for VPN messages too
12367 2006-02-21 Dan Williams <dcbw@redhat.com>
12369 * gnome/applet/applet-dbus-info.c
12370 - Clean up warning messages to not double-print the function
12372 2006-02-21 Dan Williams <dcbw@redhat.com>
12374 * gnome/applet/applet-compat.c
12375 - (convert_one_entry): accept entries without a key_type and
12376 convert them to unencrypted networks
12378 2006-02-21 Dan Williams <dcbw@redhat.com>
12380 * gnome/libnm_glib/libnm_glib.c
12381 - Use __func__ everywhere we can
12383 - Use dbus pending calls rather than blocking
12384 - Reduce busywaits for our thread to start and stop
12385 (gnome.org #330562)
12386 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12387 stomp on others using the default shared dbus connection.
12388 Fixes #rh177546# and gnome.org #326572
12390 2006-02-21 Dan Williams <dcbw@redhat.com>
12392 Patch from Rodney Dawes <dobey@novell.com>
12394 gnome/applet/Makefile.am
12395 gnome/applet/applet.c
12396 - Add libnotify support if '--enable-notify=yes' is passed
12399 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
12401 * configure.in (ALL_LINGUAS): ko added. (Korean)
12403 2006-02-15 Robert Love <rml@novell.com>
12405 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12406 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12407 and WPA_SUPPLICANT_CONTROL_SOCKET.
12409 2006-02-15 Robert Love <rml@novell.com>
12411 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12412 information about what connection stage we are at, provide the total
12413 number of stages, e.g. "Stage 2 of 5", so users know how far along
12414 they are if they experience problems.
12416 2006-02-15 Robert Love <rml@novell.com>
12418 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12419 define to $sysconfdir.
12420 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12421 editing dialog, vpn_edit_widget, which fixes a bug where editing one
12422 type of VPN and then editing another results in a mangled dialog
12423 box containing the widgets from both VPNs (fixes Novell #150854).
12424 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12426 2006-02-14 Robert Love <rml@novell.com>
12428 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12429 syslog's file descriptor.
12431 2006-02-14 Robert Love <rml@novell.com>
12433 Fix bug around since the change to "deal with APs changing settings on
12434 us," checked in on the fifth of February in the year of the dog,
12435 wherein connecting to non-broadcast encrypted networks always fails
12436 because nm_ap_get_encrypted() always returns FALSE, even when the user
12437 provided a key, because the newly-created fake AP does not have any
12438 capabilities set, which is a sypmtom of security settings not matching
12439 capabilities (Novell bug #150784):
12440 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12441 nm_ap_add_capabilities_from_security(), which sets the given AP's
12442 capabilities off the given security settings. Also improve our
12443 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12444 NM_AUTH_CIPHER_AUTO.
12445 * src/nm-device-802-11-wireless.c: Call the function
12446 nm_ap_add_capabilities_from_security() to ensure that capabilities
12447 match newly updated security settings.
12449 2006-02-14 Robert Love <rml@novell.com>
12451 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12452 error as a string, not an integer, if possible; do not print the
12453 function name twice; always give the interface, if possible; misc.
12456 2006-02-12 Dan Williams <dcbw@redhat.com>
12458 Patch from Tom Parker <palfrey@tevp.net>
12459 * src/NetworkManagerSystem.h
12460 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12463 * src/backends/NetworkManagerDebian.c
12464 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12467 2006-02-12 Dan Williams <dcbw@redhat.com>
12469 * vpn-daemons/openvpn/intltool-extract.in
12470 vpn-daemons/openvpn/intltool-merge.in
12471 vpn-daemons/openvpn/intltool-update.in
12472 vpn-daemons/pptp/intltool-extract.in
12473 vpn-daemons/pptp/intltool-merge.in
12474 vpn-daemons/pptp/intltool-update.in
12475 - Remove from CVS, they should get created by intltoolize,
12478 2006-02-12 Dan Williams <dcbw@redhat.com>
12480 * vpn-daemons/pptp/src/pppd/patchlevel.h
12481 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12482 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12483 Makefile-defined VERSION
12485 2006-02-09 Dan Williams <dcbw@redhat.com>
12487 Patch from: Vinay A R <rvinay@novell.com>
12488 * src/vpn-manager/nm-vpn-act-request.[ch]
12489 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12490 IPSec VPNs require them for std gateway.
12491 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12492 and 'user_routes_count'
12493 - (nm_vpn_act_request_get_user_routes): new function; gets user
12494 defined routes from NMVPNActRequest object, returns the string
12497 * src/vpn-manager/nm-vpn-manager.[ch]
12498 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
12499 for 'user_routes' and 'user_routes_count'
12501 * src/vpn-manager/nm-dbus-vpn.c
12502 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
12503 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
12505 * src/vpn-manager/nm-vpn-service.c
12506 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
12509 Modifications by Dan:
12510 * src/vpn-manager/nm-vpn-service.c
12511 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
12514 * vpn-daemons/vpnc/src/nm-vpnc-service.c
12515 * vpn-daemons/pptp/src/nm-pptp-service.c
12516 * vpn-daemons/openvpn/src/nm-openvpn-service.c
12517 - Grab user routes from dbus message
12518 - Free all string arrays we got from dbus
12520 2006-02-07 Robert Love <rml@novell.com>
12522 Patch by Stefan Seyfried <seife@suse.de>:
12523 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
12525 2006-02-06 Robert Love <rml@novell.com>
12527 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
12529 2006-02-06 Robert Love <rml@novell.com>
12531 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
12532 test ">=" is never false. If no newline is found, we loop forever.
12533 We can just check for ">" because the following if() will see the
12534 zero-th argument if the while() gets that far.
12536 2006-02-05 Dan Williams <dcbw@redhat.com>
12538 Refine handling of non-broadcast networks.
12540 * src/NetworkManagerAPList.c
12541 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
12542 property from scanned AP to the AP from the device list
12544 * src/nm-device-802-11-wireless.c
12545 - (supplicant_send_network_config): use ap_scan=1 for all networks
12546 except non-SSID-broadcasting and Ad-Hoc networks. Use
12547 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
12548 networks since those don't have APs.
12549 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
12550 AP as non-SSID-broadcasting
12551 - (process_scan_results): don't handle non-SSID-broadcasting here
12553 2006-02-05 Dan Williams <dcbw@redhat.com>
12555 * src/nm-device-802-11-wireless.c
12556 - (get_supplicant_timeout): new function; return
12557 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
12558 14 channels. These are likely a/b/g cards, like Atheros, and
12559 slow as hell to scan.
12560 - (supplicant_timeout_cb, supplicant_monitor_start): use
12561 get_supplicant_timeout()
12563 2006-02-05 Dan Williams <dcbw@redhat.com>
12565 * src/dhcp-manager/nm-dhcp-manager.c
12566 - Loose a commit race with Robert; make sure size check
12567 uses size of DHCP_SERVICE_LEN, not hardcoded 15
12569 2006-02-05 Robert Love <rml@novell.com>
12571 Patch by Christoph Brill <chrisbrill@gmx.net>:
12572 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
12573 with DHCP_SERVICE_NAME.
12575 2006-02-05 Dan Williams <dcbw@redhat.com>
12577 Remove anything having to do with device_setup_func from the
12578 AP security objects, since it's no longer used.
12580 * src/nm-ap-security.h
12581 - Kill device_setup_func and nm_ap_security_device_setup()
12583 * src/nm-ap-security-wep.c
12584 src/nm-ap-security-wpa-psk.c
12585 - (real_device_setup): remove
12587 * src/nm-ap-security.c
12588 - (real_device_setup): remove
12589 - (nm_ap_security_device_setup): remove
12591 * src/nm-device-802-11-wireless.[ch]
12592 - (nm_device_802_11_wireless_set_wep_enc_key): make static
12593 - (set_wireless_config, wireless_configure_adhoc): remove; unused
12594 and done by wpa_supplicant now anyway
12596 2006-02-05 Dan Williams <dcbw@redhat.com>
12598 * src/nm-device-802-11-wireless.c
12599 - (ap_need_key, real_act_stage2_config): deal with APs changing
12600 settings on us. Previously NM would loop asking for the
12601 key but getting the same one back. Now, if the NMI-supplied
12602 cipher doesn't overlap with the scanned AP capabilities,
12603 we request a completely new key from the user.
12605 2006-02-05 Dan Williams <dcbw@redhat.com>
12607 * src/NetworkManagerUtils.c
12608 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
12609 Handle newline killing better
12611 2006-02-05 Dan Williams <dcbw@redhat.com>
12613 * gnome/applet/nm-gconf-wso.c
12614 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
12615 of unencrypted access point security info.
12617 2006-02-03 Robert Love <rml@novell.com>
12619 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
12620 user's encryption key, so we print the err_msg_cmd not the command,
12621 if available. So long as SUPPLICANT_DEBUG is default, this makes
12624 2006-02-03 Christopher Aillon <caillon@redhat.com>
12626 * initscript/RedHat/NetworkManagerDispatcher.in:
12627 * initscript/RedHat/NetworkManager.in: modify the pidfile location
12628 Patch from Dan Walsh <dwalsh@redhat.com>
12630 2006-02-03 Robert Love <rml@novell.com>
12632 * dispatcher-daemon/NetworkManagerDispatcher.c,
12633 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
12634 but use the sysconfdir.
12636 2006-02-03 Robert Love <rml@novell.com>
12638 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
12639 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
12641 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
12642 nm_ip4_config_get_hostname() and
12643 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
12644 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
12645 leak g_strdup() result.
12647 2006-02-03 Robert Love <rml@novell.com>
12649 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
12650 broadcast == TRUE. Also, copy broadcast and artificial properties
12651 from source network to destination in nm_ap_copy().
12652 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
12653 since we now default new networks to non-hidden.
12655 2006-02-03 Dan Williams <dcbw@redhat.com>
12657 * gnome/applet/main.c
12658 - (main): change the NEVER->ALWAYS so we start at the
12659 beginning of the session, if being session-managed
12661 2006-02-03 Dan Williams <dcbw@redhat.com>
12663 * gnome/applet/main.c
12664 - (main): in a variation on Robert's patch, change
12665 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
12668 2006-02-02 Robert Love <rml@novell.com>
12670 * src/Makefile.am: If we aren't going to create the run directory at,
12671 uh, run-time, create it during install. Then users just doing
12672 'make install' are cool, too. While we are here, create the
12673 dispatcher.d directory, too.
12674 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
12675 the exact run directory.
12676 * Makefile.am: Install nm-applet.desktop.
12678 2006-02-02 Robert Love <rml@novell.com>
12680 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
12681 structure, which denotes whether or not the AP is hidden. This is a
12682 superset of 'artificial' -- we need 'broadcast' because a hidden AP
12683 can show up in the scan list. Add nm_ap_get_broadcast() and
12684 nm_ap_set_broadcast() accessor interfaces.
12685 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
12686 nm_ap_set_broadcast().
12687 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
12688 "getProperties" method, which denotes whether or not the given
12690 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
12691 an artificial network. Set broadcast to TRUE when scanning returns
12692 an ESSID and FALSE when not.
12693 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
12694 from "getProperties" method on a network. Possible TODO is to
12695 somehow display this.
12696 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
12698 2006-02-02 Dan Williams <dcbw@redhat.com>
12700 * src/nm-device-802-11-wireless.c
12701 - (supplicant_interface_init): don't try to create
12702 /var/run/NetworkManager, since that should be done by
12703 the distro package. Causes problems for stuff like SELinux
12705 2006-02-02 Robert Love <rml@novell.com>
12707 Patch by Sureshkumar T <tsureshkumar@novell.com>:
12708 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
12709 Check for and handle empty string for iface.
12711 2006-02-01 Robert Love <rml@novell.com>
12713 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
12716 2006-01-31 Dan Williams <dcbw@redhat.com>
12718 * nm-applet.desktop
12719 - Add --sm-disable to Exec arguments, presuming that when
12720 using autostart, we don't want session management
12722 2006-01-31 Robert Love <rml@novell.com>
12724 * src/NetworkManagerAP.c: Add two new manufacturer default network
12725 names: linksys-a and linksys-g. These are found (at least) on the
12726 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
12729 2006-01-31 Robert Love <rml@novell.com>
12731 * src/NetworkManagerAP.c: Optimize the function
12732 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
12733 machine code. This is the first in a series of code tweaks aiming to
12734 generate better machine code and make NetworkManager all the better.
12735 Just kidding. Who has time to go through the assembly generated for
12736 every function? I certainly don't. I have a wife, a kid, a job,
12737 a mortgage, a mistress. But this function was so bad, I was called
12738 to arms. Like the book.
12740 2006-01-31 Robert Love <rml@novell.com>
12742 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
12743 AP is not broadcasting, to scan with probe request frames. Required
12744 for non-broadcast networks.
12746 2006-01-31 Robert Love <rml@novell.com>
12748 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
12749 preprocessor define (still 20s). Fix message text in nm_info()
12750 s/too too/took too/.
12752 2006-01-30 Dan Williams <dcbw@redhat.com>
12754 * src/nm-device-802-11-wireless.c
12755 - (supplicant_monitor_start): increase connect/auth timeout to
12756 20 seconds from 10 seconds
12758 2006-01-30 Dan Williams <dcbw@redhat.com>
12761 - Define LOCALSTATEDIR
12763 * src/nm-device-802-11-wireless.c
12764 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
12765 socket where we want it to
12767 * src/wpa_ctrl.[ch]
12768 - (wpa_ctrl_open): accept location to put local control socket
12770 2006-01-30 Robert Love <rml@novell.com>
12772 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
12773 get_ip4_string() for "domain_name".
12775 2006-01-30 Robert Love <rml@novell.com>
12777 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12778 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
12779 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
12780 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
12781 support for "Automatic" pairwise and group cipher configuration by
12782 letting wpa_supplicant handle the details. Add UI elements, new
12783 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
12784 charm. Note this does more than add a nice feature, it fixes a bug.
12785 Apparently, some people have AP's where the pairwise cipher does not
12786 match the group cipher. Insane, but true.
12788 2006-01-30 Dan Williams <dcbw@redhat.com>
12790 * gnome/applet/applet-dbus-devices.c
12791 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
12792 functions, grab device driver name from NetworkManager
12793 - (nmwa_dbus_device_properties_cb): call functions to get driver
12795 * gnome/applet/applet.c
12796 - (nmwa_update_info): show driver name in Connection Information
12799 * gnome/applet/nm-device.[ch]
12800 - (network_device_get_driver, network_device_set_driver): add
12801 accessors for driver name
12803 * gnome/applet/wireless-applet.glade
12804 - Add line for driver name to Connection Information dialog
12806 * src/nm-dbus-device.c
12807 - (nm_dbus_device_get_driver): new function to return driver name
12808 - (nm_dbus_device_methods): hook up driver name function to dbus
12811 - (get_driver_name): new function
12812 - (detail_device): grab and show driver name
12814 2006-01-30 Robert Love <rml@novell.com>
12816 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
12817 does not parse the markup if it is not part of the format.
12819 2006-01-30 Robert Love <rml@novell.com>
12821 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
12822 FALSE, we have no security options for this dialog, so we throw up
12823 an error dialog instead of a broken passphrase dialog. Fixes
12825 * gnome/applet/wireless-security-manager.c,
12826 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
12827 does not add any security options, not even NONE, print a warning
12828 and return FALSE. This let's functions constructing a dialog bail
12829 out if the device's capabilities and the network's requirements have
12832 2006-01-27 Robert Love <rml@novell.com>
12834 * configure.in: Require wpa_supplicant. Detect location of binary and
12835 use it. Override with "--with-wpa_supplicant=foo".
12836 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
12837 path to wpa_supplicant but use the auto-detected or user-provided
12838 value from configure.
12840 2006-01-27 Robert Love <rml@novell.com>
12842 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
12843 but the DHCP server did not return a hostname, try to look up our
12844 name via DNS and set the system hostname to that.
12846 2006-01-27 Dan Williams <dcbw@redhat.com>
12848 * src/backends/NetworkManagerRedHat.c
12849 - Add NM_CONTROLLED system network script support for RH/Fedora
12851 2006-01-27 Dan Williams <dcbw@redhat.com>
12853 * src/backends/NetworkManagerGentoo.c
12854 - (nm_system_device_get_disabled): add missing function.
12857 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
12859 * configure.in: Added vi in ALL_LINGUAS line.
12861 2006-01-26 Robert Love <rml@novell.com>
12863 * src/Makefile.am, src/kernel-types.h: Now that two different source
12864 files are feeling the crack-addled leakage of kernel types such as
12865 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
12866 types in user-space -- define a header and include it as needed.
12867 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
12868 * src/nm-device-802-3-ethernet.h: Remove defines.
12869 * src/wpa.c: Remove defines and include kernel-types.h.
12871 2006-01-26 Robert Love <rml@novell.com>
12873 * TODO: Update. WPA support is in the bag and HAL restarts (should)
12876 2006-01-26 Robert Love <rml@novell.com>
12878 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
12879 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
12880 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
12881 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
12882 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
12883 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
12884 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
12885 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
12886 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
12887 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
12888 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12889 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
12890 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
12891 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
12892 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
12893 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
12894 Kill unused variables, labels, and static functions. Don't pass
12895 string literals as the format string for printf-like functions.
12897 2006-01-25 Dan Williams <dcbw@redhat.com>
12899 * gnome/applet/wireless-applet.glade
12900 - Remove WPA2 Checkbox
12902 * gnome/applet/wireless-security-manager.c
12903 - (wsm_set_capabilities): split up sections for wpa and wpa2.
12904 This means the Wireless Security menu now has two WPA options,
12905 one for "WPA Personal" and one for "WPA2 Personal"
12907 * gnome/applet/wso-wpa-psk.[ch]
12908 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
12909 'wpa2' argument to determine WPA version to use
12910 - (append_dbus_params_func): pass stored WPA version to cipher
12911 rather than using the (removed) checkbox
12913 2006-01-24 Robert Love <rml@novell.com>
12915 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
12916 before we g_strdup(), not the ultimate string.
12918 2006-01-23 Dan Williams <dcbw@redhat.com>
12920 * src/NetworkManagerAP.[ch]
12921 - (nm_ap_new_from_ap): copy original essid too
12922 - (nm_ap_unref): free original essid
12923 - (nm_ap_get_orig_essid): new function
12924 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
12925 but keep original essid around too
12927 * src/nm-device-802-11-wireless.c
12928 - (supplicant_send_network_config): send wpa_supplicant the
12929 _original_ essid, and not as a string, but in hex. Should
12930 allow us to connect to more APs that use wierd character
12931 encodings for their essids
12933 * utils/nm-utils.[ch]
12934 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
12935 to UTF-8. If it's not already valid UTF-8, we check LANG and
12936 use the current locale as a hint for what encoding the essid
12937 might be in. Obviously not 100% accurate, but the idea here is
12938 that if a user's locale is ex. ja_JP, they are more likely than
12939 not to be in Japan, where access points will likely be in some
12942 2006-01-23 Dan Williams <dcbw@redhat.com>
12944 * libnm-util/cipher-private.h
12945 libnm-util/cipher.c
12946 libnm-util/cipher.h
12947 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
12949 2006-01-23 Robert Love <rml@novell.com>
12951 Patch by Timo Hoenig <thoenig@suse.de>:
12952 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
12953 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
12954 by DHCP and pass it to the backends, allowing distribution-specific
12955 behavior with respect to the DHCP-supplied hostname (if nothing else,
12956 some distributions might not want to set the hostname).
12957 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
12958 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
12959 Also update our NIS behavior.
12960 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
12961 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
12962 Add stub functions.
12964 2006-01-23 Robert Love <rml@novell.com>
12966 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
12967 gnome-session does autostart. TODO: We need to install this to
12968 $prefix/share/autostart/.
12970 2006-01-22 Dan Williams <dcbw@redhat.com>
12972 * src/NetworkManagerAP.[ch]
12974 src/nm-device-802-11-wireless.c
12975 - Make nm_ap_get_essid return "const char *"
12977 2006-01-22 Dan Williams <dcbw@redhat.com>
12979 * src/NetworkManagerAP.[ch]
12980 - (nm_ap_get_matched, nm_ap_set_matched): remove
12982 * src/NetworkManagerAPList.[ch]
12983 - (nm_ap_list_diff): removed
12984 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
12985 deal with access points changing essids on us
12987 * src/nm-device-802-11-wireless.c
12988 - (add_new_ap_to_device_list): move AP dbus signal logic to
12989 src/NetworkManagerAPList.c
12990 - (real_can_interrupt_activation): new function; allow interruption
12991 of device activation if we are waiting for a network key
12993 * src/NetworkManagerPolicy.c
12994 - (nm_policy_device_change_check): allow interruption of currently
12995 activating devices if the device allows it. Previous behavior
12996 would refuse to activate a just-plugged wired device if a
12997 wireless device was waiting for a key.
12999 * src/nm-device.[ch]
13000 - (nm_device_can_interrupt_activation): new function; ask devices
13001 whether their activation can be interrupted
13003 2006-01-20 Robert Love <rml@novell.com>
13005 * Makefile.am, configure.in: Add new man subdirectory.
13006 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13007 man/Makefile.am: Add man pages for NetworkManager and its
13008 crime-solving bumbling buddy, NetworkManagerDispatcher.
13009 * man/.cvsignore: Add.
13010 * initscript/Debian/NetworkManager,
13011 initscript/Gentoo/NetworkManager.in,
13012 initscript/RedHat/NetworkManager.in,
13013 initscript/RedHat/NetworkManagerDispatcher.in,
13014 initscript/SUSE/networkmanager-dispatcher.in,
13015 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13017 2006-01-20 Robert Love <rml@novell.com>
13019 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13020 instead of queuing. This prevents the running of multiple NM
13021 daemons concurrently, which does not work whatsoever and results in
13022 neither daemon working correctly. Also, we don't handle queuing and
13023 name-owner-changes, anyhow.
13025 2006-01-20 Robert Love <rml@novell.com>
13027 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13028 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13031 2006-01-19 Robert Love <rml@novell.com>
13033 * configure.in: Require hal 0.5.0 or later.
13035 2006-01-18 Robert Love <rml@novell.com>
13037 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13038 Allow backends to flag a device (in whatever distro-dependent way
13039 they so desire) as disabled. NM will ignore any such device.
13040 * src/backends/NetworkManagerDebian.c,
13041 src/backends/NetworkManagerRedHat.c,
13042 src/backends/NetworkManagerSlackware.c: Add stub function
13043 nm_system_device_get_disabled() that always returns FALSE (enabled).
13044 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13045 SUSE-specific configuration structure. Fill it in from the
13046 NM_CONTROLLED variable in the system networking scripts. If this var
13047 exists and is "no", we ignore the device.
13049 2006-01-17 Robert Love <rml@novell.com>
13051 * configure.in: Remove 'no' language. Replaced by 'nb', which is
13052 identical for NM. For a full discussion, see the thread at
13053 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13055 2006-01-17 Dan Williams <dcbw@redhat.com>
13058 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13059 function. Fixes crash when wired DHCP fails.
13061 2006-01-16 Robert Love <rml@novell.com>
13063 * src/Makefile.am: Don't install NMLoadModules
13064 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13065 from src/ to test/ as no one uses it anymore. Note that I would be
13066 fine with removing it altogether.
13068 2006-01-16 Robert Love <rml@novell.com>
13070 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13071 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13072 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13073 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13074 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13075 src/nm-netlink-monitor.c: Don't miss any initializers on structure
13076 declarations, ever.
13077 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13078 NM_STATE_DISCONNECTED is zero).
13080 2006-01-16 Robert Love <rml@novell.com>
13082 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
13083 uninitialized parameter and buffer overflow. Novell #143496.
13085 2006-01-16 Dan Williams <dcbw@redhat.com>
13087 Apply the PtP Address bits of a patch from Tim Niemueller
13089 * src/nm-ip4-config.[ch]
13090 - Add ip4_ptp_address member to object
13091 - (nm_ip4_config_copy): copy ptp address too
13092 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13094 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13095 rather than local tunnel ip address
13097 * src/vpn-manager/nm-vpn-service.c
13098 - (print_vpn_config): update for PtP address
13099 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13100 DBusMessageIters in preparation for getting routes from the VPN
13101 service daemons too
13103 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13104 - (send_config_info): update for PtP address, clean up code
13105 - (main): update for PtP address, clean up code, fix typo
13107 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13108 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13110 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13111 - (pptp_ip_up): update for PtP address
13113 * vpn-daemons/pptp/src/nm-pptp-service.c
13114 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13116 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13117 - (print_vpn_config): update for PtP address
13118 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13120 2006-01-16 Dan Williams <dcbw@redhat.com>
13122 * gnome/applet/applet.c
13123 - (nmwa_add_networks_helper): don't indicate an active network
13124 if NM is disconnected or asleep
13126 2006-01-16 Dan Williams <dcbw@redhat.com>
13128 * src/NetworkManagerPolicy.c
13129 - (nm_policy_device_change_check): switch devices if we lose the link
13130 on an ethernet device.
13132 2006-01-16 Dan Williams <dcbw@redhat.com>
13134 * gnome/applet/wso-wpa-psk-hex.[ch]
13135 - Renamed -> wso-wpa-psk.[ch]
13137 * gnome/applet/wso-wpa-psk.[ch]
13140 * gnome/applet/wso-wpa-psk-passphrase.[ch]
13141 - Removed, rolled into wso-wpa-psk.[ch]
13143 * gnome/applet/Makefile.am
13144 - Updated for above changes
13146 * gnome/applet/wireless-applet.glade
13147 - Consolidate WPA-PSK options into one notebook
13148 widget, and make dialogs invisible by default
13149 to fix screen oddities
13151 * gnome/applet/wireless-security-manager.c
13152 - (wsm_set_capabilities): create the new wpa-psk widget rather
13153 than both the old hex & passphrase ones
13155 2006-01-16 Dan Williams <dcbw@redhat.com>
13157 * gnome/applet/other-network-dialog.c
13158 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13160 2006-01-16 Dan Williams <dcbw@redhat.com>
13162 * gnome/applet/applet.c
13163 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13164 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13165 prevention to realize window before trying to get server
13168 * gnome/applet/other-network-dialog.c
13169 - (nmwa_other_network_dialog_run): fix up focus-stealing
13170 prevention to realize window before trying to get server
13173 * gnome/applet/passphrase-dialog.c
13174 - (nmi_passphrase_dialog_new): fix up focus-stealing
13175 prevention to realize window before trying to get server
13178 2006-01-16 Robert Love <rml@novell.com>
13180 Patch from Timo Hoenig <thoenig@suse.de:
13181 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13182 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13183 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13184 libnm-util/dbus-helpers.h: add checks whether headers are used
13185 within a C++ build.
13187 2006-01-16 Dan Williams <dcbw@redhat.com>
13189 * gnome/applet/wireless-security-option.c
13190 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13192 2006-01-16 Dan Williams <dcbw@redhat.com>
13194 * libnm-util/cipher-wpa-psk-passphrase.c
13195 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13196 be 8 - 63 characters inclusive
13198 2006-01-16 Dan Williams <dcbw@redhat.com>
13201 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13203 2006-01-13 Robert Love <rml@novell.com>
13205 Patch by T Sureshkumar <tsureshkuman@novell.com>:
13206 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13207 modules that do not use an interface.
13209 2006-01-13 Dan Williams <dcbw@redhat.com>
13213 - Allow subclasses to implement deactivate_quickly()
13214 - (nm_device_deactivate_quickly): call subclass
13215 deactivate_quickly() methods
13216 - (nm_device_set_active_link): small cleanups, and don't
13217 deactivate the device right away because we risk a deadlock
13218 when called from device thread, waiting for the device
13219 thread to cancel activation
13221 * src/nm-device-802-11-wireless.c
13222 - (real_deactivate_quickly): new function
13223 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13224 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13225 so that we kill the supplicant when we sleep too
13226 - (supplicant_interface_init): work around naive naming attempts of
13227 wpa_ctrl when naming sockets
13229 2006-01-13 Dan Williams <dcbw@redhat.com>
13231 * src/nm-device-802-11-wireless.c
13232 - (supplicant_cleanup): delete old device control sockets too
13233 - (supplicant_get_device_socket_path): new function to consolidate
13234 locations that need a path to a device's control socket
13236 2006-01-12 Robert Love <rml@novell.com>
13238 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13239 description so that the description is unique for each
13240 pair (device,provider). Fixes Novell #142773.
13242 2006-01-12 Dan Williams <dcbw@redhat.com>
13244 * src/nm-device-802-11-wireless.c
13245 - (supplicant_exec): ensure GError is correctly initialized
13246 Reported by Diego González (gnome.org #326708)
13248 2006-01-11 Robert Love <rml@novell.com>
13250 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13251 define if_mii(), open code the same results, and do so without any
13254 2006-01-11 Robert Love <rml@novell.com>
13256 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13257 that wso_foo_new() returned non-NULL. Instead, only append the new
13258 wso to wsm->options if the wso is non-NULL. The crux is that we
13259 assume that the relevant key types are implied by WEP and WPA as
13260 appropriate. To be sure, they should be, but we should not expect
13261 drivers to not be oozing piles of wolf fecal matter.
13263 2006-01-11 Robert Love <rml@novell.com>
13265 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13266 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13267 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13268 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13269 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13270 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13271 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13272 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13273 comparing values within DBL_EPSILON. Also fix shadowed variable
13276 2006-01-11 Dan Williams <dcbw@redhat.com>
13278 Add options for WPA2 and WPA1+CCMP (AES).
13280 * gnome/applet/wireless-applet.glade
13281 - Add UI bits for WPA+CCMP
13283 * gnome/applet/other-network-dialog.c
13284 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13285 and don't allow creation of WPA2 Ad-Hoc networks since
13286 wpa_supplicant doesn't support them
13288 * gnome/applet/wireless-security-manager.c
13289 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13290 on to the specific wireless security option being created
13292 * gnome/applet/wireless-security-option.[ch]
13293 - (wso_wpa_create_key_type_model): new utility function to create
13294 the model required for WPA Key Type combo box
13296 * gnome/applet/wso-private.h
13297 gnome/applet/wireless-security-option.h
13298 - Move private function prototypes into wso-private.h
13300 * gnome/applet/wso-wpa-psk-hex.[ch]
13301 gnome/applet/wso-wpa-psk-passphrase.[ch]
13302 - (append_dbus_params_func): get WPA version from checkbox and pass
13303 it to the dbus serialization helper
13304 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13305 key type combo changes
13306 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13309 * libnm-util/cipher-wpa-psk-hex.c
13310 libnm-util/cipher-wpa-psk-passphrase.c
13311 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13312 new function; allow the cipher to be changed after object creation
13314 * src/nm-ap-security-wpa-psk.c
13315 - (set_description): Do WPA2 descriptions too
13317 * src/nm-ap-security.c
13318 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13320 2006-01-11 Robert Love <rml@novell.com>
13322 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13323 is defined in <linux/mii.h> to return the mii_ioctl_data structure
13324 from the ifreq structure in lieu of an open coded solution. Removes
13325 a life-threatening type-punning.
13326 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13327 types, ever, whatsoever, baby.
13329 2006-01-11 Robert Love <rml@novell.com>
13331 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13332 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13333 assignments to applet->nm_state into a new nmwa_set_state() function
13334 for both cleanliness and to help debugging.
13336 2006-01-10 Robert Love <rml@novell.com>
13338 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
13339 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13340 seconds, exclusive. That is, we want to sleep x seconds such that
13343 2006-01-10 Robert Love <rml@novell.com>
13345 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13346 the attr fields according to the example in the email available at
13347 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13348 Conversely, we do have to free 'name', so we do so, fixing a leak.
13350 2006-01-10 Robert Love <rml@novell.com>
13352 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13353 sure that we close the socket!
13355 2006-01-10 Robert Love <rml@novell.com>
13357 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13358 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13359 src/nm-device.c: Fix a FIXME! Reimplement the function
13360 nm_device_update_hw_address() in device subclass variants,
13361 nm_device_802_3_ethernet_set_address() and
13362 nm_device_802_11_wireless_set_address(), hook them up, and use them.
13363 This fixes the existing bug where MAC addresses are all zeros.
13365 2006-01-10 Robert Love <rml@novell.com>
13367 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13368 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13369 option to give users ability to globally disconnect and put NM to
13370 sleep. This is useful as a 'lockdown mode' for flying, security, and
13373 2006-01-09 Robert Love <rml@novell.com>
13375 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
13376 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13377 User-space does not supply these types, so we have to define them
13378 ourselves. The relevant kernel maintainer refused to accept a patch
13379 switching these headers to the proper C99 types.
13381 2006-01-09 Dan Williams <dcbw@redhat.com>
13383 Apply Robert's 'tray icon redo' patch with fixes
13384 * gnome/applet/applet.c
13385 gnome/applet/applet.h
13386 - Instead of using a menu bar + menu item, simulate menu
13387 behavior using a popup menu. Highlight the area around
13388 the icon more like a menu too, by playing with the
13389 applet's size requisition
13391 2006-01-09 Timo Hoenig <thoenig@suse.de>
13392 * libnm-util/dbus-helpers.c
13393 libnm-util/dbus-helpers.h
13394 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13395 to 'exception_namespace' (:namespace is a keyword in
13398 2006-01-09 Dan Williams <dcbw@redhat.com>
13400 * src/NetworkManagerPolicy.c
13401 - (nm_policy_device_change_check): don't autoswitch away from
13402 Ad-Hoc networks, since there's really no concept of
13406 - (nm_dbus_nm_create_wireless_network): mark created networks
13409 * src/nm-device-802-11-wireless.c
13410 - (real_activation_success_handler): add user-created Ad-Hoc
13411 networks to the device's scan list
13413 2006-01-08 Dan Williams <dcbw@redhat.com>
13415 We now require a patch for wpa_supplicant to support Ad-Hoc
13417 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13419 * src/nm-device-802-11-wireless.c
13420 - (supplicant_send_network_config): turn off wpa_supplicant's
13421 scanning. Fixes Ad-Hoc networks.
13423 2006-01-08 Dan Williams <dcbw@redhat.com>
13425 * src/nm-ap-security.c
13426 src/nm-ap-security.h
13427 - Add a user_created argument to the write_supplicant_config
13430 * src/nm-ap-security-wep.c
13431 src/nm-ap-security-wpa-psk.c
13432 src/nm-device-802-11-wireless.c
13433 - Make Ad-Hoc mode somewhat work, at least write the
13434 correct options to wpa_supplicant
13436 2006-01-08 Dan Williams <dcbw@redhat.com>
13438 * src/nm-device-802-11-wireless.c
13439 - Remove unused code from the old device activation path
13441 2006-01-08 Dan Williams <dcbw@redhat.com>
13443 * libnm-util/dbus-helpers.c
13444 - (nmu_security_serialize_wpa_psk): pass a blank key through
13445 dbus when key == NULL
13447 2006-01-08 Dan Williams <dcbw@redhat.com>
13449 * gnome/applet/nm-gconf-wso-wpa-psk.c
13450 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13451 correct arguments to nmu_security_deserialize_wpa_psk()
13453 * src/nm-ap-security-wpa-psk.c
13454 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13455 arguments to nmu_security_deserialize_wpa_psk()
13457 2006-01-08 Dan Williams <dcbw@redhat.com>
13459 * gnome/applet/wso-wpa-psk-hex.c
13460 gnome/applet/wso-wpa-psk-passphrase.c
13461 - Hook up the append_dbus_params_func() function
13463 2006-01-08 Dan Williams <dcbw@redhat.com>
13465 * src/nm-device-802-11-wireless.c
13466 - (get_wireless_capabilities): correctly detect driver WPA
13469 2006-01-08 Dan Williams <dcbw@redhat.com>
13471 * gnome/applet/Makefile.am
13472 gnome/applet/wso-wpa-psk-hex.c
13473 gnome/applet/wso-wpa-psk-hex.h
13474 - New files, implement WPA-PSK Hex key input
13476 * gnome/applet/wireless-applet.glade
13477 - Change existing wpa-psk stuff to wpa-psk-hex
13478 - Add new widgets for wpa-psk-passphrase
13480 * gnome/applet/wireless-security-manager.c
13481 - (wsm_set_capabilities): enable WPA options
13483 * gnome/applet/wso-wpa-psk-passphrase.c
13484 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13485 for WPA-PSK passphrase
13487 2006-01-08 Dan Williams <dcbw@redhat.com>
13489 * include/NetworkManager.h
13490 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13491 applet/info-daemons
13493 * gnome/applet/passphrase-dialog.c
13494 - Use the constant. Fixes a bug where the arguments to
13495 dbus_message_new_error() were incorrect
13497 * src/nm-dbus-nmi.c
13500 2006-01-07 Dan Williams <dcbw@redhat.com>
13502 * src/nm-device-802-11-wireless.c
13503 - Add a link timeout so we allow the supplicant time to
13504 reassociate if it can, before we deactivate the card
13505 - Fix up link status and link updating so things work better
13507 2006-01-07 Dan Williams <dcbw@redhat.com>
13509 * src/nm-device-802-11-wireless.c
13510 - Switch over to using wpa_supplicant
13511 - Add a timeout of 10s for association of the supplicant
13512 - Start the monitor callback of the supplicant
13514 2006-01-07 Dan Williams <dcbw@redhat.com>
13516 * src/NetworkManagerUtils.c
13517 - (nm_utils_supplicant_request,
13518 nm_utils_supplicant_request_with_check):
13519 pass correct buffer length to wpa_ctrl_request()
13521 2006-01-07 Dan Williams <dcbw@redhat.com>
13523 * src/nm-device-private.h
13525 - (nm_device_activate_schedule_stage3_ip_config_start): make
13526 this function available to subclasses
13528 2006-01-06 Robert Love <rml@novell.com>
13530 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
13531 user plugging in a network cable signals their preference for to
13532 switch, unless the user explicitly selected a wireless network and
13533 therefore signaled their preference for said wireless network over
13534 wired. In other words, do exactly what makes sense.
13536 2006-01-06 Robert Love <rml@novell.com>
13538 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
13539 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
13540 src/NetworkManagerWireless.h: Remove, no longer used and they keep
13541 showing up in my greps.
13543 2006-01-06 Robert Love <rml@novell.com>
13545 * gnome/applet/applet-dbus-devices.c,
13546 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
13547 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
13548 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
13549 New Network' both failed in the non-encrypted case because we were
13550 not appending the security options to the DBUS message. And
13551 'Connect to Other' was also failing in the encrypted case because
13552 we were not incrementing to the next DBUS parameter. All fixed.
13553 Thanks to dcdw for some debugging help.
13555 2006-01-06 Robert Love <rml@novell.com>
13557 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
13558 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
13559 hangup code and add per-device hangup. Tie last commit into the
13560 GNOME applet. TODO: Save, understand, and respond to the state of
13561 each dialup device.
13563 2006-01-06 Robert Love <rml@novell.com>
13565 Patch by Timo Hoenig <thoenig@suse.de>:
13566 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
13567 hangup specific dialup devices.
13568 * src/backends/NetworkManagerDebian.c,
13569 src/backends/NetworkManagerGentoo.c,
13570 src/backends/NetworkManagerRedHat.c,
13571 src/backends/NetworkManagerSlackware.c: Add stub backend.
13572 * src/backends/NetworkManagerRedHat.c,
13573 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
13574 hangup specific dialup devices.
13576 2006-01-04 Robert Love <rml@novell.com>
13578 * gnome/applet/applet-dbus-devices.c,
13579 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
13580 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
13583 2006-01-04 Dan Williams <dcbw@redhat.com>
13585 First dump of wpa_supplicant-related code. It's not hooked up to
13586 anything yet though. Thanks to Kay Sievers for
13587 wpa_supplicant_wrapper.c, which formed the basis for this work,
13588 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
13592 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
13594 * src/NetworkManagerUtils.[ch]
13595 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
13596 Add convenience functions for talking to wpa_supplicant
13598 * src/nm-ap-security.[ch]
13599 src/nm-ap-security-wep.c
13600 src/nm-ap-security-wpa-psk.[ch]
13601 - Update and implement real_write_supplicant_config functions
13602 in all security types
13603 - (nm_ap_security_wpa_psk_new_from_ap): implement in
13604 nm-ap-security-wpa-psk.c
13606 * src/nm-device-802-11-wireless.c
13607 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
13608 wpa_supplicant_start, wpa_supplicant_interface_init,
13609 wpa_supplicant_send_network_config): add functions to talk to
13610 wpa_supplicant and write network config to it
13612 2006-01-04 Robert Love <rml@novell.com>
13614 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
13615 values so that distribution-backends can differentiate between the
13616 various types (modem, ISDN, et cetera) of dialup device that they
13618 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
13621 2006-01-03 Dan Williams <dcbw@redhat.com>
13623 * src/NetworkManagerPolicy.c
13625 src/nm-device-802-11-wireless.c
13626 - Move wireless-specific activation failure and success code
13627 into wireless device class
13629 2006-01-03 Robert Love <rml@novell.com>
13631 Patch by Preggna S:
13632 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
13633 IPsec does not require that a VPN client be bound to an interface,
13634 due to the use of the in-kernel IPSec bits. So make the tunnel
13637 2006-01-03 Dan Williams <dcbw@redhat.com>
13639 * src/NetworkManagerAP.c
13640 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
13641 the WPA IE specifies that WEP is supported
13643 * src/nm-device-802-11-wireless.c
13644 - (process_scan_results): don't mark an AP as supporting WEP
13645 if there's already other encryption capability info
13647 2006-01-03 Dan Williams <dcbw@redhat.com>
13649 * src/dhcp-manager/nm-dhcp-manager.c
13650 - Recognize activation cancellation when waiting for DHCP
13651 configuration from dhcdbd
13652 - Ignore non-dhcdbd messages
13655 - (real_act_stage3_ip_config_start): return to correct behavior
13656 of letting the dhcp-manager notify us of failure or
13657 success rather than incorrectly doing that ourselves
13658 - (nm_device_activate_stage4_ip_config_get): deal with
13659 activation cancellation a bit earlier
13661 2006-01-03 Dan Williams <dcbw@redhat.com>
13663 * src/nm-device-802-11-wireless.c
13665 - Add hooks to subclasses for stage3_ip_config_start and
13666 stage4_ip_config_timeout
13668 * src/nm-device-802-3-ethernet.c
13669 - (real_get_generic_capabilities): make devices NM-supported
13672 2006-01-03 Robert Love <rml@novell.com>
13674 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
13675 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
13676 latter cannot differentiate between error and the address -1; misc.
13679 2006-01-03 Dan Williams <dcbw@redhat.com>
13681 * src/NetworkManager.c
13682 - Move link-checking/probing into the device subclasses
13685 * src/nm-device.[ch]
13686 src/nm-device-802-11-wireless.c
13687 src/nm-device-802-3-ethernet.c
13688 - Do periodic link checking in device subclasses rather
13689 than being triggered from NetworkManager.c
13690 - discover_wireless_capabilities -> get_wireless_capabilities
13691 - discover_generic_capabilities -> get_generic_capabilities
13692 - Device subclass activation routines now return a value of type
13693 NMActStageReturn to indicate what step to perform next
13694 - Devices now override stage4_get_ip4_config if they choose
13696 2006-01-01 Dan Williams <dcbw@redhat.com>
13698 * src/nm-device-802-11-wireless.c
13699 - (real_init): don't chain up to parent init because we don't
13700 need to do that anymore
13703 - (discover_device_type): fix arguments to ioctl() to correctly
13704 pass interface name
13705 - (nm_device_new): consolidate generic device initialization into
13707 - (real_init): remove, consolidated to nm_device_new()
13708 - (nm_device_deactivate, real_deactivate): consolidate
13710 2006-01-01 Dan Williams <dcbw@redhat.com>
13712 * src/nm-activation-request.c
13713 - Change dhcp_state member of the NMActRequest structure
13714 from guint8 to guint32
13716 * src/dhcp-manager/nm-dhcp-manager.[ch]
13717 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
13718 than guint8 to match the dbus argument. Turns out we were
13719 overwriting memory since we were passing in only a guint8
13721 2005-12-31 Dan Williams <dcbw@redhat.com>
13723 * refactor NMDevice into a GObject-based framework with separate
13724 objects for wired and wireless. The following files are no
13725 longer used but should stick around for a bit so we don't
13726 loose code through the cracks:
13727 NetworkManagerDevice.c
13728 NetworkManagerDevice.h
13729 NetworkManagerWireless.c
13730 NetworkManagerWireless.h
13732 The intent here is to allow each device type to manage its own
13733 connection & activation life-cycle, ie to allow wireless devices
13734 to interface with wpa_supplicant, etc. There's a fair bit of
13735 encapsulation breakage right now that should gradually get pulled
13736 back into each device, along with things like periodic property
13737 updates and link probing.
13739 2005-12-29 Dan Williams <dcbw@redhat.com>
13741 * include/NetworkManager.h
13742 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
13743 between networks that don't have any encryption at all
13745 2005-12-29 Dan Williams <dcbw@redhat.com>
13747 * test/test-common.c
13750 - Move to a test-common subdirectory
13752 * test/libnm-util/test-ciphers.c
13753 - Move test data to test-inputs.h
13754 - Test WPA ciphers too
13756 * test/libnm-util/test-dbus-helpers.c
13757 - Test serialization/deserialization of ciphers
13759 2005-12-29 Dan Williams <dcbw@redhat.com>
13761 * gnome/applet/applet-dbus-devices.c
13762 - Replace 'enc' parameter with 'capabilities' for wireless networks
13763 in dbus calls to NM
13764 - Set capabilities on WirelessNetwork objects
13765 - Receive and save type-specific device capabilities too
13767 * gnome/applet/applet-dbus-info.c
13768 gnome/applet/applet-dbus.c
13769 - Passphrase dialog no longer a singleton; new instance gets created
13770 on each request. Updates to deal with that.
13772 * gnome/applet/applet.c
13773 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
13774 than single 'encrypted' flag
13775 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
13777 - Passphrase dialog updates per above
13779 * gnome/applet/menu-items.c
13780 - (network_menu_item_update): use AP capabilities to determine
13783 * gnome/applet/nm-device.[ch]
13784 - Add accessors for type-specific device capabilities
13786 * gnome/applet/other-network-dialog.c
13787 - Rework to respect device capabilities. i.e., if the device doesn't
13788 support WPA, remove that option from the security dropdown
13790 * gnome/applet/passphrase-dialog.c
13791 - Massive rework so that a new instance is created each time
13792 it's used, to support wireless network capabilities
13794 * gnome/applet/wireless-network.[ch]
13795 - Add accessors and members for wireless network capabilities
13797 * gnome/applet/wireless-security-manager.[ch]
13798 - (wsm_set_capabilities): called after creation to set which
13799 security options get shown to the user
13801 2005-12-29 Dan Williams <dcbw@redhat.com>
13803 * libnm-util/cipher-wpa-psk-passphrase.c
13804 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
13807 2005-12-23 Dan Williams <dcbw@redhat.com>
13809 * gnome/applet/applet-dbus-info.c
13810 - (nmi_dbus_get_key_for_network): if there's no entry in
13811 GConf for a network, assume we want a new key
13812 - (nmi_save_network_info): serialize wireless security info
13813 into GConf so its saved
13816 - Fix warning as we may not be passed security info when
13817 connecting to a wireless network
13819 2005-12-23 Dan Williams <dcbw@redhat.com>
13821 * gnome/applet/applet-compat.c
13822 - Fix bugs in GConf entry conversion
13824 * gnome/applet/applet-dbus-info.c
13825 - (nmi_dbus_get_network_properties): handle case of the BSSID
13826 list being zero-length
13828 * libnm-util/cipher-*
13829 libnm-util/dbus-helpers.c
13830 - All ciphers must now return hashed keys as UTF-8 valid
13831 hexadecimal strings, ie "8f3dae4023". They are pushed
13832 through dbus as strings too.
13833 - Consolidate various functions that do bin->hex and hex->bin
13834 conversion into cipher.c
13836 * src/nm-ap-security-wep.c
13837 src/nm-ap-security-wpa-psk.c
13838 - Handle NULL keys since we may not know keys right away
13840 * src/nm-dbus-nmi.c
13841 - (nm_dbus_get_network_data_cb): actually advance to the start
13842 of the wireless security info before we try to deserialize it
13844 * libnm-util/test-ciphers.c
13845 - Update cipher tests for the change to UTF-8 hexadecimal strings
13847 2005-12-22 Dan Williams <dcbw@redhat.com>
13849 * gnome/applet/applet-compat.[ch]
13850 - Convert old-format GConf and keyring entries
13851 when the applet starts up.
13853 * gnome/applet/applet.c
13854 - (nmwa_get_instance): Call the conversion function
13855 on startup before dbus is initialized
13857 2005-12-22 Dan Williams <dcbw@redhat.com>
13859 * gnome/applet/applet-dbus-info.c
13860 - Remove nmi_dbus_create_error_message() in favor of
13861 nmu_create_dbus_error_message()
13862 - (nmi_dbus_get_network_properties): Error message cleanups
13863 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
13864 gconf key rather than 'addresses', since they really are BSSIDs
13865 - (nmi_dbus_get_network_properties): Dispose of the security
13866 object when we're done with it
13868 2005-12-21 Dan Williams <dcbw@redhat.com>
13870 * Consolidate the info-daemon's "updateNetworkInfo" and
13871 "addNetworkAddress" calls into just "updateNetworkInfo"
13873 2005-12-21 Dan Williams <dcbw@redhat.com>
13875 * Make connection after key retrieval work again
13877 2005-12-21 Dan Williams <dcbw@redhat.com>
13879 * gnome/applet/nm-gconf-wso*
13880 - Make the serialize functions return gboolean
13883 * gnome/applet/nm-gconf-wso.c
13884 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
13885 parent class handling so we don't segfault
13887 * src/NetworkManagerAP.[ch]
13888 - (nm_ap_get_capabilities): new function, return capabilities
13889 now that something can use them
13890 - (nm_ap_set_encrypted): assume that an access point supports
13891 both WEP104 and WEP40 if its set encrypted. FIXME: can
13892 we even tell whether it just supports WEP40?
13894 * src/NetworkManagerDevice.c
13895 - (ap_need_key): resurrect and update for the New World Order
13896 - (nm_device_wireless_get_activation_ap): if we're not given
13897 security info to use, create some based on access point
13900 * src/nm-ap-security-wep.c
13901 - (nm_ap_security_wep_new_from_ap): create a new object
13902 based on a certain access point's capabilities
13904 * src/nm-ap-security.c
13905 - (nm_ap_security_new_from_ap): delegate creation of a new
13906 object based on access point capabilities to a subclass
13907 - (nm_ap_security_copy_properties): don't segfault if we
13908 don't have a key yet
13911 - (nm_dbus_nm_set_active_device): provide more informative
13912 output when errors occur. Also construct security info
13913 for a given access point if we weren't given any
13915 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
13917 * configure.in: Added Lithuanian to ALL_LINGUAS.
13919 2005-12-21 Dan Williams <dcbw@redhat.com>
13922 - Add some testcases for WEP ciphers
13924 2005-12-17 Dan Williams <dcbw@redhat.com>
13928 2005-12-17 Dan Williams <dcbw@redhat.com>
13930 * include/NetworkManager.h
13931 - Finally kill NMEncKeyType
13933 * gnome/applet/applet-dbus-info.c
13934 - (nmi_save_network_info): convert to NMGConfWSO
13936 * gnome/applet/nm-gconf-wso-*.c
13937 - Implement gconf serialization functions
13939 * src/NetworkManagerPolicy.c
13940 - (nm_policy_activation_finish): fix up meaning of
13941 automatic/user_requested
13943 2005-12-17 Dan Williams <dcbw@redhat.com>
13946 - More applet cleanups
13947 - Use the dbus-method-dispatcher
13949 * libnm-util/dbus-method-dispatcher.[ch]
13950 - Generalize the implementation from NM in
13951 NetworkManagerUtils.c
13953 2005-12-16 Dan Williams <dcbw@redhat.com>
13956 - Fix up the passphrase dialog to use all the
13957 WirelessSecurityOption stuff (untested)
13959 2005-12-16 Dan Williams <dcbw@redhat.com>
13961 * Move nm_gconf_get_*_helper() functions to separate files,
13962 gconf-helpers.c & gconf-helpers.h
13964 * New NMGConfWSO objects for managing the gconf side of things.
13965 Eventually these should be merged with the
13966 WirelessSecurityOption objects and a common base (that can
13967 serialize/deserialize from dbus & gconf) should be
13968 refactored out, but for now they are separate.
13970 2005-12-16 Robert Love <rml@novell.com>
13972 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
13973 binaries unless they exist (nm_spawn_process() emits a warning if
13974 asked to spawn a non-existant process).
13976 2005-12-16 Dan Williams <dcbw@redhat.com>
13978 * gnome/applet/applet-dbus-info.c
13979 - Clean up lots of gconf-related code
13981 2005-12-16 Robert Love <rml@novell.com>
13983 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
13985 2005-12-16 Dan Williams <dcbw@redhat.com>
13987 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
13989 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
13990 bits still to be done)
13992 2005-12-16 Dan Williams <dcbw@redhat.com>
13994 * Finally move info-daemon related stuff out of
13995 NetworkManagerDbus.c to nm-dbus-nmi.c
13997 2005-12-16 Dan Williams <dcbw@redhat.com>
13999 * Kill auth_method for access points, since that's now done
14000 by NMAPSecurity objects
14002 * Add a copy-constructor of sorts to NMAPSecurity
14003 (how do you do this properly in glib???)
14005 2005-12-15 Dan Williams <dcbw@redhat.com>
14007 * Exorcise encryption key hashing on APs
14008 * Use libnm-util's serialization/deserialization in both the
14010 * Random other stuff
14012 2005-12-15 Robert Love <rml@novell.com>
14014 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14015 is being added to the icon naming spec, so let's use that (Tango CVS
14016 has the icon). Because it is new, however, we fall back to the
14017 current "gnome-lockscreen" if the new icon is not around, thus
14018 behavior is the same.
14019 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
14022 2005-12-15 Robert Love <rml@novell.com>
14024 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14025 well, help to give. Couple other misc. bits.
14027 2005-12-15 Dan Williams <dcbw@redhat.com>
14029 * libnm-util/dbus-helpers.[ch]
14030 - Make this the one-stop-shop for serializing/deserializing
14031 AP & connection security settings over dbus. Both NM
14032 and applets should use this to ensure consistent dbus
14033 API going forwared.
14035 2005-12-15 Robert Love <rml@novell.com>
14037 Patch by Timo Hoenig <thoenig@suse.de>:
14038 * src/NetworkManagerDbus.c
14039 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14040 if HAL jumps off the system bus. Otherwise libdbus
14041 (dbus_connection_dispatch) will try to run the filter
14042 function of our libhal context which is already freed.
14044 2005-12-15 Alexander Shopov <ash@contact.bg>
14046 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14048 2005-12-14 Dan Williams <dcbw@redhat.com>
14050 * include/NetworkManager.h
14051 src/NetworkManagerWireless.c
14052 - Rearrange 802.11 wireless-specific capabilities again
14055 - Forgot to add wpa.c/wpa.h to the makefiles
14057 * src/NetworkManagerAP.[ch]
14058 - Implement access point capabilities and parse the
14059 WPA/RSN IEs into the capability bitfield
14060 - Switch the "encrypted" attribute to utilize the bitfield
14061 and capabilities rather than being independent
14063 * src/NetworkManagerDevice.c
14064 - (nm_device_wireless_get_activation_ap): break it horribly
14065 until we can push NMAPSecurity objects into access point
14066 objects and through the activation chain
14067 - Stuff WPA & RSN IEs into AP capabilities
14070 - Take a shot at actually making setActiveDevice work
14073 - Make the API a bit saner
14075 2005-12-14 Dan Williams <dcbw@redhat.com>
14077 * include/NetworkManager.h
14078 - Add 802.11-specific capability for 802.1x key
14082 - Pull in WPA IE and RSN IE parsing code from
14083 wpa_supplicant so we can determine access point
14085 - Move WPA-related constants here from NetworkManagerAP.h
14086 and NetworkManagerDevice.c
14088 * src/NetworkManagerDevice.c
14089 src/NetworkManagerAP.[ch]
14090 - Use WPA-related constants from wpa.h
14092 2005-12-14 Dan Williams <dcbw@redhat.com>
14094 * include/NetworkManager.h
14095 - Update and split 802.11 wireless-specific capabilities from
14096 generic device capabilities
14098 * src/NetworkManagerDevice.c
14099 src/NetworkManagerDevicePrivate.h
14100 - (nm_device_wireless_discover_capabilities): Move 802.11
14101 wireless-specific capability checks to
14102 NetworkManagerWireless.c
14103 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14104 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14106 * src/NetworkManagerWireless.[ch]
14107 - (nm_802_11_wireless_discover_capabilities): Check extended
14108 802.11 wireless-specific capabilities of the driver
14110 2005-12-14 Robert Love <rml@novell.com>
14112 Patch from Stefan Scheler <sscheler@suse.de>:
14113 * src/NetworkManagerDevice.c: call backend code to activate and
14115 * src/NetworkManagerSystem.h: add new NIS interfaces.
14116 * src/backends/NetworkManagerDebian.c,
14117 src/backends/NetworkManagerGentoo.c,
14118 src/backends/NetworkManagerRedHat.c,
14119 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14121 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14123 2005-12-14 Dan Williams <dcbw@redhat.com>
14125 * src/nm-ap-security*.[ch]
14126 - Add AP security abstractions to NetworkManager
14128 * src/nm-dbus-device.c
14129 - Begin to parse new format dbus messages from the applet
14130 and construct an AP security object from the message
14132 * libnm-util/dbus-helpers.c
14133 - Use message iters so we can append the key as a fixed
14134 array of bytes, which actually works rather than
14135 using dbus_message_append_args() as we were before
14137 2005-12-14 Dan Williams <dcbw@redhat.com>
14139 * src/NetworkManagerDbus.c
14140 gnome/applet/applet-dbus.c
14141 - Fix up dbus service replacement options. The applet
14142 should allow replacement, NM itself should not.
14144 2005-12-13 Robert Love <rml@novell.com>
14146 * src/named-manager/nm-named-manager.c: Revert earlier commit.
14147 Instead, fail silently if config is NULL by not asserting and not
14148 returning FALSE. Also, make sure we always fclose() the file.
14150 2005-12-13 Robert Love <rml@novell.com>
14152 Patch by Stefan Scheler <sscheler@suse.de>:
14153 * src/nm-ip4-config.h, src/nm-ip4-config.c,
14154 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14155 via DHCP. Still need the backends to commit the NIS domain name and
14156 and servers to yp.conf as needed.
14158 2005-12-13 Robert Love <rml@novell.com>
14160 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14161 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14163 2005-12-13 Robert Love <rml@novell.com>
14165 * src/named-manager/nm-named-manager.c: Don't unref the config until
14166 after we call rewrite_resolv_conf(), because get_last_default_domain()
14167 needs to access the config. Fixes "rewrite_resolv_conf: assertion
14168 `config != NULL' failed" assertion failures and "Could not commit DNS
14171 2005-12-12 Dan Williams <dcbw@redhat.com>
14173 * libnm-util/dbus-helpers.[ch]
14174 libnm-util/Makefile.am
14175 - new helper calls to consolidate locations where
14176 NM's setDevice method is called
14178 * gnome/applet/applet-dbus-devices.c
14179 gnome/applet/wireless-security-option.c
14181 - Implement dbus message param append function for
14182 all wireless security options
14184 2005-12-12 Robert Love <rml@novell.com>
14186 * libnm-util/cipher-wep-passphrase.c,
14187 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14188 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14189 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14190 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14191 When handling keys, we don't care what the sign is. The compiler
14192 guarantees us that we get our 8-bits, which is all we care about.
14193 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
14195 2005-12-12 Dan Williams <dcbw@redhat.com>
14197 * gnome/applet/applet-dbus-devices.[ch]
14198 gnome/applet/applet.c
14199 gnome/applet/other-network-dialog.c
14200 gnome/applet/wireless-security-manager.[ch]
14201 gnome/applet/wireless-security-option.[ch]
14203 - Push the wireless security options further into the applet
14205 2005-12-12 Robert Love <rml@novell.com>
14207 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14208 return any name servers. That is perfectly valid. (Novell #134369).
14210 2005-12-11 Dan Williams <dcbw@redhat.com>
14212 * gnome/applet/wso-*
14213 gnome/applet/wireless-security-option.*
14214 gnome/applet/Makefile.am
14215 - split each security option out so we can eventually
14216 have each one build up their own dbus message
14217 arguments to send to NM
14219 2005-12-11 Dan Williams <dcbw@redhat.com>
14221 * Make validation of the key work correctly
14223 2005-12-11 Dan Williams <dcbw@redhat.com>
14225 * Hook more bits of the Other Network Dialog up to the
14226 wireless security manager stuff, and restructure
14227 bits of the dialog so there's less code.
14229 2005-12-10 Dan Williams <dcbw@redhat.com>
14231 * gnome/applet/Makefile.am
14232 - Add libnm-util to includes
14233 - Add libnm-util to link list
14234 - Add wireless-security-common.* to compile list
14236 * gnome/applet/other-network-dialog.c
14237 - Convert to using the WirelessSecurityManager code and
14240 * gnome/applet/passphrase-dialog.c
14241 - Comment out references to stuff in the glade file that
14242 cause runtime errors until it can be fixed up
14243 to use the WirelessSecurityManager code
14245 * gnome/applet/wireless-applet.glade
14246 - Rename some widgets
14247 - Add widgets for the WirelessSecurityManager code
14248 - Remove passphrase-related stuff since that's now
14249 handled by the WirelessSecurityManager code
14251 2005-12-10 Dan Williams <dcbw@redhat.com>
14253 * gnome/applet/applet-dbus-devices.c
14254 - Print out error message details for dbus pending call callbacks
14255 - Move nmwa_dbus_update_devices() up
14257 * gnome/applet/applet-dbus-vpn.c
14258 - Print out error message details for dbus pending call callbacks
14260 2005-12-10 Dan Williams <dcbw@redhat.com>
14264 - Remove cipher-manager.* because we don't need it
14265 - Forgot to add gnome-keyring-md5 files to compile list
14267 2005-12-09 Dan Williams <dcbw@redhat.com>
14272 - Add a utility library for clients of NetworkManager. It's
14273 only targetted at applets for the moment, and contains
14274 a generalized 802.11 cipher framework for different
14275 types of keys (WEP & WPA Hex, ASCII, Passphrase)
14277 2005-12-09 Robert Love <rml@novell.com>
14279 * src/NetworkManagerDevice.c: handle error better in
14280 nm_device_set_mode().
14282 2005-12-08 Robert Love <rml@novell.com>
14284 * include/NetworkManager.h: add WPA capabilities constants
14285 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14286 or WPA2 and add the capabilities bits as appropriate.
14288 2005-12-08 Robert Love <rml@novell.com>
14290 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14291 NetworkManagerDispatcher.
14292 * configure.in, initscript/SUSE/.cvsignore,
14293 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14296 2005-12-08 Robert Love <rml@novell.com>
14298 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14300 2005-12-08 Robert Love <rml@novell.com>
14302 * src/NetworkManagerDevice.c: We want to fall back on and default to
14303 IW_MODE_AUTO, not -1, which is more in line with our previous
14304 behavior. Otherwise, we try to set the wireless mode to -1 in
14305 nm_device_set_mode().
14307 2005-12-07 Robert Love <rml@novell.com>
14309 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14310 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14311 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14312 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14313 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14314 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
14317 2005-12-07 Robert Love <rml@novell.com>
14319 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14320 supplied IP is invalid, fall back to DHCP.
14322 2005-12-07 Dan Williams <dcbw@redhat.com>
14324 * Convert NETWORK_MODE_* constants to IW_MODE_*
14325 * Make all the get_mode/set_mode functions take and return 'int'
14326 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14328 2005-12-07 Robert Love <rml@novell.com>
14330 * src/NetworkManagerDevice.c: strncpy() buffer check.
14331 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14333 2005-12-06 Dan Williams <dcbw@redhat.com>
14335 * gnome/applet/applet-dbus.c
14336 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14338 * gnome/applet/applet-dbus-vpn.c
14339 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14340 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14341 to TRUE here if stage was ACTIVATED
14343 2005-12-06 Dan Williams <dcbw@redhat.com>
14345 * Change nm_device_is_* functions to better names:
14346 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14347 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14349 2005-12-06 Dan Williams <dcbw@redhat.com>
14351 * Change naming of NMDeviceType to something more sensible:
14352 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14353 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14354 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14356 2005-12-06 Dan Williams <dcbw@redhat.com>
14358 * Move NetworkManager.h -> include/NetworkManager.h
14359 * Split out VPN stuff into include/NetworkManagerVPN.h
14360 * Fix up makefiles to include new location
14361 * Fix up sources to include NetworkManagerVPN.h
14363 2005-12-06 Dan Williams <dcbw@redhat.com>
14365 Various changes in the applet to move VPN connection "state" -> "stage",
14366 which it actually is. I'd like to change the signal as well when we
14367 break compat in the near future.
14369 2005-12-06 Dan Williams <dcbw@redhat.com>
14371 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14372 * initscript/Slackware/rc.networkmanager
14375 * src/backends/NetworkManagerSlackware.c
14376 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14379 2005-12-05 Robert Love <rml@novell.com>
14381 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14382 to free, particularly here as it just barfs.
14384 2005-12-05 Dan Williams <dcbw@redhat.com>
14386 * gnome/applet/applet-dbus.c
14387 - Work with dbus 0.6 too
14389 2005-12-03 Dan Williams <dcbw@redhat.com>
14391 * src/NetworkManagerUtils.[ch]
14392 src/nm-ip4-config.c
14393 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14394 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14396 2005-12-01 Robert Love <rml@novell.com>
14398 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14399 need a NULL for the '...' parameter, too, to fill the so-called
14402 2005-12-01 Robert Love <rml@novell.com>
14404 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14405 interface is already gone, so don't call rtnl_link_change() to down
14406 it (which will segfault, anyhow).
14408 2005-11-22 Robert Love <rml@novell.com>
14410 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14411 gateway is not set, just print a little note. Configurations without
14412 gateways are valid.
14414 2005-11-22 Robert Love <rml@novell.com>
14418 2005-11-20 Ilkka Tuohela <hile@iki.fi>
14420 * configure.in: Added Finnish translation to ALL_LINGUAS
14422 2005-11-14 Robert Love <rml@novell.com>
14424 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14425 Niemueller <tim@niemueller.de>.
14427 2005-11-08 Dan Williams <dcbw@redhat.com>
14429 Patch from Bill Moss <bmoss@clemson.edu>
14430 * src/NetworkManagerDevice.c
14431 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14432 of nm_policy_schedule_activation_finish() to prevent a
14433 race condition that causes the link to be dropped
14435 2005-11-08 Dan Williams <dcbw@redhat.com>
14437 Patch from Bill Moss <bmoss@clemson.edu>
14438 * src/NetworkManagerAPList.c
14439 src/NetworkManagerDevice.c
14440 src/NetworkManagerDbus.c
14441 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14442 we get more readable ether/mac addresses
14444 2005-11-02 Christopher Aillon <caillon@redhat.com>
14446 * gnome/applet/main.c: Don't set the restart command. This fixes
14447 the issue where the restart command was getting copies of all its
14448 arguments for each time the applet was restarted.
14450 2005-11-02 Robert Love <rml@novell.com>
14452 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14453 if the widget state differs from our saved state. This ensures we
14454 do not enter an endless loop of death and destruction. Also, this
14455 guarantees us that we enforce the widget state.
14457 2005-11-02 Robert Love <rml@novell.com>
14459 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14460 * gnome/applet/applet-dbus-devices.c: invoke the new function
14461 nmwa_enable_wireless_set_active() to ensure that the state of the
14462 'Enable Wireless' checkbox matches the daemon's state. This is a
14463 concern because the daemon remembers the state.
14465 2005-11-02 Robert Love <rml@novell.com>
14467 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14468 Enabled", as checkboxes should be actions/commands not positive
14469 statements, otherwise they are confusing in the unselected case. See
14470 examples in GNOME HIG, Chapter 6.
14472 2005-11-02 Robert Love <rml@novell.com>
14474 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
14475 show a list of wireless networks or the wireless devices or the
14476 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
14477 a bad bug: If wireless is disabled and the user picks a wireless
14478 network, NM will switch to the network, only to immediately switch
14479 back, as wireless is disabled. This also reassures people that NM
14480 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
14482 2005-11-02 Christopher Aillon <caillon@redhat.com>
14484 * gnome/applet/applet.c:
14485 * gnome/applet/applet.h:
14486 Partial backout of Dan's timeout animation patch.
14487 Timeout IDs cannot legally be 0, so revert the code in place to handle
14488 a timeout ID of 0 to denote the timeout isn't running.
14490 2005-11-02 Christopher Aillon <caillon@redhat.com>
14492 * src/NetworkManagerPolicy.c:
14493 (nm_policy_device_change_check) Clarify wireless switch nm_info text
14495 2005-10-28 Robert Love <rml@novell.com>
14497 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
14498 "Import Saved Configuration..." to make it clear that importing is
14499 not the next step, but an option. As an aside, a nice TODO would be
14500 to move Importing out of the vpn-specific dialog and into the main
14501 property editor, as Importing goes with Adding, but that will require
14502 some rearchitecting of the VPN stuff I suspect.
14504 2005-10-27 Dan Williams <dcbw@redhat.com>
14506 Start using libnl. You need 1.0-pre3 or higher. Eventually
14507 we should replace most of the distro-specific backend code
14510 Get it here: http://people.suug.ch/~tgr/libnl/
14514 - Add checks for libnl pkgconfig file
14515 - Use LIBNL_LIBS & LIBNL_CFLAGS
14517 * src/NetworkManagerSystem.c
14518 src/nm-ip4-config.[ch]
14519 - Use libnl rather than ioctl() for most things
14520 - Remove unused functions
14522 2005-10-27 Robert Love <rml@novell.com>
14524 * src/backends/NetworkManagerSuSE.c: fix warning message text
14526 2005-10-27 Christopher Aillon <caillon@redhat.com>
14528 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
14530 2005-10-27 Christopher Aillon <caillon@redhat.com>
14532 * gnome/applet/applet.c: The applet's about dialog can advertise our
14533 project page <http://www.gnome.org/projects/NetworkManager/>
14535 2005-10-26 Christopher Aillon <caillon@redhat.com>
14537 * gnome/applet.c: Also use translator credits if we don't have
14538 the new GtkAboutDialog (older versions of GTK+)
14540 2005-10-26 Robert Love <rml@novell.com>
14542 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
14543 failure; correct usage text for "--no-daemon"
14545 2005-10-25 Dan Williams <dcbw@redhat.com>
14547 * src/NetworkManagerDevice.c
14548 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
14550 - (free_process_scan_cb_data): unref the device when freeing results
14551 - (nm_device_wireless_process_scan_results): free scan results a bit later
14552 so we don't unref the device underneath ourselves
14554 2005-10-25 Dan Williams <dcbw@redhat.com>
14556 * Back out 2005-10-24 commit from Tor Krill. Patch
14557 causes nameservers never to be removed from named.
14559 2005-10-24 Dan Williams <dcbw@redhat.com>
14561 Clean up wireless scanning and wireless link probing.
14563 * src/NetworkManagerDevice.c
14564 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
14565 just see if there's an activation request on the device, and check the
14566 current link against the activation request access point's ESSID.
14567 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
14568 - (nm_device_wireless_process_scan_results): actually free our scan data, and
14569 don't call process_scan_results() on zero-length data
14570 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
14571 15 seconds (from 10)
14573 2005-10-24 Dan Williams <dcbw@redhat.com>
14575 Cleanup some applet stuff:
14577 - Animation timeouts. If NM died while the applet was animating,
14578 the applet would not hide itself. This is now fixed.
14580 - Remove some dead code
14582 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
14583 to nmi_passphrase_dialog_cancel() since we no longer use threads.
14585 - Track animation timeout using a gboolean rather than the timeout's
14586 ID, since timeout IDs can legally be 0.
14588 2005-10-24 Dan Williams <dcbw@redhat.com>
14590 * src/backends/interface_parser.c
14591 - Add void to function declarations that need it
14592 to match patch from Engin AYDOGAN
14594 * src/backends/interface_parser.h
14595 - Remove unused prototype for ifparser_interfaces()
14597 Patch from Engin AYDOGAN <engin@bzzzt.biz>
14598 * src/backends/interface_parser.h:
14599 - Compile fixes for gcc 4.0.2 (add void)
14601 2005-10-24 Dan Williams <dcbw@redhat.com>
14603 Patch from Tor Krill <tor@krill.nu>
14604 * src/named-manager/nm-named-manager.c
14605 - Write more than just the first nameserver to /etc/resolv.conf
14606 - Write out valid /etc/resolv.conf on exit
14608 2005-10-21 Christopher Aillon <caillon@redhat.com>
14610 * gnome/applet/applet-dbus-vpn.c:
14611 Get rid of spurious newlines in debug console output
14613 2005-10-21 Christopher Aillon <caillon@redhat.com>
14615 * src/backends/NetworkManagerGentoo.c:
14616 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
14618 2005-10-20 Robert Love <rml@novell.com>
14620 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
14621 direct comparison of floating point values, which is never correct.
14622 Also some misc. cleanup.
14624 2005-10-19 Robert Love <rml@novell.com>
14626 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
14628 2005-10-19 Robert Love <rml@novell.com>
14630 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
14631 sensitivity of the buttons. Specificaly, do the right thing if
14632 there are no entries.
14634 2005-10-19 Christopher Aillon <caillon@redhat.com>
14636 * configure.in: Update check for adequate wireless-tools
14637 with an AC_TRY_COMPILE for the new symbols we use.
14639 2005-10-19 Dan Williams <dcbw@redhat.com>
14641 * src/NetworkManagerDevice.c
14642 - (process_scan_results): don't drop the last (or only)
14643 access point we see
14645 2005-10-19 Christopher Aillon <caillon@redhat.com>
14647 * src/backends/NetworkManagerSlackware.c:
14648 Patch from Nico <lordllucifer@gmail.com>
14649 - Update the Slackware backend.
14651 2005-10-18 Christopher Aillon <caillon@redhat.com>
14653 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
14654 if we've got GLib 2.8.0
14656 2005-10-18 Robert Love <rml@novell.com>
14658 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
14659 function nm_schedule_state_change_signal_broadcast() when we
14660 deactivate a device, too.
14662 2005-10-18 Robert Love <rml@novell.com>
14664 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
14665 be used uninitialized.
14667 2005-10-18 Christopher Aillon <caillon@redhat.com>
14669 * test/libnm_glib_test.c: Test unregistering, too.
14671 2005-10-17 Christopher Aillon <caillon@redhat.com>
14673 * configure.in: Bump to 0.5.0
14675 2005-10-17 Dan Williams <dcbw@redhat.com>
14678 - Remove WPA-related constants so they aren't part of the
14681 2005-10-17 Christopher Aillon <caillon@redhat.com>
14683 * gnome/applet/applet.c:
14684 * gnome/applet/applet.h:
14685 Desensitize the 'Connection Information' menu item when there is
14686 no active connection.
14688 2005-10-17 Christopher Aillon <caillon@redhat.com>
14690 * gnome/libnm_glib/libnm_glib.c:
14691 Make libnm_glib_unregister_callback () actually unregister the callback
14693 2005-10-17 Robert Love <rml@novell.com>
14695 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
14696 two seconds -- tries is updated every 1/10 of a second, not every
14699 2005-10-17 Christopher Aillon <caillon@redhat.com>
14701 * gnome/applet/applet-dbus-info.c:
14702 Let D-BUS know that we haven't handled a message when we haven't.
14704 2005-10-17 Robert Love <rml@novell.com>
14706 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
14707 in order to remain 64-bit clean.
14709 2005-10-17 Christopher Aillon <caillon@redhat.com>
14711 * gnome/applet/applet-dbus-info.c:
14712 Find network encryption keys asynchronously
14714 2005-10-17 Robert Love <rml@novell.com>
14716 * src/backends/NetworkManagerDebian.c,
14717 src/backends/NetworkManagerRedHat,
14718 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
14721 2005-10-17 Robert Love <rml@novell.com>
14723 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
14726 2005-10-17 Christopher Aillon <caillon@redhat.com>
14728 * src/NetworkManagerDevice.c: (process_scan_results)
14729 Fix logic that checks to see whether we have an ESSID.
14731 2005-10-15 Dan Williams <dcbw@redhat.com>
14733 Move scanning code into NetworkManager rather than use iwlib's
14734 iw_scan() function, so that we can figure out AP capabilities.
14737 - Add AP capability bits
14739 * src/NetworkManagerAP.[ch]
14740 - Add capability field to NMAccessPoint structure
14741 - Add WPA & RSN Information Element fields and accessor
14742 functions to NMAccessPoint
14744 * src/NetworkManagerDevice.c
14745 - Remove usage of iw_scan
14746 - Add scanning code to NetworkManager rather than use
14747 iw_scan() from iwlib
14749 * src/NetworkManagerUtils.[ch]
14750 - (nm_dispose_scan_results): remove, unused
14752 2005-10-14 Christopher Aillon <caillon@redhat.com>
14754 * gnome/libnm_glib/libnm_glib.c:
14755 * gnome/libnm_glib/libnm_glib.h:
14756 Use guint instead of gint for callback IDs.
14758 2005-10-12 Christopher Aillon <caillon@redhat.com>
14760 * gnome/applet/applet.c:
14761 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
14762 every 1000ms. It will unconditionally call nmwa_update_state which
14763 kills the existing animation timeout and registers a new one with a
14764 callback to draw a new frame every 100ms. There are 11 connecting
14765 icon frames, so the last 2 frames kept getting dropped. Only reset
14766 the animation timeout if we aren't animating.
14768 2005-10-11 Dan Williams <dcbw@redhat.com>
14770 * gnome/applet/applet-dbus-devices.c
14771 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
14772 We want to grab the product & vendor from net.physical_dev
14773 rather than info.parent.
14775 2005-10-11 Dan Williams <dcbw@redhat.com>
14777 * src/NetworkManagerDevice.c
14778 - Use the driver's WE version for scanning rather than
14779 the WE version NM was compiled with. Fixes random
14780 crashes in iw_scan () in iwlib.
14782 2005-10-10 Dan Williams <dcbw@redhat.com>
14784 * Remove nm_system_load_device_modules() from backend files
14785 and from NetworkManager.c
14787 2005-10-10 Dan Williams <dcbw@redhat.com>
14789 * src/NetworkManagerPolicy.c
14790 - Fix some bugs introduced by the capabilities patch
14792 2005-10-10 Dan Williams <dcbw@redhat.com>
14794 * gnome/applet/applet-dbus-info.c
14795 - (nmi_dbus_get_network_key): hide the menu when putting up
14796 the keyring dialog. (not sure if the code is right...)
14798 2005-10-09 Dan Williams <dcbw@redhat.com>
14800 Patch from Bill Moss <bmoss@clemson.edu>
14801 * src/NetworkManagerDevice.c
14802 - (nm_device_set_user_key_for_network): don't try to set auth
14803 mode on the AP from the allowed list if it's NULL
14805 2005-10-09 Dan Williams <dcbw@redhat.com>
14807 * Replace the "driver support level" stuff with capabilities. The
14808 capability field is a bitfield that is more flexible than the
14809 old driver support level thing. It's mostly so we can easily
14810 figure out what supports WPA and what doesn't, but should be
14811 quite useful later.
14813 2005-10-09 Dan Williams <dcbw@redhat.com>
14820 - Added new "nm-tool" tool that gives quite a bit more
14823 2005-10-07 Robert Love <rml@novell.com>
14825 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
14826 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
14827 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
14828 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
14831 2005-10-07 Robert Love <rml@novell.com>
14833 * configure.in: Change our compile flags for the betterment of mankind.
14834 Add "-Wstrict-prototypes" because we comply anyhow and missing a
14835 prototype is very bad on 64-bit platforms as types default to int but
14836 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
14837 "-Wmissing-declarations" to warn if we define an exported function
14838 but fail to put it in a header.
14840 2005-10-07 Robert Love <rml@novell.com>
14842 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
14843 by the name nm_update_device_wireless_timeouts() and once tried,
14844 without success, to steal my pet turtle.
14846 2005-10-07 Robert Love <rml@novell.com>
14848 * Cleanup prototypes: put some functions in header files and mark
14849 others as 'static' -- feel free to invert
14850 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
14851 nm_vpn_manager_vpn_connection_list_copy()
14852 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
14853 nm_vpn_service_get_dbus_connection()
14854 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
14855 nm_vpn_manager_vpn_connection_list_copy()
14856 * src/vpn-manager/nm-vpn-service.c: make
14857 nm_vpn_service_act_request_failed() and
14858 nm_vpn_service_stage2_daemon_wait() static
14859 * src/vpn-manager/nm-vpn-service.h: add prototype for
14860 nm_vpn_service_get_dbus_connection()
14862 2005-10-06 Christopher Aillon <caillon@redhat.com>
14864 * gnome/applet/applet.c:
14865 * gnome/applet/applet.h:
14866 * gnome/applet/icons/Makefile.am:
14867 Convey information about the current connection stage in the
14868 icons themselves instead of creating a separate progress bar.
14870 2005-10-04 Robert Love <rml@novell.com>
14872 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
14873 convert an ether_addr structure's MAC into a string, because the
14874 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
14875 versus 07:3B:04, while the former will not.
14877 2005-10-04 Robert Love <rml@novell.com>
14879 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14880 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
14881 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
14882 default route in the 'Connection Information' dialog, send primary
14883 and secondary name servers in in "getProperties" DBUS method, add
14884 network_device_{get,set}_{primary,secondary}_dns(), The primary and
14885 secondary domain name servers are crucial pieces of information
14886 that a user might need in debugging a network problem.
14888 2005-10-04 Robert Love <rml@novell.com>
14890 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14891 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
14892 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
14893 default route in the 'Connection Information' dialog, send default
14894 route in "getProperties" DBUS method, add network_device_set_route(),
14895 and network_device_get_route(). The Gateway is a crucial piece of
14896 connection-related information that a user might need in debugging a
14899 2005-10-03 Robert Love <rml@novell.com>
14901 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
14904 2005-10-02 Dan Williams <dcbw@redhat.com>
14906 * Shorten time taken to sleep by fastpathing bits of device deactivation
14907 necessary for sleep.
14909 * Fix issue where deactivating a device might deactivate the active
14910 VPN connection, even if the VPN was not using the device.
14912 2005-10-02 Dan Williams <dcbw@redhat.com>
14914 * gnome/applet/applet.c
14915 - Adjust signal strength -> icon mapping values slightly
14916 (so that 51% signal doesn't show a 75% icon) by adding
14917 5% to the values. ex: > 5% now shows 25% icon, > 30%
14918 shows 50% icon, etc.
14920 2005-09-29 Robert Love <rml@novell.com>
14922 * src/NetworkManager.c: removed unused variable.
14924 2005-09-28 Dan Williams <dcbw@redhat.com>
14926 Support for named + DBus, using Red Hat DBus patches for named. You
14927 can find those patches here, with "dbus" in the patch's filename:
14929 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
14931 Don't forget the named dbus service file either.
14933 Instead of writing a config file and spawing a named process, NM will
14934 use an already-running dbus-enabled named if it finds one. NM will
14935 update named's forwarder configuration on the fly using dbus.
14937 If there is no dbus-enabled named running, NM will automatically fall
14938 back to writing the most-recent DNS server information to /etc/resolv.conf
14939 and calling nm_system_update_dns() to kick the system's resolver.
14941 Accordingly, all named-related configure-time options have been removed.
14943 2005-09-26 Robert Love <rml@novell.com>
14945 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
14947 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
14948 bug in error path if "ASKPASSWORD" is "no".
14950 2005-09-26 Robert Love <rml@novell.com>
14952 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
14953 comment in /etc/resolv.conf -- ';' is not.
14955 2005-09-19 Dan Williams <dcbw@redhat.com>
14957 * src/backends/NetworkManagerRedHat.c:
14958 * src/backends/NetworkManagerDebian.c:
14959 * src/backends/NetworkManagerSlackware.c:
14960 * src/backends/NetworkManagerGentoo.c:
14961 * src/backends/NetworkManagerSUSE.c:
14962 Fix invocations of "/sbin/ip address" to use short form instead
14964 2005-09-19 Christopher Aillon <caillon@redhat.com>
14966 * src/nm-dbus-device.c: Don't assert when getting
14967 addresses of a not yet connected interface.
14969 * gnome/applet/applet.c: Free icons if loading fails.
14970 Use translator-credits so translators can make themselves known.
14972 2005-09-15 Christopher Aillon <caillon@redhat.com>
14974 * src/NetworkManagerAP.c:
14975 * src/NetworkManagerAP.h:
14976 * src/NetworkManagerDevice.c:
14977 Set a blacklist for certain common manufacturer default ESSIDs:
14978 APs with these ESSIDs are extremely likely to be completely
14979 different networks: connecting to one should not make NM
14980 auto-connect to every other AP with the same default ESSID.
14982 2005-09-12 Christopher Aillon <caillon@redhat.com>
14984 * gnome/applet/wireless-applet.glade:
14985 The passphrase entry should also activate the default
14987 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
14989 * gnome/applet/applet-dbus-devices.c:
14990 * gnome/applet/applet.c:
14991 * gnome/applet/nm-device.c:
14992 * gnome/applet/nm-device.h:
14993 * src/NetworkManagerUtils.c:
14994 * src/NetworkManagerUtils.h:
14995 * src/nm-dbus-device.c:
14996 I've got a fever, and the only cure for it is less ioctl.
14997 Make NM push IP data rather than make the applet open a socket
15000 2005-09-10 Christopher Aillon <caillon@redhat.com>
15002 * gnome/applet/applet.c:
15003 * gnome/applet/applet-dbus-devices.c:
15004 * gnome/applet/applet-dbus-info.c:
15005 * gnome/applet/passphrase-dialog.c:
15006 * gnome/libnm_glib/libnm_glib.c:
15007 * gnome/vpn-properties/nm-vpn-properties.c:
15009 * src/backends/NetworkManagerRedHat.c:
15010 * src/named-manager/nm-named-manager.c:
15011 * src/NetworkManagerAPList.c:
15012 * src/NetworkManager.c:
15013 * src/NetworkManagerDbus.c:
15014 * src/NetworkManagerDevice.c:
15015 * src/NetworkManagerPolicy.c:
15016 * src/NetworkManagerSystem.c:
15017 * src/nm-dbus-device.c:
15018 * src/nm-dbus-nm.c:
15019 * src/vpn-manager/nm-vpn-manager.c:
15020 * src/vpn-manager/nm-vpn-service.c:
15021 * test/libnm_glib_test.c:
15022 * test/nminfotest.c:
15023 * test/nmtestdevices.c:
15024 Fix a bunch of 'unused variable' compiler warnings
15026 * NetworkManager.h:
15027 * gnome/applet/applet-dbus-info.c:
15028 * gnome/applet/applet-dbus-info.h:
15029 * gnome/applet/applet.c:
15030 * gnome/applet/applet.h:
15031 * src/NetworkManager.c:
15032 * src/NetworkManagerDbus.c:
15033 * src/NetworkManagerDbus.h:
15034 * src/NetworkManagerDevice.c:
15035 * src/NetworkManagerDevice.h:
15036 * src/NetworkManagerMain.h:
15037 * src/NetworkManagerWireless.c:
15038 * src/NetworkManagerWireless.h:
15039 * src/nm-dbus-nm.c:
15040 Make NetworkManager be smart about how frequently to scan
15041 based on its current state. Remove the UI for choosing when
15042 to scan. Scanning still may disabled completely by the user
15043 via the "Wireless Enabled" menu item.
15045 2005-09-09 Christopher Aillon <caillon@redhat.com>
15047 * gnome/applet/applet.c:
15048 Also overlay the vpn connecting icons onto the wired icon,
15051 * gnome/vpn-properties/nm-vpn-properties.glade:
15052 Clean up a few strings to use better grammar and proper casing.
15054 2005-09-08 Christopher Aillon <caillon@redhat.com>
15056 * gnome/applet/vpn-connection.c:
15057 * gnome/applet/vpn-connection.h:
15058 Add nmwa_vpn_connection_is_activating ()
15060 * gnome/applet/applet.c:
15061 * gnome/applet/applet.h:
15062 * gnome/applet/icons/nm-vpn-connecting*.png:
15063 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15064 the user know something's happening between clicking the VPN item and it
15065 actually being connected.
15067 2005-09-07 Christopher Aillon <caillon@redhat.com>
15069 * gnome/applet/applet-dbus-info.c: need to free attributes in the
15070 failure case as well.
15072 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
15074 * gnome/panel/eggtrayicon.[ch]:
15075 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15077 2005-09-07 Dan Williams <dcbw@redhat.com>
15079 Patch from Bill Moss <bmoss@clemson.edu>
15080 * src/applet-dbus.c
15081 - (nmwa_dbus_filter): strip whitespace from beginning
15082 and end of VPN login banner
15084 2005-09-07 Dan Williams <dcbw@redhat.com>
15086 * The great VPN Manager rewrite of 2005
15088 2005-09-07 Christopher Aillon <caillon@redhat.com>
15090 * gnome/applet/menu-items.c:
15091 * gnome/applet/nm-device.c:
15092 * gnome/applet/wireless-network.c:
15093 * gnome/libnm_glib/libnm_glib.c:
15094 * src/NetworkManagerDbusUtils.c:
15095 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15096 g_malloc0 doesn't return NULL
15098 2005-09-06 Dan Williams <dcbw@redhat.com>
15100 Patch from Tomislav Vujec <tvujec@redhat.com>
15101 * src/NetworkManagerDevice.c
15102 - (nm_get_device_by_udi): don't return a device when we
15103 actually didn't find what we were looking for
15105 2005-09-06 Christopher Aillon <caillon@redhat.com>
15107 * gnome/applet/applet-dbus-devices.c:
15108 * gnome/applet/applet-dbus-devices.h:
15109 * gnome/applet/applet-dbus.c:
15110 * src/NetworkManagerDbus.c:
15111 * src/NetworkManagerDbus.h:
15112 * src/NetworkManagerDevice.c:
15113 * src/nm-dbus-device.c:
15114 Make NM push updates about active device strength when it changes,
15115 rather than having the applet poll every 2s.
15117 2005-09-05 Christopher Aillon <caillon@redhat.com>
15119 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15120 network_device_set_strength
15122 2005-09-04 Dan Williams <dcbw@redhat.com>
15124 Patch from Bill Nottingham <notting@redhat.com>
15125 * src/NetworkManagerDevice.c
15126 - (nm_device_activation_cancel): reset the quit_activation flag
15128 2005-09-04 Dan Williams <dcbw@redhat.com>
15130 * src/nm-activation-request.c
15131 - (nm_act_request_unref): actually free the structure,
15132 which we didn't seem to be doing before
15134 2005-09-04 Dan Williams <dcbw@redhat.com>
15136 Patch from John Palmieri <johnp@redhat.com>
15137 * gnome/applet/applet-dbus-devices.c
15138 - Fix up unreffing of DBusMessage objects
15140 2005-09-04 Dan Williams <dcbw@redhat.com>
15142 Patch from John Palmieri <johnp@redhat.com>
15143 * gnome/applet/nm-device.c
15144 - (nm_device_unref): clear network_device's memory _before_ freeing it
15146 2005-09-02 Christopher Aillon <caillon@redhat.com>
15148 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15150 2005-09-02 Bill Nottingham <notting@redhat.com>
15152 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15154 2005-09-01 Dan Williams <dcbw@redhat.com>
15156 * src/NetworkManager.c
15157 - (nm_remove_device_from_list): rename to nm_remove_device
15158 - (nm_hal_device_removed): call nm_remove_device()
15160 * src/NetworkManagerDevice.c
15161 - Change the NMWirelessScanCB member 'reschedule' which
15162 wasn't used to 'force' to indicate that we need to
15163 force a scan when adding a device
15166 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15167 from the device list
15168 - (nm_dbus_nm_wake): Re-add all devices to the device list
15170 2005-09-01 Robert Love <rml@novell.com>
15172 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15173 and the check "!iface" in the error case is probably never true.
15175 2005-09-01 Dan Williams <dcbw@redhat.com>
15177 Patch from Bill Nottingham <notting@redhat.com>
15178 * src/backends/NetworkManagerRedHat.c
15179 - Add initial dialup support to Red Hat/Fedora backend
15181 2005-09-01 Dan Williams <dcbw@redhat.com>
15183 * gnome/applet/applet-dbus-devices.c
15184 - Sort both wireless networks and devices again, which got
15185 broken when removing threading
15187 2005-09-01 Christopher Aillon <caillon@redhat.com>
15189 * gnome/applet/applet.c:
15190 Only show the "Stop/Start All Wireless Devices" menuitem
15191 if we actually have wireless devices.
15193 * gnome/applet/applet-dbus-info.c:
15194 * gnome/applet/applet.c:
15195 * gnome/applet/other-network-dialog.c:
15196 * gnome/applet/vpn-password-dialog.c:
15197 Drop the gtk_dialog_run () calls in favor of connecting to
15198 "response" signals, needed now that the applet is not threaded.
15200 2005-08-31 Dan Williams <dcbw@redhat.com>
15202 Patch from Bill Moss <bmoss@clemson.edu>
15203 * src/NetworkManagerDevice.c
15204 - (nm_device_wireless_scan): fix scan timeout values
15206 2005-08-30 Dan Williams <dcbw@redhat.com>
15208 * gnome/applet/wireless-applet.glade
15209 - HIG-ify the Other Wireless Networks dialog a bit more
15210 - Fix some potential segfaults in the info dialog
15212 2005-08-30 Dan Williams <dcbw@redhat.com>
15214 * gnome/applet/applet-dbus-devices.c
15215 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15217 2005-08-30 Dan Williams <dcbw@redhat.com>
15219 * gnome/applet/applet-dbus.[ch]
15220 - Remove all the nmwa_dbus_call_method_xxxx functions since
15221 they weren't being used anyway
15223 2005-08-30 Bastien Nocera <hadess@hadess.net>
15225 * test/nmtestdevices.c: (print_usage), (main):
15226 Check the number of arguments, and fix a typo
15228 2005-08-29 Dan Williams <dcbw@redhat.com>
15230 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15231 * gnome/applet/applet.c
15232 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15234 2005-08-29 Dan Williams <dcbw@redhat.com>
15237 - Don't use threads any more. Anything that blocks
15238 (like gtk_dialog_run()) will have to get fixed up which
15239 should happen quickly. We really only had threads to make
15240 the animation smooth, and when everything got converted over
15241 to DBus Pending Calls, the need for threads kind of went away
15243 2005-08-29 Christopher Aillon <caillon@redhat.com>
15245 * gnome/applet/applet.c: Draw VPN connections as radio items
15246 since we don't yet support multiple VPNs.
15247 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15248 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15250 2005-08-29 Dan Williams <dcbw@redhat.com>
15252 Patch from j@bootlab.org
15253 - Make --without-named work
15254 - Make --with-dhcdbd work correctly
15256 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
15258 * configure.in: Added "ca" to ALL_LINGUAS.
15260 2005-08-26 Christopher Aillon <caillon@redhat.com>
15262 * Fix up VPN state handling between the applet and NetworkManager,
15263 so that the applet doesn't show a VPN as connected when one
15265 - The applet no longer has a pointer to the active VPN's
15266 name, but tracks each VPNs state individually
15267 - NM no longer has a "getActiveVPNConnection" method
15268 - NM no longer broadcasts the "VPNConnectionChange" signal
15269 - NM now broadcasts a "VPNConnectionStateChange" signal
15270 whenever the state of a VPN changes
15272 2005-08-26 Dan Williams <dcbw@redhat.com>
15274 * gnome/applet/applet-dbus-devices.c
15275 gnome/applet/applet-dbus-vpn.c
15276 - Remove calls to dbus_pending_call_ref() because we already
15277 "own" the pending call
15278 - Remove calls to dbus_pending_call_get_completed() because
15279 when we are in the callback, the pending call is completed
15282 2005-08-22 Dan Williams <dcbw@redhat.com>
15284 Patch by Bill Moss <bmoss@clemson.edu>
15285 * src/dhcp-manager/nm-dhcp-manager.c
15286 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15287 some time to send out a RELEASE if they like
15289 2005-08-22 Dan Williams <dcbw@redhat.com>
15291 Noticed by Bill Moss <bmoss@clemson.edu>
15292 * src/NetworkManagerDbus.c
15293 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15294 instead of just cancelling its activation
15296 * src/NetworkManagerDevice.c
15297 - (nm_device_deactivate): some small cleanups
15298 - (nm_device_set_user_key_for_network): deactivate the device
15299 instead of just cancelling its activation
15301 2005-08-22 Dan Williams <dcbw@redhat.com>
15303 Noticed by Bill Moss <bmoss@clemson.edu>
15304 * src/NetworkManagerDevice.c
15305 - (nm_device_wireless_scan): fix scan timeout, we were
15306 waiting way too long for scans to complete
15308 2005-08-22 Dan Williams <dcbw@redhat.com>
15310 Patch from j@bootlab.org:
15311 * src/backends/NetworkManagerDebian.c
15312 - Make the Debian backend work for static IP again
15314 2005-08-20 Christopher Aillon <caillon@redhat.com>
15316 * gnome/applet/other-network-dialog.c:
15317 The "Create New Network" and "Connect to Other Network"
15318 dialogs share alot of code, but shouldn't share a window
15319 title. Give them different ones.
15321 * gnome/applet/wireless-applet.glade:
15322 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15323 Some more minor UI tweaks.
15325 2005-08-19 Christopher Aillon <caillon@redhat.com>
15327 * gnome/applet/other-network-dialog.c:
15328 * gnome/applet/wireless-applet.glade:
15329 Also need mnemonic widgets, and underline enabled.
15331 2005-08-19 Dan Williams <dcbw@redhat.com>
15333 * vpn-daemons/vpnc/nm-vpnc-service.c
15334 - (vpnc_watch_cb): remove no-longer-relevant comment
15335 - (write_config_option): new function, helper to write
15336 config options to vpnc's stdin
15337 - (nm_vpnc_config_write): use the new helper, make the
15340 2005-08-19 Christopher Aillon <caillon@redhat.com>
15342 * gnome/applet/passphrase-dialog.c:
15343 * gnome/applet/wireless-applet.glade:
15344 Make the passphrase dialog response based, and treat
15345 responses other than OK (such as Esc, [X]) as a cancel.
15347 2005-08-18 Christopher Aillon <caillon@redhat.com>
15349 * initscript/Gentoo/NetworkManager:
15350 * initscript/RedHat/NetworkManager:
15351 * initscript/RedHat/NetworkManagerDispatcher:
15352 * initscript/SUSE/networkmanager:
15353 CVS remove these in place of .in replacements
15356 * initscript/Gentoo/NetworkManager.in:
15357 * initscript/RedHat/NetworkManager.in:
15358 * initscript/RedHat/NetworkManagerDispatcher.in:
15359 * initscript/SUSE/networkmanager.in:
15360 These scripts now are generated so they work still when
15361 NM is built using a bindir other than /usr/bin
15363 2005-08-18 Dan Williams <dcbw@redhat.com>
15365 * gnome/applet/main.c
15366 - Revert previous change for --no-session since
15367 --sm-disable does the same thing
15369 2005-08-18 Dan Williams <dcbw@redhat.com>
15371 * gnome/applet/applet-dbus-info.c
15372 - (nmi_dbus_create_error_message): new function
15373 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15374 functions. Also don't check for both device _and_ network before
15375 asking for a user's key, because we may not have gotten all our
15376 networks back from NM quite yet (due to the dbus pending calls
15377 coming in later). Fixes a hang in NM/nm-applet.
15379 * src/NetworkManagerDbus.c
15380 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15381 slightly more sane manner, even though we are still broken for
15382 certain other error conditions.
15383 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15384 to the info-daemon too
15386 * src/NetworkManagerDevice.c
15387 - Fix some debug messages to be info messages instead
15389 2005-08-18 Dan Williams <dcbw@redhat.com>
15391 * gnome/applet/main.c
15392 - Add new "--no-session" parameter that disables applet
15393 session management, ie for testing
15395 2005-08-18 Christopher Aillon <caillon@redhat.com>
15397 * gnome/applet/other-network-dialog.c:
15398 * gnome/applet/wireless-applet.glade: More mnemonics
15400 2005-08-17 Robert Love <rml@novell.com>
15402 * initscript/SUSE/networkmanager: update
15404 2005-08-17 Dan Williams <dcbw@redhat.com>
15406 * Tag NM_0_4_1_RELEASE
15408 2005-08-17 Christopher Aillon <caillon@redhat.com>
15410 * gnome/applet/applet.c: More translatable string cleanup
15413 2005-08-17 Dan Williams <dcbw@redhat.com>
15415 * gnome/applet/applet-dbus-info.c
15416 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15417 from the dbus message, which tells us to unconditionally
15418 ask the user for a new key. Otherwise, we pull the key from
15419 the keyring and return it. If we fail to get the key from the
15420 keyring, we ask the user for a new key.
15421 - (nmi_dbus_get_network_key): new function to grab the key for
15422 an essid from the keyring.
15423 - (nmi_dbus_get_network_properties): don't access the keyring here.
15424 Also, don't return any key in the dbus message.
15426 * src/NetworkManagerDbus.[ch]
15427 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15428 indicate that we unconditionally want a new key. This function
15429 is now also used to get keys from the info-daemon which are
15430 pre-stored, not just for asking the user for a new key. The
15431 "new_key" parameter indicates whether or not we wish to ask the
15432 user for a new key.
15433 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15434 info-daemon in the return message, so use NULL instead. The
15435 key will be filled in at connect time by calling
15436 nm_dbus_get_user_key_for_network()
15438 * src/NetworkManagerDevice.c
15439 - (nm_device_wireless_configure): update for "new_key" param to
15440 nm_dbus_get_user_key_for_network(). We initially set new_key
15441 to FALSE to see if we have a stored key in the info-daemon, but
15442 if the connection is unsuccessful at this stage we request a
15445 2005-08-17 Dan Williams <dcbw@redhat.com>
15447 * gnome/applet/icons/nm-no-connection.png
15448 gnome/applet/icons/nm-device-wired.png
15449 - Use Diana's new RJ45 connector icons
15451 2005-08-17 Dan Williams <dcbw@redhat.com>
15453 * src/NetworkManagerPolicy.c
15454 - (nm_policy_device_change_check): clarify switching rules if
15455 both new and old devices are valid; mainly, don't switch
15456 away from user-requested wireless connection back to a wired
15459 2005-08-17 Dan Williams <dcbw@redhat.com>
15461 * gnome/applet/Makefile.am
15462 - Relocate the applet to /usr/bin since it is no longer
15463 executed by anything, but directly by the user
15465 2005-08-17 Dan Williams <dcbw@redhat.com>
15467 Patch from Bill Moss <bmoss@clemson.edu>
15469 * gnome/applet/applet-dbus-info.[ch]
15470 - (nmi_save_network_info): save timestamp for network if it
15471 was a change requested by the user
15472 - (nmi_dbus_update_network_info): get user_requested from dbus
15473 message and pass to nmi_save_network_info()
15475 * gnome/applet/applet.c
15476 - (nmwa_update_network_timestamp): remove
15477 - (nmwa_menu_item_activate): don't set timestamp on networks
15478 here, only after a successful connect in nmi_save_network_info()
15480 * src/NetworkManagerDbus.[ch]
15481 - (nm_dbus_update_network_info): pass user_requested into the
15484 * src/NetworkManagerPolicy.c
15485 - (nm_policy_activation_finish): pass user_requested to
15486 nm_dbus_update_network_info()
15488 2005-08-16 Robert Love <rml@novell.com>
15490 * gnome/applet/applet.c: Better "Dial Up" menu item.
15492 2005-08-16 Robert Love <rml@novell.com>
15494 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15495 "Connection Information" menu item.
15497 2005-08-16 Dan Williams <dcbw@redhat.com>
15499 Patch from j@bootlab.org
15500 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
15502 * configure.in: allow specifying the path to dhcdbd
15504 2005-08-16 Robert Love <rml@novell.com>
15506 Patch from j@bootlab.org
15507 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
15508 src/backends/interface_parser.h: Debian dialup support.
15510 2005-08-16 Christopher Aillon <caillon@redhat.com>
15512 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
15513 * gnome/applet/applet.c: Add some mnemonics for VPNC
15515 * vpn-daemons/.cvsignore: fix this up a little bit
15517 2005-08-16 Robert Love <rml@novell.com>
15519 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
15522 2005-08-16 Christopher Aillon <caillon@redhat.com>
15524 * gnome/applet/applet.c: Split markup out of translatable strings
15525 and clean up logic a little bit. (fixes #309012)
15527 2005-08-15 Christopher Aillon <caillon@redhat.com>
15529 * gnome/vpn-properties/nm-vpn-properties.c:
15530 * gnome/vpn-properties/nm-vpn-ui-interface.h:
15531 * vpn-daemons/vpnc/properties/nm-vpnc.c:
15532 Makeshift fix to remove newlines from translatable strings.
15533 Note that we now return an allocated string, so callers of
15534 get_confirmation_details () must now call g_free () on the
15535 result. (fixes #309033).
15537 2005-08-12 Robert Love <rml@novell.com>
15539 * gnome/applet/applet-dbus.c: remove newlines from translatable
15540 strings--not needed here anyway. (fix b.g.o #309011)
15541 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
15543 2005-08-11 Robert Love <rml@novell.com>
15545 * gnome/applet/applet.c: mark string as translatable.
15547 2005-08-11 Robert Love <rml@novell.com>
15549 * initscript/SUSE/networkmanager: update.
15551 2005-08-11 Dan Williams <dcbw@redhat.com>
15553 * src/nm-dhcp-manager.c
15554 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
15555 an gateway returned from DHCP, try to use the address of the DHCP
15556 server as the gateway instead. Found by Ralf Ertzinger.
15558 2005-08-10 Robert Love <rml@novell.com>
15560 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
15561 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
15563 2005-08-10 Dan Williams <dcbw@redhat.com>
15565 Patch from Bill Moss <bmoss@clemson.edu>
15566 * Consolidate writes of access point information updates to the info daemon
15567 so that we only do it when the connection to the access point was
15568 successful. Also consolidates updates to GConf in the Gnome applet.
15570 * src/nm-netlink-monitor.c
15571 - Silence compile warning when calling g_object_new()
15573 2005-08-08 Dan Williams <dcbw@redhat.com>
15575 Patch from Steev <steev@steev.net>:
15576 * src/backends/NetworkManagerGentoo.c
15577 - Stub new dialup backend functions
15579 2005-08-08 Dan Williams <dcbw@redhat.com>
15581 Patch from Colin Slater:
15582 * src/backends/NetworkManagerGentoo.c
15583 - (nm_system_update_dns): Fix exit status check for restarting
15586 2005-08-05 Robert Love <rml@novell.com>
15588 * NetworkManager.h,
15589 gnome/applet/applet-dbus-devices.c,
15590 gnome/applet/applet-dbus-devices.h,
15591 gnome/applet/applet-dbus.c,
15592 gnome/applet/applet.c,
15593 gnome/applet/applet.h,
15594 src/NetworkManager.c,
15595 src/NetworkManagerMain.h,
15596 src/NetworkManagerSystem.h,
15597 src/backends/NetworkManagerRedHat.c,
15598 src/backends/NetworkManagerSuSE.c,
15599 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
15601 2005-08-05 Robert Love <rml@novell.com>
15603 * gnome/applet/other-network-dialog.c: default the adhoc network to the
15604 machine's hostname to make adhoc creation idiot-proof.
15606 2005-08-04 Robert Love <rml@novell.com>
15608 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
15611 2005-08-04 Dan Williams <dcbw@redhat.com>
15613 * gnome/applet/applet-dbus-info.c
15614 gnome/applet/applet-dbus-info.h
15615 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
15616 to store key, key type, and auth method rather than just auth method
15617 - (nmi_dbus_update_network_info): new function
15618 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
15620 * gnome/applet/passphrase-dialog.c
15621 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
15622 of saving the info ourselves
15624 * gnome/libnm_glib/libnm_glib.c
15625 - Remove the stupid version check for dbus
15627 * src/NetworkManagerAP.c
15628 src/NetworkManagerAP.h
15629 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
15631 * src/NetworkManagerDbus.c
15632 src/NetworkManagerDbus.h
15633 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
15634 more than just the auth method
15636 * src/NetworkManagerDevice.c
15637 - Update network info at the appropriate times
15639 2005-07-29 Ray Strode <rstrode@redhat.com>
15641 * src/NetworkManager.c (nm_info_handler): don't use input as format
15642 string (Spotted by Ian Jackson).
15644 2005-07-27 Dan Williams <dcbw@redhat.com>
15648 - Random cleanups of spacing
15650 * gnome/applet/applet.h
15651 gnome/applet/other-network-dialog.c
15652 gnome/applet/passphrase-dialog.c
15653 - Conslidate usage of NMWAEncryptionKeyTypes enum
15655 Patch from Bill Moss:
15656 - Make Other Wireless Networks work again with encryption keys
15658 2005-07-26 Dan Williams <dcbw@redhat.com>
15660 Patch from Steev <steev@steev.net>:
15661 * src/backends/NetworkManagerGentoo.c
15662 src/backends/Makefile.am
15663 - Fix up Gentoo backend
15665 2005-07-26 Robert Love <rml@novell.com>
15667 * src/backends/NetworkManagerSuSE.c: misc. cleanup
15669 2005-07-25 Robert Love <rml@novell.com>
15671 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
15672 in the same group as the wireless networks, since they are all
15673 mutually exclusive.
15675 2005-07-24 Ray Strode <rstrode@redhat.com>
15677 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
15678 remove unneeded NULL arg from g_object_new(). Any
15679 warnings caused by not having the extra NULL are just a
15680 result of a bug in glib 2.7.0 - 2.7.2.
15682 2005-07-22 Robert Love <rml@novell.com>
15684 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
15686 2005-07-22 Robert Love <rml@novell.com>
15688 * src/nm-netlink-monitor.c: g_object_new() needs at least three
15689 parameters (gcc 4.0.2 warning fix).
15691 2005-07-18 Robert Love <rml@novell.com>
15693 Suggested by Aaron Bockover (abockover@novell.com)
15694 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
15696 * gnome/applet/passphrase-dialog.c: ditto
15697 * gnome/applet/wireless-applet.glade: ditto
15699 2005-07-13 Dan Williams <dcbw@redhat.com>
15701 Patch from Ray Strode <halfline@gmail.com>
15702 * vpn-daemons/vpnc/nm-vpnc-service.c
15703 - Don't let vpnc daemonize, fixes some races with PID file reading
15705 2005-07-13 Dan Williams <dcbw@redhat.com>
15707 Patch from Ray Strode <halfline@gmail.com>
15708 * Random cleanups for strict CFLAGS
15710 2005-07-07 Dan Williams <dcbw@redhat.com>
15712 Patch from Derek Atkins <warlord@MIT.EDU>
15713 * src/nm-dbus-net.c:
15714 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
15716 2005-07-07 Dan Williams <dcbw@redhat.com>
15718 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
15719 * src/backends/NetworkManagerGentoo.c
15720 - Gentoo backend Static IP nameserver fixes
15721 - General Gentoo backend goodness
15723 2005-07-07 Dan Williams <dcbw@redhat.com>
15725 Patch from Bastien Nocera:
15726 * gnome/applet/applet.c
15727 - Fix up error reporting when icons or glade files are missing
15729 2005-07-07 Robert Love <rml@novell.com>
15731 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
15732 are not any VPN connections above it.
15734 2005-07-07 Robert Love <rml@novell.com>
15736 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
15738 2005-07-05 Robert Love <rml@novell.com>
15740 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
15743 2005-07-05 Robert Love <rml@novell.com>
15745 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
15746 on wired or unencrypted wireless.
15748 2005-07-01 Robert Love <rml@novell.com>
15750 * src/NetworkManagerSystem.c: Print the error via strerror().
15752 2005-06-30 Robert Love <rml@novell.com>
15754 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
15755 then exit if the glade file is not found. currently the application
15758 2005-06-30 Robert Love <rml@novell.com>
15760 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
15761 explicitly up all interfaces on wake from sleep.
15763 2005-06-30 Robert Love <rml@novell.com>
15765 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
15766 with information about the currently active connection.
15767 * gnome/applet/applet.h: (ditto)
15768 * gnome/applet/wireless-applet.glade: (ditto), new file
15770 2005-06-30 Robert Love <rml@novell.com>
15772 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
15773 * src/nm-dbus-nm.c: print when we sleep and wake up.
15774 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
15775 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
15776 in /sbin unless D-BUS is, folks).
15777 * README: update to reflect nm-applet replacing NetworkManagerInfo.
15779 2005-06-27 Robert Love <rml@novell.com>
15781 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
15784 2005-06-27 Robert Love <rml@novell.com>
15786 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
15789 2005-06-26 Robert Love <rml@novell.com>
15791 * src/NetworkManagerDevice.c: be specific about which device in
15794 2005-06-23 Adam Weinberger <adamw@gnome.org>
15796 * src/nm-netlink-monitor.c: correct spelling error.
15798 2005-06-23 Robert Love <rml@novell.com>
15800 * gnome/applet/applet-dbus-info.c: gnome keyring support!
15801 * gnome/applet/passphrase-dialog.c: more of that keyring!
15803 2005-06-23 Robert Love <rml@novell.com>
15805 * configure.in: remove extraneous GNOMEKEYRING directives.
15806 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
15807 * gnome/applet/applet.c: nmwa_icons_init: make style local.
15808 * gnome/applet/passphrase-dialog.c: whitespace.
15810 2005-06-23 Robert Love <rml@novell.com>
15812 * src/NetworkManagerDevice.c: division in assignment was flipped.
15814 2005-06-23 David Zeuthen <david@fubar.dk>
15816 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
15817 signal to the child to indicate that we got what we wanted when we
15818 see two new-lines right after each other.
15819 (nmwa_vpn_request_password): Pass a structure with several members
15820 instead of just the passwords
15822 2005-06-23 Dan Williams <dcbw@redhat.com>
15824 * src/NetworkManager.c
15825 src/NetworkManagerMain.h
15826 - (nm_get_hal_ctx): new function, move Hal initialization code here
15827 - (nm_hal_init): new function, init libhal context then add devices
15828 - (nm_hal_deinit): new function, clean up libhal context
15829 - (nm_data_free): Move Hal cleanup here
15830 - (main): check whether Hal is running, and if so, get a list of
15831 network devices from it
15833 * src/NetworkManagerDbus.c
15834 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
15835 and when it appears, get a list of network devices from it. If
15836 Hal goes away, clean up the libhal context
15838 2005-06-22 Robert Love <rml@novell.com>
15840 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
15841 permissions of scripts before executing.
15843 2005-06-21 Robert Love <rml@novell.com>
15845 * initscript/SUSE/networkmanager: update.
15846 * src/backends/NetworkManagerSuSE.c: cleanup.
15848 2005-06-21 Robert Love <rml@novell.com>
15850 * gnome/applet/applet.c: use menu mnemonics.
15851 * gnome/applet/menu-items.c: (ditto)
15853 2005-06-21 Robert Love <rml@novell.com>
15855 * applet/applet-dbus-devices.c: mark non-static functions static.
15856 * applet/applet-dbus-vpn.c: (ditto)
15857 * applet/applet.c: (ditto)
15858 * applet/nm-device.h: (ditto)
15859 * applet/other-network-dialog.c: (ditto)
15860 * applet/passphrase-dialog.c: (ditto)
15861 * NetworkManager.c: (ditto)
15862 * NetworkManagerDbus.c: (ditto)
15863 * NetworkManagerDevice.c: (ditto)
15864 * NetworkManagerPolicy.c: (ditto)
15865 * NetworkManagerUtils.c: (ditto)
15866 * NetworkManagerWireless.c: (ditto)
15867 * NetworkManagerWireless.h: (ditto)
15868 * nm-netlink-monitor.c: (ditto)
15869 * applet/applet-dbus-info.c: (ditto), add FIXME's.
15870 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
15871 * autoip.c: include autoip.h.
15872 * autoip.h: new file. define get_autoip().
15873 * nm-netlink-monitor.h: define nm_netlink_close_connection().
15874 * NetworkManagerDbus.h: remove duplicate definitions.
15876 2005-06-20 Robert Love <rml@novell.com>
15878 * Makefile.am: Add missing intltool-foo.in generated files to
15879 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
15880 with the start of stuff to cleanup on 'distclea'.
15881 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
15882 stuff right and 'distcheck' works.
15883 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
15884 we keep it, we need to add all of examples/* to EXTRA_DIST and do
15885 Makefile.am for each. And systray/Makefile needs to be redone.
15887 2005-06-19 Dan Williams <dcbw@redhat.com>
15889 * src/NetworkManagerDevice.c
15890 - (nm_device_wireless_process_scan_results): scan every 20s when
15891 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
15893 2005-06-19 Dan Williams <dcbw@redhat.com>
15895 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
15897 2005-06-18 Ray Strode <rstrode@redhat.com>
15899 * src/nm-netlink-monitor.c
15900 (nm_netlink_monitor_event_handler): check for the presence
15901 of either error condition not both.
15903 (nm_netlink_monitor_error_handler): emit error signal if
15906 (nm_netlink_monitor_event_handler),
15907 (nm_netlink_monitor_error_handler),
15908 (nm_netlink_monitor_disconnect_handler): if an
15909 assertion fails disconnect the event handler to prevent
15912 * src/nm-netlink-monitor.h: add new error condition
15913 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
15915 2005-06-18 Ray Strode <rstrode@redhat.com>
15917 * src/nm-netlink-monitor.c
15918 (nm_netlink_monitor_event_handler): remove bogus < 0
15919 check on unsigned value and return early if the kernel
15920 didn't send any bytes.
15922 2005-06-17 Robert Love <rml@novell.com>
15924 * initscript/SUSE/networkmanager: Change the Provides and default
15927 2005-06-16 Dan Williams <dcbw@redhat.com>
15929 Patch from Robert Love:
15930 * gnome/applet/applet.c
15931 - Beautify some applet menu item names
15933 2005-06-17 David Zeuthen <davidz@redhat.com>
15935 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
15936 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
15937 Also add new methods can_export, import_file and export.
15939 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
15942 * gnome/vpn-properties/nm-vpn-properties.c:
15943 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
15944 nm-vpn-ui-interface.h.
15945 (update_edit_del_sensitivity): Also update "Export" sensitivity
15946 (add_vpn_connection): Also add new SVC_NAME column
15947 (import_settings): New function
15948 (retrieve_data_from_selected_connection): New function
15949 (edit_cb): Use retrieve_data_from_selected_connection to simplify
15951 (export_cb): New function
15952 (init_app): Also setup the "export" widget
15953 (main): Support the --import-service and --import-file commandline
15956 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
15959 2005-06-16 Dan Williams <dcbw@redhat.com>
15961 Patch from Robert Love:
15962 * gnome/applet/menu-items.c
15963 - (network_menu_item_new): pass -1 as wireless network
15964 menu items height size request rather than ascent / 2
15966 2005-06-16 Dan Williams <dcbw@redhat.com>
15968 * Clean up wording in Wireless Scan Methods menu items and constants
15970 2005-06-16 Robert Love <rml@novell.com>
15973 - remove gtkcell* files
15975 2005-06-15 Dan Williams <dcbw@redhat.com>
15977 Patch from Robert Love: make the applet stetic
15979 * gnome/applet/Makefile.am
15980 - Don't compile the gtkcellview and gtkcellrendererprogress files
15982 * gnome/applet/gtkcellview.h
15983 gnome/applet/gtkcellview.c
15984 gnome/applet/gtkcellrendererprogress.h
15985 gnome/applet/gtkcellrendererprogress.c
15988 * gnome/applet/menu-items.c
15989 - Progress bars are 5:1 size ratio
15990 - Use GTK progress bars rather than internal ones
15992 2005-06-15 Dan Williams <dcbw@redhat.com>
15994 Patch from Robert Love:
15995 * initscript/SUSE/networkmanager
15998 2005-06-15 Dan Williams <dcbw@redhat.com>
16000 * src/backends/NetworkManagerSuSE.c
16001 src/backends/NetworkManagerRedHat.c
16002 src/backends/NetworkManagerDebian.c
16003 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16005 2005-06-15 Dan Williams <dcbw@redhat.com>
16007 * src/backends/NetworkManagerDebian.c
16008 - Add nm_system_device_get_use_dhcp() to debian backend
16010 Patch from Kay Sievers:
16011 * src/backends/NetworkManagerSuSE.c
16012 - Update debian backend for static IP nameservers
16014 * src/NetworkManagerDevice.c
16015 - Actually set the device to use static IP or DHCP rather
16018 2005-06-15 Dan Williams <dcbw@redhat.com>
16020 Patch from Thom May:
16021 * src/backends/NetworkManagerDebian.c
16022 - Update debian backend for static IP nameservers
16024 2005-06-15 Dan Williams <dcbw@redhat.com>
16026 Patches from Robert Love:
16027 * gnome/applet/wireless-applet.glade
16028 - Tighten up wording
16030 * src/NetworkManagerDevice.c
16031 - Remove misplaced ';'
16034 initscript/Makefile.am
16035 initscript/SUSE/Makefile.am
16036 initscript/SUSE/networkmanager
16037 - Add SUSE initscript
16039 2005-06-12 David Zeuthen <davidz@redhat.com>
16041 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16043 * gnome/vpn-properties/nm-vpn-properties.glade: New file
16045 * gnome/vpn-properties/nm-vpn-properties.c: New file
16047 * gnome/vpn-properties/Makefile.am: New file
16049 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16052 * src/vpn-manager/nm-vpn-manager.c
16053 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16054 instead of just a single one
16056 * src/vpn-manager/nm-dbus-vpn.c:
16057 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16059 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16061 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
16062 Change the interface here to give a list of passwords. Also, don't
16063 require username, but do require service
16065 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16066 the binary for the auth-dialog and use that instead of putting up a
16067 dialog asking for a single password
16069 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16070 however do remember the service
16072 * gnome/applet/main.c (main): Setup i18n
16074 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16075 connection to '%s'" to the tooltip if we are connected using VPN
16076 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16077 key to determine whether we the auth-dialog needs to
16078 reprompt. Also cope with the fact that the auth-dialog now returns
16079 an array of passwords.
16080 (nmwa_menu_configure_vpn_item_activate): New handler for
16081 "Configure VPN..." menu item
16082 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16083 (is_vpn_available): New function to determine if we got any
16084 NM-compatible VPN software installed
16085 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16086 items only if we have NM-compatible VPN software installed
16087 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16088 logic for detecting when VPN connections are removed
16090 * gnome/applet/applet-dbus.h: Removed the prototypes for
16091 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16092 since these are defined elsewhere
16094 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16095 function used to keep track of whether the last attempt succeded
16096 (nmwa_dbus_filter): Update last_attempt according to whether the
16097 VPN connection could be established or not
16099 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
16100 Change prototype to take an array of passwords, not just a single
16103 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16104 update service, not user
16105 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16106 dbus_active_vpn_name is not NULL before using it
16107 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16108 string array instead of assuming a single password
16110 * gnome/applet/applet-dbus-info.c:
16111 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16112 user name; don't read from gconf
16114 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
16117 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16119 * configure.in: Add checks for gmodule-2.0.
16120 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16121 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16122 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
16125 * vpn-daemons/Makefile.am: Removed
16127 * vpn-daemons/README: New file to describe extensions points for VPN
16130 2005-06-10 Dan Williams <dcbw@redhat.com>
16132 * src/backends/NetworkManagerRedHat.c
16133 - (get_current_profile_name): new function, grab current network profile name from
16134 /etc/sysconfig/network
16135 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16136 update an IP4 Config structure's settings from it
16137 - (nm_system_device_get_system_config): if we're using static IP on this device,
16138 get DNS info from current network profile
16140 2005-06-09 Dan Williams <dcbw@redhat.com>
16142 Patch from Robert Love:
16143 * src/NetworkManagerDevice.c
16144 src/NetworkManagerUtils.c
16145 - 64-bit build fixes
16147 2005-06-09 Dan Williams <dcbw@redhat.com>
16149 Patch from Kay Sievers and Robert Love:
16151 src/backends/Makefile.am
16152 src/backends/NetworkManagerSuSE.c
16155 2005-06-09 Dan Williams <dcbw@redhat.com>
16158 - Add NMWirelessScanMethod enum for scan methods
16160 * gnome/applet/applet-dbus-devices.c
16161 - (nmwa_dbus_update_scanning_enabled_cb): remove
16162 - (nmwa_dbus_update_scanning_enabled): remove
16163 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16164 since it got removed
16165 - (nmwa_dbus_enable_scanning): remove
16167 * gnome/applet/applet-dbus-info.c
16168 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16169 update the wireless scanning method from NMI
16170 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16171 method value to NetworkManager
16172 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16174 * gnome/applet/applet-dbus-info.h
16175 - Add prototype for nmi_dbus_signal_update_scan_method
16177 * gnome/applet/applet.c
16178 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16179 Wireless Scanning menu based on current wireless scan method
16180 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16181 signal for Wireless Scanning menu items, tell NetworkManager the new method
16182 and update our menu items to make sure the right one is checked
16183 - (nmwa_set_scanning_enabled_cb): remove
16184 - (nmwa_context_menu_update): remove references to pause_scanning_item
16185 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16187 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16189 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16190 so we get notified of preference values too
16191 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16193 * gnome/applet/applet.h
16194 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16195 - Add wireless scan method member to applet data
16196 - Remove pause_scanning_item, add Wireless Scanning submenu
16198 * src/NetworkManager.c
16199 - (nm_data_new): default to NM_SCAN_METHOD_ON
16200 - (main): grab scanning method from NMI if we can
16202 * src/NetworkManagerDbus.c
16203 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16204 nm_dbus_update_wireless_scan_method()
16205 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16207 - (nm_dbus_nmi_is_running): redundant function, removed
16208 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16209 when NMI comes back
16211 * src/NetworkManagerDevice.c
16212 - (nm_device_is_activated): return TRUE if the device is activated
16213 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16214 and we are activated
16217 - (nm_dbus_nm_set_scanning_enabled): removed
16218 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16219 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16221 2005-06-09 Dan Williams <dcbw@redhat.com>
16224 src/vpn-manager/nm-vpn-service.c
16225 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16227 2005-05-27 Dan Williams <dcbw@redhat.com>
16229 * vpn-daemons/vpnc/nm-vpnc-service.c
16230 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16231 Should fix the bug where the VPN connection terminates the first time.
16233 2005-05-20 Dan Williams <dcbw@redhat.com>
16236 - Differentiate VPN config signals between bad VPN config options
16239 * gnome/applet/applet-dbus-info.h
16240 - Add prototypes for wireless network and vpn connection update functions
16242 * gnome/applet/applet-dbus.c
16243 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16245 * gnome/applet/applet.c
16246 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16248 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16249 propogation to NetworkManager
16250 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16251 notify propogation to NetworkManager
16253 * src/NetworkManagerDbus.c
16254 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16255 are updating so a network can be removed from it if necessary
16257 * src/vpn-manager/nm-vpn-manager.c
16258 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16260 * vpn-daemons/vpnc/nm-vpnc-service.c
16261 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16262 - (nm_vpnc_dbus_signal_launch_failed): remove
16263 - (nm_vpnc_dbus_signal_connect_failed): remove
16264 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16265 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16266 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16267 for new generalized error signal function, remove config file stuff
16268 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16269 we can write configuration options to it
16270 - (nm_vpnc_config_file_generate): removed
16271 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16272 - (nm_vpnc_config_options_validate): validate the config options we receive
16273 from NetworkManager to block potential exploits
16274 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16276 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16279 2005-05-16 Dan Williams <dcbw@redhat.com>
16281 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16282 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16285 2005-05-16 Dan Williams <dcbw@redhat.com>
16287 Patch from Tomislav Vujec <tvujec@redhat.com>
16288 * gnome/applet/applet-dbus-info.c
16289 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16290 GConf and pass them to NetworkManager. New key is 'routes' under
16291 the VPN connection, and should be a string list
16293 * src/NetworkManagerSystem.c
16294 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16295 set them on the device when we set the rest of the VPN config. Ensure
16296 they are in the correct format since they are passed directly to the
16299 * src/backends/NetworkManagerRedHat.c
16300 src/backends/NetworkManagerDebian.c
16301 - (nm_system_device_add_route_via_device_with_iface): new function
16303 * src/vpn-manager/nm-dbus-vpn.c
16304 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16306 * src/vpn-manager/nm-vpn-manager.c
16307 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16308 them into the IP4 config functions
16310 2005-05-15 Dan Williams <dcbw@redhat.com>
16312 From Filip Miletic:
16316 - Serbian translation added
16318 2005-05-15 Dan Williams <dcbw@redhat.com>
16320 * dispatcher-daemon/NetworkManagerDispatcher.c
16321 - (main): sync arguments with NetworkManager and the applet, now use
16322 "--no-daemon" rather than "daemon=no"
16323 - (nmd_print_usage): Fix script path in usage message
16325 2005-05-15 Dan Williams <dcbw@redhat.com>
16327 * src/NetworkManagerDevice.[ch]
16328 src/NetworkManagerPolicy.c
16329 src/NetworkManager.c
16331 - Remove the "just_added" parameter from nm_device_deactivate(). We no
16332 longer send the DeviceNoLongerActive signal unconditionally, but only
16333 when the device is actually active.
16335 * dispatcher-daemon/NetworkManagerDispatcher.c
16336 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16337 and simplify the logic
16338 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16339 we free it later on
16341 * initscript/RedHat/Makefile.am
16342 initscript/RedHat/NetworkManagerDispatcher
16343 - Add initscript for NetworkManagerDispatcher
16346 Patch from Bill Moss:
16347 * dispatcher-daemon/NetworkManagerDispatcher.c
16348 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16350 * src/NetworkManagerDbus.c
16351 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
16352 and DeviceNowActive gets signaled, then the device has a new IP address
16353 anyway. There's no need for a separate signal.
16355 * src/NetworkManagerDevice.c
16356 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16358 * src/NetworkManagerPolicy.c
16359 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16360 activates successfully. This kind of went missing when I reworked the
16363 2005-05-15 Dan Williams <dcbw@redhat.com>
16366 - Check for dhcdbd and error if its not found
16368 * src/dhcp-manager/Makefile.am
16369 src/dhcp-manager/nm-dhcp-manager.c
16370 - Use path to dhcdbd that configure found
16372 2005-05-14 Dan Williams <dcbw@redhat.com>
16374 * gnome/applet/nm-device.c
16375 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16376 sort wireless networks alphabetically
16378 * gnome/applet/applet-dbus-devices.c
16379 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16380 before copying them over to the GUI
16382 2005-05-14 Dan Williams <dcbw@redhat.com>
16384 * src/NetworkManager.c
16385 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16386 fixes a deadlock on shutdown with a VPN connection active. This function locks
16387 the device list, as does nm_get_active_device() which is called from
16388 nm_vpn_manager_deactivate_vpn_connection().
16390 2005-05-14 Dan Williams <dcbw@redhat.com>
16393 - Add signals for VPN Launch and Connect failures
16395 * gnome/applet/applet-dbus.c
16396 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16398 * gnome/applet/applet.c
16399 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16400 function to handle all VPN failure messages
16401 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
16402 function to hanlde all VPN failure messages
16403 - (show_warning_dialog): work around focus-stealing prevention
16405 * gnome/applet/other-network-dialog.c
16406 gnome/applet/passphrase-dialog.c
16407 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16408 problem where it never enabled for ASCII Key and Hex Key types
16410 * gnome/applet/wireless-applet.glade
16411 - Add window title to Other Wireless Network Dialog
16413 * src/vpn-manager/nm-dbus-vpn.c
16414 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16415 function to handle all VPN failure messages
16417 * src/vpn-manager/nm-vpn-manager.c
16418 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16420 * vpn-daemons/vpnc/nm-vpnc-service.c
16421 - (nm_vpnc_dbus_signal_launch_failed): new function
16422 - (nm_vpnc_dbus_signal_connect_failed): new function
16423 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16424 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16425 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16426 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16428 2005-05-11 Dan Williams <dcbw@redhat.com>
16430 * vpn-daemons/vpnc/nm-vpnc-service.c
16431 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16432 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16433 file exists before trying to write it out.
16435 2005-05-10 Dan Williams <dcbw@redhat.com>
16437 * gnome/applet/applet-dbus-device.c
16438 - (nmwa_dbus_set_device): remove check for valid key and key type, which
16439 prevented just entering ESSID and leaving key and key type up to
16440 NetworkManager (which should have them already cached)
16442 2005-05-08 Dan Williams <dcbw@redhat.com>
16444 * src/NetworkManagerPolicy.c
16445 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16446 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16447 fix a situation where NM is told to terminate and the device stops activation,
16448 but the main thread isn't aware of that because it would never have run
16449 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16452 * src/NetworkManagerDevice.c
16453 - (nm_device_probe_wired_link_state): cosmetic fixes
16454 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16455 we've failed to activate or been canceled.
16456 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16458 2005-05-08 Dan Williams <dcbw@redhat.com>
16460 * src/NetworkManagerWireless.c
16461 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16462 value of WEXT quality structures, and add a debug message when we cannot
16463 determine any quality % at all
16465 2005-05-08 Dan Williams <dcbw@redhat.com>
16467 * src/dhcp-manager/nm-dhcp-manager.c
16468 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16471 2005-05-06 Dan Williams <dcbw@redhat.com>
16473 * gnome/applet/applet-dbus-device.c
16474 gnome/applet/applet-dbus-info.c
16475 gnome/applet/applet-dbus.c
16476 gnome/applet/applet.c
16477 gnome/applet/applet.h
16478 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16480 * gnome/applet/applet-dbus.c
16481 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16482 so we notice when wired device's carriers come back on. Should
16483 fix issue with wired devices being grayed out even if the cable
16484 is in, for devices that support carrier detection.
16486 * gnome/applet/applet.c
16487 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16488 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16490 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16491 Fix situation where applet wouldn't respond to menu selections
16493 * src/NetworkManager.c
16494 src/NetworkManagerDevice.c
16495 src/NetworkManagerDbus.c
16496 src/NetworkManagerDbus.h
16497 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
16499 * src/NetworkManagerDbus.c
16500 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
16501 Remove, no longer used or relevant
16502 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
16503 - (nm_dbus_schedule_device_status_change_signal): add
16505 * src/NetworkManagerDevice.c
16506 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
16507 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
16508 ie don't deactivate them unless explicitly told to by the user. Also send
16509 CARRIER_OFF / CARRIER_ON signals when link changes
16510 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
16511 Don't print error message when device is no longer around
16512 - (nm_device_deactivate): kill any current DHCP process attached to this device,
16513 not just during activation
16515 * src/NetworkManagerPolicy.c
16516 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
16517 auto-device-selection.
16518 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
16520 * src/NetworkManagerSystem.c
16521 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
16522 is no longer present (Bill Moss)
16524 * src/backends/shvar.c
16525 - (svOpenFile): Open read-only to make SELinux happy
16527 * src/backends/NetworkManagerRedHat.c
16528 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
16529 the path to the ifcfg-* files
16531 2005-05-05 Dan Williams <dcbw@redhat.com>
16533 * Expose activation stages to NetworkManager clients, like the applet
16534 * Add Diana's progress icons to the applet, cued off NM activation stage
16535 * Use more descriptive tooltips, cued off NM activation stage
16537 2005-05-05 Ray Strode <rstrode@redhat.com>
16539 * src/nm-netlink-monitor.c:
16540 - Use clear_event_source instead of g_nullify_pointer() again.
16542 2005-05-05 Dan Williams <dcbw@redhat.com>
16544 * gnome/applet/main.c
16545 - Fix session management so the applet is actually managed now
16547 * gnome/applet/passphrase-dialog.c
16548 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
16550 2005-05-05 Dan Williams <dcbw@redhat.com>
16552 Patch from Bill Moss:
16553 * gnome/libnm_glib/libnm_glib.c
16554 - Fix for dbus-0.33
16556 2005-05-05 Dan Williams <dcbw@redhat.com>
16558 Suggestion from Bill Moss:
16559 * src/NetworkManagerSystem.c
16560 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
16563 * src/NetworkManager.c
16564 - (nm_data_free): move destruction of the various managers after
16565 release of device list, because deactivating and freeing a device
16566 requires at least the named manager
16567 - (nm_poll_and_update_wireless_link_state):
16568 (nm_device_link_activated):
16569 (nm_device_link_deactivated):
16570 don't grab the device list lock when actually updating device
16571 link status or strength, since nm_device_set_link_active()
16572 needs to call nm_get_active_device(), which also locks the device list.
16574 * src/NetworkManagerDevice.c
16575 - (nm_device_set_link_active): if a device's link switches from off->on,
16576 and it's wired, and the active device is wireless (or there is no
16577 active device), activate the new device whose link just came on
16578 - (link_to_specific_ap): try to smooth over intermittency in wireless links
16579 my only calling the link to the current ap "failed" when more than 2
16580 consecutive link checks have failed
16582 2005-05-04 Dan Williams <dcbw@redhat.com>
16584 * src/NetworkManagerDevice.c
16585 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
16586 but let link_to_specific_ap() do the locking where it needs
16588 Patch from Bill Moss:
16589 * src/NetworkManagerSystem.c
16590 - Set MTU of VPN devices to 1412
16592 2005-05-04 Dan Williams <dcbw@redhat.com>
16594 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
16596 * Fix some holes in device activation and retaining the currently connected
16599 2005-05-03 Dan Williams <dcbw@redhat.com>
16601 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
16602 This means that NetworkManager shouldn't have DHCP issues anymore. It also
16603 means you need dhcdbd, which you can get here (get the latest one):
16605 http://people.redhat.com/jvdias/dhcdbd/
16607 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
16608 interface as dhcdbd.
16610 * Rewrite device activation to facilitate the new DHCP infrastructure and
16611 future improvements. Its now "activation request" based, ie there is a single
16612 activation request composed of the device, access point, and other info which
16613 follows the entire activation process. There are 5 stages of the activation
16614 process which correspond to:
16616 1) Device preparation
16617 2) Device configuration (bring it up, set ESSID/Key/etc)
16618 3) IP Config Start (fire off DHCP if we're using it)
16619 4) IP Config Get (grab config from DHCP or static config files)
16620 5) IP Config Commit (set device's IP address, DNS, etc)
16622 Note that there is no longer a "scanning" step, since the access point must
16623 be known _before_ activation starts. If the access point drops out or does
16624 not exist for some reason, the entire activation process fails and must be
16625 restarted for a different access point or device.
16627 Patch from Bill Moss:
16628 * gnome/applet/applet.c
16629 - Fix type of vpn_failure dialog -> vpn_banner dialog
16631 2005-04-27 Dan Williams <dcbw@redhat.com>
16633 * gnome/applet/applet-dbus-vpn.c
16634 gnome/applet/applet.c
16635 gnome/applet/applet.h
16636 - Fix up active VPN handling so that we reliably know when a VPN
16637 connection has been deactivated
16639 * src/vpn-manager/nm-vpn-manager.c
16640 - Remove duplicate VPNConnectionChange signal
16642 2005-04-27 Dan Williams <dcbw@redhat.com>
16644 Patch from Peter Jones:
16645 * Remove usage of varargs to fix crashes on PPC (RH #154336)
16647 Patch from Bill Moss:
16648 * src/NetworkManagerSystem.c
16649 - Fix checking of return value from ioctl()
16651 2005-04-27 Dan Williams <dcbw@redhat.com>
16653 * Fix choosing of wireless networks and "Other wireless network..." from the applet
16654 * Warn and exit if icons cannot be found
16656 2005-04-27 Dan Williams <dcbw@redhat.com>
16658 Patch from Tom Parker:
16659 * Update debian backend
16661 2005-04-27 Dan Williams <dcbw@redhat.com>
16663 * Merge the applet and the info-daemon, and move the converged
16664 applet under gnome/applet
16665 * Move libnm_glib to gnome/libnm_glib
16666 * Convert most dbus calls between the applet, info-daemon, and NM
16668 * Fix a few things valgrind noticed
16669 * Make NM broadcast state more reliably
16671 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
16673 * configure.in: Added ne in ALL_LINGUAS
16675 2005-04-15 Dan Williams <dcbw@redhat.com>
16677 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
16678 code for dbus 0.2x versions
16680 2005-04-15 Dan Williams <dcbw@redhat.com>
16682 Patches from Tom Parker:
16684 - Join with worker thread rather than polling for its exit
16686 Patch from Bill Moss:
16687 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
16689 2005-04-15 Dan Williams <dcbw@redhat.com>
16691 - Fixes to pass 'make distcheck'
16693 2005-04-15 Dan Williams <dcbw@redhat.com>
16695 Initial VPN Support
16697 - reworks device IP configuration, backend files have changed and will need
16698 to be updated for all distributions. I will try to do what I can for
16699 them, but I cannot test them.
16701 - Move named directory to src/named-manager
16702 - Make backends directory self-contained
16704 2005-04-06 Dan Williams <dcbw@redhat.com>
16706 Add debug code for socket/file descriptor leaks. We register every socket
16707 that we open (except for stuff in dhcpcd/) for tracking, and print out the
16708 list of sockets that we forgot to close on shutdown. This also consolidates
16709 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
16711 2005-04-06 Dan Williams <dcbw@redhat.com>
16714 - (dhcp_interface_free): fix a file descriptor leak that may have
16715 caused network drivers to not unload due to refcounts > 0
16717 2005-04-04 Dan Williams <dcbw@redhat.com>
16719 * panel-applet/NMWirelessAppletDbus.c
16720 - (nmwa_dbus_call_nm_method): remove some commented code
16722 * src/NetworkManagerAPList.[ch]
16723 - (nm_ap_list_remove_ap_by_essid): new function
16725 * src/NetworkManagerDevice.c
16726 - (nm_device_wireless_force_use): remove access points from the ignore list
16727 when the user forces them
16729 * src/nm-dbus-device.c
16730 - (nm_dbus_device_get_active_network): fix up escaping of object paths
16732 2005-04-04 Dan Williams <dcbw@redhat.com>
16734 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
16736 2005-04-04 Dan Williams <dcbw@redhat.com>
16738 * src/NetworkManagerDevice.c:
16739 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
16740 of only erroring after the second consecutive scan times out. Also
16741 don't exit when the card requires more time than we can give it, just
16742 log the event and continue.
16744 2005-04-01 Steve Murphy <murf@e-tools.com>
16746 * configure.in: Added "rw" to ALL_LINGUAS.
16748 2005-04-01 Dan Williams <dcbw@redhat.com>
16750 Perform scans during device activation, if needed. Both activation
16751 and scans run in the same GMainContext. Therefore, if an access point
16752 is not found by the time the device starts activation, it will not
16753 be available until after activation. We now try to scan during
16754 activation (in nm_wa_test) every 15s so that all available access
16755 points are more likely to be found and available for the activation
16758 Also change nm_wireless_link_state_handle() to only update the "best"
16759 AP if we are not forcing a device and if we are not about to change
16760 state. This attempts to work around a race when forcing a device,
16761 where the forced AP would get cleared out too soon by the link state
16762 checking timeout in the main thread, and the activation attempt with
16763 that AP would fail.
16765 2005-04-01 Dan Williams <dcbw@redhat.com>
16768 - Update with new translatables
16770 2005-03-31 Dan Williams <dcbw@redhat.com>
16772 * panel-applet/NMWirelessAppletDbus.c
16773 - Fix device names now that hal has changed device parenting for
16776 2005-03-31 Dan Williams <dcbw@redhat.com>
16778 Tighten up handling of wireless devices that don't support wireless
16779 scanning (ie, Orinoco). Due to restructuring of code, these devices
16780 hadn't been doing pseudo-scanning for a while either and would just
16781 spin waiting for an access point. They are now manual devices where
16782 the user must choose the access point from the menu every time. All
16783 "allowed" access points are listed in the applet's menu regardless
16784 of whether or not they can be seen by the card, since it can't scan
16787 * src/NetworkManager.c
16788 - (nm_wireless_link_state_handle): new function, but only update
16789 the "best" ap for non-scanning devices when its not activating,
16790 and when no device is being forced on the card
16791 - (nm_link_state_monitor): split wireless link state handling out
16792 into separate function
16794 * src/NetworkManagerDevice.c
16795 - (nm_device_copy_allowed_to_dev_list): new function
16796 - (nm_device_new): populate non-scanning cards' AP lists with
16797 access points from the "allowed" list
16798 - (nm_device_new): don't start a scanning timeout for devices that
16800 - (nm_device_activation_schedule_finish): new parameter, should be
16801 the AP that failed to be connected to, pass it on to the
16802 activation finish function in NetworkManagerPolicy.c
16803 - (nm_device_activate_wireless): don't ever try to get a new AP
16804 for non-scanning devices, just fail. The user must choose
16805 a new access point manually.
16806 - (nm_device_activate): grab the AP that failed connection and
16808 - (nm_device_update_best_ap): Clear the best AP if we don't have
16809 a link to it, user must manually choose a new one
16810 - (nm_device_do_pseudo_scan): remove function
16811 - (nm_device_wireless_process_scan_results): remove bits for non-
16812 scanning cards since they never get here
16813 - (nm_device_wireless_scan): remove bits for non-scanning devices,
16814 and fake the scan list for test devices a bit earlier
16816 * src/NetworkManagerPolicy.c
16817 - (nm_policy_activation_finish): use the failed_ap that we get
16818 passed rather than getting the best_ap from the card, which
16819 may have changed since we were scheduled
16820 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
16821 update their scan list directly from the allowed list when
16822 we get updates to the allowed list from NetworkManagerInfo
16824 * src/NetworkManagerPolicy.h
16825 - New member for failed access point in NMActivationResult
16827 -------------------------------------
16829 Driver Notification patch: notifies the user when their driver
16830 sucks. Gives them the option to ignore further insertions
16831 of the card that has the sucky driver.
16834 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
16835 enum and replace it with NO_CARRIER_DETECT and
16838 * panel-applet/NMWirelessApplet.[ch]
16839 - Merge essid.glade -> wireless-applet.glade
16840 - Implement the "Your driver sucks" notification dialog
16842 * panel-applet/NMWirelessAppletDbus.c
16843 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
16844 - Grab hardware address for each device from NM too
16845 - Check whether the driver for each device sucks or not whenever
16846 a new device is noticed
16848 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
16849 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
16851 * src/NetworkManager.c
16852 - Fix a double-unref on device removal
16854 * src/NetworkManagerUtils.c
16855 - Set appropriate driver support level on a device that doesn't
16856 support scanning or carrier detection
16858 * src/nm-dbus-device.c
16859 - New "getHWAddress" dbus method on devices
16860 - getSupportsCarrierDetect -> getDriverSupportLevel
16862 2005-03-31 Dan Williams <dcbw@redhat.com>
16864 * src/NetworkManagerDevice.c
16865 - (nm_device_wireless_scan): Fix leak of scan results in some
16868 2005-03-29 Dan Williams <dcbw@redhat.com>
16870 * src/NetworkManager.c
16871 - (nm_poll_and_update_wireless_link_state): make code less indented
16873 Patch from Bill Moss:
16874 * src/NetworkManager.c
16875 - (nm_device_update_link_state): Update signal strength on wireless
16876 devices every time we update link state too.
16878 2005-03-29 Dan Williams <dcbw@redhat.com>
16880 * src/NetworkManagerDevice.c
16881 - (nm_device_set_essid): Work around Orinoco cards which need
16882 extra time after setting the ESSID
16884 2005-03-29 Dan Williams <dcbw@redhat.com>
16886 * src/NetworkManagerDevice.c
16887 - Merge one more bit of Peter Jones' completion patch
16889 2005-03-29 Dan Williams <dcbw@redhat.com>
16891 * src/NetworkManagerDevice.c
16892 - (nm_device_force_use): Fix possible segfault
16894 2005-03-29 Dan Williams <dcbw@redhat.com>
16896 * src/NetworkManagerDevice.c
16897 - Use iw_get_ext() where we should rather than iw_set_ext()
16899 2005-03-29 Dan Williams <dcbw@redhat.com>
16901 * src/NetworkManagerDevice.c
16902 - (nm_device_set_up_down): remove check for unsupported devices
16903 that caused NM to not bring devices up when they were
16904 added to the device list.
16906 2005-03-28 Dan Williams <dcbw@redhat.com>
16908 * src/NetworkManagerDevice.c
16909 - (mdio_read): Fix two bugs that caused all devices to fail
16910 the MII carrier detection support checks
16912 2005-03-26 Dan Williams <dcbw@redhat.com>
16914 * src/NetworkManagerDevice.c
16915 - (nm_device_wireless_scan): Remove duplicated scanning code
16917 2005-03-25 Dan Williams <dcbw@redhat.com>
16919 * panel-applet/NMWirelessApplet.c
16920 - (nmwa_about_cb): Add some more contributors
16921 - (nmwa_update_state): show the applet when there's no connection
16922 - Enable the "Stop/Resume all wireless devices" option in the
16924 - New "no connection" icon
16926 * src/NetworkManager.c
16927 - (nm_poll_and_update_wireless_link_state): don't do anything if
16928 wireless is disabled or we're asleep
16930 * src/NetworkManagerDHCP.c
16931 - Remove trailing "\n" on debug messages
16933 * src/NetworkManagerDbus.c
16934 - (nm_dbus_network_status_from_data): new state "asleep"
16936 * src/NetworkManagerDevice.c
16937 - Merge most of Peter Jones' "completion" patch that greatly reduces
16938 latency and wait times for most operations
16939 - (nm_device_wireless_scan): Don't scan when asleep
16941 * src/NetworkManagerPolicy.c
16942 - (nm_policy_get_best_device): return no device when asleep
16943 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
16944 for all wireless devices on update, not just active device
16946 * src/NetworkManagerUtils.c
16947 - Merge Peter Jones' "completion" patch
16950 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
16951 we're told to disable them
16952 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
16955 - New variants of the warn/info/error/debug print functions that can take
16956 variables rather than static strings
16958 2005-03-24 Dan Williams <dcbw@redhat.com>
16960 * src/NetworkManagerUtils.c
16961 - (nm_get_device_driver_name): driver names are now on the parents of
16962 "Network Interface" objects, so look for them there
16964 2005-03-24 Dan Williams <dcbw@redhat.com>
16967 - Escape some forgotten object paths before we shove them through dbus
16969 2005-03-24 Dan Williams <dcbw@redhat.com>
16971 * dhcpcd/dhcpcd.[ch]
16972 src/NetworkManagerDHCP.c
16973 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
16974 (ie, dhcp_option_record_len -> dhcp_option_element_len)
16976 * src/NetworkManagerDbus.c
16979 * src/nm-dbus-dhcp.c
16980 - Make the API suck less. There is now only 1 type of each function,
16981 ie only "getInteger" and no longer also "getIntegerv". All types
16982 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
16983 that will never have more than 1 element. This should simplify
16986 * test/nm-dhcp-opt-test.c
16987 - Make the tool not segfault
16988 - adapt to new DHCP Options API
16990 2005-03-22 Dan Williams <dcbw@redhat.com>
16992 * src/NetworkManager.c
16993 - (nm_wired_link_deactivated): actually ignore netlink events from
16996 2005-03-22 Dan Williams <dcbw@redhat.com>
16998 * src/NetworkManager.c
16999 - (nm_wired_link_activated): actually ignore netlink events from
17002 2005-03-17 Dan Williams <dcbw@redhat.com>
17004 Patch from Tom Parker:
17005 * src/nm-netlink-monitor.c
17007 * info-daemon/NetworkManagerInfoDbus.c
17008 - (nmi_dbus_update_network_auth_method): free GConf values
17010 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17011 * src/NetworkManagerDevice.c
17012 - (nm_device_set_wireless_config): wait for successful
17013 association longer for some cards (Atheros a/b/g)
17015 2005-03-15 Ray Strode <rstrode@redhat.com>
17017 * src/NetworkManager.c:
17018 (sigterm_pipe_handler):
17021 2005-03-15 Ray Strode <rstrode@redhat.com>
17023 * src/NetworkManagerDbus.c:
17024 Fix some sign weirdness that gcc4 doesn't like,
17025 and add a header file so PPC can hopefully find
17028 2005-03-14 Ray Strode <rstrode@redhat.com>
17030 Fourth (probably working) cut at porting to
17031 dbus 0.30 api and new hal. This cut adds
17032 some new logging macros to make debugging
17035 * dispatcher-daemon/NetworkManagerDispatcher.c:
17036 * info-daemon/NetworkmanagerInfo.c:
17037 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17038 * info-daemon/NetworkManagerInfoVPN.c:
17039 * src/NetworkManager.c:
17040 * src/NetworkManagerAP.c:
17041 * src/NetworkManagerAPList.c:
17042 * src/NetworkManagerDHCP.c:
17043 * src/NetworkManagerDbus.c:
17044 * src/NetworkManagerDevice.c:
17045 * src/NetworkManagerPolicy.c:
17046 * src/NetworkManagerSystem.c:
17047 * src/NetworkManagerUtils.c:
17048 * src/NetworkManagerWireless.c:
17050 * src/nm-dbus-nm.c:
17051 * src/backends/NetworkManagerDebian.c:
17052 * src/backends/NetworkManagerGentoo.c:
17053 * src/backends/NetworkManagerRedHat.c:
17054 * src/backends/NetworkManagerSlackware.c:
17055 use new logging macros.
17057 * dispatcher-daemon/NetworkManagerDispatcher.c:
17058 (nmd_dbus_filter): s/dbus_free/g_free/
17060 * info-daemon/Makefile.am: link in utils library.
17061 * info-daemon/NetworkmanagerInfo.c: use new logging
17063 (nmi_dbus_get_network): don't assume enumerations
17065 (nmi_dbus_nmi_message_handler): don't free what
17066 doesn't belong to us.
17068 * libnm_glib/libnm_glib.c:
17069 (libnm_glib_get_nm_status):
17070 (libnm_glib_init): don't free what doesn't
17072 (libnm_glib_dbus): strdup result, so it doesn't get
17073 lost when message is unref'd.
17075 * panel-applet/NMWirelessAppletDbus.c:
17076 (nmwa_dbus_update_devices): s/dbus_free/g_free/
17078 * src/NetworkManager.c:
17079 (nm_monitor_wired_link_state): request initial status
17080 dump of all cards when we start up, instead of relying
17081 on /sys/.../carrier.
17082 (nm_info_handler), (nm_set_up_log_handlers):
17083 log handlers to specify what syslog priorites
17084 the logging macros default to.
17086 * src/NetworkManagerAPList.c:
17087 (nm_ap_list_populate_from_nmi):
17088 s/dbus_free_string_array/g_strfreev/
17090 * src/NetworkManagerDbus.c:
17091 (nm_dbus_get_network_object):
17092 validate d-bus message argument types.
17093 Advance message iterator after reading argument,
17094 prepend instead of append to GSList.
17096 * src/NetworkManagerDevice.c:
17097 (nm_device_probe_wired_link_status):
17098 remove redundant /sys in /sys path. remove wrong
17099 contents == NULL means has carrier assumption.
17101 * src/nm-netlink-monitor.c
17102 (nm_netlink_monitor_request_status): implement
17103 function to ask kernel to dump interface link
17104 status over netlink socket.
17106 * test/*.c: s/dbus_free/g_free/
17108 * utils/nm-utils.h:
17109 (nm_print_backtrace): new macro to print backtrace.
17110 (nm_get_timestamp): new macro to get sub-second precise
17112 (nm_info), (nm_debug), (nm_warning), (nm_error):
17113 new logging functions. nm_info just prints,
17114 nm_debug includes timestamp and function,
17115 nm_warning includes function, nm_error includes
17116 backtrace and sigtrap.
17118 2005-03-11 Ray Strode <rstrode@redhat.com>
17120 Third (unfinished, partially working) cut at porting to
17121 dbus 0.30 api and new hal.
17123 * info-daemon/NetworkManagerInfoDbus.c:
17124 don't free null arrays.
17126 * panel-applet/NMWirelessAppletDbus.c:
17127 * src/nm-dbus-device.c:
17128 * src/nm-dbus-net.c:
17129 * src/NetworkManagerDbus.c: more
17130 STRING -> OBJECT_PATH fun
17131 * src/NetworkManagerDevice.c:
17132 * src/NetworkManagerDevice.h:
17133 (rename nm_device_get_link_active): rename to
17134 nm_device_has_active_link
17135 (nm_device_wireless_link_active): rename to
17136 nm_device_probe_wireless_link_state
17137 (nm_device_wired_link_active): rename to
17138 nm_device_probe_wired_link_state. Rewrite to
17139 use carrier file since hal doesn't maintain
17140 link state anymore.
17141 (nm_device_update_link_active): rename to
17142 nm_device_update_link_state
17143 * src/NetworkManagerPolicy.c
17144 (nm_policy_activation_finish): check for NULL
17148 * src/NetworkManagerMain.h:
17149 * src/NetworkManager.c:
17150 * src/nm-netlink-monitor.c:
17151 * src/nm-netlink-monitor.h: New class to support
17152 monitoring wired ethernet link status, since HAL
17153 doesn't export that information anymore.
17155 2005-03-09 Ray Strode <rstrode@redhat.com>
17157 Second (unfinished, unworking) cut at porting to
17160 * dispatcher-daemon/NetworkManagerDispatcher.c:
17161 * info-daemon/NetworkManagerInfoDbus.c:
17162 * panel-applet/NMWirelessAppletDbus.c:
17163 * src/NetworkManagerDbusUtils.c:
17164 * src/NetworkManagerDbusUtils.h:
17165 * src/nm-dbus-device.c:
17166 * src/nm-dbus-nm.c:
17167 * test/nmtest.c: support dbus "object path" type
17171 * info-daemon/Makefile.am:
17172 * libnm_glib/Makefile.am:
17173 * panel-applet/Makefile.am:
17174 * dispatcher-daemon/Makefile.am
17176 * test/Makefile.am:
17177 * utils/Makefile.am:
17178 * utils/nm-utils.c:
17179 * utils/nm-utils.h: new utils static lib
17181 2005-03-07 Ray Strode <rstrode@redhat.com>
17183 * info-daemon/NetworkManagerInfoDbus.c:
17184 * libnm_glib/libnm_glib.c:
17185 * panel-applet/NMWirelessAppletDbus.c:
17186 * src/NetworkManager.c:
17187 * src/NetworkManagerDbus.c:
17188 * src/NetworkManagerDevice.c:
17189 * src/NetworkManagerUtils.c:
17190 * src/nm-dbus-device.c:
17191 * src/nm-dbus-dhcp.c:
17192 * src/nm-dbus-net.c:
17193 * src/nm-dbus-nm.c:
17194 * test/nminfotest.c:
17195 First (unfinished, unworking) cut at porting to dbus 0.30 api.
17197 2005-03-04 Dan Williams <dcbw@redhat.com>
17202 2005-03-04 Dan Williams <dcbw@redhat.com>
17204 Patch from Peter Jones:
17205 - Make stuff work with gcc 4.0
17207 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
17209 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17211 2005-02-27 Jim Huang <jserv@kaffe.org>
17213 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17215 2005-02-27 Dan Williams <dcbw@redhat.com>
17217 Patch from Bill Moss:
17218 * panel-applet/NMWirelessAppletDbus.c
17219 - Make sure strength for current access point is up-to-date when we
17220 update the gui data model
17222 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
17224 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17226 2005-02-27 Dan Williams <dcbw@redhat.com>
17228 * src/backends/NetworkManagerRedHat.c
17229 - (nm_system_init): Kill any dhclient processes lying around as well
17230 as stopping 'nifd' if its already been started. NetworkManager
17231 subsumes the functions of nifd (kicking mDNSResponder, autoip)
17233 2005-02-27 Dan Williams <dcbw@redhat.com>
17235 * panel-applet/NMWirelessApplet.c
17236 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17237 dbus data model, not the GUI data model twice.
17239 2005-02-27 Dan Williams <dcbw@redhat.com>
17241 * panel-applet/NMWirelessApplet.[ch]
17242 panel-applet/NMWirelessAppletDbus.[ch]
17243 - Move to incremental network updates. Instead of blowing away our list
17244 of devices every time we get a signal from NetworkManager, we now
17245 incrementally add/remove networks when NetworkManager notifies us that
17246 a new network has appeared or disappered. Strength updates now happen
17247 on-the-fly for each access point as well. There are now two copies of
17248 data from NetworkManager: one for the dbus side, and one for the gui side.
17249 When the dbus side data is modified, it is copied over to the gui side
17250 so we don't have to hold the data_mutex for long periods of time (and
17251 therefore block animation of the applet's icon).
17252 - Clean up some memleaks too
17254 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17255 - Minor code beautification
17257 * src/NetworkManagerAPList.c
17258 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17259 completely new and whether or not an existing one's strength was updated.
17260 Try to fix multiple access points and signal strength by using the highest
17261 signal strength in each scan for any given ESSID.
17263 * src/NetworkManagerDbus.[ch]
17264 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17265 wireless networks; now we have only WirelessNetworkUpdate which includes
17266 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17267 - Kill usage of DbusMessageIter
17269 * src/NetworkManagerDevice.c
17270 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17271 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
17272 AP rather than all-at-once. Also don't ever remove the AP a card is
17273 currently associated with from the network list.
17274 - Update for new signals during scan, send out Appeared, Disappeared, or
17275 StrengthChanged when necessary.
17277 2005-02-25 Dan Williams <dcbw@redhat.com>
17280 - Line break the README
17282 2005-02-25 Dan Williams <dcbw@redhat.com>
17284 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17285 - Remove usage of gtk_window_set_default_size()
17287 * panel-applet/essid.glade
17288 - Stick default size here
17289 - Add in random crap that current glade wants to add in now
17291 2005-02-25 Dan Williams <dcbw@redhat.com>
17293 * src/backends/NetworkManagerRedHat.c
17294 - For non-caching-nameserver/non-named case, ensure that nscd is running
17295 and that we actually tell nscd to reload the hosts cache when it changes
17297 2005-02-25 Dan Williams <dcbw@redhat.com>
17299 * info-daemon/NetworkManagerInfoDbus.c
17300 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17302 * test/nminfotest.c
17303 - Whack usage of DbusMessageIter
17304 - Clean up DbusError and DbusMessage handling and freeing
17305 - Remove unused unregister handler
17308 - Whack usage of DbusMessageIter
17310 * test/nmtestdevices.c
17311 - Whack usage of DbusMessageIter
17313 2005-02-25 Dan Williams <dcbw@redhat.com>
17316 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17319 2005-02-25 Dan Williams <dcbw@redhat.com>
17321 * named/nm-named-manager.c
17322 - Ensure that pid and watch variables for child named process get cleared out
17323 when the child goes away.
17325 2005-02-22 Dan Williams <dcbw@redhat.com>
17327 * src/NetworkManagerPolicy.c
17328 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17329 and NULL out data->active_device so that we have to choose another one.
17330 This may make NetworkManager keep attempting to connect to a wired network
17331 if it fails, but if it keeps failing the wired network has more problems than
17332 just NetworkManager.
17334 * src/backends/NetworkManagerRedHat.c
17335 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17338 * named/nm-named-manager.c
17339 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17340 named so that the distro can flush whatever name service caching
17343 2005-02-21 Dan Williams <dcbw@redhat.com>
17345 * src/NetworkManagerDHCP.[ch]
17346 - (nm_device_dhcp_remove_timeouts): new function
17348 * src/NetworkManagerDevice.c
17349 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17350 remove the DHCP timeouts.
17352 2005-02-21 Dan Williams <dcbw@redhat.com>
17354 * panel-applet/NMWirelessApplet.[ch]
17355 panel-applet/menu-info.[ch]
17356 - Give the panel applet some major love: menu items are no longer
17357 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17358 This allows the applet to actually reflect theme changes correctly,
17359 since themeing of subclassed items in GTK _sucks_.
17361 2005-02-18 Dan Williams <dcbw@redhat.com>
17363 * libnm_glib/libnm_glib.[ch]
17364 test/libnm_glib_test.c
17365 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17366 and its data, and doesn't have to free the callback data anymore
17368 2005-02-18 Dan Williams <dcbw@redhat.com>
17370 * panel-applet/NMWirelessApplet.c
17371 - Revert 2005-02-18 William Jon McCann fix for standard
17372 copyright string until it passes 'make distcheck'.
17373 With standard copyright string, xgettext complains
17374 about "Non-ASCII string at ...".
17376 2005-02-18 Dan Williams <dcbw@redhat.com>
17378 * panel-applet/essid.glade
17379 panel-applet/NMWirelessAppletOtherNetworksDialog.c
17380 - Correct spelling of "adaptor"->"adapter"
17382 2005-02-18 William Jon McCann <mccann@jhu.edu>
17384 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17385 (nmwa_about_cb): Use standard copyright string. Update comment
17386 text to reflect that it is a notification area applet. Remove
17387 leading newline in authors list.
17388 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17389 instead of on parent menu item activation. Fixes #167550.
17391 2005-02-18 William Jon McCann <mccann@jhu.edu>
17393 * panel-applet/essid.glade: Capitalize items as per HIG.
17396 2005-02-16 William Jon McCann <mccann@jhu.edu>
17398 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17399 files for GTK 2.4 or lower, since now public in GTK 2.6.
17401 * panel-applet/essid.glade: Don't specify window size.
17403 2005-02-17 Dan Williams <dcbw@redhat.com>
17405 Caught by Bill Moss:
17407 - Time remaining for DHCP transaction calculation was incorrectly
17408 inside a #ifdef DEBUG
17410 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
17412 * configure.in: Added fr (French) to ALL_LINGUAS.
17414 2005-02-14 Dan Williams <dcbw@redhat.com>
17416 * src/NetworkManagerDHCP.c
17417 - (set_domain_searches): Fix free of invalid pointer
17419 2005-02-14 Dan Williams <dcbw@redhat.com>
17421 Patch from Peter Jones:
17423 - Ensure we return RET_DHCP_CEASED everywhere we should
17424 * dhcpcd/udpipgen.c
17425 - Use faster TOS for IP packets
17426 - Don't set ip_id since we're UDP
17428 Patch from Tomislav Vujec:
17429 * src/nm-dbus-dhcp.c
17430 test/nm-dhcp-opt-test.c
17431 - Clean up warnings to enable cvs tree compilation.
17433 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
17437 - Add the Croatian locale.
17439 2005-02-14 Colin Walters <walters@verbum.org>
17441 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17442 list of domains to search.
17444 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17446 2005-02-13 Dan Williams <dcbw@redhat.com>
17449 - Debug output cleanups of DHCP option printing and parsing.
17451 2005-02-13 Dan Williams <dcbw@redhat.com>
17453 Patch from Dan Reed: DHCP options D-BUS API
17454 Exposes the DHCP options that a device receives to clients over D-BUS.
17460 - Correct names, option length, and types for DHCP options
17462 * dhcpcd/dhcpcd.[ch]
17463 - Clarify function names that access DHCP options & data
17465 * src/NetworkManagerDHCP.c
17466 - Use new DHCP data access functions
17468 * src/NetworkManagerDbus.c
17469 - Message handler for DHCP functions
17471 * src/nm-dbus-dhcp.[ch] (new)
17472 - DHCP dbus methods
17474 * test/nm-dhcp-opt-test.c
17475 - Test DHCP D-BUS API and return all present DHCP options
17477 2005-02-12 Dan Williams <dcbw@redhat.com>
17480 test/nmclienttest.c
17482 - Move nmclienttest.c -> nmtest.c
17484 2005-02-12 Dan Williams <dcbw@redhat.com>
17486 * dhcpcd/buildmsg.c
17487 - Pad DHCP packets until they are at least 300 bytes in size.
17489 2005-02-11 Dan Williams <dcbw@redhat.com>
17492 - (dhcp_init): only print out client ID and class ID if they are specified
17494 * src/NetworkManagerDbus.[ch]
17495 src/nm-dbus-nm.[ch]
17496 src/nm-dbus-device.[ch]
17497 src/nm-dbus-net.[ch]
17498 - Move NM, Device, and Net functions to separate files and use the
17499 dbus method list stuff in NetworkManagerDbusUtils.c to do
17502 * src/NetworkManagerDbusUtils.c
17503 - Add new validate_method called before each dispatch (if present)
17504 that can validate the method call
17506 * src/NetworkManagerWireless.c
17507 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
17508 levels never to be evaluated
17510 Patch from j@bootlab.org
17511 * src/NetworkManagerDevice.c
17512 - Add typedef for "u64"
17514 * src/backends/NetworkManagerDebian.c
17515 - Copy in Dave Woodhouse's fixes for IPv6
17517 2005-02-11 Dan Williams <dcbw@redhat.com>
17519 Patch from Dave Woodhouse for IPv6:
17520 * src/NetworkManagerUtils.c
17521 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
17522 and multicast addresses
17524 * src/NetworkManagerDevice.c
17525 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
17526 after bringing up a card.
17528 2005-02-10 Dan Williams <dcbw@redhat.com>
17530 Patch from Dave Woodhouse:
17531 * src/NetworkManagerSystem.h
17532 src/backends/NetworkManagerDebian.c
17533 src/backends/NetworkManagerGentoo.c
17534 src/backends/NetworkManagerSlackware.c
17535 - New nm_system_device_add_ip6_link_address() function to add link-local
17536 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
17538 * src/backends/NetworkManagerRedHat.c
17539 - (nm_system_device_add_ip6_link_address): implement
17540 - (nm_system_device_flush_addresses): revert to previous behavior of
17541 flushing all addresses
17543 2005-02-10 Dan Williams <dcbw@redhat.com>
17545 Patch from Tom Parker:
17546 * src/NetworkManagerDevice.c
17547 - Remove the "#include <pci/types.h>" since both the ethtool.h and
17548 mii.h headers are broken, and instead use our own typedefs
17550 2005-02-10 Dan Williams <dcbw@redhat.com>
17552 * dhcpcd/buildmsg.c
17553 - (fill_host_and_class_id): only fill in client and class IDs if
17554 they are set by callers.
17557 - (class_id_setup): don't autogenerate a class ID, only use one
17558 we're given, if any.
17559 - (client_id_setup): don't autogenerate a client ID, only use one
17560 we're given, if any.
17563 - (dhcp_interface_init): ensure that client options are correctly
17566 * src/NetworkManagerDHCP.c
17567 - (nm_device_dhcp_request): pass hostname to dhcp library
17569 2005-02-10 Dan Williams <dcbw@redhat.com>
17572 - #rh147661# Don't send kernel version in DHCP requests
17574 * src/NetworkManagerSystem.h
17575 src/backends/NetworkManagerDebian.c
17576 src/backends/NetworkManagerGentoo.c
17577 src/backends/NetworkManagerRedHat.c
17578 src/backends/NetworkManagerSlackware.c
17579 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
17580 functions, they are no longer used anyway
17582 * src/backends/NetworkManagerRedHat.c
17583 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
17584 addresses in an attempt to keep IPv6 local-scope addresses around
17586 2005-02-10 Dan Williams <dcbw@redhat.com>
17588 * src/NetworkManager.c
17589 - (nm_create_device_and_add_to_list): change the add message slightly
17591 * src/NetworkManagerUtils.c
17592 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
17593 Return driver name to calling function
17594 - (nm_get_driver_support_level): print out the driver a device is using
17595 during the support check
17597 Patch from Dave Woodhouse:
17598 * dhcpcd/udpipgen.c
17599 - (in_cksum): copy last byte of odd-sized packets into a
17600 'u_short' rather than a 'u_char', should fix wrong checksums
17601 on big-endian platforms
17603 2005-02-09 Dan Williams <dcbw@redhat.com>
17605 * Clean up usage of GSList objects and looping through their members
17606 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
17608 * Fix problem where even if scanning was turned off, card would still
17609 cycle through frequencies.
17611 2005-02-08 Dan Williams <dcbw@redhat.com>
17613 * panel-applet/NMWirelessApplet.c
17616 2005-02-08 Dan Williams <dcbw@redhat.com>
17618 Patch from Bill Moss
17619 * panel-applet/NMWirelessApplet.c
17620 - Restore correct ESSID in tooltips
17622 2005-02-07 Dan Williams <dcbw@redhat.com>
17624 * panel-applet/NMWirelessApplet.[ch]
17625 - Add a context menu that contains:
17626 Pause/Resume Wireless Scanning
17627 Stop/Start All Wireless Devices
17629 - Grab active device strength off active device,
17632 * panel-applet/NMWirelessAppletDbus.[ch]
17633 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
17634 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
17635 - Update active device strength every 2 seconds, not every 1 second
17637 * panel-applet/menu-info.c
17638 - Only disable wired devices in the menu when they support carrier detection,
17639 and don't currently have a link. Non-carrier-detect devices will always
17643 src/NetworkManagerDbusUtils.[ch]
17644 - Add new new dbus utils sources
17646 * src/NetworkManager.c
17647 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
17648 with the boolean parameter
17649 - Set scanning_enabled & wireless_enabled to TRUE
17651 * src/NetworkManagerDbus.c
17652 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
17653 - Implement scanning & wireless enable/disable calls
17654 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
17656 * src/NetworkManagerDevice.c
17657 - New link detection stuff again...
17658 o Create device's mainloop earlier (but don't run it earlier)
17659 o Hook up new carrier-detect support stuff
17660 o Add in the ethtool & mii support detection code
17661 - Don't scan if scanning is disabled
17663 * src/NetworkManagerPolicy.c
17664 - Never automatically choose a device that doesn't support carrier detection
17665 - Don't automatically choose a wireless device if wireless is disabled
17667 2005-02-07 Dan Williams <dcbw@redhat.com>
17669 * libnm_glib/libnm_glib.c
17670 - Small cleanup in element list iteration
17672 2005-02-07 Dan Williams <dcbw@redhat.com>
17674 * src/NetworkManagerWireless.c
17675 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
17676 to be in line with the WEXT quality specification
17678 2005-02-02 Dan Williams <dcbw@redhat.com>
17680 Patch from Nathan Fredrickson <nathan@silverorange.com>
17681 * Fix up compile for deprecation of libgnomeui
17682 - Switch to <glib/gi18n.h> from <libintl.h>
17683 - Remove <libgnomeui/libgnomeui.h> includes
17684 - Use gtk_window_set_default_icon_from_file() rather than
17685 gnome_window_set_default_icon_from_file()
17687 * named/nm-named-manager.c
17688 - (generate_named_conf): Fix return-nothing in non-void
17691 2005-02-02 Dan Williams <dcbw@redhat.com>
17693 * Clean up unused variables and the like
17695 2005-02-02 Dan Williams <dcbw@redhat.com>
17697 * src/NetworkManagerAPList.c
17698 - (nm_ap_list_merge_scanned_ap): merge strength too
17700 * src/NetworkManagerUtils.c
17701 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
17702 of locking issues by printing out prettier information than g_mutex_lock
17703 - Print out names of mutexes registered with nm_register_mutex_desc()
17704 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
17705 us to seemingly block here for too long
17707 * src/NetworkManager.c
17708 src/NetworkManagerAPList.c
17709 src/NetworkManagerDevice.c
17710 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
17711 so we get better debug information printed
17713 * src/NetworkManagerDbus.c
17714 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
17715 since it sometimes has locking side effects
17716 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
17718 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
17719 we don't need a switch. This gets called often enough that we can't block
17720 until the scan mutex is acquired, because we'll block on device activation
17721 and a few other things, which hangs main thread for too long.
17723 * src/NetworkManagerPolicy.c
17724 - (nm_policy_auto_get_best_device): reduce the possiblity that
17725 nm_device_need_ap_switch() will be called
17727 2005-02-02 Dan Williams <dcbw@redhat.com>
17729 * panel-applet/NMWirelessApplet.c
17730 - Display name of wireless network we are connecting to or connected to
17731 in the tooltip of the applet
17733 2005-02-02 Dan Williams <dcbw@redhat.com>
17735 * src/NetworkManagerDHCP.c
17736 - Hopefully fix double-default-route problem by cleaning up the default
17737 route added by DHCP code right before the DHCP transaction begins
17739 2005-02-02 Dan Williams <dcbw@redhat.com>
17741 * named/nm-named-manager.c
17742 - Write out valid resolv.conf when we exit
17744 2005-02-01 Dan Williams <dcbw@redhat.com>
17746 Patch from Colin Walters:
17747 * named/nm-named-manager.c
17748 - Make multi-domain search options work
17750 2005-01-31 Dan Williams <dcbw@redhat.com>
17752 * info-daemon/NetworkManagerInfoDbus.c
17753 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
17755 * src/NetworkManagerDevice.c
17756 - (nm_device_new): Don't store the entire range struct, use only what we need
17757 (which is currently avg_quality, max_quality, and frequencies). Also
17758 zero device structure when we've free'd it to maybe expose errors down
17760 - (nm_device_update_signal_strength): grab the scan mutex before getting
17761 quality data from the card since quality will be useless during a scan.
17762 Call updated wireless qual-to-percent function with values stored in
17763 nm_device_new() earlier.
17764 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
17765 nm_device_get_bad_crypt_packets())
17766 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
17768 - (get_initial_auth_method): always use the Auth method that's in the allowed
17769 list if available. Problem was this: when the WEP key is wrong, NM will
17770 try OS then SK modes, and then get stuck in SK mode after that. This
17772 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
17775 * src/NetworkManagerWireless.c
17776 - (nm_wireless_qual_to_percent): try to make this function actually work and
17777 mimic iwlib behavior. Use card's idea of quality divided by max_qual
17778 if that's all present, otherwise fall back to signal-to-noise ratios.
17780 2005-01-29 Dan Williams <dcbw@redhat.com>
17782 * initscript/RedHat/NetworkManager
17783 - Don't spit out sysctl stuff to console
17785 * libnm_glib/libnm_glib.c
17786 - (libnm_glib_init): call dbus_g_thread_init()
17788 * panel-applet/NMWirelessAppletDbus.c
17789 - (nmwa_dbus_worker): call dbus_g_thread_init()
17791 * src/NetworkManager.c
17792 - (main): call dbus_g_thread_init()
17794 * src/NetworkManagerAPList.c
17795 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
17796 so we can actually see what's there in a normal syslog
17798 * src/NetworkManagerDevice.c
17799 - (nm_device_activate_wireless): print out the "waiting for access point"
17800 message only once, then say what access point we actually got after
17802 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
17803 function, wait until the scan is done. Scans may change the ESSID of
17804 the card, making this function think we need to switch access points
17805 - (nm_device_wireless_process_scan_results): for artificial access points
17806 don't check against the card's ESSID, but the best_ap's ESSID. This
17807 prevents collisions with the scanning code, which may change the card's
17808 ESSID and cause the access point to get dropped from the device's AP
17809 list. Also increase the keep-around time to 2m from 60s since the max
17810 scan interval could be 60s in some cases.
17812 * src/NetworkManagerPolicy.c
17813 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
17814 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
17815 the new properties and ESSIDs to the device's AP list. Fixes some races
17816 between NM and NMI.
17818 2005-01-27 Dan Williams <dcbw@redhat.com>
17820 * info-daemon/NetworkManagerInfoDbus.c
17821 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
17822 GConf, make a minimal entry for it (essid & timestamp)
17824 * src/NetworkManagerAPList.c
17825 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
17826 NetworkManagerInfo isn't running
17828 * src/NetworkManagerDbus.[ch]
17829 - (nm_dbus_nmi_is_running): new function
17831 * src/NetworkManagerDevice.c
17832 - (nm_device_wireless_force_use): Don't set the created AP's MAC
17833 address to garbage.
17835 * src/NetworkManagerPolicy.c
17836 - (nm_policy_activation_finish): On successful activation, make sure
17837 the "best" AP has a MAC address, and don't tell NMI to add the
17838 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
17839 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
17840 access point after refreshing our allowed list if it doesn't already
17841 have a "best" access point.
17843 2005-01-25 Dan Williams <dcbw@redhat.com>
17845 * panel-applet/NMWirelessAppletDbus.c
17846 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
17847 so we check for NM_DBUS_SERVICE rather than not for it
17849 * libnm_glib/libnm_glib.c
17850 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
17851 ServiceOwnerChanged signal
17853 2005-01-25 Dan Williams <dcbw@redhat.com>
17856 - Check DBUS version in configure, and set the C macros
17857 DBUS_VERSION_[MAJOR,MINOR,MICRO]
17859 * info-daemon/NetworkManagerInfoDbus.c
17860 - Remove #if 0-d section of code that quit NMI if NM went away.
17862 * panel-applet/NMWirelessAppletDbus.c
17863 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
17865 * src/NetworkManager.c
17866 src/NetworkManagerMain.h
17867 src/NetworkManagerDbus.c
17868 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
17869 - Make updating of our Allowed Wireless Network lists from NMI
17870 an idle function in the main thread now, with a high priority.
17872 2005-01-24 Dan Williams <dcbw@redhat.com>
17874 * panel-applet/gtkcellview.[ch]
17875 panel-applet/menu-info.c
17876 - Fix GTK version checks to be <= rather than <
17879 - Include the libtool archive of libnm_glib rather than
17880 trying to pull in the .so
17882 2005-01-24 Dan Williams <dcbw@redhat.com>
17884 * src/NetworkManagerDevice.c
17885 src/NetworkManagerDevicePrivate.h
17886 - Block nm_device_new() until our device's worker thread has had a
17887 chance to start up. Fixes a race between main thread and worker
17888 thread starting that caused activation requests to get lost.
17890 2005-01-24 Dan Williams <dcbw@redhat.com>
17892 * initscript/RedHat/NetworkManager
17893 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
17894 to add the NM startup script at priority 50, which was
17897 2005-01-24 Colin Walters <walters@redhat.com>
17899 * named/named.conf: Use any port for query source instead of
17900 restricting to port 53.
17902 2005-01-24 Dan Williams <dcbw@redhat.com>
17904 * initscript/RedHat/NetworkManager
17905 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
17906 to add the NM startup script at priority 50, which was
17909 2005-01-24 Dan Williams <dcbw@redhat.com>
17911 Patch from Tom Parker <palfrey@tevp.net>
17912 * Fix up compile warnings & errors in the wireless applet
17914 2005-01-24 Dan Williams <dcbw@redhat.com>
17916 * panel-applet/NMWirelessApplet.c
17917 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
17919 2005-01-24 Dan Williams <dcbw@redhat.com>
17921 * panel-applet/gtkcellview.[ch]
17922 - Only compile these files for GTK 2.4 or lower, since
17923 GtkCellView is now public in GTK 2.6. Fixes crasher
17924 when choosing "Other Wireless Networks" from the panel
17927 2005-01-21 Dan Williams <dcbw@redhat.com>
17929 * src/NetworkManager.c
17930 - Daemonize earlier so that glib doesn't get confused (?)
17932 2005-01-21 Dan Williams <dcbw@redhat.com>
17934 * panel-applet/NMWirelessApplet.[ch]
17935 panel-applet/NMWirelessAppletDbus.c
17936 panel-applet/menu-info.c
17937 src/NetworkManagerDevice.c
17938 - Disable wired devices in the menu when they have no link.
17940 2005-01-21 Dan Williams <dcbw@redhat.com>
17942 * Cache last-known-good wireless authentication method in
17943 NetworkManagerInfo, and use that method first during
17944 wireless device activation. Should speed up devices that
17945 need Shared Key authentication method since Open System is
17948 * Remove the hack to not do full activation on wired connections
17949 that are active when we launch, it causes too many problems
17950 with name resolution and was a hack in the first place.
17952 * Re-work wireless device activation again somewhat to have a
17953 clearer chain of events and to use last-known-good
17954 authentication method of the access point. Also provide
17955 better status throughout activation to ensure the applet
17956 can tell the user exactly what's going on.
17958 * Remove the "find wireless network" code and now simply attempt
17959 to activate with that access point. This reduces the delay
17960 between selecting "Other wireless Network" and actually
17961 connecting to that network.
17963 * Correctly stop the device's worker thread when its removed.
17965 2005-01-21 Dan Williams <dcbw@redhat.com>
17968 - Clean up some of the debug messages
17970 2005-01-21 Dan Williams <dcbw@redhat.com>
17972 * Add new icons, more frames of animation
17973 * Remove some hacks to get the panel applet to display correct
17974 status, an NM update will soon follow that will fix the
17977 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
17979 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
17980 the first include for working i18n. Also, don't include it in .h files
17981 * panel-applet/NMWirelessApplet.h: Same
17982 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
17983 * panel-applet/menu-info.c: Same
17985 2005-01-18 Dan Williams <dcbw@redhat.com>
17988 - Remove some debug messages
17989 - Wrap others in #ifdef DEBUG/#endif
17991 * src/NetworkManager.c
17992 - Remove some debug messages
17993 - Clarify some debug messages
17994 - Remove code related to old single-thread wireless scanning
17996 * src/NetworkManagerAP.[ch]
17997 - New AP property "last_seen" to track how recently an AP was
17999 - Start using 'const' more in function arguments
18001 * src/NetworkManagerAPList.[ch]
18002 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18003 of an AP found in an AP list from a source AP, or if not found
18004 in the list add the source AP
18005 - (nm_ap_list_combine): remove, no longer needed
18007 * src/NetworkManagerDevice.c
18008 - Each device now has a "worker" thread from start to end of its life.
18009 Scanning for wireless devices now happens in that thread,
18010 not in a single "wireless scanning thread" for all devices as
18011 previously. Activation consists of adding an idle handler to the
18012 thread's main loop/context, which gets run at the next available
18014 - Wireless scanning is also simplified, there is now only one list of
18015 access points per wireless device, and APs older than 60s are
18016 removed from the list. Previously, we kept results for the last
18017 3 scans and merged whole lists, which was complicated.
18018 - Cleaned up activation debug messages.
18019 - Wireless activation and access-point search routines now use Open System
18020 authentication before trying Shared Key.
18021 - Removed some code in nm_device_update_best_ap() that could cause cards
18022 to loose their link to the access point.
18023 - Scanning now uses a backoff algorithm, where the inverval becomes
18024 progressively longer between scans when the list of scanned access
18025 points doesn't change. A change will revert to the shortest scan
18028 * src/NetworkManagerWireless.[ch]
18029 - Remove code related to old single-thread wireless scanning
18031 2005-01-18 Colin Walters <walters@redhat.com>
18033 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18034 of older nameservers.
18036 2005-01-18 Colin Walters <walters@redhat.com>
18038 * named/nm-named-manager.c (generate_named_conf): Many fixes
18039 to config file generation.
18040 (safer_kill): Remove, was too much trouble for little gain.
18041 (nm_named_manager_start): Run named as NM_NAMED_USER.
18043 * configure.in: Add option --with-named-user.
18045 2005-01-14 Colin Walters <walters@redhat.com>
18047 Patch from ed@catmur.co.uk (Ed Catmur)
18049 * named/nm-named-manager.c: Add "context" property.
18050 Use it to add child watch source in specific GMainContext.
18052 * src/NetworkManager.c (nm_data_new): Initialize
18053 named with correct main context. Start named only
18056 2005-01-14 Colin Walters <walters@redhat.com>
18058 * named/nm-named-manager.c (generate_named_conf): Write config
18059 and pid files into NM_NAMED_DATA_DIR; this allows things to
18060 work better with FC3 named SELinux policy. Also fix up silly
18063 * configure.in: Add --with-named-dir option.
18065 2005-01-14 Colin Walters <walters@redhat.com>
18067 * configure.in: Make named support require passing --with-named.
18069 * named/nm-named-manager.c: Support writing resolv.conf directly
18070 without running named.
18072 2005-01-13 Dan Williams <dcbw@redhat.com>
18074 * named/nm-named-manager.c
18075 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18077 * src/NetworkManagerDevice.c
18078 - Rework wireless link detection code to be more reliable
18080 2005-01-12 Dan Williams <dcbw@redhat.com>
18082 * initscripts/RedHat/NetworkManager
18083 - Change initial level to "-" rather than "345" so that
18084 we don't activate ourselves by default on install
18086 2005-01-12 Dan Williams <dcbw@redhat.com>
18089 - Client library for applications using glib
18093 - Split NM_CFLAGS and NM_LIBS into separate variables
18094 like DBUS_*, HAL_* and GLIB_*
18096 * src/NetworkManager.c
18097 src/NetworkManagerMain.h
18098 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18099 broadcast a status changed signal over DBUS from the main thread.
18100 Still unused anywhere for the moment.
18102 Patch from j@bootlab.org
18103 * panel_applet/NMWirelessAppletDbus.c
18104 src/NetworkManagerDbus.c
18105 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18106 for the "getMode" method call
18108 2005-01-10 Dan Williams <dcbw@redhat.com>
18110 * src/NetworkManagerDevice.c
18111 - Minor fixups & corrections to "auto" frequency mode, make it
18112 less chatty with syslog
18114 2005-01-10 Dan Williams <dcbw@redhat.com>
18116 * src/NetworkManagerDevice.c
18117 - Implement "auto" frequency/channel support, since cards like Atheros
18118 can't use other frequencies at all when you've told it to use a
18119 specific one, even for scanning.
18120 - Grab the scan mutex around places where we can't tolerate wireless
18121 settings changing underneath us, like nm_device_wireless_network_exists()
18122 and nm_device_activate_wireless()
18124 * src/NetworkManagerWireless.c
18125 - Back scan interval off to 20s instead of 14s
18127 2005-01-09 Dan Williams <dcbw@redhat.com>
18129 * src/NetworkManagerDevice.c
18130 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18131 already set. Stops some drivers like Atmel from continually
18132 reloading the firmware, which they do upon every configuration
18135 2005-01-09 Dan Williams <dcbw@redhat.com>
18138 - Use correct timeout value
18140 * info-daemon/NetworkManagerInfoDbus.c
18141 src/NetworkManagerDbus.c
18142 - Consolidate communication between NM and NMI by doing only 1 dbus
18143 method call to get Wireless Network info from NMI instead of 6
18145 * src/NetworkManager.c
18146 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18147 when we didn't have an AP to use, we'd wait for one forever without
18150 * src/NetworkManagerDevice.c
18151 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18152 activation, dhcp might not have started yet but we don't quit activation
18153 before starting it, so the quit signal gets lost
18155 2005-01-07 Dan Williams <dcbw@redhat.com>
18158 - Rework the DHCP client code to be much less chatty when
18159 it receives non-DHCP UDP packets during the DHCP run
18160 (reported by and preliminary patches from Bill Moss)
18162 * Move wireless scanning to a separate thread. This thread forwards the
18163 results to the main thread when done where they are integrated into
18164 the device's access point lists. This keeps the main thread (which
18165 does all the DBUS communication) from being blocked for long periods
18166 of time by wireless scanning.
18168 * Make state modification an idle routine in the main loop, and trigger
18169 state changes rather than polling for them.
18171 * src/backends/NetworkManagerGentoo.c
18172 - Fix up invalid C90 code (reported by Christoph Ruessler)
18174 * src/NetworkManagerDevice.c
18175 - Revert IPv6 patch for wired devices from 2004-12-22 for
18176 router advertisements, causing problems and infinite loop
18177 during "best" device determination due to link going up/down
18178 (reported by Bill Moss)
18180 Apply patch from Peter Jones
18181 * src/NetworkManagerDevice.c
18182 - Shortcut for link-checking for ipw2x00 cards
18183 - Split out association check into separate routine
18185 2004-01-05 Colin Walters <walters@redhat.com>
18187 * named/named.conf: Add PID_FILE.
18189 * named/nm-named-manager.c: Always generate a pid
18190 file, since older BIND versions don't support
18193 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
18195 * configure.in (ALL_LINGUAS): Added ja (Japanese).
18197 2004-12-22 Dan Williams <dcbw@redhat.com>
18199 * src/NetworkManagerDevice.c
18200 - Silently fail when setting bitrate doesn't work
18203 Patches from j@bootlab.org:
18204 * src/backends/NetworkManagerDebian
18205 - Update backend to match functionality in RedHat backend
18206 * src/NetworkManagerDevice.c
18207 - Take down then bring up wired devices after connection so
18208 they send out ipv6 router advertisements
18210 2004-12-21 Colin Walters <walters@verbum.org>
18212 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18213 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18215 2004-12-21 Colin Walters <walters@redhat.com>
18217 * configure.in: Correct named detection.
18219 2004-12-21 Colin Walters <walters@redhat.com>
18221 * src/NetworkManager.c (nm_data_new): Initialize named.
18222 Also, set up a signal handler for SIGINT/SIGTERM, and exit
18223 the mainloop when these signals are received.
18224 (nm_data_free): Unref named.
18225 (sigterm_handler, sigterm_pipe_handler): New functions for
18228 * src/NetworkManagerMain.h (NMData): Add signal handling and
18231 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18234 * src/NetworkManagerDHCP.c (set_nameservers): New function;
18235 set nameservers from DHCP response data.
18236 (set_domain_search): Set domain search from DHCP response.
18237 (nm_device_dhcp_configure): Invoke them.
18239 * src/NetworkManagerSystem.c
18240 (nm_system_device_update_resolv_conf): Delete. Deleting
18241 code is totally sweet.
18243 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18245 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18246 implements an object which controls a nameserver. Currently
18249 * configure.in: Check for named.
18251 * Makefile.am (SUBDIRS): Add named dir.
18253 * named/named.conf: New template config file.
18255 2004-12-20 Colin Walters <walters@redhat.com>
18257 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18260 2004-12-17 Dan Williams <dcbw@redhat.com>
18262 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
18263 link-local addresses instead of doing DHCP.
18265 * In the panel applet, there's a new "Create new Wireless Network..." item
18267 * The panel applet also sticks around now even if NetworkManager dies, but
18268 it doesn't hide its icon when NM isn't around. Not hiding the icon is
18269 a bug, I'll fix that later.
18271 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18272 lookups after a switch rather than actually doing them.
18274 * Clean up some of those warnings in nm_ap_list_* functions
18276 * Delay between scans changed to 15s instead of 10s
18278 2004-12-15 Dan Williams <dcbw@redhat.com>
18280 Patch from Tom Parker
18281 * Add autoip/Link Local Addressing support when we fail to get a DHCP
18284 * Longer pause after setting ESSID on cards that support a larger number
18285 of channels to give the card time to find the right channel
18287 * Add system hook to restart mDNSResponder (or whatever the local implementation
18288 of Multicast DNS is) when we activate interfaces
18290 2004-12-15 Dan Williams <dcbw@redhat.com>
18292 * Rework the DHCP code again to revert to sending full ethernet frames
18293 rather then relying on the kernel to do the right thing with our
18296 2004-12-06 Dan Williams <dcbw@redhat.com>
18299 - Fix some minor errors in dhcp_handle_transaction() that caused
18300 unexpected early timeouts of DHCP transactions
18303 - DHCP retransmit time from 4s -> 5s
18305 2004-12-05 Dan Williams <dcbw@redhat.com>
18307 * Major rework of the DHCP code, taking some cues from pump. We don't
18308 write raw Ethernet packets anymore, which simplifies the code quite
18309 a bit. The new code should be more robust, not hang in recvfrom()
18310 as much, and generally work better. This also means that we need
18311 to force HAL/dbus to use a created GMainContext rather than the
18312 default context, since having the DHCP renew/rebind thread using
18313 its own GMainContext seemed to give dbus a fit. There is also more
18314 debugging information printed from the DHCP loop to help with future
18317 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18318 assume that the default gateway should be the DHCP server.
18320 Patch from Matthew Schick <matt oss-institute org>
18321 * src/backends/NetworkManagerGentoo.c
18322 - Fix compilation error due to missing "ip4_broadcast"
18324 2004-12-03 Dan Williams <dcbw@redhat.com>
18326 * initscript/Makefile.am
18327 * initscript/Debian/NetworkManager
18328 * initscript/Gentoo/NetworkManager
18329 * initscript/RedHat/NetworkManager
18330 * initscript/NMLaunchHelper.c
18331 - Remove NMLaunchHelper, if you need to wait until the network
18332 comes up, use the dead code from CVS.
18334 2004-12-01 Colin Walters <walters@redhat.com>
18336 * configure.in: Suck in gcc warnings code from Rhythmbox,
18337 but use fewer default flags, and in particular add -Wno-unused,
18338 since the codebase has a lot of unused variables.
18340 * test/nmtestdevices.c (create_device):
18341 * test/nminfotest.c (get_network_string_property)
18342 (get_networks_of_type):
18343 * test/nmclienttest.c (main):
18344 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
18345 * initscript/NMLaunchHelper.c (get_nm_status):
18346 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
18347 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
18348 Fix declarations after statements.
18350 2004-12-01 Colin Walters <walters@redhat.com>
18352 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18353 (nmi_dbus_get_vpn_userpass): New method.
18354 (nmi_dbus_nmi_message_handler): Invoke it.
18356 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18358 * info-daemon/NetworkManagerInfoVPN.h,
18359 info-daemon/NetworkManagerInfoVPN.c: New files; responds
18360 to requests for VPN passwords.
18362 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18364 2004-12-01 Colin Walters <walters@redhat.com>
18366 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18369 2004-12-01 Colin Walters <walters@redhat.com>
18371 * panel-applet/NMWirelessAppletDbus.c
18372 (nmwa_dbus_update_active_device_strength): Fix missing
18375 2004-12-01 Colin Walters <walters@redhat.com>
18377 * panel-applet/NMWirelessApplet.c: Add missing include.
18379 2004-12-01 Colin Walters <walters@redhat.com>
18381 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18382 Remove useless CLAMP (); the value is unsigned, and the case tests
18383 qual->qual < 100, so the value must always be between 0 and 100.
18385 2004-12-01 Colin Walters <walters@redhat.com>
18387 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18389 2004-11-22 Colin Walters <walters@verbum.org>
18391 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18392 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18393 which is essentially a noop since nscd caches hosts on disk too.
18395 2004-11-22 Colin Walters <walters@redhat.com>
18397 * src/Makefile.am (NetworkManager_SOURCES): Add
18398 NetworkManagerDevicePrivate.h.
18400 2004-11-22 Dan Williams <dcbw@redhat.com>
18402 * src/NetworkManagerDevicePrivate.h
18403 - Split out the NMDevice struct to a different file so that stuff like
18404 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18408 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18409 need to cancel the dhcp request during the send and recv
18412 - Move the DHCP option enum to dhcpcd.h
18414 * src/NetworkManagerDHCP.c
18415 - Split out the actual IP/netmask/etc setting code
18416 - New Renew/Rebind functions
18417 - New timer setup function for renew/rebind operations
18419 * src/NetworkManagerDevice.c
18420 - For device activation, if we are using DHCP then keep the activation thread
18421 alive until device deactivation. We need to renew/rebind the DHCP address
18422 after the T1 (renew) and T2 (rebind) times have expired.
18423 - Increase some timeouts after bringing wireless cards up/down
18425 2004-11-17 Dan Williams <dcbw@redhat.com>
18427 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18428 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
18429 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
18430 show known access points that don't broadcast their ESSID in the menus without
18431 any user intervention whatsoever.
18433 * info-daemon/NetworkManagerInfoDbus.c
18434 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18435 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18437 * src/NetworkManagerAP.[ch]
18438 - Add a "user_addresses" data member to the NMAccessPoint structure
18439 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18440 the user_addresses data member
18442 * src/NetworkManagerAPList.c
18443 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18444 the AP's reported address
18445 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18447 * src/NetworkManagerDHCP.c
18448 - Increase DHCP timeout from 25s -> 30s
18450 * src/NetworkManagerDbus.[ch]
18451 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18454 * src/NetworkManagerDevice.c
18455 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18456 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
18457 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18458 So, we take the card down to clear it out.
18459 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18460 too, since that's where the user_addresses are
18462 * src/NetworkManagerPolicy.c
18463 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18464 that wireless networks' user_addresses list upon successful activation
18466 2004-11-16 Dan Williams <dcbw@redhat.com>
18468 * src/NetworkManagerDevice.[ch]
18469 - (nm_device_clear_activation_fail): new function
18471 * src/NetworkManagerPolicy.c
18472 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18473 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18475 2004-11-16 Dan Williams <dcbw@redhat.com>
18477 * src/NetworkManagerDevice.c
18478 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18479 leak the structure, better updating of now_scanning status
18480 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18482 2004-11-15 Dan Williams <dcbw@redhat.com>
18484 Major rework of link detection code. We now use DHCP
18485 as part of the link detection which proves to be much more robust,
18486 and also supports Open System authentication for wireless networks.
18488 We no longer use external DHCP client programs. Instead, we use
18489 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18490 which was written by:
18491 Yoichi Hariguchi <yoichi@fore.com>
18492 Sergei Viznyuk <sv@phystech.com>
18493 http://www.phystech.com/download/
18494 It resides in the "dhcpcd" directory and was refactored into a general
18495 purpose DHCP client library by me.
18497 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
18498 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
18500 2004-11-15 Dan Williams <dcbw@redhat.com>
18502 Patch from Tom Parker <palfrey@tevp.net>:
18504 * src/NetworkManagerDevice.c
18505 - Less output to console when no access
18506 points are found during a scan
18508 2004-11-15 Dan Williams <dcbw@redhat.com>
18510 Patch from Tom Parker <palfrey@tevp.net>:
18512 * src/backends/interface_parser.c
18514 - Check for inp == NULL
18517 2004-11-13 Colin Walters <walters@redhat.com>
18519 Patch from Tom Parker <palfrey@tevp.net>:
18521 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
18523 * src/backends/NetworkManagerRedHat.c: Switch to
18524 including shvar.h instead of shvar.c.
18526 * src/backends/NetworkManagerDebian.c: Don't include
18527 interface_parser.c in source file.
18529 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
18530 and interface_parser.[ch].
18531 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
18532 Include shvar.c and shvar.h here.
18533 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
18534 interface_parser.c and interface_parser.h here.
18536 2004-11-12 Colin Walters <walters@redhat.com>
18538 * configure.in: Strip out TARGET_DISTRO and
18539 SYSTEM_BACKEND_FILE variables. Switch to Automake
18542 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
18543 (libnmbackend_la_SOURCES): Use Automake conditionals
18544 to add distro-specific files.
18546 * initscript/Makefile.am (SUBDIRS): Update to
18549 2004-11-12 Colin Walters <walters@redhat.com>
18551 Patches from j bootlab org
18553 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
18554 Add interface_parser.[ch].
18556 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
18557 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
18559 2004-11-12 Colin Walters <walters@redhat.com>
18561 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
18562 call to nmi_dbus_is_running too, not necessary anymore.
18563 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
18566 2004-11-11 Colin Walters <walters@verbum.org>
18568 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
18570 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
18571 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
18572 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
18573 This avoids a race condition that made it pretty easily
18574 possible to get two NetworkManagerInfo daemons running.
18576 2004-11-11 Colin Walters <walters@verbum.org>
18578 * src/NetworkManager.c (main): Use daemon(3).
18580 * info-daemon/NetworkManagerInfo.c (main): Ditto.
18582 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
18584 2004-11-10 Dan Williams <dcbw@redhat.com>
18586 Patches from j bootlab org
18587 * src/NetworkManagerDevice.c
18588 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
18589 whether the card has a link or not, some cards are slow
18590 - (nm_device_activation_configure_ip): make ipv6 work a bit better
18592 * info-daemon/NetworkManagerInfoPassphraseDialog.c
18593 - Disable the "Login" button on the passphrase dialog until the user
18594 enters a valid passphrase or key
18596 Patches from Tom Parker <palfrey tevp net>
18597 * src/backends/NetworkManagerDebian.c
18598 - Add static IP support to the debian backend
18600 * src/backends/interface_parser.[ch]
18601 - Parse debian interface config files
18603 2004-11-08 Dan Williams <dcbw@redhat.com>
18605 * src/NetworkManagerDevice.c
18606 - Some random fprintf->syslog conversions
18607 - (nm_device_wireless_network_exists): double-check for network
18608 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
18610 * src/NetworkManagerWireless.[ch]
18611 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
18612 so that the binary->ascii conversion works (if unsigned, the bitshift
18613 will fill with zeros, which is what's required). Also mask bitshift
18614 result with 0xF for futher assurance.
18616 2004-11-06 Dan Williams <dcbw@redhat.com>
18618 * src/NetworkManagerUtils.c
18619 - (nm_get_wireless_driver_support_level): default to
18620 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
18621 flip this when changing from whitelist->blacklist of
18624 2004-11-05 Dan Williams <dcbw@redhat.com>
18626 Patch from Robert Paskowitz:
18627 * src/backends/NetworkManagerGentoo.c
18628 - Update static IP config code
18630 2004-11-05 Dan Williams <dcbw@redhat.com>
18632 * info-daemon/NetworkManagerInfoDbus.c
18633 src/NetworkManagerDbus.[ch]
18634 src/NetworkManagerDevice.c
18635 - Keep track of the # of attempts to get the WEP key
18636 from the user and pass that along to the info daemon
18638 2004-11-05 Dan Williams <dcbw@redhat.com>
18640 * src/NetworkManagerUtils.c
18641 - Blacklist wireless cards rather than whitelisting them.
18642 - Grab driver name from HAL rather than trying to find it
18645 2004-11-03 Dan Williams <dcbw@redhat.com>
18647 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
18648 - Disable OK button until valid data is entered
18649 for encryption stuff too
18651 * panel-applet/NMWirelessApplet.c
18652 - Report card strength for current AP if the card
18653 doesn't report strength data for scanned access
18656 * src/NetworkManagerDevice.c
18657 - Smooth out cards reported quality, Atmel card was
18658 intermittently reporting no quality data but soon
18661 * src/NetworkManagerWireless.c
18662 - Better quality data percentage calculation. Atmel
18663 cards (mine at least) seem to report the quality
18664 in percentage format already, so honor that
18666 Patch from <j@bootlab.org>
18668 info-daemon/NetworkManagerInfoPassphraseDialog.c
18669 info-daemon/passphrase.glade
18670 panel-applet/NMWirelessAppletOtherNetworkDialog.c
18671 panel-applet/essid.glade
18672 src/NetworkManagerAP.c
18673 src/NetworkManagerDevice.c
18674 src/NetworkManagerWireless.[ch]
18675 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
18677 2004-11-03 Dan Williams <dcbw@redhat.com>
18679 * src/NetworkManagerDevice.[ch]
18680 - (nm_device_set_enc_key): Add parameter to set Authentication
18681 Mode (Open System, Shared Key, or None). We're still using
18682 Shared Key for now though.
18684 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
18686 * panel-applet/menu-info.c: change from bold text to light
18687 colored, may cause problems with some themes, i've tested a lot
18688 and they seem fine.
18690 * panel-applet/NMWirelessApplet.c: fix strength tooltip
18692 2004-11-01 Colin Walters <walters@verbum.org>
18694 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
18695 (nm_wireless_128bit_key_from_passphrase): Add const.
18697 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
18698 (nm_ap_set_enc_key_source): Add const.
18700 2004-11-01 Colin Walters <walters@verbum.org>
18702 * .cvsignore: Update.
18704 2004-10-29 Dan Williams <dcbw@redhat.com>
18706 * src/NetworkManagerDevice.c
18707 - (nm_device_wireless_network_exists): Actually use the encryption
18708 key we got from the applet when attempting to find a wireless network
18709 - Don't bring devices down so much since on some cards it triggers
18710 firmware hotplugs each time
18712 * src/NetworkManagerDbus.c
18713 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
18716 2004-10-29 Dan Williams <dcbw@redhat.com>
18718 * src/NetworkManager.c
18719 - (nm_hal_device_property_modified): unlock a locked active
18720 wireless device when a wired connection gets a link.
18721 (Means you'll switch to wired whenever you plug in no
18724 2004-10-29 Dan Williams <dcbw@redhat.com>
18726 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
18727 - New files, implement the "Other wireless network" dialog
18729 * panel-applet/NMWirelessApplet.c
18730 - Move "other wireless network" dialog to separate file
18732 * panel-applet/NMWirelessAppletDbus.[ch]
18733 - Take key and key_type paramaters for the set_device function
18735 * panel-applet/essid.glade
18736 - Add UI bits for encryption settings
18738 * src/NetworkManagerDbus.c
18739 - Retrieve key and key_type params for "setActiveDevice" method call
18741 - unref AP returned from nm_device_get_best_ap() when needed
18743 * src/NetworkManagerDevice.c
18744 - (nm_device_get_best_ap): ref the ap before returning it
18745 - unref AP returned from nm_device_get_best_ap() when needed
18746 - (nm_device_activate_wireless): add "ap" parameter so we don't
18747 need to call nm_device_get_best_ap() here, it was pretty much
18749 - (AP_NEED_KEY): break second link check condition out into separate
18750 function, and fix segfault when ap->enc_key_source was NULL
18751 - (nm_device_find_and_use_essid): take key and key_type parameters and
18752 pass them along to nm_device_wireless_network_exists(). If the
18753 network does exist, set the passed-in key+key_type on the AP
18755 * src/NetworkManagerPolicy.c
18756 - unref AP returned from nm_device_get_best_ap() when needed
18758 2004-10-28 Dan Williams <dcbw@redhat.com>
18760 * src/NetworkManagerUtils.c
18761 - (nm_spawn_process): Fix a potential dereference of NULL
18763 Patches from Peter Jones:
18765 * src/NetworkManagerDevice.c
18766 - (nm_device_test_wireless_extensions): Better check for
18769 * src/NetworkManagerUtils.c
18770 - (nm_spawn_process): Pass in valid stdout and stderr so
18771 executed programs don't randomly SIGPIPE and fail
18772 - (nm_get_wired_driver_support_level): quash hal warning
18773 when checking for USB ethernet device
18775 2004-10-27 Dan Williams <dcbw@redhat.com>
18777 * info-daemon/NetworkManagerInfo.c
18778 info-daemon/NetworkManagerInfoDbus.c
18779 info-daemon/NetworkManagerInfoPassphraseDialog.c
18780 panel-applet/NMWirelessApplet.c
18781 - Properly escape gconf keys
18783 * src/NetworkManager.c
18784 - remove unused variables
18786 * src/NetworkManagerAP.c
18787 - (nm_ap_new_from_ap): Don't redundantly set new APs
18788 refcount since it got set in nm_ap_new()
18790 * src/NetworkManagerAPList.c
18791 - (nm_ap_list_combine): Give up ownership of newly created
18792 access points to the ap list, fixes memleak
18794 * src/NetworkManagerDevice.c
18795 - Remove cached_ap_list4 member since its not really needed
18796 - (nm_device_wireless_network_exists): Try to get correct
18797 encryption status of a found AP if its already in our
18799 - (nm_device_do_normal_scan): Clean up scanning a bit, make
18800 memory allocs/deallocs a bit clearer and shorter-lived
18802 2004-10-26 Ray Strode <rstrode@redhat.com>
18804 * panel-applet/NMWirelessApplet.c:
18805 (custom_essid_item_selected): kill some compiler
18808 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
18810 * info-daemon/NetworkManagerInfoDbus.c
18811 - (nmi_dbus_is_running): New function for determining if nmi is already running
18812 - (nmi_dbus_service_init): exit if another instance of nmi is already running
18814 2004-10-23 Dan Williams <dcbw@redhat.com>
18816 * info-daemon/NetworkManagerInfoDbus.c
18817 - Trap the "DeviceActivationFailed" signal
18819 * docs/NetworkManager DBUS API.txt
18820 - Add "DeviceActivationFailed" signal
18822 * panel-applet/NMWirelessAppletDbus.c
18823 - Quash the "NetworkManager service not available" message
18825 * src/NetworkManagerDbus.[ch]
18826 - Add the "DeviceActivationFailed" signal
18828 * src/NetworkManagerDevice.c
18829 - Add support for activation_failed flag
18830 - Fix deadlock where activation thread didn't clean itself up, making
18831 main thread still believe it was alive forever (didn't reset activation
18832 flags like activating, just_activated, etc when IP configuration
18835 * src/NetworkManagerPolicy.c
18836 - Implement logic for DeviceActivationFailed signal, and when activation fails
18837 for wireless networks, try to fall back to some other access point
18839 2004-10-23 Dan Williams <dcbw@redhat.com>
18841 * panel-applet/NMWirelessApplet.[ch]
18842 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
18843 to the applet object, so we can get tooltips
18844 - Add tooltips (RH #136866)
18846 * src/NetworkManagerDevice.c
18847 - When trying to find a wireless network, try to connect with encryption
18848 turned on first, so that we can more accurately detect whether or not
18849 we need to use encryption for the actual association later on
18851 2004-10-21 Dan Williams <dcbw@redhat.com>
18853 * Add some support for telling NetworkManagerInfo to tell the user
18854 that they are using a device that's not fully supported
18856 * Fix some assertions in debug messages due to null access point args
18858 2004-10-21 Dan Williams <dcbw@redhat.com>
18860 * src/NetworkManagerDevice.c
18861 - Don't try to activate/bring up/down unsupported
18864 * src/NetworkManagerUtils.c
18865 - Fix case of PCI ID checks for driver support levels
18867 2004-10-21 Dan Williams <dcbw@redhat.com>
18870 - New file, now contains commonly used structures and bits
18871 for the dbus API of NetworkManager
18874 - Deliver NetworkManager.h to ${includedir}/NetworkManager
18876 * src/NetworkManager.h
18877 - Rename -> src/NetworkManagerMain.c
18879 * Various fixups all around to use NetworkManager.h and new
18880 src/NetworkManagerMain.h, remove redundant bits that got
18881 moved into NetworkManager.h
18883 * src/NetworkManagerDevice.[ch]
18884 src/NetworkManagerUtils.[ch]
18885 src/NetworkManagerPolicy.c
18886 src/NetworkManagerDbus.c
18887 - Whitelist wireless drivers, and blacklist some wired
18888 drivers. Also blacklist cipsec and ethernet-over-usb
18889 devices at this time (RH #135722, RH #135648)
18890 - Don't leak unsupported devices out over dbus, or allow
18891 them to be set as the active device. Skip over them
18892 during automatic device picking
18894 * test/nmclienttest.c
18895 - Clean up the dbus code a lot
18897 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
18899 * configure.in: post release bump.
18901 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
18904 * NEWS: Released NetworkManager-0.3.1
18906 2004-10-18 Dan Williams <dcbw@redhat.com>
18908 Patches from Thom May:
18909 * test/nmtestdevices.c
18910 - Include <string.h>
18911 * src/backends/NetworkManagerDebian.c:
18912 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
18913 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
18914 Move to using g_strdup_printf rather than arbitrary buffers
18915 - (nm_system_device_setup_static_ip4_config) Implement function.
18916 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
18918 2004-10-17 Dan Williams <dcbw@redhat.com>
18920 * info-daemon/NetworkManagerInfoDbus.c
18921 - Display name of network in the "network not found" dialog
18923 * panel-applet/NMWirelessAppletDbus.c
18924 - (nmwa_dbus_call_nm_method): new function replaces all other
18925 nmwa_dbus_get_[string|string_array|int|boolean] methods
18926 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
18927 consolidated into nmwa_dbus_get_object_name()
18929 2004-10-15 Dan Williams <dcbw@redhat.com>
18931 * src/NetworkManagerDbus.c
18932 info-daemon/NetworkManagerInfoDbus.c
18933 - Display an error dialog when the user tries to use an
18934 "Other wireless network" that's not found.
18936 2004-10-15 Dan Williams <dcbw@redhat.com>
18938 * panel-applet/NMWirelessApplet.[ch]
18939 - Fix up corner cases in applet state, making it
18940 look more responsive. Change state to "connecting" when
18941 the user is forcing a device too.
18943 2004-10-15 Dan Williams <dcbw@redhat.com>
18945 * src/NetworkManagerAPList.c
18946 - (nm_ap_list_update_network): Disown AP after the list takes ownership
18948 * src/NetworkManagerDbus.c
18949 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
18951 * src/NetworkManagerDevice.c
18952 - Disown APs after the device's AP list takes ownership
18954 2004-10-15 Dan Williams <dcbw@redhat.com>
18956 * panel-applet/NMWirelessApplet.c
18957 - Update our applet state from the GUI thread
18959 * panel-applet/NMWirelessAppletDbus.c
18960 - Greatly simplify the locking to make the GUI thread
18961 smoother. Update a private copy of the device list
18962 and active device and only when done talking to
18963 NetworkManager turn it over to the GUI thread.
18965 2004-10-15 Dan Williams <dcbw@redhat.com>
18967 * src/NetworkManagerAP.[ch]
18968 - Add "artificial" get/set functions, set for APs that
18969 aren't discovered as part of a scan but instead
18970 discovered by force-setting the ESSID
18972 * src/NetworkManagerDevice.[ch]
18973 - (nm_device_wireless_network_exists): pass back whether
18974 or not the discovered AP was encrypted. Also, try
18975 falling back to encrypted mode on the card if unencrypted
18976 association doesn't work
18977 - (nm_device_find_and_use_essid): If the network requested
18978 did in fact exists, but it wasn't in our scan list, add
18979 an "artificial" entry for it. Some Cisco cards don't
18980 see non-ESSID-broadcasting APs in their scan but can still
18981 associate with them if you know the ESSID, this works around
18983 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
18984 to scan if the card is currently associated with that AP
18986 2004-10-15 Dan Williams <dcbw@redhat.com>
18988 ---- We have a website ----
18989 http://people.redhat.com/dcbw/NetworkManager
18991 Patch from Robert Paskowitz:
18992 * src/NetworkManager.c
18993 - (main): Make sure we are run as root
18994 * src/NetworkManagerDevice.c
18995 - Fix type in ad-hoc setting function
18997 Patch from Thom May:
18998 * src/backends/NetworkManagerDebian.c
18999 - Make Debian backend compile again
19001 2004-10-14 Dan Williams <dcbw@redhat.com>
19003 * Tagged NetworkManager-0_3
19005 2004-10-14 Dan Williams <dcbw@redhat.com>
19007 Patch from Robert Paskowitz:
19009 src/NetworkManagerDevice.[ch]
19010 src/backends/NetworkManagerDebian.c
19011 src/backends/NetworkManagerGentoo.c
19012 src/backends/NetworkManagerRedHat.c
19013 src/backends/NetworkManagerSlackware.c
19014 - Add support for grabbing and using a broadcast address
19015 from system config files
19016 - Some Gentoo backend fixes for grabbing network config
19017 - Fix LOG_WARN->LOG_WARNING
19019 2004-10-14 Dan Williams <dcbw@redhat.com>
19021 * NEWS: a few small fixes in the credits
19023 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
19025 * NEWS: prep for release.
19027 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
19029 * panel-applet/NMWirelessAppletDbus.c
19030 (nmwa_dbus_update_device_wireless_networks): remove warnings.
19032 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
19034 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19035 applet->state == APPLET_STATE_NO_NM animation.
19037 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19038 set the text correctly.
19040 2004-10-14 Dan Williams <dcbw@redhat.com>
19042 * src/NetworkManager.c
19043 - Only accept and manager 802.3 and 802.11 devices
19045 * src/NetworkManagerDbus.[ch]
19046 - (nm_dbus_nm_set_active_device): move most of the actual activation
19047 logic into NetworkManagerDevice.c
19048 - (nm_dbus_network_status_from_data): new function
19049 - (nm_dbus_signal_network_status_change): new function, unused for now
19050 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19052 * src/NetworkManagerDevice.[ch]
19053 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
19056 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19058 * info-daemon/NetworkManagerInfo.c
19059 - (main): Added session management
19061 2004-10-14 Dan Williams <dcbw@redhat.com>
19063 * panel-applet/NMWirelessAppletDbus.[ch]
19064 - Expose network_device_[un]ref()
19065 - Expose wireless_network_[un]ref()
19066 - (wireless_network_new_with_essid): new function, create and return
19067 a wireless network with a particular essid
19069 * panel-applet/NMWirelessApplet.c
19070 - Hook up the "other network" dialog to do something
19072 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
19074 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
19075 doesn't work yet, but it looks okay.
19077 * panel-applet/icons/*png: Resize to 22x22 and install in the
19080 2004-10-13 Dan Williams <dcbw@redhat.com>
19082 * panel-applet/NMWirelessApplet.c
19083 - Add function to print out applet_state in a readable
19086 * src/NetworkManager.c
19087 - (main): Don't segfault when nm_dbus_init() fails, we had
19088 a left-over call to hal_shutdown() into which we passed NULL
19090 * src/NetworkManagerAP.c
19091 - (nm_ap_set_essid): Allow NULL essids
19093 * src/NetworkManagerAPList.[ch]
19094 - More use of nm_ap_list_[un]lock ()
19095 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19096 network/essid, just return nothing. Also skip over NULL
19097 essid access points in the list when searching
19098 - (nm_ap_list_get_ap_by_address): new function
19099 - (nm_ap_list_update_network): set the access point's key source to
19100 NULL when the key returned from NetworkManagerInfo is NULL or
19102 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19103 copy timestamp over too
19104 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19105 find the correct ESSID for a blank-essid access point by searching
19106 through another list and matching access point MAC addresses
19107 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19109 * src/NetworkManagerDbus.c
19110 - (nm_dbus_nm_set_active_device): deal with random networks the user
19111 may specify. This is mainly for access points that don't
19112 broadcast their essid. So if the user tells us to associate with
19113 some random ESSID that's not in our access point list, we find
19114 out if the access point does in fact exist (by attempting association
19115 and then matching that access point's MAC address with the essid the
19116 user gave us) and then we switch to it.
19117 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19118 to the returned list of networks for the "getNetworks" method
19120 * src/NetworkManagerDevice.[ch]
19121 - Extra debugging info for link detection
19122 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19123 based on MAC address
19124 - (nm_device_get_path_for_ap): ignore blank-essid access points
19125 - (nm_device_wireless_network_exists): new function, find out whether
19126 a random ESSID exists by attempting to associate with it
19127 - (nm_device_do_normal_scan): allow blank-essid access points in our
19128 device list as long as they have an AP MAC address we can use.
19129 Also send WirelessNetwork[Dis]Appeared signals for non-active
19130 devices too. Lets the applet update more frequently.
19132 * src/backends/NetworkManagerGentoo.c
19133 - Patch from: Robert Paskowitz
19134 - Update backend code for Gentoo
19135 - Implement nm_system_device_update_config_info ()
19137 * test/nmclienttest.c
19138 - (set_network_device): new function, takes a command-line argument
19139 and tells NetworkManager to use that wireless network
19141 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19143 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19144 if the notification icon crashes 5 times within 5 seconds of each respawn
19146 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
19148 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19151 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
19153 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19155 * panel-applet/NMWirelessApplet.c: (animation_timeout),
19156 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19157 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19158 Change the name of the icons.
19160 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19161 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19162 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19163 (nm_menu_wireless_expose_event): Really bad hack to get the style
19164 to draw in the right color.
19166 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19168 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
19169 Notification if it crashes
19171 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
19173 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
19174 (nmwa_dbus_get_string): remove unused functions
19176 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19177 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19178 remove unused functions
19180 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19182 2004-10-12 Dan Williams <dcbw@redhat.com>
19184 * panel-applet/NMWirelessAppletDbus.c
19186 wireless_network_new
19187 wireless_network_copy
19189 network_device_copy
19191 * src/NetworkManagerDevice.[ch]
19193 nm_device_set_mode_managed
19194 nm_device_set_mode_adhoc
19195 - Use these functions where appropriate
19196 - When creating a new wireless device, force the card
19197 to managed/Infrastructure mode as soon as possible
19199 2004-10-12 Dan Williams <dcbw@redhat.com>
19201 * src/NetworkManagerDevice.c
19202 - Force wireless cards into Infrastructure mode before we use them
19204 2004-10-12 Dan Williams <dcbw@redhat.com>
19207 - Remove bit about static IP address support
19209 * src/NetworkManagerUtils.c
19210 - (nm_spawn_process): Add some error reporting
19212 * src/NetworkManagerDevice.c
19213 - (nm_device_activation_configure_ip): hook up to the static config
19214 routines in the backends
19216 * src/backends/NetworkManagerRedHat.c
19217 - (nm_system_device_update_config_info): use shvar.c routines to
19218 parse the config file iformation, not our own
19219 - (nm_system_device_setup_static_ip4_config): new function, based
19220 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
19221 with a static IP address and gateway
19223 * src/backends/shvar.[ch]
19224 - Parser (filched from initscripts package) for ifcfg-* files
19226 * src/backends/NetworkManagerSystem.h
19227 src/backends/NetworkManagerGentoo.c
19228 src/backends/NetworkManagerDebian.c
19229 src/backends/NetworkManagerSlackware.c
19230 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19232 2004-10-11 Dan Williams <dcbw@redhat.com>
19235 - Remove bit about more robust AP diffing since I just implemented it
19237 2004-10-11 Dan Williams <dcbw@redhat.com>
19239 * src/NetworkManagerAP.c
19240 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19241 enough RAM to allocate new AP structures, but return NULL instead
19243 * src/NetworkManagerAPList.[ch]
19244 - (nm_ap_list_is_empty): new function
19245 - (nm_ap_list_combine): new function, combine two access point lists
19246 - (nm_ap_list_copy_keys): new function, copy keys from one list
19249 * src/NetworkManagerDevice.[ch]
19250 - Rename some functions to be clearer:
19251 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19252 nm_device_just_activated -> nm_device_is_just_activated
19253 nm_device_activating -> nm_device_is_activating
19254 nm_device_now_scanning -> nm_device_is_scanning
19255 - Cache the last 4 scans so that the access point list is more stable.
19256 We combine the lastest two scans and use that as the AP list,
19257 and diff that combined list against the combination of the earliest
19258 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19260 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19262 * info-daemon/NWManagerInfo.h
19263 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19265 * info-daemon/NWManagerInfoDbus.c
19266 - (shutdown_callback): new function
19267 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19268 if NetworkManager goes away. Kill the timeout
19269 if NetworkManager restarts before the 30 seconds
19271 - (nmi_dbus_service_init):
19272 - call gtk_main_quit if NetworkManager is not running
19273 - add filters to monitor dbus service creations and
19276 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19278 * panel-applet/NMWirelessApplet.c
19279 - (nmwa_update_state): Hide notification icon if we are only
19280 showing one wired card and no wireless interfaces
19281 (Red Hat Bug #134895)
19283 * panel-applet/NMWirelessAppletDbus.c
19284 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19286 * info-daemon/NWManagerInfo.c
19287 - (main): Terminated the notification_icon_cmd array with a NULL
19289 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
19291 * configure.in (ALL_LINGUAS): Added de (German).
19293 2004-10-08 Dan Williams <dcbw@redaht.com>
19295 * src/NetworkManagerDevice.c
19296 - Be a bit more robust about link checking, ie make sure that
19297 the WEP key we were given actually has some data in it
19299 2004-10-08 Dan Williams <dcbw@redhat.com>
19301 * info-daemon/NetworkManagerInfo.c (main):
19302 - Initialize GError object to NULL
19304 2004-10-08 Dan Williams <dcbw@redhat.com>
19306 * panel-applet/NMWirelessAppletDbus.c
19307 - Die if NetworkManagerInfo dies, since it manages our lifetime
19309 2004-10-08 Dan Williams <dcbw@redhat.com>
19311 * info-daemon/NetworkManagerInfo.[ch]
19312 info-dameon/NetworkManagerInfoDbus.[ch]
19313 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19314 - Preserve original label text in the passphrase dialog so that
19315 it actually gets updated with the new network name the next
19316 time around. Previously, we were overwriting it so you'd get
19317 the wrong network name to enter a key for
19318 - Add a "Key Type" combo to the passphrase dialog, user selects
19319 encryption key type now, type is stored in GConf too
19320 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19322 * src/NetworkManagerAP.[ch]
19323 - Remove all the encyption method magic. It's now set by the user
19324 and NetworkManager retrieves the type of encryption key from
19327 * src/NetworkManagerAPList.[ch]
19328 src/NetworkManagerDbus.[ch]
19329 - Adjust to new way of setting encryption key and method
19330 - Pull encryption method down from NMI along with key
19332 * src/NetworkManagerDevice.[ch]
19333 - Removed encryption method fallback magic as the method is now
19334 determined by the user. This greatly simplifies the connection
19336 - More robust connection/link logic. Besides removing the encryption
19337 method fallback magic, check whether or not the card is receiving
19338 invalidly encrypted packets, which usually indicates that we have
19340 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19342 * test/nminfotest.c
19343 - Test out new "Key Type" stuff in the NMI passphrase dialog
19345 2004-10-07 Dan Williams <dcbw@redhat.com>
19347 * info-daemon/NetworkManagerInfo.conf
19348 - Allow root user to run NMI too
19350 2004-10-06 Dan Williams <dcbw@redhat.com>
19352 * src/NetworkManagerDevice.[ch]
19353 src/NetworkManagerDbus.c
19354 doc/NetworkManager DBUS API.txt
19355 - Add a new status tag "scanning", which is set when there
19356 is no active network connection, but NetworkManager is
19357 looking for an access point to associate with
19359 * panel-applet/main.c
19360 - Cast the applet appropriately for gtk_widget_show_all ()
19362 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
19364 * panel-applet/eggtrayicon.[ch]:
19365 * panel-applet/main.c: Add missing file
19367 2004-10-04 Dan Williams <dcbw@redhat.com>
19369 * src/NetworkManagerDevice.[ch]
19370 - Add a slightly more robust method of determining if the WEP key
19371 is correct or not, by checking the WEP-discarded packet count
19374 * info-daemon/NetworkManagerInfo.c
19375 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19376 un-escape values we pull out rather than escaping them
19378 2004-10-03 Marcel Telka <marcel@telka.sk>
19380 * configure.in (ALL_LINGUAS): Added sk.
19382 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
19384 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19385 and feel. We should be back to working, and have a good, clean
19388 2004-09-30 Dan Williams <dcbw@redhat.com>
19390 * info-daemon/NetworkManagerInfo.c
19391 info-daemon/NetworkManagerInfoDbus.c
19393 - Escape ESSIDs in gconf
19395 * src/NetworkManagerDevice.c
19396 - Fix pseudo-scanning to use netowrk list from info daemon
19398 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
19400 * configure.in: Add a temporary --enable-notification-icon. This
19401 will prolly go away.
19403 * info-daemon/Makefile.am:
19404 * info-daemon/NetworkManagerInfo.c:
19405 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19407 * panel-applet/Makefile.am:
19408 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19409 * panel-applet/NMWirelessApplet.h:
19411 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
19413 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
19414 before 'select custom ESSID'.
19416 * panel-applet/menu-info.c: Start rewrite for better headers. Not
19417 fully complete, but syncing in prep for merge.
19419 * panel-applet/icons/*png: New images
19421 2004-09-28 Dan Williams <dcbw@redhat.com>
19423 * src/NetworkManager.c
19424 src/NetworkManagerDevice.c
19425 src/NetworkManagerPolicy.c
19426 - Don't blow away an active wired connection on startup
19428 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
19432 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19434 * info-daemon/NetworkManagerInfoDbus.c: added service name to
19437 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
19439 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19440 have a wireless card.
19442 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
19444 * panel-applet/NMWirelessApplet.c: move the custom essid item.
19445 Also, get the right device strings.
19447 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
19449 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19450 the logic to make this right.
19452 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19453 devices so that wired networks are always first.
19455 2004-09-22 <clarkbw@cvs.gnome.org>
19457 * initscript/Debian/.cvsignore:
19458 * initscript/Slackware/.cvsignore:
19459 Added new cvsignores for Makefile, Makefile.in
19462 Added nmtestdevices
19464 * src/NetworkManagerDevice.c:
19465 * src/NetworkManager.c:
19466 Updated the wireless/wired HAL device strings from net.ethernet to
19467 net.80203 or net.80211 depending on wired or wireless respectively
19469 * examples/python/NetworkManager.py:
19470 s/Quality/Strength/
19472 * examples/python/systray/network_tray.py:
19473 Lots of little changes and fixes. been rotting for a while so I
19474 figured I'd finally sync them all with CVS
19476 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
19478 * configure.in: Add graphics
19480 * panel-applet/Makefile.am: Add graphics
19482 * panel-applet/icons/*: Add graphics
19484 * panel-applet/NMWirelessApplet.c: Use new menu times to display
19485 the icons fully lined up.
19487 * panel-applet/menu-info.c:
19488 * panel-applet/menu-info.h: Add another menu type.
19490 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
19492 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19494 * panel-applet/menu-item.[ch]: Wireless menu item.
19496 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
19498 * info-daemon/NetworkManagerInfo.conf
19499 - Created a more robust security policy for the DBus service
19500 - everything is denied by default
19501 - root can own and send to the service
19502 - users logged in at the console can send to the service
19504 2004-09-13 Dan Williams <dcbw@redhat.com>
19506 * src/NetworkManagerDevice.c
19507 - (nm_device_get_essid): use iw_get_basic_config() rather than
19508 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
19511 2004-09-13 Dan Williams <dcbw@redhat.com>
19515 * docs/NetworkManager DBUS API.txt
19516 - Update for new signal strength changes
19518 * panel-applet/NMWirelessApplet.c
19519 - Make panel icon show strength of the current connection
19520 - Cleanups and memleak fixes
19522 * panel-applet/NMWirelessApplet.h
19523 - Add data members for signal strength on devices and networks
19525 * panel-applet/NMWirelessAppletDbus.c
19526 - Free more DBusErrors
19527 - Update for new signal strength changes
19528 - Make devices and networks more like real objects, use ref/unref methods
19529 - Actually unlock the mutex when updating the active device
19531 * src/NetworkManagerAP.c
19532 - Change AP functions and data members from "quality"->"strength"
19534 * src/NetworkManagerDbus.c
19535 - Kill "getMaxQuality" and "getQuality" methods
19536 - Add "getStrength" methods for Networks and Devices
19538 * src/NetworkManagerDevice.[ch]
19539 - Add accessors for device strength
19540 - Add functions to update strength for a device. Note that not all drivers
19541 actually support signal strength for scanned access points (Atmel drivers
19543 - Calculate signal strength for each AP during scan
19545 * src/NetworkManagerWireless.[ch]
19546 - Add function to return signal strength % from a device and a raw quality struct
19548 * test/nmclienttest.c
19549 - Update for new signal strength changes
19551 2004-09-11 Dan Williams <dcbw@redhat.com>
19553 * src/NetworkManager.c
19554 - Fix race condition between initscripts and NM on card insertion
19555 which could cause a card to keep an IP address and routes around
19556 even when it was not the active device
19558 * src/NetworkManagerDbus.c
19559 - Fix compile errors, free more DBusErrors
19561 2004-09-11 Dan Williams <dcbw@redhat.com>
19563 * docs/NetworkManager DBUS API.txt
19564 - Add an explanation of NM's API
19566 * src/NetworkManagerDbus.c
19567 - Free some more DBusErrors if needed
19569 2004-09-11 Dan Williams <dcbw@redhat.com>
19571 * panel-applet/NMWirelessApplet.c
19572 panel-applet/NMWirelessAppletDbus.c
19573 - Start using NetworkDevice/WirelessNetwork structures in more places
19574 - Update for unified device/network forcing in NetworkManager
19576 * src/NetworkManager.c
19577 - some code consolidation
19579 * src/NetworkManagerDbus.c
19580 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
19581 or two arguments: the first is the NM ID of the device to switch to,
19582 and the second (optional) argument is the ESSID of a wireless network
19584 - Get rid of "setNetwork" method due to above change
19586 * src/NetworkManagerDevice.c
19587 - (nm_device_new): perform scan and update best AP on device creation
19588 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
19589 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
19590 spin waiting for cancellation to finish before returning
19592 * src/NetworkManagerPolicy.c
19593 - Changes here clarify the situations in which a device switch occurs, and
19594 make sure to keep using a forced device and network if the user gives
19596 - Remove old unused code
19598 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
19600 * configure.in: Added Danish (da) to ALL_LINGUAS.
19602 2004-09-09 Dan Williams <dcbw@redhat.com>
19604 * panel-applet/NMWirelessAppletDbus.c
19605 - Pull fresh devices and networks from NM when wireless networks
19606 change. Provides faster feedback of a forced wireless network
19608 * src/NetworkManagerDbus.c
19609 - Return error when "getMaxQuality" is called on a wired device
19610 - Make best_ap freezing actually work again, and signal cancellation
19611 of activation if there's already a device activation when the user
19612 freezes the best_ap
19614 * src/NetworkManagerDevice.c
19615 - Don't clear out the best_ap for wireless devices when the link goes
19616 down, that's done elsewhere
19617 - Kill any dhcp daemons when cancelling device activation since they
19618 may be stuck waiting for a DHCP address, and since we're cancelling
19619 activation we don't care about that anymore
19621 * src/NetworkManagerPolicy.c
19622 - Make sure to unref the device we ref earlier (we refed it to make sure
19623 it stuck around during device activation and such)
19624 - If we were going to change the best device, but its activating currently
19625 (and therefore the change didn't occur due to the check earlier)
19626 we mark the state changed to we come back to it later when device
19627 activation has canceled and its no longer activating
19629 * src/backends/NetworkManagerRedHat.c
19630 - SIGKILL dhcp daemons rather than SIGTERM-ing them
19632 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
19634 * info-daemon/passphrase.glade:
19635 set passphrase input to activates_default : True
19637 * examples/python/systray/network_tray.py
19638 (network_tray.sort_networks):
19640 Added support for having wireless always scanning
19642 2004-09-09 Dan Williams <dcbw@redhat.com>
19644 NOTE: this commit changes the behavior of wireless devices in
19645 NetworkManager. They are now up all the time, scanning all
19646 the time. Only the active device has an IP address and routing
19647 information set up however. Also, NetworkManager will no longer
19648 opportunistically switch wireless networks when a better one
19649 comes in range, it will remain associated with one wireless network
19650 until that one drops out.
19652 * panel-applet/NMWirelessApplet.c
19653 panel-applet/NMWirelessAppletDbus.c
19654 - List all wireless cards and their respective networks
19656 * src/NMLoadModules
19657 - Use full path to /sbin/ip
19659 * src/NetworkManager.c
19660 - Keep wireless devices up all the time so they can scan
19662 * src/NetworkManagerDbus.c
19663 - On a WirelessNetworkUpdate signal from NMI, don't update
19666 * src/NetworkManagerDevice.c
19667 - (nm_device_set_link_active): clear out the best ap for
19668 wireless devices when the link is set to FALSE
19669 - Scan on all wireless cards, all the time
19670 - (nm_device_activation_worker): split out the wireless card
19671 link-waiting code to a separate function
19672 - Keep wireless cards up even if device activation fails
19673 - Don't update the "best" ap as much
19675 * src/NetworkManagerPolicy.c
19676 - Don't update the best ap when checking if its frozen,
19677 let link checking clear out a frozen best ap for us
19679 * src/NetworkManagerWireless.c
19680 - Scan on all wireless cards, all the time
19682 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
19684 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
19686 2004-09-09 Ankit Patel <ankit@redhat.com>
19688 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
19690 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
19692 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
19694 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
19696 * examples/python/NetworkManager.py:
19697 added CONNECTED, CONNECTING, and DISCONNECTED states
19698 added methods to return number of devices of a single type
19700 * examples/python/systray/network_tray.py:
19701 did some tweaks to get the menu looking near what it is supposed
19702 to look like. Also did a Airo card hack to make it show the
19705 2004-09-08 Dan Williams <dcbw@redhat.com>
19707 * panel-applet/no-networkmanager.png
19708 panel-applet/Makefile.am
19709 panel-applet/NMWirelessApplet.c
19710 - Add a "NetworkManager not running" icon and use it
19711 - Use new consolidated GConf keys rather than Preferred/Trusted
19715 * info-daemon/NetworkManagerInfo.c
19716 info-daemon/NetworkManagerInfoDbus.[ch]
19717 info-daemon/NetworkManagerInfoPassphraseDialog.c
19718 - There are now no longer two separate lists of wireless networks,
19719 but one list where each network is "trusted" or not trusted
19720 - Add a "getNetworkTrusted" dbus method
19721 - "WirelessNetworkUpdate" signal now sent rather than
19722 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
19723 - Start freeing some dbus errors (not completed yet)
19725 * info-daemon/passphrase.glade
19726 - Remove the "don't show" hints for pager and taskbar
19727 - Add a title since its going to be in the taskbar
19729 * src/NetworkManager.[ch]
19730 src/NetworkManagerAPList.[ch]
19731 - There are now no longer two separate lists of wireless networks,
19732 but one list where each network is "trusted" or not trusted
19734 * src/NetworkManagerAP.[ch]
19735 - Add get/set "trusted" accessors and data bit
19737 * src/NetworkManagerDbus.[ch]
19738 - Add function to get "trusted" status of a network from NetworkManagerInfo
19739 - Trap new WirelessNetworkUpdate signal rather than old separate signals
19741 * src/NetworkManagerDevice.[ch]
19742 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
19743 - (nm_device_new): Get device config from backend when initializing devices
19744 - (nm_device_activation_worker): Split out device configuration on
19745 activation to deal with static/dynamic IP differences, and try encryption
19746 fallbacks on a device if the encryption method for the best AP is not good
19747 - (nm_device_update_best_ap): convert to new consolidated access point lists from
19748 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
19750 * src/NetworkManagerWireless.c
19751 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
19753 * src/backends/NetworkManagerRedHat.c
19754 src/backends/NetworkManagerSystem.h
19755 - (nm_system_device_update_config_info): Add function to get device configuration
19756 from system data in ifcfg-* files
19758 * src/backends/NetworkManagerDebian.c
19759 src/backends/NetworkManagerGentoo.c
19760 src/backends/NetworkManagerSlackware.c
19761 - Add stub functions for getting device configuration
19763 2004-09-07 Dan Williams <dcbw@redhat.com>
19765 * src/backends/NetworkManagerRedhat.c
19766 src/backends/NetworkManagerSlackware.c
19767 - Use full path to /sbin/ip everywhere
19769 2004-09-07 Dan Williams <dcbw@redhat.com>
19771 Patch from: Narayan Newton <narayan_newton@yahoo.com>
19774 initscript/Makefile.am
19775 initscript/Slackware/Makfile.am
19776 initscript/Slackware/rc.networkmanager
19778 src/backends/NetworkManagerSlackware.c
19779 - Add Slackware support
19781 2004-09-07 Dan Williams <dcbw@redhat.com>
19783 Patches below from:
19785 Mark Roach <mrroach@okmaybe.com>
19786 Thom May <thom@debian.org>
19789 initscript/Debian/NetworkManager
19790 initscript/Debian/Makefile.am
19791 - Initscript for Debian
19793 * src/backends/NetworkManagerDebian.c
19794 - Add missing system init function to allow compilation
19797 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
19799 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
19801 2004-09-03 Akagic Amila <bono@linux.org.ba>
19803 * configure.in: Added 'bs' to ALL_LINGUAS.
19805 2004-09-02 Colin Walters <walters@verbum.org>
19807 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
19808 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
19809 g_strdup_printf instead of arbitrarily sized buffers.
19811 2004-09-01 Colin Walters <walters@verbum.org>
19813 * NetworkManager.pc.in: New file.
19815 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
19817 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
19819 * configure.in: Punjabi(pa) is added to po/.
19821 2004-08-31 Dan Williams <dcbw@redhat.com>
19823 * Remove 'debug' extern global from all files since we now
19826 * src/NetworkManager.[ch]
19827 - Break out routine that get the net.interface property from HAL,
19828 removing that logic from nm_create_device_and_add_to_list()
19829 - (nm_create_device_and_add_to_list): make this a bit more general so
19830 it doesn't do the talking to HAL. Also add arguments to facilitate
19831 the create of test devices.
19832 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
19833 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
19834 which makes NetworkManager listen for dbus commands to create test
19835 devices, which have no backing hardware. Use when you're on a plane
19836 for example, and/or forgot your wireless card at home. Test devices
19837 _cannot_ be created unless NM is started with --enable-test-devices.
19839 * src/NetworkManagerDbus.[ch]
19840 - New "getLinkActive" method for devices
19841 - New "setLinkActive" method for devices (only works on test devices)
19842 - New "createTestDevice" method on NetworkManager object to create a test
19843 device of a specified type (ie wired, wireless). UDI is created from
19844 scratch, as is the interface name. Only works when NM is started with
19845 --enable-test-devices switch.
19846 - New "removeTestDevice" method on NetworkManager object which removes a
19847 test device. Only works when NM is started with --enable-test-devices
19849 * src/NetworkManagerDevice.[ch]
19850 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
19851 whether a device is a test device or not, and what its link status is.
19852 - Deal with test devices in most functions. For those that work directly on hardware
19853 special-case test devices.
19854 - (nm_device_new): don't create a test device if test devices weren't enabled on the
19856 - (nm_device_update_link_active): split out logic for wired and wireless device link
19857 checking to separate functions to facilitate test device link checking.
19858 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
19859 don't make a distinction between System Authentication and Encryption
19860 (namely Cisco aironet), we use Open System auth when setting a WEP key
19861 on the card. We don't deal with Shared Key auth yet.
19862 - (nm_device_activation_worker): split the activation cancel check logic out into
19863 a separate routine nm_device_activation_cancel_if_needed()
19864 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
19865 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
19866 a list of fake access points that they can "see"
19867 - (nm_device_is_test_device): return whether or not a device is a test device
19869 * src/NetworkManagerPolicy.c
19870 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
19871 previously if you "locked"/forced NM to use a wireless device but then
19872 selected a wireless network for NM to use, it would switch to a wired device.
19873 So, if the active device is wireless and it has a "forced" best AP, use it
19874 if the "forced" best AP is still valid
19875 - (nm_state_modification_monitor): deal with NULL best devices, for example
19876 there were no usable network devices, or the last one was removed
19878 * src/backends/NetworkManager*.c
19879 - Deal with test devices, mostly just return success for operations like getting
19882 * test/nmtestdevices.c
19883 - Test tool to create/remove/link-switch test devices
19885 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
19887 * examples/python/NetworkManager.py:
19888 added convience functions has_wired_device and has_wireless_device
19890 * examples/python/systray/network_tray.py:
19891 cleaned up a bunch of cruft, added support for listing wireless
19892 networks just like the real applet. This is probably all I'm
19893 going to work on this applet from now on.
19894 TODO: add support for actually changing networks and devices
19896 * examples/python/NetworkManager.py (NetworkManager.get_device):
19897 changed "nm.networks" into a dict from a list so I can store all
19898 the cool information about networks in there
19900 * examples/python/systray/network_tray.py:
19901 Added nice message when you try to run without running make first
19903 * examples/python/NetworkManager.py:
19904 Bug fixes to the code so we get all the device information
19905 that we need in get_device()
19907 * examples/python/NMTester.py:
19908 Fixed _print_device_list to print_device_list
19910 2004-08-29 Seth Nickell <seth@gnome.org>
19914 Actually properly setup the Debian backend in configure.
19916 2004-08-29 Colin Walters <walters@verbum.org>
19918 * test/nminfotest.c: Include string.h and stdlib.h.
19919 (get_network_string_property, get_networks_of_type): Return NULL.
19921 * test/nmclienttest.c (get_device_name, get_active_device): Return
19924 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
19925 use strlen, fgets always NULL-terminates the string.
19927 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
19928 dbus_message_get_member): Remove /* in comment.
19930 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
19932 * src/NetworkManager.c (quit): Unused, delete.
19933 (nm_data_free): Cast arg to GFunc.
19935 * panel-applet/NMWirelessAppletDbus.c: Need to include
19936 string.h, and dbus-glib-lowlevel.h (the latter is needed
19937 for dbus_connection_setup_with_g_main at present).
19938 (nmwa_dbus_update_wireless_network_list): Parenthesize
19939 assignment in conditional.
19940 (nmwa_dbus_worker): Return NULL.
19942 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
19943 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
19944 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
19945 (nmwa_populate_menu): Return NULL on failure, instead of just
19948 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
19950 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
19953 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
19956 2004-08-29 Colin Walters <walters@verbum.org>
19958 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
19959 a GTimeVal instead of time_t. This is easier to work with,
19960 since time_t may be a long or double, we don't know.
19962 * src/NetworkManagerDbus.h: Update prototype.
19964 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
19966 (nm_ap_get_timestamp): Update to return GTimeVal.
19967 (nm_ap_set_timestamp): Update to take GTimeVal.
19969 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
19970 to handle GTimeVal.
19972 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
19974 (nm_ap_list_print_members): Fix warnings in printf format.
19976 2004-08-29 Colin Walters <walters@verbum.org>
19978 * panel-applet/NMWirelessApplet.c: Include config.h.
19980 2004-08-29 Colin Walters <walters@verbum.org>
19982 * configure.in: Generate config.h.
19984 * configure.in: Dump dependency on OpenSSL; we can't
19985 use it since this package is GPL:
19986 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
19987 Instead, check for libgcrypt, use it if available,
19988 otherwise use included MD5 code.
19990 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
19991 Suck in from gnome-keyring, munge a bit.
19993 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
19994 gnome-keyring-md5.h gnome-keyring-md5.c.
19995 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
19997 * src/NetworkManagerWireless.c (nm_md5): New function, uses
19998 libgcrypt or included gnome-keyring md5 bits.
19999 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20001 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
20003 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20005 2004-08-27 Bryan Clark <bclark@redhat.com>
20007 * examples/python/systray/Makefile:
20009 Updated the clean section
20011 * examples/python/systray/trayiconmodule.c:
20012 * examples/python/systray/trayicon.override:
20013 * examples/python/systray/network_tray.py:
20014 * examples/python/systray/eggtrayicon.h:
20015 * examples/python/systray/eggtrayicon.c:
20016 * examples/python/systray/Makefile:
20017 * examples/python/README:
20018 * examples/python/NetworkManager.py:
20019 * examples/python/NMTester.py:
20021 Initial commit of these python example files
20023 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20025 * panel-applet/NMWirelessApplet.c
20026 - Make current device bold
20027 - Show more user-friendly device name if we got one from hal
20029 * panel-applet/NMWirelessAppletDbus.c
20030 - Grab "info.product" key from hal for network devices
20031 - Cache the current active device
20033 2004-08-27 Adam Weinberger <adamw@gnome.org>
20035 * configure.in: Added en_CA to ALL_LINGUAS.
20037 2004-08-27 Christian Rose <menthos@menthos.com>
20039 * configure.in: Added "sv" to ALL_LINGUAS.
20041 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20043 * Tag NetworkManager-0.2
20045 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
20047 * initscripts/Makefile.am
20048 * configure.in: Make pass distcheck
20050 * po/ChangeLog: added
20052 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20054 * panel-applet/NMWirelessApplet.c
20055 - Remove debugging code
20056 - Enable device switching from menus
20058 * panel-applet/NMWirelessAppletDbus.[ch]
20059 - Method for asking NM to switch devices
20061 * src/NetworkManagerDevice.c
20062 - Set dev->activating earlier, avoids race between
20063 the dbus signal of "DeviceActivating" and setting
20064 dev->activating (which is what NM's "status" method call
20067 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20069 * panel-applet/NMWirelessApplet.[ch]
20070 - Rework menu code to add devices to menu, and to show
20071 signal strength for each access point. Code cleanups
20074 * panel-applet/NMWirelessAppletDbus.c
20075 - Grab network devices from NetworkManager too
20076 - Grab quality information from NM for wireless networks
20078 * src/NetworkManagerDbus.[ch]
20079 - Add dbus methods for getting the HAL UDI from a device and
20080 for getting its base quality, if its wireless
20081 - Consolidate some functions (wireless network notifications,
20082 device notifications)
20083 - Add method for requesting NM to use a particular device
20085 * src/NetworkManager.c
20086 - Change for function consolidations from NetworkManagerDbus.c
20087 - Implement active device locking and user-requested devices
20088 (ie, tell NM to use a particular device instead of the one
20091 * src/NetworkManagerDevice.c
20092 - Add method for getting the base quality of a device, if its
20094 - Grab device base quailty info from iwlib during scans
20096 * src/NetworkManagerPolicy.c
20097 - Use a user-requested device rather than the auto-chosen device
20100 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
20102 * Makefile.am: add po as a supdir
20104 * autogen.sh: use gnome-autogen.sh
20106 * initscript/Gentoo/.cvsignore:
20107 * initscript/RedHat/.cvsignore: Shut up cvs
20109 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20111 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20112 (nmwa_fill): Use gettext.
20114 * configure.in: add gettext support
20116 * po/NetworkManager.pot:
20119 2004-08-26 Seth Nickell <seth@gnome.org>
20121 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20122 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20123 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20124 (nmwa_dispose_menu_items), (nmwa_populate_menu),
20125 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20126 * panel-applet/NMWirelessApplet.h:
20128 Use a menu bar instead of a button for the main clickable
20131 2004-08-25 Dan Williams <dcbw@redhat.com>
20133 * src/NetworkManagerDevice.c
20134 - (nm_device_set_enc_key): always set device to "open" mode instead of
20135 turning encryption off, because the Cisco driver doesn't associate
20136 with WEP-enabled access points unless we are in "open"
20138 2004-08-25 Dan Williams <dcbw@redhat.com>
20140 * src/NetworkManagerWireless.c
20141 - Don't try to defererence blank passphrases
20143 2004-08-25 Dan Williams <dcbw@redhat.com>
20145 * panel-applet/NMWirelessApplet.c
20146 - Rebuild the menu whenever a user clicks
20148 2004-08-25 Dan Williams <dcbw@redhat.com>
20150 * panel-applet/NMWirelessApplet.c
20151 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20152 when NM isn't around or when its not connected
20154 * src/NetworkManagerDevice.c
20155 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20158 2004-08-25 Dan Williams <dcbw@redhat.com>
20160 * panel-applet/NMWirelessAppletDbus.c
20161 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20162 for getting encryption, and don't stop on "val" once we've gotten it
20163 from NetworkManager. Short form: encryption should now show up.
20165 2004-08-25 Dan Williams <dcbw@redhat.com>
20167 * panel-applet/NMWirelessApplet.c
20168 - Set ESSID on a gconf trusted network too when force-setting the wireless
20169 network to associate with
20171 2004-08-25 Dan Williams <dcbw@redhat.com>
20174 - Rework the panel applet to do all DBUS communication in a separate
20177 2004-08-25 Dan Williams <dcbw@redhat.com>
20179 * info-daemon/NetworkManagerInfo.[ch]
20180 - Remove "get_next_priority" function
20182 * info-daemon/NetworkManagerInfoDbus.[ch]
20183 - Convert "priority" functions to "timestamp"
20185 2004-08-25 Dan Williams <dcbw@redhat.com>
20187 * src/NetworkManagerAP.[ch]
20188 - Add a "enc_method_good" member and accessors to an Access Point
20189 to signal when we've found the correct encryption method
20190 for an access point
20191 - Add a "timestamp" member and accessors, remove "priority" member
20192 and accessors (use timestamps instead)
20193 - Rename "wep_key"->"enc_key"
20194 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20195 for a specified encryption method using the access points
20196 source encryption key/passphrase
20198 * src/NetworkManagerAPList.c
20199 - When updating a network with dbus, grab timestamp now instead of
20202 * src/NetworkManagerDBus.[ch]
20203 - Add signal for "DeviceActivating"
20204 - Switch priority->timestamp
20206 * src/NetworkManagerDevice.c
20207 - Change references of "wep_key" -> "enc_key" or "key"
20208 - Signal DeviceActivating when starting activation
20209 - When activating a wireless device, if the access point we are connecting
20210 to is encrypted, and we have a source key, try to generate a mangled
20211 key and use that (ie, generate real WEP key from a passphrase)
20212 - Rework device activation to fallback to other encryption methods if
20213 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20214 first, then if that doesn't work fall back to direct hex key).
20215 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20216 priority. We now prefer the latest access point used, rather than using
20218 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20219 points we've just discovered, and merge in correct info from the global
20222 2004-08-25 Seth Nickell <seth@gnome.org>
20224 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20228 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20229 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20230 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20231 (nm_system_delete_default_route),
20232 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20233 (nm_system_load_device_modules):
20235 2004-08-24 Dan Willemsen <dan@willemsen.us>
20237 * src/NetworkManager.c
20238 src/backends/NetworkManagerGentoo.c
20239 src/backends/NetworkManagerRedHat.c
20240 src/backends/NetworkManagerSystem.h
20241 - Implement preliminary Gentoo support, adding a
20242 nm_system_init function to the backend specification
20245 - Distribution auto-detection, lowercase any user-fed
20248 * initscript/.cvsignore
20249 initscript/Makefile.am
20250 initscript/RedHat/Makefile.am
20251 initscript/RedHat/NetworkManager
20252 initscript/Gentoo/Makefile.am
20253 initscript/Gentoo/NetworkManager
20254 - Refactored initscript code separately for each
20257 2004-08-23 Dan Williams <dcbw@redhat.com>
20261 src/NetworkManagerDevice.c
20262 src/NetworkManager.c
20263 src/NetworkManagerUtils.[ch]
20264 src/backends/NetworkManagerSystem.h
20265 src/backends/NetworkManagerRedHat.c
20266 src/backends/NetworkManagerGentoo.c
20267 - Refactor system-specific code into separate backends for
20270 2004-08-23 Dan Willemsen <dan@willemsen.us>
20272 * dispatcher-daemon/NetworkManagerDispatcher.c
20273 info-daemon/NetworkManagerInfo.[ch]
20274 info-daemon/NetworkManagerInfoDbus.c
20275 info-daemon/NetworkManagerInfoPassphraseDialog.c
20276 src/NetworkManager.c
20277 src/NetworkManagerAP.c
20278 src/NetworkManagerAPList.c
20279 src/NetworkManagerDbus.c
20280 src/NetworkManagerDevice.c
20281 src/NetworkManagerPolicy.c
20282 src/NetworkManagerUtils.[ch]
20283 src/NetworkManagerWireless.c
20284 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20286 * src/NetworkManager.c
20287 - Fixed usage wording for --no-daemon
20289 2004-08-23 Dan Williams <dcbw@redhat.com>
20291 * panel-applet/NMWirelessApplet.c
20292 - Update our state every second to get more responsive panel icon
20293 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20294 was causing our marching ants status blips to never move when
20295 looking for a wireless network
20297 * src/NetworkManagerDevice.c
20298 - (nm_device_activation_begin): return if activation has already begun
20299 - (nm_device_do_normal_scan): merge WEP key and priority from the
20300 trusted/preferred network into the device's access point when the
20301 scan list is processed
20303 2004-08-23 Dan Williams <dcbw@redhat.com>
20305 * initscript/NetworkManager
20306 - Use NMLaunchHelper rather than sleeping
20308 * initscript/NMLaunchHelper.c
20310 - Add helper program that exits only when NM activates a device,
20311 or 10 seconds have passed, whichever happens first. This
20312 stops the boot processes until we have a network connection,
20313 which NM can't do because it daemonizes and brings the connection
20314 up in the background. Allows stuff like NFS to not die.
20316 2004-08-20 Dan Williams <dcbw@redhat.com>
20318 * info-daemon/NetworkManagerInfoPassphraseDialog.c
20319 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20320 for a network, set the essid as well since it may not exist yet
20321 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20322 since WEP keys/passphrases are long and prone to entry-error
20324 * panel-applet/Makefile.am
20325 panel-applet/wired.png
20326 - Add (pulled from system-config-network temporarily)
20328 * panel-applet/NMWirelessApplet.[ch]
20329 - Show wired picture when a wired connection is used
20330 - Rename wireless icon enums, adding WIRELESS
20332 * src/NetworkManagerDevice.c
20333 - (nm_device_activate_wireless): unset encryption before bringing
20334 down the card and setting the essid
20335 - (nm_device_activatin_worker): request a key from the user if the
20336 AP we are connecting to is encrypted but we don't have a key
20338 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20339 strcmp() that prevented a user-entered key from actually getting
20342 2004-08-16 Dan Williams <dcbw@redhat.com>
20344 * initscript/NetworkManager
20345 - Check for /sbin/ip
20346 - Do sysctl magic that network service does
20347 - sleep 4s after start to allow network time to come up [hack]
20351 - Load all network device kernel modules (hal doesn't know devices
20352 are ethernet until the module is loaded, and therefore we don't know)
20354 * src/NetworkManager.c
20355 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20356 network devices, and bring up the loopback device explicitly
20358 * src/NetworkManagerUtils.[ch]
20359 - (nm_enable_loopback): new function
20361 2004-08-13 Dan Williams <dcbw@redhat.com>
20364 panel-applet/Makefile.am
20365 - Fix up cleanfiles and server_DATA/server_in_files
20368 - Update with some comments on theory of operation
20374 2004-08-12 Dan Williams <dcbw@redhat.com>
20376 * info-daemon/passphrase.glade
20377 - Set window title to " "
20379 * panel-applet/Makefile.am
20380 panel-applet/keyring.png
20381 - Deliver to correct place
20383 * panel-applet/NMWirelessApplet.[ch]
20385 - Remove applet->have_active_device as its no longer used
20386 - (nmwa_load_theme): load keyring.png too
20387 - (error_dialog): remove
20388 - (show_warning_dialog): subsume functionality of error dialog too
20389 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20390 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20392 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20393 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20394 and when we get broadcasts of changed wireless access points only, not when the
20395 user clicks on the button to display the menu (too long of a wait)
20396 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20397 networks that are encrypted
20398 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20399 menu item with g_object_set_data()
20401 * panel-applet/NMWirelessAppletDbus.[ch]
20402 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20403 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20404 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20405 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20406 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20407 activation/deactivation signals and rebuild the menu when they happen
20409 * src/NetworkManager.c
20410 - (main): use new nm_spawn_process() rather than system()
20412 * src/NetworkManagerDbus.c
20413 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20414 instead. Since we can now force best_aps to stick around, the AP structure to which
20415 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20416 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
20417 to freeze the best_ap.
20419 * src/NetworkManagerDevice.[ch]
20420 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20421 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20422 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20425 * src/NetworkManagerUtils.[ch]
20426 - (nm_spawn_process): add replacement for system() usage
20428 2004-08-11 Dan Williams <dcbw@redhat.com>
20430 * panel-applet/NMWirelessApplet.[ch]
20431 - Fix up copyright and credits to include Bastien and Eskil,
20432 who created the gnome-applets wireless applet, from whose
20433 skeleton this one was created
20434 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20435 pixmap to draw is computed during nmwa_update_state()
20436 - Applet now shows itself all the time due to panel packing issues
20437 which caused the applet to previously never come back after hiding.
20438 When a wired device is the active device, the applet shows "not connected"
20440 * panel-applet/NMWirelessAppletDbus.[ch]
20441 - Clean up error messages and show what function they are from
20442 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20443 - Add new device type getters, and a status getter
20445 * src/NetworkManagerDbus.c
20446 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20447 network is actually in the device's ap list
20448 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20450 * src/NetworkManagerDevice.c
20451 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20454 * test/nmclienttest.c
20455 - Report status of NetworkManager too
20457 2004-08-11 Dan Williams <dcbw@redhat.com>
20459 * info-daemon/NetworkManagerInfo.c:
20460 - (main): clean up Seth's code style
20462 * info-daemon/NetworkManagerInfoDbus.c:
20463 - Use the more aptly-named path/service/interface constants from NetworkManager
20464 - Don't return empty strings ("") as object paths ever, instead return errors
20466 * panel-applet/NMWirelessApplet.c:
20467 - Clean up Seth's code style
20469 * src/NetworkManager.[ch]
20470 - (nm_remove_device_from_list): remove anything having to do with pending_device
20471 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20473 * src/NetworkManagerAPList.[ch]
20474 - Move Iter struct right above the iter functions to preserve opacity
20475 - (nm_ap_list_remove_ap): implement
20476 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20477 remove AP if NetworkManagerInfo doesn't know anything about it
20478 - (nm_ap_list_diff): user NMAPList iterators
20479 - (nm_ap_list_print_members): implement debugging function
20481 * src/NetworkManagerDbus.[ch]
20482 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20483 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20484 and move the actual key setting stuff into NetworkManagerDevice.c
20485 - (nm_dbus_get_network_priority): return -1 now on errors
20486 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20487 get lost, and force the active device to update its "best" ap when AP lists change
20488 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20489 method call due to pending_device member removal
20491 * src/NetworkManagerDevice.[ch]
20492 - Move NMDevice structure to the top
20493 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20494 - Remove Pending Action stuff from everywhere
20495 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
20496 activation for us. This thread blocks until all conditions for activation have
20497 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
20498 then setup up the interface and runs dhclient. We have to do this because there
20499 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
20500 run our main loop and respond to dbus method calls or HAL device removals/inserts
20501 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
20502 can tell nm_device_activation_worker() that we've got a key
20503 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
20504 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
20505 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
20506 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
20508 * src/NetworkManagerPolicy.c
20509 - Remove anything to do with pending_device
20510 - Adjust device activation to deal with activation-in-worker-thread
20512 * src/NetworkManagerUtils.c
20513 - Clean up locking debugging a bit
20515 * src/NetworkManagerWireless.[ch]
20516 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
20517 was badly named and is better as a device function
20519 * panel-applet/.cvsignore: add
20521 2004-08-09 Seth Nickell <seth@gnome.org>
20523 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
20524 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
20526 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
20528 Don't load the menus until clicked on (also removes a call outside
20529 normal code paths at first load).
20531 Hide applet when NM is not present.
20533 Improve printf debugging stuff.
20535 2004-08-09 Dan Williams <dcbw@redhat.com>
20537 * dispatcher-daemon/NetworkManagerDispatcher.c:
20538 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
20539 - Use constants for NetworkManager interface, service, and path
20541 2004-08-09 Dan Williams <dcbw@redhat.com>
20543 * src/NetworkManagerDbus.c:
20544 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
20545 instead return an error message
20546 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
20547 on a wired device. Also never return an empty object path, instead return an error message
20549 2004-08-06 Seth Nickell <seth@gnome.org>
20551 * panel-applet/NMWirelessApplet.c: (nmwa_new):
20553 Check the error code when getting a connection.
20555 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
20557 Check if the NM service exists when initializing (rather than
20558 assuming it does not).
20560 * src/NetworkManagerDbus.c: (nm_dbus_init):
20562 Don't acquire the well-known service name until we have
20563 registered object/path handlers and can actually receive
20566 2004-08-06 Dan Williams <dcbw@redhat.com>
20571 * src/NetworkManagerPolicy.c
20572 src/NetworkManager.c
20573 - Get access point lists from NetworkManagerInfo on-demand,
20574 and look for ServiceCreate/ServiceDeleted signals to see when
20575 we should query NMI for lists
20576 * src/NetworkManagerAPList.c
20577 - Make sure to init the list's mutex
20578 - Convert traversals of the list over to the list iter functions
20580 * src/NetworkManagerDbus.[ch]
20581 - Use more aptly-named path/service/interface constants
20582 - Treat both active and pending devices the same for "getActiveDevice"
20583 - Add a "status" method returning "connected", "connecting", or "disconnected"
20585 * src/NetworkManagerDevice.c
20586 - Honor "ignored" network list when picking best ap to use
20588 2004-08-06 Seth Nickell <seth@gnome.org>
20592 Autogenerated, remove from CVS.
20596 Don't hardcode automake version.
20599 * info-daemon/Makefile.am:
20600 * info-daemon/NetworkManagerInfo.c: (main):
20602 Use GnomeProgram et al. for doing session management.
20603 Use popt stuff for argument parsing rather than doing
20606 2004-08-05 Dan Williams <dcbw@redhat.com>
20608 * test/nminfotest.c
20609 - Update to new NMI dbus API, check different network types
20611 * info-daemon/NetworkManagerInfoDbus.c
20612 - Update to new NM dbus API, ie network type sent in query message
20614 2004-08-05 Dan Williams <dcbw@redhat.com>
20616 * An assload of changes
20618 2004-08-02 Dan Williams <dcbw@redhat.com>
20621 - new task: proper logging support
20623 * info-daemon/NetworkManagerInfo.c
20624 - Correct spelling of "canceled"
20625 - Correct casting of objects for g_signal_connect()
20627 * info-daemon/NetworkManagerInfoDbus.c
20628 - Add defines for NetworkManager namespace and object path, and use them
20629 - Add filter function to trap new signals from NetworkManager:
20630 WirelessNetworkAppeared, WirelessNetworkDisappeared
20632 * info-daemon/passphrase.glade
20633 - Change name of "ok" button to "Login to Network..."
20636 * src/NetworkManager.c
20637 - Code and debug message cleanups
20638 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
20639 - (nm_add_initial_devices) Check returned string array of devices
20640 and don't try to add devices if array is NULL
20641 - (main) Initialize libhal a bit later, make code a bit clearer
20643 * src/NetworkManagerAP.[ch]
20644 - New accessor and data member "matched": used to speed up AP list
20646 - New accessor and data member "enc_method": will be used during key
20647 fallback to cache which passphrase->key conversion actually works
20648 so we don't have to do it every time
20650 * src/NetworkManagerAPList.[ch]
20651 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
20652 - (nm_ap_list_diff) New: given two lists of access points, find the differences
20653 between them, and send WirelessNetworkAppeared/Disappeared signals over
20654 dbus in response to those differences
20656 * src/NetworkManagerDbus.[ch]
20657 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
20658 make an object path for that access point (NOTE that we don't yet check to
20659 make sure that access point is actually in the device's AP list yet)
20660 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
20661 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
20662 New: signal appearance/disappearance of wireless networks
20663 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
20666 * src/NetworkManagerDevice.[ch]
20667 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
20668 - (nm_device_ap_list_get) New: return the AP list (static function)
20669 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
20670 new one resulting from the scan with the old one
20672 * src/NetworkManagerWireless.c
20673 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
20675 * test/nminfotest.c
20676 - #define object paths and namespaces and use the #defines rather than static strings
20677 - Test out user-key functionality of NetworkManagerInfo too
20679 2004-07-29 Dan Williams <dcbw@redhat.com>
20681 * info-daemon/NetworkManagerInfoDbus.c
20682 src/NetworkManagerDbus.c
20683 - Update to current DBus (ie don't use decomposed paths when registering
20684 object paths/fallbacks)
20686 2004-07-27 Dan Williams <dcbw@redhat.com>
20688 * Remove various Makefile.in files
20691 - Add some more items
20694 - Add checks for OpenSSL/md5 headers and libs
20697 - Use OpenSSL CFLAGS
20699 * src/NetworkManagerAP.[ch]
20700 - Remove 'stamp' functions, replace with 'invalid' functions
20701 to support user cancelling WEP key entry
20703 * src/NetworkManagerDbus.c
20704 - Remove 'stamp' return functions
20705 - Treat returned user key as a passphrase and convert to a WEP key,
20706 but don't actually use the WEP key yet. We use the returned user
20707 key as a hexadecimal WEP key until we can figure out a UI for
20708 passphrase-vs-hex key
20710 * src/NetworkManagerWireless.[ch]
20711 - Add passphrase-to-128bit-key function
20713 2004-07-27 Dan Williams <dcbw@redhat.com>
20716 - Add a couple of items
20718 2004-07-27 Dan Williams <dcbw@redhat.com>
20720 * info-daemon/NetworkManagerInfo.c
20721 - Update allowed network's GConf key when user enters a WEP key explicitly
20723 * info-daemon/NetworkManagerDbus.c
20724 - Fix some comments
20725 - nmi_dbus_get_allowed_networks(): kill warning
20727 2004-07-27 Dan Williams <dcbw@redhat.com>
20729 * initscript/Makefile.in
20732 * initscript/Makefile.am
20733 - Add correct rules to install the init.d initscript
20735 * info-daemon/NetworkManagerInfoDbus.c
20736 - Remove debug fprintf
20738 * src/NetworkManagerDbus.[ch]
20739 - Remove debug fprintfs
20740 - Add macros for NetworkManagerInfo object path/namespace
20741 - Use said macros instead of constant strings
20743 2004-07-27 Dan Williams <dcbw@redhat.com>
20745 * initscript/.cvsignore
20748 * info-daemon/Makefile.am
20749 - Install .glade files and keyring.png
20750 - Fix stupid omission of a \ that caused half the flags not to be
20753 * info-daemon/NetworkManagerInfo.c
20754 - gtk_signal_connect->g_signal_connect
20755 - Alert NetworkManagerInfo to new glade file location
20757 2004-07-27 Dan Williams <dcbw@redhat.com>
20759 * test/nmclienttest.c
20761 - Add missing <dbus/dbus.h> headers
20762 - Add GPL message at top
20764 2004-07-27 Dan Williams <dcbw@redhat.com>
20766 * src/NetworkManagerAPList.[ch]
20768 - Add. Deal with allowed network list additions, deletions, and updates
20770 * dispatcher-daemon/NetworkManagerDispatcher.c
20771 - Add missing <dbus/dbus.h> header
20773 * info-daemon/NetworkManagerInfo.[ch]
20774 - Add missing <dbus/dbus.h> header
20775 - Implement the GConf notify callback to signal NetworkManager of an allowed
20777 - Better error checking
20779 * info-daemon/NetworkManagerInfoDbus.[ch]
20780 - Add missing <dbus/dbus.h> header
20781 - Convert to using dbus_message_append_args/dbus_message_get_args
20782 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
20783 that an allowed network changed. We don't want to signal on individual
20784 keys _inside_ an allowed network really, just want NM to query the info
20785 daemon for updated info on all keys.
20786 - Better error checking
20788 * src/NetworkManager.[ch]
20789 - Add missing <dbus/dbus.h> header
20790 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
20791 - Zero out NMData structure on free
20792 - No longer use a thread for allowed_ap_list updating, instead its now done
20793 through dbus queries against NetworkManagerInfo
20794 - Populate allowed_ap_list initially before adding existing network devices
20795 to the device list, so wireless devices can get their "best" AP
20797 * src/NetworkManagerDbus.[ch]
20798 - Convert to using dbus_message_append_args/dbus_message_get_args
20799 - Better error checking
20800 - Implement Allowed Network info functions to request allowed network
20801 info from NetworkManagerInfo
20802 - Implement the filter function to process signals from NetworkManagerInfo
20803 about changing allowed networks
20805 * src/NetworkManagerDevice.c
20806 - Fix file descriptor leak in nm_device_update_ip4_address()
20808 2004-07-27 Dan Williams <dcbw@redhat.com>
20813 dispatcher-daemon/.cvsignore
20814 info-daemon/.cvsignore
20815 - Add .cvsignore files to reduce noise when diffing
20817 2004-07-24 Dan Williams <dcbw@redhat.com>
20819 * src/NetworkManager.[ch]
20820 src/NetworkManagerDbus.[ch]
20821 src/NetworkManagerDevice.[ch]
20822 src/NetworkManagerPolicy.c
20823 src/NetworkManagerWireless.[ch]
20824 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
20825 - Pass the NMData application data structure through all calls
20826 that need it so we can get rid of nm_get_global_data()
20827 - Change deallocation of the allowed_ap_list GSList in preparation
20828 for not completely clearing it every time we get an update,
20829 but instead getting incremental updates via GConf/dbus
20831 2004-07-22 Dan Williams <dcbw@redhat.com>
20834 - Add checks for GConf libs & headers & flags
20836 * info-daemon/Makefile.am
20837 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
20839 * info-daemon/NetworkManagerInfo.[ch]
20840 - Don't use gquarks for data storage, just use normal data storage
20841 - Add gconf bits to watch /system/networking/wireless/allowed_networks
20843 * info-daemon/NetworkManagerDbus.[ch]
20844 - Add method call for getting allowed networks
20845 - Add method calls for getting an allowed network's essid, priority, and key
20846 - Hook the method calls up to GConf
20847 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
20848 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
20850 * src/NetworkManagerDbus.[ch]
20851 - Switch for enumeration of networks to using essid instead
20855 - Add test program for NetworkManagerInfo
20857 2004-07-19 Dan Williams <dcbw@redhat.com>
20859 * src/NetworkManagerDbus.c
20860 - Switch from indexed device paths to names. Less code, more efficient.
20861 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
20863 2004-07-19 Dan Williams <dcbw@redhat.com>
20865 * dispatcher-daemon/NetworkManagerDispatcher.c
20866 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
20868 2004-07-19 Dan Williams <dcbw@redhat.com>
20871 - Add info-daemon directory
20874 - Check for glade libs and headers
20875 - Add info-daemon directory
20877 * src/NetworkManagerAP.c
20878 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
20879 copied over to the new AP.
20881 * src/NetworkManagerDbus.c
20882 src/NetworkManagerDbus.h
20883 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
20884 - Remove nm_dbus_signal_need_key_for_network()
20885 - Add disabled code for asynchronous user wep key callbacks
20886 - Add functions for getting, setting, and cancelling user key operations
20887 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
20888 - Add "setKeyForNetwork" dbus method call on NetworkManager object
20890 * src/NetworkManagerDevice.c
20891 src/NetworkManagerDevice.h
20892 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
20893 logic is in device activation now
20894 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
20895 key is wrong) trigger get-user-key pending action
20896 - Implement get-user-key pending action stuff, tie to dbus messages
20897 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
20898 - Add nm_device_ap_list_get_ap_by_essid()
20899 - Instead of copying "best" access points, ref them instead so that the key we set
20902 * src/NetworkManagerPolicy.c
20903 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
20904 - Don't cancel pending actions on a device if its the same device as last iteration
20905 - Only promote pending_device->active_device if activation was successfull
20908 - Rename nmclienttest->nmtest
20910 * info-daemon/Makefile.am
20911 info-daemon/NetworkManagerInfo.c
20912 info-daemon/NetworkManagerInfo.h
20913 info-daemon/NetworkManagerInfoDbus.c
20914 info-daemon/NetworkManagerInfoDbus.h
20915 info-daemon/passphrase.glade
20916 info-daemon/NetworkManagerInfo.conf
20917 info-daemon/keyring.png
20918 - Import sources for info-daemon, which pops up dialog for passphrase/key when
20919 NetworkManager asks for it, and also will (soon) provide "allowed" access point
20920 lists to NetworkManager by proxying user's GConf
20923 2004-07-15 Dan Williams <dcbw@redhat.com>
20928 * src/NetworkManager.c
20929 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
20930 that doing the deactivation ourselves
20931 - Cancel an pending actions on a device if its being removed
20932 - Break up link state checking a bit, make non-active wireless cards
20933 deactivated to save power
20934 - Remove unused variables
20936 * src/NetworkManager.h
20937 - Add support for "pending" device
20939 * src/NetworkManagerAP.h
20940 src/NetworkManagerAP.c
20941 - Add support for determining whether and AP has encryption enabled or not
20942 - AP address is now "struct ether_addr" rather than a string
20944 * src/NetworkManagerDbus.h
20945 src/NetworkManagerDbus.c
20946 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
20947 - Changes for AP address from struct ether_addr->string
20949 * src/NetworkManagerDevice.h
20950 src/NetworkManagerDevice.c
20951 - Remove unused variables, fix warnings
20952 - Add support for Pending Actions (things that block a device from being "active"
20953 until they are completed).
20954 - First pending action: Get a WEP key from the user
20955 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
20956 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
20957 - Update wireless link checking to try to determine if the AP we are associated
20958 with is correct, but the WEP key we are using is just wrong. If its wrong,
20959 trigger the GetUserKey pending action on the device
20960 - If dhclient can't get an IP address, it brings the device down. Bring it back
20961 up in that case, otherwise we can't scan or link-check on it
20962 - Add IP address change notifications at appropriate points (still needs some work)
20963 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
20965 * src/NetworkManagerPolicy.h
20966 src/NetworkManagerPolicy.c
20967 - Split out "best" access point determiniation into separate function
20968 - Make device activation 2-stage: first the device is pending, then
20969 in the next iteration through it becomes "active" unless it has
20972 * src/NetworkManagerUtils.h
20973 src/NetworkManagerUtils.c
20974 - Clean up unused variables and warnings
20975 - Wrap our debug macros in {} to prevent possible confusion
20977 * src/NetworkManagerWireless.c
20978 - Forgot to return current best priority, which lead to last available AP always
20979 being chosen no matter what its priority was. Corrected.
20981 2004-07-15 Dan Williams <dcbw@redhat.com>
20983 * dispatcher-daemon/Makefile.am
20986 * dispatcher-daemon/NetworkManagerDispatcher.c
20987 - Remove unused variables due to warnings
20988 - Fix some comments
20989 - Print message on receipt of NeedKeyForNetwork signal (testing only)
20991 2004-07-06 Dan Williams <dcbw@redhat.com>
20993 * src/NetworkManager.c
20994 - Add IPv4 address update for active device during link state check
20995 - Don't allow wireless cards to be powered up when they are not the
20998 * src/NetworkManagerDbus.c
20999 src/NetworkManagerDbus.h
21000 - Add DBUS IPv4 address change signal
21001 - Add DBUS IPv4 address get method for devices
21003 * src/NetworkManagerDevice.c
21004 - Make setting the WEP key actually work
21005 - Move IP address get/set/update stuff here, per-device
21006 - Power down/bring down wireless device when deactivated
21007 - For scanning wireless devices, if first scan returned ENODATA, try again
21009 * src/NetworkManagerPolicy.c
21010 - Only set the WEP key for an allowed access point if there is one.
21011 We were setting it to be blank if one wasn't specified.
21013 * src/NetworkManagerUtils.h
21014 src/NetworkManagerUtils.c
21015 - Move the IP address stuff to NetworkManagerDevice.c
21017 * dispatcher-daemon/NetworkManagerDispatcher.c
21018 - Add device IPv4 address change notification stuff
21020 2004-07-05 Dan Williams <dcbw@redhat.com>
21022 * dispatcher-daemon/NetworkManagerDispatcher.c
21023 - A bit more descriptive state message
21024 - Don't segfault when reading directory
21026 * src/NetworkManager.h
21027 - Remove NMData desired_ap member, its now
21028 per-device rather than global
21030 * src/NetworkManager.c
21031 - Remove references to desired_ap
21032 - Move the allowed AP list refresh stuff into a thread
21034 * src/NetworkManagerDevice.c
21035 src/NetworkManagerDevice.h
21036 - Each wireless device now has a "best ap"
21037 - Make device activate/deactivate functions per-device
21038 - Make wireless scanning per-device
21039 - Add IPv4 address discover functions, stub IPv6 ones
21040 - Move ethernet address validation functions to NetworkManagerUtils.c
21041 - Add wireless access point accessor function
21042 - Get/Set functions for "best ap"
21044 * src/NetworkManagerPolicy.c
21045 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21046 - Deal with per-device "best ap" rather than data->desired_apa
21047 - Implement allowed access point worker thread
21048 - Add nm_policy_essid_is_allowed() function
21050 * src/NetworkManagerUtils.c
21051 src/NetworkManagerUtils.h
21052 - Add nm_ethernet_address_is_valid() function
21053 - Add IPv4/IPv6 address get functions
21055 * src/NetworkManagerWireless.c
21056 src/NetworkManagerWireless.h
21057 - Move scanning stuff into NetworkManagerDevice.c, per-device
21059 2004-06-29 Dan Williams <dcbw@redhat.com>
21061 * dispatcher-daemon/NetworkManagerDispatcher.c
21062 - Implement script callout functionality
21064 2004-06-24 Dan Williams <dcbw@redhat.com>
21068 - Flush device routes and ip addresses when added to the device list
21070 * NetworkManagerDbus.c
21072 - Add missing returns in the two signal functions
21074 * NetworkManagerPolicy.c
21075 - Spacing and variable cleanups
21077 2004-06-24 Dan Williams <dcbw@redhat.com>
21082 dispatcher-daemon/Makefile.am
21083 dispatcher-daemon/Makefile.in
21084 dispatcher-daemon/NetworkManagerDispatcher.c
21085 - Add a daemon that receives signals from NetworkManager
21086 and will (eventually) call scripts in /etc/somewhere
21087 when devices go up or down.
21091 - Flush device routes and ip addresses when added to the device list
21093 * NetworkManagerDbus.c
21095 - Add missing returns in the two signal functions
21097 * NetworkManagerPolicy.c
21098 - Spacing and variable cleanups
21099 - Rename nm_policy_switch_interface->nm_policy_switch_device
21100 - nm_policy_switch_device():
21101 Use kill (pid) instead of system ("kill <pid>")
21102 - nm_state_modification_monitor():
21103 Add wireless essid to output of debug statements
21104 Correct typo in device compare to switch or not (should be !=)
21105 Don't sleep after sending "no longer active" signal, was useless
21107 2004-06-24 Dan Williams <dcbw@redhat.com>