1 2008-10-08 Dan Williams <dcbw@redhat.com>
3 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
5 * src/NetworkManagerUtils.c
6 - (nm_utils_call_dispatcher): add a 'hostname' action
8 * src/NetworkManagerPolicy.c
9 - (set_system_hostname): dispatch hostname changes
11 * callouts/nm-dispatcher-action.c
12 - (nm_dispatcher_action): handle 'hostname' actions
14 2008-10-08 Dan Williams <dcbw@redhat.com>
16 * src/NetworkManagerSystem.c
17 - (find_route): ref the route so it doesn't get destroyed when the cache
19 - (nm_system_device_set_priority): unref the route here after it's done
22 2008-10-08 Dan Williams <dcbw@redhat.com>
24 * src/nm-serial-device.c
25 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
27 2008-10-08 Tambet Ingo <tambet@gmail.com>
29 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
30 connection with new settings before saving it.
32 2008-10-06 Dan Williams <dcbw@redhat.com>
36 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
38 * src/nm-device-interface.c
39 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
40 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
41 by using '/' for the object path
44 - (src/nm-device.c): marshal missing/unexported ip4-config through
45 dbus as '/' since dbus-glib can't handle NULL objects nor can
46 dbus handle NULL object paths
48 2008-10-03 Alexander Sack <asac@ubuntu.com>
50 Implement system hostname support for debian/ubuntu
52 * system-settings/plugins/ifupdown/plugin.c
53 - (GObject__get_property): extend announced capabilities; add
54 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
55 - (GObject__set_property,write_system_hostname): implement
56 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
57 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
58 update_system_hostname, get_hostname):
59 implement hostname property that watches and
62 2008-10-03 Alexander Sack <asac@ubuntu.com>
64 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
65 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
66 system-settings/plugins/ifcfg-fedora/Makefile.am
67 system-settings/src/nm-inotify-helper.c
68 system-settings/src/nm-inotify-helper.h
70 - Move ifcfg-fedora inotify helpers to the system settings service so
71 they are available to all plugins
73 2008-10-03 Alexander Sack <asac@ubuntu.com>
75 Implement support for wep-tx-keyidx in ifupdown system
78 * system-settings/plugins/ifupdown/parser.c
79 - (update_wireless_security_setting_from_if_block): introduce
80 free_type_mapping func table; rename a few local
81 variables to improve readability; add wpa security mapping
82 for wep-tx-keyidx property
83 - (string_to_gpointerint): new function used for the auto_type_mapping
84 of new wep-tx-keyidx property
85 - (slist_free_all): free func used for mapped slist types
87 2008-10-03 Alexander Sack <asac@ubuntu.com>
89 * system-settings/src/main.c:
90 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
91 always used as the hash key; fixes a crash when removing wired
94 2008-10-02 Dan Williams <dcbw@redhat.com>
97 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
98 pass the required GSM secret along via user_data rather than keeping
99 it around in the private data where it sometimes didn't get cleared
100 - (real_get_ppp_name): implement using the GSM username
102 2008-10-02 Dan Williams <dcbw@redhat.com>
104 * src/ppp-manager/nm-ppp-manager.c
105 src/ppp-manager/nm-ppp-manager.h
106 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
107 the settings daemon for completely new ones
108 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
109 local PPP peer name; allow PPP debuging by launching NM with
110 the environment variable NM_PPP_DEBUG defined
111 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
112 create_pppd_cmd_line()
114 * src/nm-serial-device.c
115 src/nm-serial-device.h
116 - New 'get_ppp_name' function for subclasses to implement to return the
118 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
119 and pass that name to the PPP manager
121 * src/nm-device-ethernet.c
122 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
125 * src/nm-cdma-device.c
126 - (real_get_ppp_name): implement using the CDMA username
128 2008-10-02 Dan Williams <dcbw@redhat.com>
130 Patch from Alexander Sack <asac ubuntu com>
132 * system-settings/plugins/ifupdown/parser.c
133 - Implement more graceful ip4 config parsing for cases where
134 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
135 by using default values
137 2008-10-02 Dan Williams <dcbw@redhat.com>
139 * src/NetworkManagerPolicy.c
140 - (device_state_changed): when marking a connection invalid, clear its
141 secrets too so that fresh secrets get requested the next time
143 2008-10-01 Dan Williams <dcbw@redhat.com>
145 * system-settings/src/dbus-settings.c
146 - (nm_sysconfig_settings_init): cache system hostname on startup as
147 a fallback if no plugin provides a hostname
148 - (get_property): fall back to cached hostname if no plugin provides
151 2008-10-01 Dan Williams <dcbw@redhat.com>
153 Fix setting value comparison issue that caused some settings to look the
154 same when they were really different (rh #464417)
156 * libnm-util/nm-param-spec-specialized.c
157 - (type_is_fixed_size): return fundamental size of the fixed type too
158 - (nm_gvalues_compare_collection): use the fundamental fixed type size
159 in the comparison so that the _entire_ fixed type collection gets
160 compared rather than just the first 'len1' bytes
162 2008-09-30 Dan Williams <dcbw@redhat.com>
164 * src/NetworkManagerPolicy.c
165 - (lookup_thread_worker): don't store the idle handler ID becuase the
166 idle handler could have already run and freed the LookupThread
169 2008-09-30 Tambet Ingo <tambet@gmail.com>
171 * src/nm-device.c (nm_device_get_priority): Implement.
172 (nm_device_set_ip4_config): Send the device priority to system ip4
175 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
176 Add priority argument and if it's >= 0, set the priority of the network
177 route added automatically by netlink (or kernel?).
178 (nm_system_device_set_priority): Implement.
180 * src/NetworkManagerPolicy.c (get_best_device): Use
181 nm_device_get_priority() instead of home-grown version. Revert the
182 meaning, best priority is the lowest one.
184 2008-09-29 Dan Williams <dcbw@redhat.com>
186 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
187 when it returns EAGAIN (rh #362421)
189 * src/nm-device-wifi.c
190 - (wireless_get_range): try GIWRANGE a few times until the card responds
191 - (real_get_generic_capabilities, constructor): use wireless_get_range()
193 2008-09-28 Dan Williams <dcbw@redhat.com>
195 * src/nm-serial-device.c
196 src/nm-serial-device.h
197 - (nm_serial_device_close): stop PPP manager here so that PPP gets
198 cleaned at the right times when subclasses close the serial port too
199 - (nm_serial_device_send_command): use a default send delay; don't
200 spin forever on EAGAIN
201 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
202 remove, no longer used
203 - (find_response): return the matched response if any
204 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
206 - (wait_for_reply_done): pass the matched response to the callback
207 - (wait_for_reply_got_data): save the matched response; simplify timeout
209 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
210 const since they never get modified
211 - (cleanup_device): split out common cleanup stuff to a new function
212 - (real_deactivate_quickly, finalize): use cleanup_device()
214 * src/nm-gsm-device.c
215 - (modem_get_reply): remove, unused
216 - (set_apn): give the card a bit more time to respond
217 - (manual_registration_again, schedule_manual_registration_again,
218 manual_registration_response, manual_registration): handle manual
219 registration timeouts better by retrying registration a few times
220 because cards are a bit slow after CFUN=1
221 - (automatic_registration_get_network, get_network_response): use
222 modem_wait_for_reply() because it interacts better with the serial
223 buffer and does more intelligent matching; need to wait for 'OK'
224 rather than just matching terminators
225 - (schedule_automatic_registration_again,
226 automatic_registration_response, automatic_registration): retry
227 registration a few times on timeout or "searching" because cards
228 take a bit to find a network after being powered up with CFUN=1
229 - (power_up_response, power_up, init_full_done, enter_pin,
230 check_pin_done): power up the card with CFUN=1 before trying to
231 register with the network
232 - (init_modem_full, init_modem): use more standard 3G init strings
234 * src/nm-hso-gsm-device.c
235 - (modem_get_reply): remove, unused
236 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
237 modem_wait_for_reply() to match actual responses instead of single
238 termination characters; it doesn't leave stuff in the serial buffer
239 that might confuse later calls
240 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
241 to ensure that the call is really disconnected and not leave extra
242 stuff in the serial buffer
244 * src/nm-cdma-device.c
245 - (power_up_response, power_up, init_done): try Sierra-style modem
246 power up before attempting to connect
248 2008-09-27 Dan Williams <dcbw@redhat.com>
250 * libnm-util/nm-setting-gsm.c
251 - (verify): verify GSM network ID
253 2008-09-25 Dan Williams <dcbw@redhat.com>
255 * libnm-util/nm-setting-gsm.c
256 libnm-util/nm-setting-gsm.h
257 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
258 technology terms (bgo #551361)
260 2008-09-25 Dan Williams <dcbw@redhat.com>
262 Fix bgo #549401 (inspired by patch from Alexander Sack)
264 * src/nm-device-ethernet.c
265 - (finish_supplicant_task): clean up scheduled tasks and free memory
266 - (remove_supplicant_interface_error_handler): remove the supplicant
267 error idle callback too
268 - (supplicant_interface_release): rename from supplicant_interface_clean
269 to match nm-device-wifi.c; clean up supplicant interface-related
270 state tasks when the supplicant interface is disposed of
271 - (schedule_state_handler): add scheduled tasks to a list so they can
273 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
274 supplicant_iface_connection_state_cb_handler): use
275 finish_supplicant_task() to clean up each completed task
276 - (supplicant_iface_connection_error_cb_handler,
277 supplicant_connection_timeout_cb): clear source id when the task is
279 - (supplicant_iface_connection_error_cb): save scheduled task id for
281 - (nm_device_ethernet_dispose): clean up any pending supplicant state
284 * src/nm-device-wifi.c
285 - (finish_supplicant_task): clean up scheduled tasks and free memory
286 - (remove_supplicant_interface_error_handler): remove the supplicant
287 error idle callback too
288 - (supplicant_interface_release): clean up supplicant interface-related
289 state tasks when the supplicant interface is disposed of
290 - (schedule_state_handler): add scheduled tasks to a list so they can
292 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
293 supplicant_iface_connection_state_cb_handler): use
294 finish_supplicant_task() to clean up each completed task
295 - (supplicant_iface_connection_error_cb_handler): clear source id when
297 - (supplicant_iface_connection_error_cb): save scheduled task id for
299 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
301 2008-09-24 Tambet Ingo <tambet@gmail.com>
303 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
304 method and get/set hostname property.
306 2008-09-24 Tambet Ingo <tambet@gmail.com>
308 * src/supplicant-manager/nm-supplicant-interface.c
309 (nm_supplicant_interface_disconnect): Don't increment the reference
310 count when disconnecting. The problem is on shutdown, when the replies
311 to these commands do not arrive before NM exits, resulting on never
312 calling supplicant interface's dispose(), which removes the interface
315 2008-09-24 Tambet Ingo <tambet@gmail.com>
317 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
318 all the public function arguments.
320 2008-09-22 Tambet Ingo <tambet@gmail.com>
322 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
323 "Failure" signal from VPN plugins, store the failure reason, and
324 use it when the state is changed to failure.
326 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
329 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
330 reason to the end of the list to not break the API.
331 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
332 so it can be shared by plugins and daemon.
334 2008-09-18 Dan Williams <dcbw@redhat.com>
336 Patch from Alexander Sack <asac@ubuntu.com>
339 system-settings/plugins/Makefile.am
340 system-settings/plugins/ifupdown/Makefile.am
341 system-settings/plugins/ifupdown/interface_parser.c
342 system-settings/plugins/ifupdown/interface_parser.h
343 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
344 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
345 system-settings/plugins/ifupdown/parser.c
346 system-settings/plugins/ifupdown/parser.h
347 system-settings/plugins/ifupdown/plugin.c
348 system-settings/plugins/ifupdown/plugin.h
349 - Implement a Debian/Ubuntu legacy network configuration plugin
352 2008-09-18 Dan Williams <dcbw@redhat.com>
354 Implement support for honoring configured and automatic hostnames, and for
355 setting the configured hostname.
357 * introspection/nm-ip4-config.xml
360 src/dhcp-manager/nm-dhcp-manager.c
361 - Remove useless hostname property; it's not really part of the IPv4
364 * introspection/nm-settings-system.xml
365 libnm-glib/nm-dbus-settings-system.c
366 libnm-glib/nm-dbus-settings-system.h
367 - Add SetHostname() call to system settings D-Bus interface
368 - Add Hostname property to system settings D-Bus interface
369 - (nm_dbus_settings_system_save_hostname,
370 nm_dbus_settings_system_get_hostname): implement
374 - (nm_device_get_dhcp4_config): implement
378 - Fetch and track system settings service hostname changes, and proxy
379 the changes via a GObject property of the manager
381 * system-settings/src/nm-system-config-interface.c
382 system-settings/src/nm-system-config-interface.h
383 - Replace nm_system_config_interface_supports_add() with a capabilities
386 * system-settings/src/nm-system-config-error.c
387 system-settings/src/nm-system-config-error.h
388 - Add additional errors
390 * system-settings/src/dbus-settings.c
391 system-settings/src/dbus-settings.h
392 - (get_property, nm_sysconfig_settings_class_init): add hostname
393 property; first plugin returning a hostname wins
394 - (impl_settings_add_connection): use plugin capabilities instead of
395 nm_system_config_interface_supports_add()
396 - (impl_settings_save_hostname): implement hostname saving
398 * src/NetworkManagerPolicy.c
399 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
400 lookup_thread_die): implement an asynchronous hostname lookup thread
401 which given an IPv4 address tries to look up the hostname for that
402 address with reverse DNS
403 - (get_best_device): split out best device code from
404 update_routing_and_dns()
405 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
406 to preserve the 127.0.0.1 reverse mapping that so many things require
407 - (set_system_hostname): set a given hostname
408 - (update_system_hostname): implement hostname policy; a configured
409 hostname (from the system settings service) is used if available,
410 otherwise an automatically determined hostname from DHCP, VPN, etc.
411 If there was no automatically determined hostname, reverse DNS of
412 the best device's IP address will be used, and as a last resort the
413 hostname 'localhost.localdomain' is set.
414 - (update_routing_and_dns): use get_best_device(); update the system
415 hostname when the network config changes
416 - (hostname_changed): update system hostname if the system settings
417 service signals a hostname change
418 - (nm_policy_new): list for system settings service hostname changes
419 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
422 * system-settings/plugins/keyfile/plugin.c
423 system-settings/plugins/ifcfg-suse/plugin.c
424 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
425 capabilities properties
427 * system-settings/plugins/ifcfg-fedora/shvar.c
428 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
429 writes out /etc/sysconfig/network now
431 * system-settings/plugins/ifcfg-fedora/plugin.c
432 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
433 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
434 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
435 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
436 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
437 hostname get/set and capabilities get
439 2008-09-18 Dan Williams <dcbw@redhat.com>
441 * libnm-util/nm-setting-wireless.c
442 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
443 group ciphers if the wireless-security setting explicitly specified
444 them, effectively making the default be "all ciphers" (idea from
447 2008-09-15 Dan Williams <dcbw@redhat.com>
449 Patch from Alexander Sack <asac@ubuntu.com>
451 * src/named-manager/nm-named-manager.c
452 - (dispatch_resolvconf): respect resolvconf exit code
454 2008-09-12 Tambet Ingo <tambet@gmail.com>
456 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
457 again. Add some debugging.
459 2008-09-11 Dan Williams <dcbw@redhat.com>
461 * system-settings/plugins/keyfile/plugin.c
462 - (update_connection_settings): update connection manually, since
463 nm_exported_connection_update() does authentication
464 - (dir_changed): update_connection_settings() doesn't need to return
467 2008-09-09 Dan Williams <dcbw@redhat.com>
469 * libnm-glib/nm-vpn-plugin-ui-interface.c
470 libnm-glib/nm-vpn-plugin-ui-interface.h
471 libnm-glib/libnm_glib_vpn.ver
472 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
473 should clean up resources related to the connection (like keyring
475 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
476 should save user-scope secrets (like to the keyring)
478 2008-09-08 Dan Williams <dcbw@redhat.com>
480 Patch from Alexander Sack <asac@ubuntu.com>
482 * libnm-util/crypto_gnutls.c
483 libnm-util/crypto_nss.c
484 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
486 * libnm-util/nm-utils.c
487 libnm-util/nm-utils.h
488 libnm-util/libnm-util.ver
489 - (nm_utils_init): initialize libnm-util
490 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
492 * libnm-util/nm-setting-8021x.c
493 - (nm_setting_802_1x_class_init): init libnm-util when needed
495 2008-09-05 Dan Williams <dcbw@redhat.com>
497 Patch from Roy Marples <roy@marples.name> and others
500 src/named-manager/nm-named-manager.c
501 - Add support for resolvconf; use --with-resolvconf at configure time
504 2008-09-05 Dan Williams <dcbw@redhat.com>
506 * libnm-util/crypto_nss.c
507 libnm-util/crypto_gnutls.c
509 - (crypto_init): return error when init fails
511 2008-09-05 Dan Williams <dcbw@redhat.com>
513 * libnm-glib/nm-device-wifi.c
514 - (access_point_removed_proxy): clean up the active access point too
515 just in case the active ap changed signal didn't come through yet
516 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
518 2008-09-05 Dan Williams <dcbw@redhat.com>
520 * libnm-glib/nm-client.c
521 - (constructor): get initial state after we know whether NM is running
524 2008-09-05 Dan Williams <dcbw@redhat.com>
526 * libnm-glib/nm-ip4-config.c
527 libnm-glib/nm-dhcp4-config.c
528 - (finalize): clean up the DBusGProxy
530 2008-09-04 Dan Williams <dcbw@redhat.com>
532 * src/nm-ip4-config.c
534 - (nm_ip4_config_new): don't export over D-Bus here
535 - (nm_ip4_config_export): new function; export the config over D-Bus
536 - (nm_ip4_config_is_exported): new function
539 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
540 objects by balancing the IP4Config constructor; the device holds
541 a reference to the IP4Config already
542 - (nm_device_set_ip4_config): export the IP4Config when needed
544 2008-09-04 Dan Williams <dcbw@redhat.com>
546 * src/supplicant-manager/nm-supplicant-settings-verify.c
547 - Allow WPA-NONE key management for Ad-Hoc WPA connections
549 2008-09-04 Dan Williams <dcbw@redhat.com>
551 * libnm-util/nm-setting-vpn.c
552 libnm-util/nm-setting-vpn.h
553 - Split VPN secrets from VPN data so that settings services can actually
554 figure out that they are secrets and store them accordingly
556 * system-settings/plugins/keyfile/nm-keyfile-connection.c
557 system-settings/plugins/keyfile/reader.c
558 system-settings/plugins/keyfile/reader.h
559 system-settings/plugins/keyfile/writer.c
560 - Store VPN secrets separately from VPN data so that they can be fetched
562 - Implement the get_secrets() call so that (a) secrets don't leak out
563 to unprivileged callers, and (b) secrets can be sent to privileged
566 * vpn-daemons/vpnc/src/nm-vpnc-service.c
567 - Handle split VPN secrets
569 2008-08-27 Dan Williams <dcbw@redhat.com>
571 * system-settings/plugins/ifcfg-fedora/reader.c
572 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
574 2008-08-27 Dan Williams <dcbw@redhat.com>
576 Ensure zombie children get cleaned up. To get notifications when children
577 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
578 that requires calling waitpid() yourself if you've removed the child watch
579 handler before the process has actually died, which NM needs to do in a few
580 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
581 cleans up after the child when required. Should fix problems trying to
582 activate mobile broadband connections after a previous failure.
584 * src/dhcp-manager/nm-dhcp-dhclient.c
585 src/dhcp-manager/nm-dhcp-dhcpcd.c
586 - Use G_SPAWN_DO_NOT_REAP_CHILD
588 * src/dhcp-manager/nm-dhcp-manager.c
589 - (nm_dhcp_device_destroy): ensure child is cleaned up
590 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
591 block on child quitting, since the non-blocking functionality was
594 * src/dnsmasq-manager/nm-dnsmasq-manager.c
595 - (dm_watch_cb): child is already reaped here
596 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
599 - (aipd_cleanup): block until child is dead
601 * src/named-manager/nm-named-manager.c
602 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
603 event bothering to watch the child
605 * src/ppp-manager/nm-ppp-manager.c
606 - (ppp_watch_cb): child is already reaped here
607 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
609 * src/vpn-manager/nm-vpn-service.c
610 - (vpn_service_watch_cb): child is already reaped here
611 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
612 status of the child is actually tracked
613 - (ensure_killed, finalize): block until child is dead
615 2008-08-26 Dan Williams <dcbw@redhat.com>
617 * system-settings/plugins/keyfile/nm-keyfile-connection.c
618 - (update): Update filename of the connection if the connection id
621 * system-settings/plugins/keyfile/plugin.c
622 - (dir_changed): first pass at handling connection renames correctly
624 * system-settings/plugins/keyfile/writer.c
625 system-settings/plugins/keyfile/writer.h
626 - (write_connection): replace '/' with '*' when writing out the filename
627 from the connection id
629 2008-08-26 Dan Williams <dcbw@redhat.com>
631 Add connection UUIDs, since connection names can be changed, and since
632 old-style connection IDs could change over the life of the connection. The
633 UUID should be assigned at connection creation time, be stable for a given
634 connection, and should be unique among all connections for a given settings
638 libnm-util/Makefile.am
641 * introspection/nm-exported-connection.xml
642 - Remove "GetID" method
644 * libnm-glib/nm-dbus-connection.c
645 libnm-glib/nm-settings.c
646 libnm-glib/nm-settings.h
647 - Remove id-related stuff
649 * libnm-util/nm-utils.c
650 libnm-util/nm-utils.h
651 libnm-util/libnm-util.ver
652 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
653 utility functions to generate UUIDs
655 * libnm-util/nm-setting-connection.c
656 libnm-util/nm-setting-connection.h
657 - Add 'uuid' member to the connection setting
658 - (verify): require valid 'uuid' for a valid connection
660 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
661 system-settings/plugins/ifcfg-fedora/reader.c
662 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
663 system-settings/plugins/ifcfg-suse/parser.c
664 system-settings/plugins/keyfile/nm-keyfile-connection.c
665 system-settings/src/main.c
666 - Remove id-related stuff
667 - Give connections UUIDs where needed
669 2008-08-25 Dan Williams <dcbw@redhat.com>
671 * libnm-util/crypto_gnutls.c
672 libnm-util/crypto_nss.c
673 - (crypto_init, crypto_deinit): refcount init/deinit
674 - (crypto_md5_hash): allow NULL salt
676 2008-08-22 Michael Biebl <mbiebl@gmail.com>
678 * libnm-glib/Makefile.am
679 libnm-util/Makefile.am
680 libnm-glib/libnm_glib.ver
681 libnm-glib/libnm_glib_vpn.ver
682 libnm-util/libnm-util.ver
683 - Use linker version scripts to control the list of exported
684 symbols. List each exported symbol explicitely.
685 * libnm-util/Makefile.am
686 - Fix compilation of the test-crypto binary. The crypto
687 functions are no longer part of the libnm-util API. Add
688 crypto_*.c to test_crypto_SOURCES and link against the correct
691 2008-08-19 Dan Williams <dcbw@redhat.com>
695 - Don't build test/test-common
696 - Remove unused stuff
698 * test/nm-set-fallback
700 test/test-common/.cvsignore
701 test/test-common/Makefile.am
702 test/test-common/test-common.c
703 test/test-common/test-common.h
706 2008-08-18 Dan Williams <dcbw@redhat.com>
708 * libnm-util/nm-utils.c
709 libnm-util/nm-utils.h
710 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
711 export anything that needs to be converted with this function
713 * src/dhcp-manager/nm-dhcp-manager.c
714 - (garray_to_string): convert a byte array to a UTF-8 string with
715 minimal validation; the DHCP client sends it in ASCII anyway
716 - (get_option, copy_option): use garray_to_string()
718 2008-08-18 Dan Williams <dcbw@redhat.com>
720 * include/NetworkManager.h
721 introspection/nm-device.xml
722 - Add a "missing firmware" device state reason
724 * src/NetworkManagerSystem.c
725 src/NetworkManagerSystem.h
726 - (nm_system_device_set_up_down): add a no_firmware argument
727 - (nm_system_device_set_up_down_with_iface): if the result of setting
728 IFF_UP is ENOENT, that almost always means missing firmware
730 * src/backends/NetworkManagerGeneric.c
731 src/nm-device-ethernet.c
732 src/nm-device-private.h
736 src/nm-hso-gsm-device.c
737 src/vpn-manager/nm-vpn-connection.c
738 - Pass no_firmware along; check it where appropriate
740 2008-08-18 Dan Williams <dcbw@redhat.com>
742 Patch from Robert Buchholz <rbu@gentoo.org>
746 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
747 1003.1-1988, allowing for file names longer than 99 characters
749 2008-08-17 Dan Williams <dcbw@redhat.com>
751 * include/NetworkManager.h
752 introspection/nm-device.xml
754 - Finer-grained GSM registration failure error codes
756 2008-08-17 Dan Williams <dcbw@redhat.com>
758 * callouts/Makefile.am
760 - Move dispatcher directory creation to callouts/Makefile.am
762 * system-settings/plugins/keyfile/Makefile.am
763 - Create keyfile connections directory in DESTDIR (bgo #546833)
765 2008-08-15 Dan Williams <dcbw@redhat.com>
767 Do connection sharing in a cleaner manner; all required iptables rules
768 are now stored in the activation request and pertain only to the device
769 which is being shared to other computers. (rh #458625)
771 * src/nm-activation-request.c
772 src/nm-activation-request.h
773 - (nm_act_request_add_share_rule): new function; add a sharing rule to
774 the activation request which will get torn down automatically when
775 the activation request dies
776 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
777 is started, and tear them down when sharing is stopped
780 - (start_sharing): start up sharing by doing the required iptables magic
781 - (share_init): poke the right bits of the kernel and load the right
783 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
784 connection if it's a 'shared' connection
786 * src/NetworkManagerPolicy.c
787 - Remove all sharing stuff; done in the device code itself
789 2008-08-15 Dan Williams <dcbw@redhat.com>
791 * src/dnsmasq-manager/nm-dnsmasq-manager.c
792 - (create_dm_cmd_line): send the right router address
794 2008-08-15 Dan Williams <dcbw@redhat.com>
796 * src/ppp-manager/nm-ppp-manager.c
797 - (pppd_timed_out): ensure timeouts fail the connection
799 2008-08-14 Dan Williams <dcbw@redhat.com>
801 * src/nm-properties-changed-signal.c
802 src/nm-properties-changed-signal.h
803 - Add a property spec flag for "don't export this property" in
804 property changed signals
806 * src/nm-hso-gsm-device.c
809 - Don't export monitor interface or netdev interface properties
811 2008-08-14 Dan Williams <dcbw@redhat.com>
813 * src/NetworkManagerPolicy.c
814 - (update_routing_and_dns): 'hso' devices can be default even if they
817 2008-08-14 Dan Williams <dcbw@redhat.com>
820 - (nm_device_deactivate_quickly): tear down activation request after
821 calling device-specific deactivation
823 * src/nm-hso-gsm-device.c
824 - (real_deactivate_quickly): terminate connection when deactivating
826 2008-08-14 Dan Williams <dcbw@redhat.com>
828 * src/nm-activation-request.h
829 - Add HSO secrets caller
831 * src/nm-gsm-device.c
833 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
834 something to the callback function
835 - (set_apn, set_apn_done): call class dial function, not a static one
836 - (nm_gsm_device_class_init): add a class 'dial' function
838 * src/nm-hal-manager.c
839 - (get_hso_netdev): find the hso-driven hardware's net device
840 - (modem_device_creator): recognize hso-driven hardware and create the
841 right type of device object for it
844 src/nm-hso-gsm-device.c
845 src/nm-hso-gsm-device.h
846 - Implement support for devices driven by the 'hso' driver as a subclass
849 2008-08-14 Dan Williams <dcbw@redhat.com>
851 * src/NetworkManagerSystem.c
852 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
853 - (nm_system_device_set_up_down_with_iface): cleanups; only return
854 success if the operation really was successful
856 2008-08-14 Dan Williams <dcbw@redhat.com>
858 * src/nm-netlink-monitor.c
859 src/nm-netlink-monitor.h
860 src/nm-device-ethernet.c
861 - (nm_netlink_monitor_request_status): return an error on failure
862 - (constructor): don't segfault on missing error
864 2008-08-13 Dan Williams <dcbw@redhat.com>
866 * callouts/nm-dispatcher-action.c
867 - Add IP4 config info to script environment
869 2008-08-12 Dan Williams <dcbw@redhat.com>
872 - (nm_device_set_ip4_config): don't touch hostnames here; distros
873 that want to use DHCP hostnames should use dispatcher scripts
876 * src/NetworkManagerSystem.h
877 src/backends/NetworkManagerArch.c
878 src/backends/NetworkManagerDebian.c
879 src/backends/NetworkManagerFrugalware.c
880 src/backends/NetworkManagerGeneric.c
881 src/backends/NetworkManagerGeneric.h
882 src/backends/NetworkManagerGentoo.c
883 src/backends/NetworkManagerMandriva.c
884 src/backends/NetworkManagerPaldo.c
885 src/backends/NetworkManagerRedHat.c
886 src/backends/NetworkManagerSlackware.c
887 src/backends/NetworkManagerSuSE.c
888 - Remove nm_system_set_hostname(), no longer used
890 * src/backends/Makefile.am
893 - Remove shvar.*; no longer used
895 2008-08-12 Dan Williams <dcbw@redhat.com>
897 Revert most of the 'hostname' patch. Too much stuff still breaks when
898 hostname is updated at runtime. Distros or users who want hostname updates
899 can use dispatcher scripts to update the hostname if they need it.
901 2008-08-12 Dan Williams <dcbw@redhat.com>
903 * introspection/nm-settings-system.xml
904 system-settings/src/dbus-settings.c
905 system-settings/src/dbus-settings.h
906 - Add a 'Hostname' property (rw) which represents the configured
907 hostname and domain of the system, if any
909 * system-settings/src/nm-system-config-error.c
910 system-settings/src/nm-system-config-error.h
911 system-settings/src/nm-system-config-interface.c
912 system-settings/src/nm-system-config-interface.h
913 - Add a 'hostname' property to the plugin interface
914 - Add a method to send updated hostname to plugins to save in their
915 backing configuration store
917 * system-settings/plugins/keyfile/nm-keyfile-connection.c
918 system-settings/plugins/keyfile/plugin.c
919 system-settings/plugins/keyfile/writer.c
920 system-settings/plugins/keyfile/writer.h
921 system-settings/plugins/ifcfg-suse/plugin.c
922 - Add minimal hostname support
924 * system-settings/plugins/ifcfg-fedora/plugin.c
925 - Add support for updating system hostname in /etc/sysconfig/network
927 2008-08-12 Dan Williams <dcbw@redhat.com>
929 * system-settings/plugins/ifcfg-fedora/shvar.c
930 system-settings/plugins/ifcfg-fedora/shvar.c
931 - Fix double-free caused by svSetValue() followed by svCloseFile()
933 2008-08-12 Tambet Ingo <tambet@gmail.com>
935 * Makefile.am: Fix distcheck.
937 2008-08-12 Tambet Ingo <tambet@gmail.com>
939 * libnm-glib/*.c. Document some more.
941 2008-08-12 Tambet Ingo <tambet@gmail.com>
943 Start documenting libnm-glib public API using gtk-doc.
945 * libnm-glib/nm-serial-device.c:
946 * libnm-glib/nm-object.c:
947 * libnm-glib/nm-gsm-device.c:
948 * libnm-glib/nm-device.c:
949 * libnm-glib/nm-device-wifi.c:
950 * libnm-glib/nm-device-ethernet.c:
951 * libnm-glib/nm-client.c:
952 * libnm-glib/nm-cdma-device.c: Document the public API.
954 * docs/libnm-glib/libnm-glib.types: Implement.
956 * docs/libnm-glib/Makefile.am: Implement.
960 * Makefile.am: Add gtk-doc support.
962 2008-08-12 Tambet Ingo <tambet@gmail.com>
964 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
966 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
967 the composite result of all the IP4 configurations and call a distro
968 specific update_resolv_conf().
969 (update_resolv_conf): Implement one for directly writing to
970 /etc/resolv.conf and one for opensuse to call netconfig.
972 2008-08-11 Dan Williams <dcbw@redhat.com>
974 * src/ppp-manager/nm-ppp-manager.c
975 - (impl_ppp_manager_need_secrets): pass interface as required
977 2008-08-11 Dan Williams <dcbw@redhat.com>
979 Merge the vpn-properties setting with the vpn setting since it was pointless
980 to keep both of them around. Convert the vpn 'data' hash table to a hash
981 of string:string (instead of string:variant) so that system settings plugins
982 can have an easier time dealing with the arbitrary key/value pairs.
984 2008-08-11 Dan Williams <dcbw@redhat.com>
986 * libnm-util/nm-utils.c
987 - (nm_utils_register_value_transformations): add value transform for
988 a hash table of string:string
990 2008-08-10 Dan Williams <dcbw@redhat.com>
992 * libnm-glib/nm-vpn-plugin.c
993 - (nm_vpn_plugin_connect): stop plugin after connection failure from
994 an idle handler so the Connect reply gets delivered before the
995 stop StateChanged signal
997 2008-08-10 Dan Williams <dcbw@redhat.com>
999 * src/nm-ip4-config.c
1000 - (get_property): use common ip4 address/route conversion functions
1001 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1002 copy the new route here, not take ownership
1004 2008-08-08 Tambet Ingo <tambet@gmail.com>
1006 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1007 Update the IP4 setting's method name.
1009 2008-08-07 Dan Williams <dcbw@redhat.com>
1011 * introspection/nm-ip4-config.xml
1012 libnm-glib/libnm-glib-test.c
1013 libnm-glib/nm-ip4-config.c
1014 libnm-glib/nm-ip4-config.h
1015 src/NetworkManagerSystem.h
1016 src/backends/NetworkManagerArch.c
1017 src/backends/NetworkManagerDebian.c
1018 src/backends/NetworkManagerFrugalware.c
1019 src/backends/NetworkManagerGeneric.c
1020 src/backends/NetworkManagerGeneric.h
1021 src/backends/NetworkManagerGentoo.c
1022 src/backends/NetworkManagerMandriva.c
1023 src/backends/NetworkManagerPaldo.c
1024 src/backends/NetworkManagerRedHat.c
1025 src/backends/NetworkManagerSlackware.c
1026 src/backends/NetworkManagerSuSE.c
1027 src/dhcp-manager/nm-dhcp-manager.c
1031 - Remove NIS logic; should be done from dispatcher scripts instead
1033 2008-08-07 Dan Williams <dcbw@redhat.com>
1035 * src/dhcp-manager/nm-dhcp-manager.c
1036 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1037 mis-handling of DHCP responses that returned more than one router
1038 (found by Grant Williamson)
1040 2008-08-07 Dan Williams <dcbw@redhat.com>
1042 * callouts/nm-dispatcher-action.c
1043 - (nm_dispatcher_action): grab device path and create the device; pass
1044 the device's DHCP4 config to script caller
1045 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1048 * libnm-glib/nm-dhcp4-config.c
1049 libnm-glib/nm-dhcp4-config.h
1050 - (nm_dhcp4_config_get_options): expose
1051 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1053 2008-08-07 Dan Williams <dcbw@redhat.com>
1055 * include/NetworkManager.h
1056 - Add the DHCP4Config D-Bus interface
1058 * libnm-glib/Makefile.am
1059 libnm-glib/nm-dhcp4-config.c
1060 libnm-glib/nm-dhcp4-config.h
1061 - Handle DHCP4 config objects exported by NM over D-Bus
1063 * libnm-glib/nm-device.c
1064 libnm-glib/nm-device.h
1065 - Add a 'dhcp4-config' property
1067 * libnm-glib/libnm-glib-test.c
1068 - Print out DHCP4 config for devices
1069 - Fix some crashes when no connections are active
1071 * src/nm-device-interface.c
1073 src/nm-dhcp4-config.c
1074 src/nm-dhcp4-config.h
1075 - Treat dhcp4-config object as an object path at the D-Bus interface so
1076 that when it doesn't exist we can proxy it as "/" which dbus-glib
1077 doesn't let us do when the property type is G_TYPE_OBJECT
1079 2008-08-07 Dan Williams <dcbw@redhat.com>
1081 * src/NetworkManager.c
1082 src/NetworkManagerSystem.h
1083 src/backends/NetworkManagerArch.c
1084 src/backends/NetworkManagerDebian.c
1085 src/backends/NetworkManagerFrugalware.c
1086 src/backends/NetworkManagerGeneric.c
1087 src/backends/NetworkManagerGeneric.h
1088 src/backends/NetworkManagerGentoo.c
1089 src/backends/NetworkManagerMandriva.c
1090 src/backends/NetworkManagerPaldo.c
1091 src/backends/NetworkManagerRedHat.c
1092 src/backends/NetworkManagerSlackware.c
1093 src/backends/NetworkManagerSuSE.c
1094 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1096 2008-08-06 Dan Williams <dcbw@redhat.com>
1098 * libnm-glib/nm-ip4-config.c
1099 libnm-glib/nm-ip4-config.h
1100 - Add 'routes' property
1102 * libnm-util/nm-setting-vpn.c
1103 libnm-util/nm-setting-vpn.h
1104 - Remove 'routes' property
1106 * libnm-util/nm-setting-ip4-config.c
1107 libnm-util/nm-setting-ip4-config.h
1108 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1109 - Add 'ignore-auto-routes' property
1110 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
1111 accomodate route metrics
1112 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1114 * libnm-util/nm-utils.c
1115 libnm-util/nm-utils.h
1116 - Add helpers for marshalling IP4 routes
1118 * src/NetworkManagerUtils.c
1119 - (nm_utils_merge_ip4_config): handle property renames and new route
1122 * src/NetworkManagerSystem.c
1123 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1124 nm_system_vpn_device_set_from_ip4_config): respect route metrics
1126 * src/dhcp-manager/nm-dhcp-manager.c
1127 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1129 * system-settings/plugins/ifcfg-fedora/reader.c
1130 system-settings/plugins/ifcfg-fedora/writer.c
1131 - Handle routes separately from addresses now that routes have a different
1134 * introspection/nm-ip4-config.xml
1137 - Rename internal routing functions
1138 - 'static-routes' renamed to 'routes'
1140 2008-08-04 Dan Williams <dcbw@redhat.com>
1142 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1144 * src/NetworkManager.c
1147 - More explicitly make the NMManager a singleton
1149 2008-08-04 Dan Williams <dcbw@redhat.com>
1151 * libnm-util/nm-connection.c
1152 libnm-util/nm-connection.h
1153 - (nm_connection_verify): return error on missing 'connection' setting
1154 (found by Sjoerd Simons)
1156 2008-08-04 Dan Williams <dcbw@redhat.com>
1158 Handle multiple concurrent PPP connections.
1160 * src/ppp-manager/nm-ppp-manager.c
1161 src/ppp-manager/nm-ppp-manager.h
1162 - (constructor): only PPP Manager request bus name once; each
1163 NMPPPManager object gets a unique object path
1164 - (nm_ppp_manager_class_init, get_property, set_property,
1165 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1167 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1168 remove timeout until PPP manager gets an IP4 config
1169 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1170 the plugin can call back to this specific PPP manager instance
1172 * src/nm-device-ethernet.c
1173 src/nm-serial-device.c
1174 - Pass parent device in nm_ppp_manager_new()
1176 * src/nm-gsm-device.c
1177 src/nm-cdma-device.c
1178 - (device_state_changed): don't close serial device on NEED_AUTH
1179 state changed, that's not a failure case like the rest are
1181 * src/ppp-manager/nm-pppd-plugin.c
1182 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1183 binds one interface to any pppd process, thus the correct index
1184 is always 0; send PHASE_DEAD on error to alert NM immediately of
1185 problems; try harder to get a peer address in spite of pppd
1186 - (plugin_init): use 'ipparam' as the object path back to our specific
1187 PPP manager instance
1189 2008-08-04 Dan Williams <dcbw@redhat.com>
1191 * src/ppp-manager/nm-ppp-manager.c
1192 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1193 since the GSM and CDMA settings now implement need_secrets, we can
1194 rely on them to do the right thing. Where secrets are not required,
1195 just pass empty strings back to the pppd plugin.
1196 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1197 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1198 on successful IP4 config receipt
1200 2008-08-04 Dan Williams <dcbw@redhat.com>
1202 * libnm-util/nm-setting-cdma.c
1203 libnm-util/nm-setting-gsm.c
1204 - (verify): validate username & password if they exist
1205 - (need_secrets): if username given, require a password too
1207 2008-08-04 Dan Williams <dcbw@redhat.com>
1209 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1210 - (create_dm_cmd_line): really don't listen on lo, despite what the
1211 manpage says about --listen-address without --interface
1214 2008-08-01 Dan Williams <dcbw@redhat.com>
1216 * libnm-glib/nm-device.c
1217 - (proxy_get_string): util function for querying a HAL property
1218 - (get_ancestor_device): split out from get_product_and_vendor()
1219 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1220 from PCI devices by querying subsys properties
1221 - (nm_device_update_description): simplify
1223 2008-08-01 Dan Williams <dcbw@redhat.com>
1225 * libnm-util/nm-setting-ip4-config.c
1226 libnm-util/nm-setting-ip4-config.h
1227 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1228 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
1229 settings, and they don't necessarily use DHCP.
1231 * src/NetworkManagerPolicy.c
1233 system-settings/plugins/ifcfg-fedora/reader.c
1234 system-settings/plugins/ifcfg-suse/parser.c
1235 - Fixup for method changes
1237 2008-07-31 Dan Williams <dcbw@redhat.com>
1239 * src/nm-activation-request.c
1240 src/vpn-manager/nm-vpn-connection.c
1241 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1242 itself should be attached to the activation request or the VPN
1243 connection, not the NMConnection object, since the call is not
1244 expected to live as long as the NMConnection itself
1246 2008-07-31 Dan Williams <dcbw@redhat.com>
1248 * src/nm-device-wifi.c
1249 - (real_act_stage2_config): fix issue where association would continue
1250 even though secrets were needed; 'goto out' was in wrong scope and
1251 result of handle_auth_or_fail() should have been dumped directly to
1252 'ret' to ensure that the association was postponed until secrets
1255 2008-07-31 Dan Williams <dcbw@redhat.com>
1257 * system-settings/plugins/ifcfg-fedora/plugin.c
1258 system-settings/plugins/ifcfg-fedora/reader.c
1259 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1262 2008-07-29 Dan Williams <dcbw@redhat.com>
1264 * src/nm-gsm-device.c
1265 - (automatic_registration_response, automatic_registration): recognize
1266 denied registration and reorder responses
1268 2008-07-29 Dan Williams <dcbw@redhat.com>
1270 * src/nm-serial-device.c
1271 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
1272 time(2) is used for current time, which returns seconds, we shouldn't
1273 be multiplying by 1000.
1275 2008-07-28 Dan Williams <dcbw@redhat.com>
1277 Patch from Fabrice Bellet <fabrice@bellet.info>
1279 * src/NetworkManagerSystem.c
1280 - (route_in_same_subnet): mask addresses and compare them so that the
1281 function actually does what it says it's going to do (rh #456685)
1283 2008-07-27 Dan Williams <dcbw@redhat.com>
1285 * libnm-util/nm-setting-ip6-config.c
1286 - (set_property): add missing break that caused routes to be overwritten
1289 * libnm-util/nm-setting-ip6-config.c
1290 - (verify): validate routes and return GError everywhere on invalid setting
1291 - (finalize): don't leak routes
1292 - (set_property): add missing break that caused routes to be overwritten
1295 2008-07-27 Dan Williams <dcbw@redhat.com>
1298 - Relicense to LGPLv2+
1300 2008-07-27 Dan Williams <dcbw@redhat.com>
1302 * system-settings/plugins/ifcfg-fedora/reader.c
1303 - (make_ip4_setting): fix parsing automatic configs
1305 2008-07-27 Dan Williams <dcbw@redhat.com>
1307 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1309 src/ppp-manager/nm-ppp-manager.c
1310 - Ensure child process gets reaped. The child watch function may be
1311 removed from the mainloop before the child gets killed, so we have
1312 to make sure the child is reaped when it's told to die intentionally
1314 2008-07-27 Dan Williams <dcbw@redhat.com>
1316 Patch from Roy Marples <roy@marples.name>
1318 * src/dhcp-manager/nm-dhcp-dhcpcd.c
1319 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1321 2008-07-27 Dan Williams <dcbw@redhat.com>
1323 * src/nm-gsm-device.c
1324 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1325 Huawei devices turn echo back on after CPIN (rh #456770)
1327 2008-07-24 Tambet Ingo <tambet@gmail.com>
1329 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1330 format argument to g_set_error() call.
1332 * src/backends/interface_parser.[ch]: Remove.
1334 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1336 2008-07-21 Dan Williams <dcbw@redhat.com>
1338 * src/ppp-manager/nm-ppp-manager.c
1339 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1340 to prevent pppd from picking up some random local address from an
1341 interface that doesn't have anything to do with the one we're
1342 interested in (rh #455348)
1344 2008-07-17 Dan Williams <dcbw@redhat.com>
1346 * libnm-util/nm-utils.c
1347 - (string_to_utf8): general function for conversion to UTF-8 assisted
1349 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1350 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1352 2008-07-17 Dan Williams <dcbw@redhat.com>
1354 * introspection/Makefile.am
1355 introspection/nm-device.xml
1356 introspection/nm-dhcp4-config.xml
1357 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1359 * src/nm-device-interface.c
1360 src/nm-device-interface.h
1361 - Add the DHCP4Config property
1364 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1365 D-Bus clients when it changes
1367 * src/nm-dhcp4-config.c
1368 src/nm-dhcp4-config.h
1369 - Simple object to store DHCP4 options, export them over D-Bus, and
1370 notify when they change
1372 * src/dhcp-manager/nm-dhcp-manager.c
1373 src/dhcp-manager/nm-dhcp-manager.h
1374 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1375 filter server-returned DHCP options into an NMDHCP4Config object
1377 2008-07-16 Dan Williams <dcbw@redhat.com>
1379 * introspection/nm-device.xml
1380 - Add device state reasons
1382 2008-07-16 Dan Williams <dcbw@redhat.com>
1384 Patch from Roy Marples <roy@marples.name>
1387 - Add --with-dhcp-client option
1389 * src/dhcp-manager/Makefile.am
1390 - pass DHCP_CLIENT_PATH on compile line
1392 * src/dhcp-manager/nm-dhcp-manager.c
1393 src/dhcp-manager/nm-dhcp-manager.h
1394 - Genericize for both dhcpcd and dhclient
1396 * src/dhcp-manager/nm-dhcp-dhclient.c
1397 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1399 * src/dhcp-manager/nm-dhcp-dhcpcd.c
1400 - Implement support for dhcpcd too
1402 2008-07-16 Tambet Ingo <tambet@gmail.com>
1404 * system-settings/src/nm-system-config-interface.c
1405 (nm_system_config_interface_supports_add): Implement.
1406 (nm_system_config_interface_add_connection): Return a boolean to notify
1409 * system-settings/src/nm-polkit-helpers.c:
1410 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1413 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1414 Return an error when none of the plugins support add or if addition
1415 failed for some reason.
1417 * system-settings/src/nm-system-config-error.h:
1418 * system-settings/src/nm-system-config-error.c: New files, mostly moved
1419 here from nm-polkit-helpers.[ch].
1421 * system-settings/src/Makefile.am: Build new files.
1423 * system-settings/plugins/keyfile/reader.c
1424 (read_array_of_array_of_uint): Make it more general so that it would
1425 work for routes as well.
1427 * system-settings/plugins/keyfile/writer.c
1428 (write_array_of_array_of_uint): Ditto.
1429 Fix the netmask/prefix writing.
1431 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
1432 boolean to notify errors.
1434 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
1435 Return more specific error.
1438 2008-07-11 Dan Williams <dcbw@redhat.com>
1440 Modify the NMDevice::state-changed signal to include the previous state
1441 and reason. Enables the applet to provide more information why device
1444 2008-07-09 Dan Williams <dcbw@redhat.com>
1446 * callouts/Makefile.am
1447 callouts/nm-avahi-autoipd-action.c
1448 callouts/nm-avahi-autoipd.conf
1449 - avahi-autoipd callout to send options back to NM
1456 src/nm-device-private.h
1458 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
1461 2008-07-07 Dan Williams <dcbw@redhat.com>
1463 * system-settings/plugins/ifcfg-fedora/reader.c
1464 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
1465 handle PREFIX too; clean up
1467 2008-07-07 Dan Williams <dcbw@redhat.com>
1469 Convert to using IPv4 prefixes instead of netmasks.
1471 2008-07-03 Dan Williams <dcbw@redhat.com>
1473 * libnm-util/nm-setting-ip4-config.c
1474 libnm-util/nm-setting-ip4-config.h
1475 - Add properties for DHCP Client Identifier and DHCP Hostname
1477 * src/dhcp-manager/nm-dhcp-manager.c
1478 src/dhcp-manager/nm-dhcp-manager.h
1479 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
1480 setting as an argument to pass on to the dhclient config file
1482 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
1484 - (dhclient_run): punt config file handling to create_dhclient_config()
1485 - (create_dhclient_config): create an interface-specific dhclient
1486 config file since there may need to be interface-specific options
1488 - (merge_dhclient_config): merge normal distro dhclient config file and
1489 add options from the connection
1490 - (nm_dhcp_device_new): generate the interface specific dhclient
1491 config file path once
1492 - (nm_dhcp_device_destroy): handle partially initialized objects; free
1493 dhclient config file path
1496 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
1497 DHCP manager when starting DHCP
1499 2008-07-02 Dan Williams <dcbw@redhat.com>
1501 * libnm-util/nm-setting-8021x.c
1502 - (verify): allow forcing the PEAP label to 0
1504 2008-07-02 Dan Williams <dcbw@redhat.com>
1506 * introspection/nm-active-connection.xml
1507 introspection/nm-vpn-connection.xml
1508 libnm-glib/nm-active-connection.c
1509 src/nm-activation-request.c
1510 src/nm-active-connection.h
1511 src/vpn-manager/nm-vpn-connection.c
1512 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
1513 and libnm-glib API since sharing didn't get implemented that way
1515 2008-07-02 Dan Williams <dcbw@redhat.com>
1517 * src/nm-device-wifi.c
1518 - (can_scan): don't scan when a shared connection is activated since
1519 that makes drivers mad (causing disconnects); also NM doesn't need
1520 to hedge against disconnects by keeping up-to-date network topology
1521 because the connection originates from the local machine, and thus
1522 there should be no disconnects
1524 2008-07-01 Dan Williams <dcbw@redhat.com>
1526 Fix mobile broadband username/password issues. NM was never requesting
1527 mobile broadband secrets, nor was it passing back the username and password
1530 * marshallers/nm-marshal.list
1531 - Add some new types for activation request objects
1533 * src/nm-activation-request.c
1534 src/nm-activation-request.h
1535 - (get_secrets_cb): pass the caller type in the signal
1536 - (nm_act_request_request_connection_secrets): take a caller type, so
1537 that GetSecrets() reply handlers know who asked for the secrets in
1538 the first place; use secret hints too so the settings service can
1539 figure out exactly what NM wants (ie, PIN or the PPP password)
1541 * src/ppp-manager/nm-ppp-manager.c
1542 src/ppp-manager/nm-ppp-manager.h
1543 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
1544 detect needed secrets when the secret could be blank, like GSM/CDMA
1545 passwords. So always ask for secrets, and send a hint as to what
1546 secret we really want.
1547 - (nm_ppp_manager_update_secrets): make function more generic by making
1548 the device specific class figure out the username and password, and
1549 accept an error argument to return back over D-Bus
1551 * src/nm-device-wifi.c
1552 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1553 nm_act_request_request_connection_secrets()
1554 - (real_connection_secrets_updated): update for 'caller' changes
1558 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
1559 for 'caller' changes
1561 * src/nm-device-ethernet.c
1562 - (real_connection_secrets_updated): update for 'caller' changes and
1563 move logic for getting PPPoE username and password here before
1564 calling nm_ppp_manager_update_secrets()
1565 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1566 nm_act_request_request_connection_secrets()
1568 * src/nm-cdma-device.c
1569 - (real_connection_secrets_updated): pass username and password back
1570 to the PPP manager when required
1572 * src/nm-gsm-device.c
1573 - (enter_pin): send the required secret name to the settings service
1574 - (real_connection_secrets_updated): pass username and password back
1575 to the PPP manager when required
1577 2008-06-30 Dan Williams <dcbw@redhat.com>
1579 * src/nm-device-wifi.c
1580 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
1582 2008-06-30 Dan Williams <dcbw@redhat.com>
1584 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
1585 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
1586 priv->supplicant.iface. When either condition is false, the device should
1587 transition back to UNAVAILABLE because it cannot be used.
1589 * src/nm-device-wifi.c
1590 - (constructor): cleanup; connect to supplicant manager here since the
1591 supplicant manager is always around
1592 - (supplicant_interface_acquire): rename from init_supplicant_interface,
1593 ensure the supplicant manager is in the IDLE state
1594 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
1595 cancel any pending scans too
1596 - (real_bring_up): don't set up the supplicnat interface here, because
1597 we need the supplicant interface at times when the device may not
1599 - (real_take_down): just remove the periodic source
1600 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
1601 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
1602 do anything if there's no supplicant interface
1603 - (cleanup_association_attempt): cleanup
1604 - (supplicant_iface_state_cb_handler): request an immediate scan when
1605 the interface enters the READY state; transition to UNAVAILABLE
1606 state when the interface goes down because the device can't be used
1607 without a supplicant interface
1608 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
1609 up and transition to UNAVAILABLE; if the supplicant becomes ready,
1610 acquire the supplicant interface and transition to DISCONNECTED
1611 if the radio isn't killed
1612 - (nm_device_wifi_dispose): move most of device_cleanup() here
1613 - (state_changed_cb): release any existing supplicant interface; if the
1614 radio is enabled then try to acquire a new supplicant interface;
1615 if the radio is enabled and a supplicant interface has been acquired,
1616 we can transition to DISCONNECTED
1617 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
1618 don't enable the radio, because HAL probably lied to us about the
1619 killswitch being off. If bringing the hardware up worked, then
1620 try to grab a supplicant interface, and if that was successful,
1621 transition to DISCONNECTED
1623 2008-06-30 Dan Williams <dcbw@redhat.com>
1625 * src/supplicant-manager/nm-supplicant-interface.c
1626 - (request_scan_results, nm_supplicant_interface_dispose,
1627 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
1628 the id of the timeout, not a GSource
1630 2008-06-30 Tambet Ingo <tambet@gmail.com>
1632 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
1633 bunch of typoes introduced by "Patch from David Cantrell
1634 <dcantrell@redhat.com> and me".
1636 2008-06-30 Tambet Ingo <tambet@gmail.com>
1638 * src/nm-serial-device.c:
1639 * src/nm-gsm-device.c:
1640 * src/nm-cdma-device.c: Move the pending call handling to a common location
1641 in serial device. Handle setting device state to failed in one place as well.
1643 2008-06-29 Dan Williams <dcbw@redhat.com>
1645 * src/nm-hal-manager.c
1646 - Rework killswitch handling to query killswitch status immediately
1647 when the first killswitch is added, so that rfkill state is
1648 known as early as possible
1649 - Also treat failure of GetPower() as rfkill when the dbus method
1650 call times out (but not when the HAL callout returns an error)
1652 2008-06-26 Dan Williams <dcbw@redhat.com>
1654 Patch from David Cantrell <dcantrell@redhat.com> and me
1656 * include/nm-dbus-glib-types.h
1657 - Add IP6 address types
1659 * libnm-util/Makefile.am
1660 libnm-util/nm-setting-ip6-config.c
1661 libnm-util/nm-setting-ip6-config.h
1662 - Add IP6 settings object
1664 * libnm-util/nm-connection.c
1665 - (register_default_settings): register ip6 settings object
1667 * libnm-util/nm-utils.c
1668 libnm-util/nm-utils.h
1669 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
1670 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
1671 ip6 address conversion functions
1673 2008-06-26 Dan Williams <dcbw@redhat.com>
1675 Patch from David Cantrell <dcantrell@redhat.com>
1677 * Use inet_ntop() and inet_pton() everwhere and check for errors
1679 2008-06-26 Dan Williams <dcbw@redhat.com>
1681 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
1683 2008-06-26 Dan Williams <dcbw@redhat.com>
1685 Patch from Adel Gadllah <adel.gadllah@gmail.com>
1687 * src/nm-device-wifi.c
1688 - (link_timeout_cb): don't ignore disconnects due to scanning
1689 - (supplicant_iface_connection_state_cb_handler): instead, schedule
1690 a longer timeout when scanning; avoids case where supplicant can't
1691 find the AP and just keeps scanning forever but isn't connected
1693 2008-06-26 Dan Williams <dcbw@redhat.com>
1695 Patch from Michael Biebl <biebl@debian.org>
1697 * Clean up build system stuff
1699 2008-06-23 Christian Persch <chpe@gnome.org>
1701 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
1702 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
1703 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
1705 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
1707 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
1708 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
1709 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
1711 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
1712 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
1713 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
1714 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
1715 * vpn-daemons/pptp/properties/vpnui_opt.c:
1716 (vpnui_opt_connect_signals):
1717 * vpn-daemons/pptp/properties/vpnui_opt.h:
1718 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
1719 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
1720 deprecated gtk type macros. Bug #539325.
1722 2008-06-20 Dan Williams <dcbw@redhat.com>
1724 * libnm-glib/nm-vpn-plugin-ui-interface.c
1725 libnm-glib/nm-vpn-plugin-ui-interface.h
1726 - 'validity-changed' -> 'changed' to work better with the connection
1727 editor. Plugin UI widgets should emit 'changed' whenever their
1728 UI values change in a meaningful way.
1729 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
1730 update_connection member now returns validity of the UI widget
1732 2008-06-20 Tambet Ingo <tambet@gmail.com>
1734 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
1736 2008-06-17 Dan Williams <dcbw@redhat.com>
1738 * libnm-glib/nm-vpn-plugin-ui-interface.c
1739 libnm-glib/nm-vpn-plugin-ui-interface.h
1740 - Add "desc" property for longer descriptions of the VPN plugin
1742 2008-06-16 Dan Williams <dcbw@redhat.com>
1745 libnm-glib/libnm_glib_vpn.pc.in
1746 - add a .pc file for libnm_glib_vpn
1748 * libnm-glib/nm-vpn-plugin-ui-interface.c
1749 libnm-glib/nm-vpn-plugin-ui-interface.h
1750 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
1751 rework it substantially
1753 2008-06-12 Dan Williams <dcbw@redhat.com>
1755 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
1756 and add error enums to each NMSetting subclass. Each NMSetting subclass now
1757 returns a descriptive GError when verification fails.
1759 2008-06-11 Dan Williams <dcbw@redhat.com>
1761 Patch from Tambet Ingo <tambet@gmail.com>
1763 * libnm-util/nm-setting-gsm.c
1764 - (verify): validate APN
1766 * src/nm-gsm-device.c
1767 - (manual_registration_done): start setting APN if needed
1768 - (set_apn, set_apn_done): set the APN
1769 - (do_dial): use the APN when dialing
1771 2008-06-11 Dan Williams <dcbw@redhat.com>
1773 * src/NetworkManagerSystem.c
1774 - (nm_system_device_set_ip4_route,
1775 nm_system_device_replace_default_ip4_route): check for the right
1776 return value from rtnl_route_add() to know when to add a gateway
1779 2008-06-11 Dan Williams <dcbw@redhat.com>
1781 * src/NetworkManagerPolicy.c
1782 - do_ipt_cmd -> do_cmd
1783 - (sharing_init): use do_cmd() instead of system()
1785 2008-06-10 Dan Williams <dcbw@redhat.com>
1787 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
1788 and use "wifi" everwhere instead.
1790 2008-06-10 Dan Williams <dcbw@redhat.com>
1792 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
1794 2008-06-10 Dan Williams <dcbw@redhat.com>
1796 Patch from Tambet Ingo <tambet@gmail.com>
1798 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
1801 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
1802 a signal to emit these changes over dbus.
1804 * src/Makefile.am: Genereate nm-serial-device-glue.
1806 * libnm-glib/nm-serial-device.[ch]: Implement.
1808 * libnm-glib/nm-cdma-device.[ch]
1809 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
1811 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
1813 * introspection/nm-device-serial.xml: Implement.
1815 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
1817 * introspection/Makefile.am: Add nm-device-serial.xml.
1819 * include/NetworkManager.h: Add a DBus interface for serial device.
1821 2008-06-10 Dan Williams <dcbw@redhat.com>
1824 - Add TARGET_* define to config.h to distinguish distros
1826 * src/dhcp-manager/nm-dhcp-manager.c
1827 - (dhclient_run): use distro-specific path for dhclient config file
1829 2008-06-09 Dan Williams <dcbw@redhat.com>
1831 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1832 src/dnsmasq-manager/nm-dnsmasq-manager.h
1833 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
1834 calculate the addresses passed to dnsmasq instead of hard-coding
1838 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
1839 IP addresses for shared connections to guard against shared
1840 connection address collisions
1841 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
1843 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
1846 2008-06-09 Dan Williams <dcbw@redhat.com>
1848 * src/NetworkManagerPolicy.c
1849 - (update_routing_and_dns): set the default connection _after_ unsetting
1850 default on all non-default connections so that two connections can
1851 never be default at the same time
1852 - (device_state_changed): start and stop connection sharing when
1854 - (active_connection_default_changed): restart or stop sharing when
1855 the default connection changes to keep shared connections always
1856 NAT-ed through the default connection
1857 - (check_sharing): handle activation/deactivation of shared connections
1858 - (sharing_restart): atom-bomb approach to connection sharing until we
1859 can use libnl; reinit all sharing when the default connection or
1860 shared connections change
1861 - (sharing_init, sharing_stop): evil functions that init and deinit
1864 2008-06-09 Dan Williams <dcbw@redhat.com>
1866 * src/nm-activation-request.c
1867 src/nm-activation-request.h
1868 - (nm_act_request_set_shared, nm_act_request_get_shared,
1869 nm_act_request_get_device): new functions to facilitate connection
1872 2008-06-09 Dan Williams <dcbw@redhat.com>
1875 - (clear_act_request): unset the 'default' property of the activation
1876 request when clearing it to ensure the property changed signal gets
1877 delivered and handled
1879 2008-06-09 Dan Williams <dcbw@redhat.com>
1881 * libnm-glib/nm-device-802-11-wireless.c
1882 - (access_point_removed_proxy): actually unref the AP after removing
1883 it from the device's AP list. Fixes refcounting bug for APs that
1884 caused them to get mixed up in the applet's menu.
1886 2008-06-09 Tambet Ingo <tambet@gmail.com>
1888 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
1889 (nm_dhcp_device_destroy): Destroy the device options hash table.
1891 2008-06-06 Dan Williams <dcbw@redhat.com>
1893 * system-settings/src/nm-polkit-helpers.c
1894 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
1895 unref the context if the initialization fails; also avoid spew when
1898 2008-06-06 Dan Williams <dcbw@redhat.com>
1900 Patch from Tambet Ingo <tambet@gmail.com>
1902 * src/NetworkManagerSystem.c
1903 src/NetworkManagerSystem.h
1904 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
1905 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
1906 - (nm_system_device_set_ip4_route): clean up
1907 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
1910 - (nm_device_set_ip4_config): remove unused route_to_iface bits
1912 * src/vpn-manager/nm-vpn-connection.c
1913 - (ip_address_to_string): new function
1914 - (print_vpn_config): use ip_address_to_string
1915 - (merge_vpn_routes): add user-defined routes to the ip4 config
1916 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
1918 * include/NetworkManagerVPN.h
1921 2008-06-05 Dan Williams <dcbw@redhat.com>
1923 Patch from Markus Becker <mab@comnets.uni-bremen.de>
1926 - Show which device is the default device
1928 2008-06-05 Tambet Ingo <tambet@gmail.com>
1932 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
1933 Free data returned from dbus method call.
1935 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
1936 dbus_g_method_get_sender() returns a duplicated string, free it
1938 (check_polkit_privileges): Looks like policykit sometimes returns
1939 error and non-null return value, don't leak errors in that case.
1941 * system-settings/src/main.c (find_plugin): Don't leak existing
1943 (load_stuff): Don't leak device list and list items.
1944 (have_connection_for_device): Don't leak connection list.
1946 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
1947 Free the data received from g_keyfile_get_*.
1949 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
1950 the key when the security object is updated.
1952 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
1953 Free data returned from dbus method call.
1954 (iface_state_cb): Ditto.
1955 (add_network_cb): Ditto.
1956 (nm_supplicant_interface_add_cb): Don't make another copy of already
1957 duplicated object path.
1958 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
1961 * src/supplicant-manager/nm-supplicant-config.c
1962 (ADD_STRING_LIST_VAL): Fix a memory leak.
1964 * src/nm-manager.c (free_get_settings_info): Free the allocated
1966 (list_connections_cb): Free data returned from dbus method call.
1967 (system_settings_get_unmanaged_devices_cb): Ditto.
1969 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
1971 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
1972 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
1973 * src/backends/shvar.c (svCloseFile): Free the duplicated content
1976 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
1977 arguments after the object is created.
1979 2008-06-04 Dan Williams <dcbw@redhat.com>
1981 * libnm-util/Makefile.am
1982 - Don't distribute nm-param-spec-specialized.h
1984 2008-06-02 Tambet Ingo <tambet@gmail.com>
1986 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
1988 * src/nm-ip4-config.[ch]: Store the static routes as a list of
1989 NMIP4Address, update the getters and setters.
1991 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
1992 Use the updated NMIP4Config routes api.
1994 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
1995 static routes as well.
1997 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
1998 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2001 2008-05-30 Dan Williams <dcbw@redhat.com>
2003 * src/named-manager/nm-named-manager.c
2004 src/named-manager/nm-named-manager.h
2005 - Remove stale/obsolete bits for controlling bind over DBus
2007 2008-05-29 Dan Williams <dcbw@redhat.com>
2009 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2010 src/dnsmasq-manager/nm-dnsmasq-manager.h
2011 - (nm_dnsmasq_manager_new): move iface argument here
2012 - (constructor): remove, not needed
2013 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2014 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2017 - (real_act_stage4_get_ip4_config,
2018 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2021 2008-05-29 Dan Williams <dcbw@redhat.com>
2024 - (dnsmasq_state_changed_cb): new function; fail the connection if
2025 something happens to dnsmasq
2026 - (nm_device_new_ip4_shared_config): new function; create a new
2027 ip4-config for shared connections. Shared connections always use a
2028 fixed static IP address.
2029 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2030 autoip connections by actually using the returned ip4-config and
2032 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2034 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2037 2008-05-29 Dan Williams <dcbw@redhat.com>
2039 * src/nm-device-802-11-wireless.c
2040 - (real_get_best_auto_connection): auto-activate 'shared' method
2043 2008-05-29 Dan Williams <dcbw@redhat.com>
2045 * libnm-util/nm-setting-ip4-config.c
2046 libnm-util/nm-setting-ip4-config.h
2047 - Add a 'shared' method to indicate that this connection should be
2048 brought up with a DHCP and proxy DNS server to facilitate
2050 - (verify): 'shared' method doesn't allow DNS or searches either
2052 2008-05-29 Dan Williams <dcbw@redhat.com>
2056 src/dnsmasq-manager/Makefile.am
2057 src/dnsmasq-manager/nm-dnsmasq-manager.c
2058 src/dnsmasq-manager/nm-dnsmasq-manager.h
2059 - Add a dnsmasq daemon manager to facilitate connection sharing
2061 2008-05-29 Dan Williams <dcbw@redhat.com>
2063 * src/nm-device-private.h
2064 - Remove unused prototypes and clean up
2067 - Remove anything related to system_config_data, which is no longer used
2068 - (nm_device_new_ip4_autoip_config): make static
2070 2008-05-29 Tambet Ingo <tambet@gmail.com>
2072 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2073 (file_changed): Fix a bug where suse system settings plugin didn't
2074 update the connections automatically when the files changed.
2076 2008-05-28 Dan Williams <dcbw@redhat.com>
2078 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2080 2008-05-28 Dan Williams <dcbw@redhat.com>
2082 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2084 * src/NetworkManagerSystem.c
2085 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2086 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2087 was causing -EINVAL errors since the libnl code actually does flush
2088 the routes on VPN interfaces now
2090 * src/backends/NetworkManagerArch.c
2091 src/backends/NetworkManagerDebian.c
2092 src/backends/NetworkManagerFrugalware.c
2093 src/backends/NetworkManagerGeneric.c
2094 src/backends/NetworkManagerGentoo.c
2095 src/backends/NetworkManagerMandriva.c
2096 src/backends/NetworkManagerPaldo.c
2097 src/backends/NetworkManagerRedHat.c
2098 src/backends/NetworkManagerSlackware.c
2099 src/backends/NetworkManagerSuSE.c
2100 - (nm_system_device_flush_ip4_routes,
2101 nm_system_device_flush_ip4_routes_with_iface): remove
2103 2008-05-28 Dan Williams <dcbw@redhat.com>
2105 * libnm-util/nm-setting-wireless.c
2106 libnm-util/nm-setting-wireless.h
2107 - (set_property, get_property, nm_setting_wireless_class_init): add the
2108 'adhoc-create' property, which when TRUE indicates that NM should
2109 create this connection as an adhoc wifi network if it's not found
2110 as an adhoc network during scanning. Can be used to auto-create
2111 adhoc networks when used in combination with autoconnect.
2113 2008-05-28 Tambet Ingo <tambet@gmail.com>
2115 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2117 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2118 checked, it doesn't work on some devices.
2120 2008-05-28 Tambet Ingo <tambet@gmail.com>
2122 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
2123 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2125 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2126 Use inet_aton() everywhere to improve error detection.
2127 Don't fall back to 'dhcp_server_identifier' if the gateway is not
2130 2008-05-26 Tambet Ingo <tambet@gmail.com>
2132 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2135 2008-05-26 Tambet Ingo <tambet@gmail.com>
2137 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2138 reference counting issue.
2140 2008-05-23 Dan Williams <dcbw@redhat.com>
2142 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2144 * src/backends/NetworkManagerGeneric.c
2145 - (nm_generic_enable_loopback): use libnl
2147 2008-05-23 Dan Williams <dcbw@redhat.com>
2149 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2151 * src/NetworkManagerSystem.h
2152 src/backends/NetworkManagerArch.c
2153 src/backends/NetworkManagerDebian.c
2154 src/backends/NetworkManagerFrugalware.c
2155 src/backends/NetworkManagerGentoo.c
2156 src/backends/NetworkManagerMandriva.c
2157 src/backends/NetworkManagerPaldo.c
2158 src/backends/NetworkManagerRedHat.c
2159 src/backends/NetworkManagerSlackware.c
2160 src/backends/NetworkManagerSuSE.c
2161 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2162 nm_system_flush_arp_cache): remove, unused
2164 * src/backends/NetworkManagerGeneric.c
2165 src/backends/NetworkManagerGeneric.h
2166 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2167 nm_generic_flush_arp_cache): remove, unused
2169 2008-05-23 Dan Williams <dcbw@redhat.com>
2171 * system-settings/plugins/ifcfg-fedora/reader.c
2172 - (make_ip4_setting): honor PEERDNS setting
2174 2008-05-23 Dan Williams <dcbw@redhat.com>
2176 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2178 * src/NetworkManagerSystem.c
2179 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2182 * src/backends/NetworkManagerArch.c
2183 src/backends/NetworkManagerDebian.c
2184 src/backends/NetworkManagerFrugalware.c
2185 src/backends/NetworkManagerGentoo.c
2186 src/backends/NetworkManagerMandriva.c
2187 src/backends/NetworkManagerPaldo.c
2188 src/backends/NetworkManagerRedHat.c
2189 src/backends/NetworkManagerSlackware.c
2190 src/backends/NetworkManagerSuSE.c
2191 - (nm_system_device_flush_ip4_addresses,
2192 nm_system_device_flush_ip4_addresses_with_iface): remove
2194 * src/backends/NetworkManagerGeneric.c
2195 - (nm_generic_device_flush_ip4_addresses,
2196 nm_generic_device_flush_ip4_addresses_with_iface): remove
2198 2008-05-23 Dan Williams <dcbw@redhat.com>
2200 * src/supplicant-manager/nm-supplicant-settings-verify.c
2201 - Switch 'bssid' from bytes to keyword type
2202 - (validate_type_keyword): allow NULL keyword lists
2204 * src/supplicant-manager/nm-supplicant-config.c
2205 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2206 a byte array to string form, which is what the supplicant expects
2208 2008-05-23 Tambet Ingo <tambet@gmail.com>
2210 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2211 information received from DHCP.
2213 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2214 to make it possible to ignore the DNS information (both servers and
2215 searches) returned by DHCP server.
2217 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2218 name servers and searches if "ignore_dhcp_dns" is set.
2220 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2221 (nm_ip4_config_reset_searches): Implement.
2223 2008-05-22 Dan Williams <dcbw@redhat.com>
2225 Remove anything mDNS related. This is better done from a distro-specific
2226 dispatcher script. Plus, any distro using avahi doesn't need to restart
2227 avahi, since avahi can handle interface changes just fine using netlink.
2230 - Remove --with-mdns-provider
2232 * src/NetworkManagerPolicy.c
2233 - (global_state_changed): don't restart the mdns provider
2235 * src/NetworkManagerSystem.h
2236 src/backends/NetworkManagerArch.c
2237 src/backends/NetworkManagerDebian.c
2238 src/backends/NetworkManagerFrugalware.c
2239 src/backends/NetworkManagerGentoo.c
2240 src/backends/NetworkManagerMandriva.c
2241 src/backends/NetworkManagerPaldo.c
2242 src/backends/NetworkManagerRedHat.c
2243 src/backends/NetworkManagerSlackware.c
2244 src/backends/NetworkManagerSuSE.c
2245 - (nm_system_restart_mdns_responder): remove
2247 * src/backends/NetworkManagerGeneric.c
2248 src/backends/NetworkManagerGeneric.h
2249 - (nm_generic_restart_mdns_responder): remove
2251 2008-05-22 Dan Williams <dcbw@redhat.com>
2254 - clean up crypto options; just use --with-crypto=nss or
2255 --with-crypto=gnutls
2257 2008-05-22 Tambet Ingo <tambet@gmail.com>
2259 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2260 anymore, do it right away.
2262 2008-05-22 Tambet Ingo <tambet@gmail.com>
2264 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2265 serial device open when we're not connecting or connected.
2267 * src/nm-cdma-device.c (device_state_changed): Ditto.
2269 2008-05-22 Tambet Ingo <tambet@gmail.com>
2271 Don't remove all devices on waking up, sync with HAL.
2273 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2274 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2275 (hal_manager_hal_reappeared_cb): Just call sync_devices.
2277 2008-05-21 Tambet Ingo <tambet@gmail.com>
2279 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2280 If the default gateway is unreachable, add a route to gateway and try
2283 2008-05-20 Dan Williams <dcbw@redhat.com>
2285 * system-settings/plugins/ifcfg-fedora/reader.c
2286 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2288 2008-05-19 Dan Williams <dcbw@redhat.com>
2290 * system-settings/plugins/ifcfg-fedora/reader.c
2291 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2292 if the ifcfg doesn't specify one (rh #446527)
2294 2008-05-19 Dan Williams <dcbw@redhat.com>
2296 Make the system settings service exit when the bus goes away. Since it's
2297 a bus-activated service, it's lifetime is limited to the bus that activated
2300 * system-settings/src/Makefile.am
2301 system-settings/src/nm-system-config-hal-manager-private.h
2302 - Remove nm-system-config-hal-manager-private.h
2304 * system-settings/src/nm-system-config-hal-manager.c
2305 - (nm_system_config_hal_manager_reinit_dbus,
2306 nm_system_config_hal_manager_deinit_dbus): remove
2308 * system-settings/src/main.c
2309 - (dbus_reconnect): remove
2310 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2311 - (destroy_cb): just quit when the bus goes away
2312 - (start_dbus_service, dbus_init): simplify
2313 - (main): destroy the wired devices hash table after destroying
2314 the HAL manager so we don't have to disconnect signals from the
2317 2008-05-15 Tambet Ingo <tambet@gmail.com>
2319 Move crypto functions from nm-applet to libnm-util.
2321 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2322 (nm_setting_802_1x_set_client_cert)
2323 (nm_setting_802_1x_set_phase2_ca_cert)
2324 (nm_setting_802_1x_set_phase2_client_cert)
2325 (nm_setting_802_1x_set_private_key)
2326 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2327 file (or private key and it's password), read the certificate data.
2329 * libnm-util/crypto_nss.c:
2330 * libnm-util/crypto_gnutls.c:
2331 * libnm-util/crypto.[ch]: Move here from nm-applet.
2333 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2335 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2336 Imlement WPA-EAP configuration reading from sysconfig.
2338 2008-05-16 Dan Williams <dcbw@redhat.com>
2340 * src/nm-device-802-11-wireless.c
2341 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2344 2008-05-14 Dan Williams <dcbw@redhat.com>
2346 Fix Linus' bug in rh #134886
2348 * src/nm-device-802-3-ethernet.c
2349 - (constructor): request initial carrier state
2351 * src/nm-netlink-monitor.c
2352 - (nm_netlink_monitor_request_status): schedule emission of carrier
2353 signals after refilling the link cache. Because the refill is a
2354 synchronous operation, the normal message hander won't get called
2355 since libnl has already consumed the messages.
2356 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2358 2008-05-14 Dan Williams <dcbw@redhat.com>
2360 * src/NetworkManagerSystem.c
2361 - (nm_system_device_is_up_with_iface): clean up
2363 2008-05-13 Dan Williams <dcbw@redhat.com>
2365 Fix refcounting issues over sleep/wake when a VPN connection was active that
2366 caused NM to try registering an object path for a device upon wake that was
2367 the same as an already registered object path.
2370 - (nm_device_take_down): properly handle cases where the device is
2371 no longer active but was just active, and therefore must be
2372 deactivated. When a device moves to unmanaged mode, this function
2373 previously would not deactivate the device, because the state was
2374 already unmanaged by the time this function was called.
2376 * src/vpn-manager/nm-vpn-connection.c
2377 - (device_state_changed): properly handle multiple devices states in
2378 which the device is now deactivated. Code previously didn't handle
2379 transitions to the UNAVAILABLE (like rfkill or carrier off) and
2382 2008-05-13 Dan Williams <dcbw@redhat.com>
2384 * src/nm-device-private.h
2386 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2388 * src/nm-device-802-11-wireless.c
2389 - (nm_device_802_11_wireless_set_enabled): take devices up
2390 and down as appropriate for the rfkill state
2392 2008-05-13 Dan Williams <dcbw@redhat.com>
2394 * marshallers/nm-marshal.list
2395 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2397 * system-settings/plugins/ifcfg-fedora/Makefile.am
2398 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2399 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2400 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2401 events. Solely for use watching ifcfg files to pick up changes
2402 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2404 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2405 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2406 file contents change
2407 - (finalize): clean up inotify watches
2408 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2409 and the connection ifcfg for changes on their hardlinks
2410 - (files_changed_cb): proxy the changed signal back out to listeners
2412 * system-settings/plugins/ifcfg-fedora/plugin.c
2414 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2416 - (read_one_connection): connect to change signals on the new connection
2417 - (dir_changed, connection_changed_handler,
2418 handle_connection_remove_or_new): break out connection change
2419 handling and connection new/remove handling so it can be used from
2420 both the GFileMonitor callback and the NMIfcfgConnection changed
2423 * system-settings/plugins/ifcfg-fedora/reader.c
2424 system-settings/plugins/ifcfg-fedora/reader.h
2425 - (connection_from_file): return the keyfile path the connection would use
2427 2008-05-13 Tambet Ingo <tambet@gmail.com>
2429 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
2430 single PolKitContext which is shared by all. PolKitContext::unref leaks
2431 just about everything, including all open file descriptiors and results
2432 in 99% cpu usage when data arrives to any of the fds that don't belong
2433 to any context anymore.
2435 2008-05-12 Dan Williams <dcbw@redhat.com>
2437 * gfilemonitor/glocaldirectorymonitor.c
2438 gfilemonitor/glocaldirectorymonitor.h
2439 - (g_local_directory_monitor_constructor): actually subscribe to the
2441 - (_g_local_directory_monitor_new): ensure that inotify is started up
2443 * gfilemonitor/glocalfilemonitor.c
2444 gfilemonitor/glocalfilemonitor.h
2445 - (g_local_file_monitor_constructor): actually subscribe to the watch
2446 - (_g_local_file_monitor_new): ensure that inotify is started up
2448 2008-05-11 Dan Williams <dcbw@redhat.com>
2451 - record PolicyKit version
2453 * system-settings/src/nm-polkit-helpers.c
2454 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
2455 with PolicyKit <= 0.6
2457 2008-05-11 Dan Williams <dcbw@redhat.com>
2459 Update Fedora system-settings plugin to support latest API and use
2460 GFileMonitor rather than home-rolled inotify code.
2462 * system-settings/plugins/ifcfg-fedora/Makefile.am
2463 system-settings/plugins/ifcfg-fedora/common.h
2464 system-settings/plugins/ifcfg-fedora/plugin.c
2465 - Update to latest system settings plugin API; use GIO instead of
2466 custom inotify code; use NMIfcfgConnection objects instead of
2467 ConnectionData structures tacked onto NMConnection objects
2469 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2470 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
2471 - Implement an NMExportedConnection subclass mapping ifcfg files to
2474 * system-settings/plugins/ifcfg-fedora/reader.c
2475 system-settings/plugins/ifcfg-fedora/reader.h
2476 - Move ifcfg parsing bits here from parser.c
2478 * system-settings/plugins/ifcfg-fedora/parser.c
2479 system-settings/plugins/ifcfg-fedora/parser.h
2480 - Remove; most code moved to reader.c
2482 2008-05-11 Dan Williams <dcbw@redhat.com>
2487 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
2488 implementation, so that the same change monitoring code can be used
2489 on systems without glib-2.14 (like Fedora 8)
2491 * system-settings/plugins/keyfile/Makefile.am
2492 system-settings/plugins/keyfile/plugin.c
2493 system-settings/plugins/ifcfg-suse/Makefile.am
2494 system-settings/plugins/ifcfg-suse/plugin.c
2495 - Use private gfilemonitor code if GIO is not present
2497 2008-05-09 Tambet Ingo <tambet@gmail.com>
2499 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
2500 NMExportedConnection's 'update' and 'delete' and return error with
2501 descriptive message.
2503 2008-05-08 Dan Williams <dcbw@redhat.com>
2505 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2507 * src/nm-gsm-device.c
2508 src/nm-cdma-device.c
2509 - (real_get_best_auto_connection): implement; allow autoconnection
2510 to GSM & CDMA devices
2512 2008-05-08 Tambet Ingo <tambet@gmail.com>
2514 Use PolicyKit to authorize the system settings' AddConnection method
2515 and the system settings connections' Update and Delete methods.
2517 * libnm-glib/nm-settings.c (impl_exported_connection_update)
2518 (impl_exported_connection_delete, nm_exported_connection_update)
2519 (nm_exported_connection_delete): Return boolean and fill GError
2520 to notify the callers of the reasons why it might have failed.
2522 * libnm-glib/nm-dbus-settings-system.c
2523 (nm_dbus_settings_system_add_connection): Return the error from dbus
2524 call so that the callers can see why it failed.
2526 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
2529 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
2531 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
2532 abstract base class that checks PolicyKit permissions.
2534 * system-settings/src/dbus-settings.c:
2535 (impl_settings_add_connection): Check the policy before carring out
2538 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
2539 Inherit from NMSysconfigConnection, check the policies before
2540 allowing updating or removing.
2542 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
2543 Inherit from NMSysconfigConnection.
2545 * introspection/nm-exported-connection.xml: Annotate "Update" and
2546 "Delete" methods with async flag so that the implementations can get
2547 access to DBusGMethodInvocation.
2549 * system-settings/src/dbus-settings.c
2550 (settings_add_connection_check_privileges): Implement.
2551 (impl_settings_add_connection): Check the privileges before adding a new
2552 connection. Improve error reporting.
2554 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
2555 async so that the implementation can access DBusGMethodInvocation.
2557 * configure.in: Check for PolicyKit.
2559 * policy/org.freedesktop.network-manager-settings.system.policy:
2562 * policy/Makefile.am: Install the policy file.
2564 * configure.in: Add 'policy' subdir.
2566 2008-05-08 Tambet Ingo <tambet@gmail.com>
2568 Rewrite the suse system settings plugin.
2570 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
2572 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
2574 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
2576 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
2578 * system-settings/src/dbus-settings.c: Fix connection reference counting.
2580 * system-settings/src/main.c (load_plugins): Improve error reporting.
2582 * system-settings/src/sha1.[ch] Add.
2584 * system-settings/src/Makefile.am: Add sha1[ch] to build.
2586 2008-05-07 Dan Williams <dcbw@redhat.com>
2588 * system-settings/plugins/keyfile/reader.c
2589 - (read_one_setting_value): handle IP address items separately
2590 - (read_array_of_uint): read IPv4 DNS option as a string array
2591 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
2594 * system-settings/plugins/keyfile/writer.c
2595 - (write_setting_value): handle IP address items separately
2596 - (write_array_of_uint): handle IPv4 DNS option as a string array,
2597 not an array of uint, so that it's user-editable
2598 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
2599 arrays, so they are user-editable
2601 2008-05-07 Dan Williams <dcbw@redhat.com>
2603 * system-settings/plugins/keyfile/Makefile.am
2604 - Change location of the keyfile plugin settings to
2605 /etc/NetworkManager/system-connections
2607 2008-05-05 Tambet Ingo <tambet@gmail.com>
2609 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
2611 * system-settings/plugins/keyfile/plugin.c: Work with
2612 NMKeyfileConnections.
2614 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
2615 Plugins are supposed to return NMExportedConnections now and handle the
2616 updated(), removed(), and GetSecrets().
2617 Store the internal list of connections in hash table to make it easier
2620 2008-05-07 Tambet Ingo <tambet@gmail.com>
2622 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
2623 for multiple IP addresses.
2625 2008-05-07 Tambet Ingo <tambet@gmail.com>
2627 Patch from André Lemos.
2629 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
2632 2008-05-06 Dan Williams <dcbw@redhat.com>
2634 * src/dhcp-manager/nm-dhcp-manager.c
2635 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
2636 NMIP4Config to support multiple IP addresses
2638 * src/NetworkManagerUtils.c
2639 - (nm_utils_merge_ip4_config): update for multiple IP addresses
2641 * src/nm-ip4-config.c
2643 - Store a list of IPv4 address/netmask/gateway tuples
2644 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
2645 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
2646 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
2647 nm_ip4_config_set_address): remove
2648 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
2649 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
2650 new functions; handle multiple IPv4 addresses
2653 src/ppp-manager/nm-ppp-manager.c
2654 src/vpn-manager/nm-vpn-connection.c
2655 src/NetworkManagerPolicy.c
2657 libnm-glib/libnm-glib-test.c
2658 - update for changes to NMIP4Config for multiple IPv4 addresses
2660 * src/NetworkManagerSystem.c
2661 - (nm_system_device_set_ip4_route): don't add the route if any address
2662 is on the same subnet as the destination
2663 - (check_one_address): ignore the exact match, just match family and
2665 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
2667 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
2668 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
2670 * introspection/nm-ip4-config.xml
2671 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
2672 - Add 'addresses' property which is an array of (uuu) tuples of
2673 address/netmask/gateway
2675 * libnm-util/nm-setting-ip4-config.c
2676 - (set_property): use ip-address <-> GValue converters from nm-utils.c
2678 * libnm-glib/nm-ip4-config.c
2679 libnm-glib/nm-ip4-config.h
2680 - Handle D-Bus interface changes to support multiple IP addresses
2682 2008-05-06 Dan Williams <dcbw@redhat.com>
2684 * libnm-util/nm-utils.c
2685 libnm-util/nm-utils.h
2686 - (nm_utils_ip4_addresses_from_gvalue,
2687 nm_utils_ip4_addresses_to_gvalue): new functions
2689 2008-05-06 Tambet Ingo <tambet@gmail.com>
2691 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
2692 the returned connection paths.
2694 2008-05-05 Tambet Ingo <tambet@gmail.com>
2696 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
2697 "PropertiesChanged" signal signature.
2699 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
2700 defined in nm-dbus-glib-types.h.
2701 Don't register the connection on dbus, we're a proxy class to
2702 communicate with an already registered connection over dbus.
2704 2008-04-30 Tambet Ingo <tambet@gmail.com>
2706 Implement new subclasses of NMSettings and NMExportedConnection to make
2707 it easier for the applet to access and modify system settings.
2709 * libnm-glib/nm-dbus-connection.[ch]:
2710 * libnm-glib/nm-dbus-settings.[ch]:
2711 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
2713 * libnm-glib/Makefile.am: Add the new files to build, generate some more
2716 * include/NetworkManager.h: Define the system settings DBus interface.
2718 2008-04-30 Tambet Ingo <tambet@gmail.com>
2720 Implement additional C API for exported connections to make them identical
2721 with the DBus API. Change the (list_connections) virtual function to be
2722 more usable from C - instead of requiring implementers to return a GPtrArray
2723 of dbus paths, return a list of connections.
2725 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
2726 (nm_settings_list_connections):
2727 (nm_exported_connection_new):
2728 (nm_exported_connection_update):
2729 (nm_exported_connection_delete): Implement.
2731 (impl_settings_list_connections):
2732 (impl_exported_connection_update):
2733 (impl_exported_connection_delete): Use the new public functions to make
2734 sure the C and dbus interfaces stay in sync.
2736 * system-settings/src/dbus-settings.c (list_connections): Return a list of
2739 2008-05-02 Dan Williams <dcbw@redhat.com>
2741 * system-settings/plugins/ifcfg-fedora/plugin.c
2742 - (dispose): use right unref call on the DBusGConnection
2744 2008-05-02 Dan Williams <dcbw@redhat.com>
2746 * src/nm-serial-device.c
2747 - (find_terminator): don't compare the whole line, just the size of the
2748 terminator, since some modems put stuff after the terminator, like
2751 2008-05-01 Dan Williams <dcbw@redhat.com>
2753 Patch from Michael Biebl <biebl@debian.org>
2755 * callouts/Makefile.am
2756 callouts/org.freedesktop.nm_dispatcher.service.in
2757 system-settings/src/Makefile.am
2758 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
2759 - use the right install location for dbus-activated stuff
2761 2008-04-30 Dan Williams <dcbw@redhat.com>
2763 * src/nm-gsm-device.c
2764 - (enter_pin): fix setting name passed to applets when asking for a GSM
2767 2008-04-30 Dan Williams <dcbw@redhat.com>
2770 - (nm_manager_error_get_type): remove erroneous NULL enum from table
2772 2008-04-30 Dan Williams <dcbw@redhat.com>
2774 * src/nm-device-802-3-ethernet.c
2775 src/nm-device-802-11-wireless.c
2776 - (real_is_up): return true instead of chaining up to unimplemented
2779 2008-04-30 Dan Williams <dcbw@redhat.com>
2781 * src/NetworkManagerSystem.c
2782 src/NetworkManagerSystem.h
2783 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
2784 functions to check device flags for IFF_UP
2786 * src/nm-serial-device.c
2787 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
2790 * src/nm-device-802-3-ethernet.c
2791 src/nm-device-802-11-wireless.c
2792 - (real_hw_is_up): call nm_system_device_is_up()
2795 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
2796 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
2799 2008-04-29 Dan Williams <dcbw@redhat.com>
2801 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
2803 * marshallers/nm-marshal.list
2806 * src/NetworkManager.c
2807 - (main): let the NMManager handle the NMHalManager
2809 * src/nm-hal-manager.c
2810 src/nm-hal-manager.h
2811 - convert to a GObject, and emit singals when stuff changes. Let the
2812 NMManager handle the signals, instead of the NMHalManager calling
2817 - (remove_one_device): consolidate device removals here
2818 - (dispose): use remove_one_device()
2819 - (nm_manager_get_device_by_udi): make static
2820 - (deferred_hal_manager_query_devices): idle handler to query the HAL
2821 manager for devices at startup or wakeup time
2822 - (nm_manager_new): create and monitor the HAL manager
2823 - (hal_manager_udi_added_cb): new function; do what
2824 nm_manager_add_device() used to do when signalled by the hal manager
2825 - (hal_manager_udi_removed_cb): new function; do what
2826 nm_manager_remove_device() used to do when signalled by the hal
2828 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
2830 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
2831 in our device list that aren't known to HAL
2832 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
2833 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
2835 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
2836 nm_manager_activation_pending, nm_manager_wireless_enabled,
2837 nm_manager_wireless_hardware_enabled,
2838 nm_manager_set_wireless_hardware_enabled): remove, unused
2840 2008-04-28 Dan Williams <dcbw@redhat.com>
2842 Fix the device up/down ambiguities. Up/down state used to be a
2843 conglomeration of hardware state (IFF_UP) and any device-specific things
2844 (supplicant, periodic timers, etc) that the device used to indicate
2845 readiness. Unfortunately, if the hardware was already IFF_UP for some
2846 reason, then the device specific stuff wouldn't get run, and the device
2851 - Create hw_is_up, hw_bring_up, and hw_take_down
2852 - Rename bring_down -> take_down
2853 - (real_hw_is_up): check interface flags for IFF_UP
2854 - (nm_device_hw_is_up): let subclasses figure out their own HW state
2855 - (nm_device_is_up): make static; only used locally
2856 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
2857 if the device is already up; if the device isn't up, bring it up
2858 - (nm_device_hw_take_down): just take down hardware
2859 - (nm_device_bring_up): bring up HW first, then device specific stuff
2860 - (nm_device_take_down): always deactivate device when called; always
2861 try to take hardware down too
2862 - (nm_device_state_changed): take device down when entering unmanaged
2863 state from a higher state
2865 * src/nm-device-802-11-wireless.c
2866 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
2868 - (real_take_down, supplicant_iface_state_cb_handler,
2869 supplicant_iface_connection_state_cb_handler,
2870 supplicant_mgr_state_cb_handler): fix some messages
2872 * src/nm-device-802-3-ethernet.c
2873 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
2876 2008-04-28 Dan Williams <dcbw@redhat.com>
2880 - (nm_manager_error_get_type): add new error
2881 - (nm_manager_remove_device): don't bother taking down the device here,
2882 the state change from unmanaging the device will do it
2883 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
2884 uses it; when going to sleep, just unmanage the device instead of
2885 taking it down, because stuff will cleaned up correctly when the
2886 device gets unmanaged
2888 2008-04-28 Dan Williams <dcbw@redhat.com>
2890 * src/nm-hal-manager.c
2891 - (add_initial_devices): convert to a GSourceFunc prototype
2892 - (nm_manager_state_changed): when coming out of sleep, punt the
2893 device re-addition to an idle handler to let D-Bus events go out
2894 first, fixing a potential dbus-glib assert if the old device was
2895 not yet disposed (due to references held while emitting the D-Bus
2896 signals) but the new device was found, because the mainloop didn't
2897 run between signal emission and add_initial_devices()
2899 2008-04-27 Dan Williams <dcbw@redhat.com>
2901 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2903 * initscript/paldo/NetworkManager.in
2904 initscript/SUSE/networkmanager.in
2905 - Remove last bits of dhcdbd
2907 2008-04-27 Dan Williams <dcbw@redhat.com>
2909 * src/nm-device-802-11-wireless.c
2910 - (link_timeout_cb): don't ask for secrets when disconnected during
2911 association/authentication phase, drivers are still just too crappy
2913 2008-04-27 Dan Williams <dcbw@redhat.com>
2917 dispatcher-daemon/Makefile.am
2918 dispatcher-daemon/NetworkManagerDispatcher.c
2919 initscript/Arch/Makefile.am
2920 initscript/Arch/networkmanager-dispatcher.in
2921 initscript/Gentoo/Makefile.am
2922 initscript/Gentoo/NetworkManagerDispatcher.in
2923 initscript/Mandriva/Makefile.am
2924 initscript/Mandriva/networkmanagerdispatcher.in
2925 initscript/RedHat/Makefile.am
2926 initscript/RedHat/NetworkManagerDispatcher.in
2927 initscript/SUSE/Makefile.am
2928 initscript/SUSE/networkmanager-dispatcher.in
2929 initscript/Slackware/Makefile.am
2930 initscript/Slackware/rc.networkmanager-dispatcher.in
2931 initscript/paldo/Makefile.am
2932 initscript/paldo/NetworkManagerDispatcher.in
2934 man/NetworkManagerDispatcher.8.in
2935 - Remove the dispatcher daemon
2937 2008-04-27 Dan Williams <dcbw@redhat.com>
2939 * callouts/Makefile.am
2940 callouts/nm-dispatcher-action.c
2941 callouts/nm-dispatcher-action.h
2942 callouts/nm-dispatcher.conf
2943 callouts/nm-dispatcher.xml
2944 callouts/org.freedesktop.nm_dispatcher.service
2945 - Re-implement the dispatcher as a system-bus activated service that
2946 NM calls on-demand, rather than an always running daemon
2949 - Add callouts dir to includes to pick up dispatcher defines
2952 - (nm_device_state_changed): call dispatcher on device activated/
2955 * src/vpn-manager/nm-vpn-connection.c
2956 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
2959 * src/NetworkManagerUtils.c
2960 src/NetworkManagerUtils.h
2961 - (nm_utils_call_dispatcher): helper to call dispatcher
2963 2008-04-27 Dan Williams <dcbw@redhat.com>
2965 * src/NetworkManagerUtils.c
2966 src/NetworkManagerUtils.h
2967 - remove unneeded includes
2968 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
2969 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
2970 nm_timeval_cmp, nm_timeval_add): remove, unused
2971 - clean up formatting
2972 - (nm_spawn_process): de-uglify
2974 * src/nm-device-802-11-wireless.c
2975 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
2977 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
2979 * initscript/Gentoo/NetworkManager.in:
2980 Fix for starting the daemon.
2982 2008-04-25 Dan Williams <dcbw@redhat.com>
2984 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2986 * src/NetworkManagerSystem.c
2987 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
2989 2008-04-25 Dan Williams <dcbw@redhat.com>
2991 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2993 * src/NetworkManagerSystem.c
2994 - (nm_system_device_replace_default_ip4_route): new function; a libnl
2995 implementation of nm_system_device_replace_default_route()
2997 * src/NetworkManagerPolicy.c
2998 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3000 * src/backends/NetworkManagerArch.c
3001 src/backends/NetworkManagerDebian.c
3002 src/backends/NetworkManagerFrugalware.c
3003 src/backends/NetworkManagerGeneric.c
3004 src/backends/NetworkManagerGeneric.h
3005 src/backends/NetworkManagerGentoo.c
3006 src/backends/NetworkManagerMandriva.c
3007 src/backends/NetworkManagerPaldo.c
3008 src/backends/NetworkManagerRedHat.c
3009 src/backends/NetworkManagerSlackware.c
3010 src/backends/NetworkManagerSuSE.c
3011 - (nm_system_device_replace_default_route): remove
3013 2008-04-25 Dan Williams <dcbw@redhat.com>
3015 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3017 * src/NetworkManagerSystem.c
3018 - (validate_ip4_route): remove; use nl_addr_parse() instead
3019 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3020 replace nm_system_device_add_route_via_device_with_iface() in the
3023 * src/backends/NetworkManagerArch.c
3024 src/backends/NetworkManagerDebian.c
3025 src/backends/NetworkManagerFrugalware.c
3026 src/backends/NetworkManagerGeneric.c
3027 src/backends/NetworkManagerGeneric.h
3028 src/backends/NetworkManagerGentoo.c
3029 src/backends/NetworkManagerMandriva.c
3030 src/backends/NetworkManagerPaldo.c
3031 src/backends/NetworkManagerRedHat.c
3032 src/backends/NetworkManagerSlackware.c
3033 src/backends/NetworkManagerSuSE.c
3034 - Remove nm_system_device_add_route_via_device_with_iface()
3036 2008-04-25 Dan Williams <dcbw@redhat.com>
3038 * system-settings/plugins/ifcfg-fedora/parser.c
3039 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3041 2008-04-24 Dan Williams <dcbw@redhat.com>
3043 * dispatcher-daemon/NetworkManagerDispatcher.c
3044 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3046 2008-04-24 Dan Williams <dcbw@redhat.com>
3048 * initscript/RedHat/NetworkManager.in
3049 initscript/RedHat/NetworkManagerDispatcher.in
3050 - Be active at runlevel 2
3051 - Adjust priorities earlier
3053 2008-04-22 Dan Williams <dcbw@redhat.com>
3055 * src/NetworkManagerPolicy.c
3056 - (update_routing_and_dns): when checking for a gateway, look at the
3057 composite IP4 config, not the connection's ip4-config setting, which
3058 doesn't include DHCP-returned information
3060 2008-04-22 Tambet Ingo <tambet@gmail.com>
3062 Implement GKeyFile system settings plugin.
3063 Implement writing system settings (currently supported only by GKeyFile plugin).
3065 * system-settings/src/main.c:
3066 * system-settings/src/dbus-settings.c: Move the communication with plugins
3067 from main.c to dbus-settings.c. Makes it possible to talk to all registered
3068 plugins for adding/updating/removing connections.
3070 * system-settings/src/nm-system-config-interface.c
3071 (nm_system_config_interface_add_connection): Implement
3072 (nm_system_config_interface_update_connection): Implement.
3073 (nm_system_config_interface_remove_connection): Implement.
3075 * system-settings/plugins/keyfile/Makefile.am:
3076 * system-settings/plugins/keyfile/plugin.[ch]:
3077 * system-settings/plugins/keyfile/writer.[ch]:
3078 * system-settings/plugins/keyfile/reader.[ch]: Implement.
3080 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3082 * configure.in: Generate GKeyFile Makefile.
3084 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3085 corruption, need to duplicate the returned string.
3086 (impl_exported_connection_update): Implement.
3087 (impl_exported_connection_delete): Implement.
3089 * introspection/nm-settings-system.xml: Add "AddConnection" method.
3091 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3093 2008-04-22 Dan Williams <dcbw@redhat.com>
3095 Patch from Charles R. Anderson (cra@wpi.edu)
3097 * src/NetworkManagerPolicy.c
3098 - (update_routing_and_dns): don't select devices without a gateway
3099 as having the default route (rh #437338)
3101 2008-04-21 Dan Williams <dcbw@redhat.com>
3103 * src/nm-activation-request.c
3104 src/nm-activation-request.h
3105 - (dispose): ensure to disconnect from the device's state-changed signal
3106 when appropriate so the signal doesn't get handled by an already
3107 disposed NMActRequest
3108 - (device_state_changed): update is_default here too just to make sure
3109 default is only True when the child device is activated
3110 - (nm_act_request_set_default): new function
3112 * src/NetworkManagerPolicy.c
3113 - (update_routing_and_dns): set 'default' on the active connection which
3114 has the default route and DNS
3116 2008-04-21 Dan Williams <dcbw@redhat.com>
3118 * src/NetworkManagerPolicy.c
3119 - (device_state_changed): update routing and DNS when a device goes
3120 into unmanaged or unavailable states too (like rfkill or carrier loss)
3122 2008-04-21 Dan Williams <dcbw@redhat.com>
3124 * include/NetworkManager.h
3125 - Add NMActiveConnectionState enum
3127 * introspection/nm-active-connection.xml
3128 introspection/nm-vpn-connection.xml
3129 - Add 'State' property for overall active connection state
3130 - Add 'Default' property, when True means this active connection
3131 has the default route
3132 - Add PropertyChanged signals so changes actually go out over the bus
3134 * src/nm-active-connection.h
3135 - Add defines for State & Default properties
3137 * src/nm-activation-request.c
3138 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3139 signal to determine active connection state
3141 * src/vpn-manager/nm-vpn-connection.c
3142 src/vpn-manager/nm-vpn-connection.h
3143 src/vpn-manager/nm-vpn-manager.c
3144 src/vpn-manager/nm-vpn-service.c
3145 - Rename old 'state' to 'vpn-state'
3146 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3147 - Add 'state' and 'default' properties, hook up to the vpn connection's
3148 'vpn-state-changed' signal
3150 * libnm-glib/nm-active-connection.c
3151 libnm-glib/nm-active-connection.h
3152 - Add new 'state' and 'default' properties and accessors
3154 * libnm-glib/nm-vpn-connection.c
3155 libnm-glib/nm-vpn-connection.h
3156 - Rename old 'state' property to 'vpn-state'
3157 - Add new 'state' and 'default' properties and accessors
3159 2008-04-21 Dan Williams <dcbw@redhat.com>
3161 * src/nm-ip4-config.c
3162 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3163 not specified (rh #443474)
3165 2008-04-20 Dan Williams <dcbw@redhat.com>
3167 * src/NetworkManagerUtils.c
3168 src/NetworkManagerUtils.h
3169 - (nm_utils_merge_ip4_config): new function; merge settings from an
3170 NMSettingIP4Config to an NMIP4Config object
3173 - (merge_ip4_config): move to NetworkManagerUtils.c
3175 * src/vpn-manager/nm-vpn-connection.c
3176 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3179 2008-04-18 Dan Williams <dcbw@redhat.com>
3181 * libnm-util/nm-setting-ppp.c
3182 libnm-util/nm-setting-ppp.h
3183 - Add 'no-vj-comp' option for TCP header compression
3184 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3187 2008-04-18 Dan Williams <dcbw@redhat.com>
3189 * libnm-util/nm-setting-ppp.c
3190 libnm-util/nm-setting-ppp.h
3191 src/ppp-manager/nm-ppp-manager.c
3192 - Add 'refuse-pap' and 'refuse-mschapv2' options
3194 2008-04-18 Dan Williams <dcbw@redhat.com>
3196 * libnm-util/nm-setting-ppp.c
3197 libnm-util/nm-setting-ppp.h
3198 src/ppp-manager/nm-ppp-manager.c
3199 - Remove the 'usepeerdns' option and always request DNS servers from
3200 the PPP server; the connection chooses to use/override/ignore the
3201 DNS servers returned from the PPP server
3203 2008-04-18 Dan Williams <dcbw@redhat.com>
3205 * libnm-util/nm-setting-ppp.c
3206 libnm-util/nm-setting-ppp.h
3207 src/ppp-manager/nm-ppp-manager.c
3208 - Remove the 'require-mppc' option, because pppd doesn't support it and
3209 it seems to have been an erroneous addition to the PPTP plugin in
3210 the first place (from which the ppp-manager is derived)
3212 2008-04-17 Dan Williams <dcbw@redhat.com>
3214 * libnm-util/nm-setting-pppoe.c
3215 - (verify): require a PPP setting too
3217 * src/ppp-manager/nm-ppp-manager.c
3218 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3221 2008-04-17 Dan Williams <dcbw@redhat.com>
3224 - (nm_device_state_changed): do deactivation and and promotion to
3225 unavailable here, so that the device gets cleaned up before the
3226 manager runs and starts emitting signals; do the
3227 FAILED->DISCONNECTED transition from an idle handler rather than
3228 immediately to guard against recursion
3229 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3230 FAILED->DISCONNECTED handler if it's scheduled
3232 2008-04-17 Dan Williams <dcbw@redhat.com>
3234 * src/nm-device-802-11-wireless.c
3235 - (state_changed_cb): clear AP list when device transitions to
3236 unavailable or unmanaged
3237 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3238 since this is already done in device_cleanup()
3239 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3240 isn't available or managed
3241 - (device_cleanup): use remove_all_aps()
3242 - (remove_all_aps): consolidate code removing all APs
3244 2008-04-17 Dan Williams <dcbw@redhat.com>
3246 * src/nm-serial-device.c
3247 src/nm-serial-device.h
3248 - (wait_for_reply_got_data): break input into lines, and search each
3249 line for responses _and_ terminator strings; also make sure that
3250 the read loop doesn't continue after the timeout is supposed to fire
3251 - (nm_serial_device_wait_for_reply): take an array of terminators too
3253 * src/nm-gsm-device.c
3254 src/nm-cdma-device.c
3255 - Send terminators to nm_serial_device_wait_for_reply()
3257 2008-04-16 Dan Williams <dcbw@redhat.com>
3259 Patch from 陈鑫 <znscnchen@gmail.com>
3261 * src/ppp-manager/nm-pppd-plugin.c
3262 - (get_credentials): return correct value for success; handle case where
3263 pppd just does some checking but doesn't want a password
3264 - (plugin_init): make CHAP work too
3266 2008-04-16 Dan Williams <dcbw@redhat.com>
3268 Patch from 陈鑫 <znscnchen@gmail.com>
3270 * src/ppp-manager/nm-ppp-manager.c
3271 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3273 2008-04-16 Dan Williams <dcbw@redhat.com>
3275 Patch from 陈鑫 <znscnchen@gmail.com>
3277 * src/nm-device-802-3-ethernet.c
3278 - (real_deactivate_quickly): clear the IP interface name on
3279 deactivation, otherwise the wrong interface might get used later
3280 for routing and IP management
3282 2008-04-15 Dan Williams <dcbw@redhat.com>
3284 * libnm-glib/nm-device.c
3285 - (get_product_and_vendor): handle serial devices correctly
3286 - (nm_device_update_description): pass device to get_product_and_vendor()
3288 2008-04-15 Dan Williams <dcbw@redhat.com>
3290 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3292 * src/NetworkManagerSystem.h
3293 src/backends/NetworkManagerArch.c
3294 src/backends/NetworkManagerDebian.c
3295 src/backends/NetworkManagerFrugalware.c
3296 src/backends/NetworkManagerGeneric.c
3297 src/backends/NetworkManagerGeneric.h
3298 src/backends/NetworkManagerGentoo.c
3299 src/backends/NetworkManagerMandriva.c
3300 src/backends/NetworkManagerPaldo.c
3301 src/backends/NetworkManagerRedHat.c
3302 src/backends/NetworkManagerSlackware.c
3303 src/backends/NetworkManagerSuSE.c
3305 - (nm_generic_device_add_ip6_link_address,
3306 nm_system_device_add_ip6_link_address): remove
3308 2008-04-15 Dan Williams <dcbw@redhat.com>
3310 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3312 * src/backends/NetworkManagerArch.c
3313 src/backends/NetworkManagerDebian.c
3314 src/backends/NetworkManagerFrugalware.c
3315 src/backends/NetworkManagerGeneric.c
3316 src/backends/NetworkManagerGeneric.h
3317 src/backends/NetworkManagerGentoo.c
3318 src/backends/NetworkManagerMandriva.c
3319 src/backends/NetworkManagerPaldo.c
3320 src/backends/NetworkManagerRedHat.c
3321 src/backends/NetworkManagerSlackware.c
3322 src/backends/NetworkManagerSuSE.c
3323 src/NetworkManagerSystem.h
3324 - flush_routes -> flush_ip4_routes
3325 - flush_addresses -> flush_ip4_addresses
3327 * src/NetworkManagerSystem.c
3329 src/vpn-manager/nm-vpn-connection.c
3330 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3332 2008-04-15 Dan Williams <dcbw@redhat.com>
3334 Remove exposure of wireless-tools mode types in the API.
3336 * include/NetworkManager.h
3337 - Define NM80211Mode enum
3339 * introspection/generic-types.xml
3340 - Describe NM_802_11_MODE enum
3341 - Remove IW_MODE_* enum
3343 * introspection/nm-access-point.xml
3344 libnm-glib/nm-access-point.c
3345 libnm-glib/nm-access-point.h
3346 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3348 * introspection/nm-device-802-11-wireless.xml
3349 libnm-glib/nm-device-802-11-wireless.c
3350 libnm-glib/nm-device-802-11-wireless.h
3351 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3353 * libnm-util/nm-setting-wireless.c
3354 src/NetworkManagerAP.c
3355 src/NetworkManagerAP.h
3356 src/nm-device-802-11-wireless.c
3357 src/nm-device-802-11-wireless.h
3359 - Use NM80211Mode not IW_MODE_*
3361 2008-04-15 Dan Williams <dcbw@redhat.com>
3363 Enhance nm-online based on a patch from Bill Nottingham.
3367 - Add help messages and option summary
3368 - Add long-format options
3369 - Add a '-x' option to exit if NM isn't running or isn't connecting
3371 2008-04-15 Tambet Ingo <tambet@gmail.com>
3373 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3375 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3377 2008-04-15 Dan Williams <dcbw@redhat.com>
3379 * nm-setting-ip4-config.c
3380 - (ip4_addresses_from_gvalue): handle NULL address array
3382 * nm-setting-8021x.c
3383 - (verify_tls, verify_ttls): warn on failed verification
3385 2008-04-10 Dan Williams <dcbw@redhat.com>
3387 * src/nm-gsm-device.c
3388 - (automatic_registration): accept "+CREG: 0,0"
3389 - (automatic_registration_response): fail on "+CREG: 0,0"
3391 2008-04-10 Tambet Ingo <tambet@gmail.com>
3393 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3395 2008-04-10 Tambet Ingo <tambet@gmail.com>
3397 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
3398 Make it compile again by commenting out broken code that at first didn't work and
3399 now didn't compile either.
3401 2008-04-08 Dan Williams <dcbw@redhat.com>
3403 * libnm-glib/nm-object-cache.c
3404 libnm-glib/nm-settings.c
3405 src/dhcp-manager/nm-dhcp-manager.c
3406 system-settings/plugins/ifcfg-fedora/plugin.c
3407 system-settings/plugins/ifcfg-suse/plugin.c
3408 system-settings/src/nm-system-config-hal-manager.c
3409 libnm-util/nm-utils.c
3410 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3411 not threadsafe anyway
3413 2008-04-08 Dan Williams <dcbw@redhat.com>
3415 * system-settings/src/main.c
3416 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3417 callbacks take a device type too
3419 2008-04-08 Dan Williams <dcbw@redhat.com>
3421 The system settings service will now create a new default DHCP connection
3422 for wired devices that have no existing applicable connection.
3424 * system-settings/src/nm-system-config-hal-manager.c
3425 system-settings/src/nm-system-config-hal-manager.h
3426 - (nm_system_config_hal_manager_get_type_for_udi): new function
3428 * system-settings/src/dbus-settings.c
3429 system-settings/src/dbus-settings.h
3430 - (nm_sysconfig_settings_get_connections): new function
3431 - (nm_sysconfig_settings_is_device_managed): new function
3433 * system-settings/src/main.c
3434 - (load_stuff): check for wired devices that need a default connection
3435 - (get_details_for_udi): get interface and MAC address from HAL
3436 - (add_default_dhcp_connection): add a default connection for a wired
3438 - (device_added_cb, device_removed_cb): do the right thing with
3439 wired devices and their default connections on HAL device events
3441 2008-04-07 Dan Williams <dcbw@redhat.com>
3443 * libnm-glib/nm-device.c
3444 libnm-glib/nm-device.h
3445 - Proxy the 'managed' property
3447 2008-04-07 Dan Williams <dcbw@redhat.com>
3449 * src/nm-gsm-device.c
3450 src/nm-cdma-device.c
3451 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3452 handler to transition to DISCONNECTED
3454 2008-04-07 Dan Williams <dcbw@redhat.com>
3456 Patch from Bill Nottingham
3458 * dispatcher-daemon/NetworkManagerDispatcher.c
3459 - ignore backup/packaging crufy (rh #440143)
3461 2008-04-07 Dan Williams <dcbw@redhat.com>
3463 * include/NetworkManager.h
3464 - Remove the DOWN and CANCELLED device states
3465 - Add UNMANAGED and UNAVAILABLE device states
3466 - Document the device states
3468 * introspection/nm-device.xml
3469 src/nm-device-interface.c
3470 src/nm-device-interface.h
3471 - Add the 'managed' property
3474 - (detail_device): print out device state
3476 * src/NetworkManagerSystem.h
3477 src/backends/NetworkManagerArch.c
3478 src/backends/NetworkManagerDebian.c
3479 src/backends/NetworkManagerFrugalware.c
3480 src/backends/NetworkManagerGentoo.c
3481 src/backends/NetworkManagerMandriva.c
3482 src/backends/NetworkManagerPaldo.c
3483 src/backends/NetworkManagerRedHat.c
3484 src/backends/NetworkManagerSlackware.c
3485 src/backends/NetworkManagerSuSE.c
3486 - (nm_system_device_get_system_config, nm_system_device_get_disabled
3487 nm_system_device_free_system_config): remove; they were unused and
3488 their functionality should be re-implemented in each distro's
3489 system settings service plugin
3491 * src/nm-gsm-device.c
3493 src/nm-cdma-device.c
3494 src/nm-cdma-device.h
3495 - (*_new): take the 'managed' argument
3498 - (nm_device_set_address): remove, fold into nm_device_bring_up()
3499 - (nm_device_init): start in unmanaged state, not disconnected
3500 - (constructor): don't start device until the system settings service
3501 has had a chance to figure out if the device is managed or not
3502 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
3503 don't set device state here, let callers handle that as appropriate
3504 - (nm_device_dispose): don't touch the device if it's not managed
3505 - (set_property, get_property, nm_device_class_init): implement the
3507 - (nm_device_state_changed): bring the device up if its now managed,
3508 and deactivate it if it used to be active
3509 - (nm_device_get_managed, nm_device_set_managed): do the right thing
3510 with the managed state
3512 * src/nm-hal-manager.c
3513 - (wired_device_creator, wireless_device_creator, modem_device_creator):
3514 take initial managed state and pass it along to device constructors
3515 - (create_device_and_add_to_list): get managed state and pass to
3518 * src/nm-device-802-11-wireless.c
3519 - (real_can_activate): fold in most of
3520 nm_device_802_11_wireless_can_activate()
3521 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
3522 - (link_timeout_cb): instead of deactivating, change device state and
3523 let the device state handler to it
3524 - (real_update_hw_address): clean up
3525 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3526 handler to transition to DISCONNECTED if the device isn't rfkilled
3528 * src/nm-device-802-3-ethernet.c
3529 - (set_carrier): move above callers and get rid of prototype
3530 - (device_state_changed): when entering UNAVAILABLE state, schedule an
3531 idle handler to transition to DISCONNECTED if the device has a
3533 - (real_update_hw_address): clean up
3534 - (link_timeout_cb, ppp_state_changed): change state instead of calling
3535 deactivation directly as deactivation doesn't change state anymore
3537 * src/NetworkManagerPolicy.c
3538 - (schedule_activate_check): yay, remove wireless_enabled hack since
3539 the NMManager and wireless devices work that out themselves now
3540 - (device_state_changed): change to a switch and update for new device
3542 - (device_carrier_changed): remove; device handles this now through
3544 - (device_added): don't care about carrier any more; the initial
3545 activation check will happen when the device transitions to
3549 - (dispose): clear unmanaged devices
3550 - (handle_unmanaged_devices): update unmanaged device list and toggle
3551 the managed property on each device when needed
3552 - (system_settings_properties_changed_cb): handle signals from the
3553 system settings service
3554 - (system_settings_get_unmanaged_devices_cb): handle callback from
3555 getting the unmanaged device list method call
3556 - (query_unmanaged_devices): ask the system settings service for its
3557 list of unmanaged devices
3558 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
3560 - (manager_set_wireless_enabled): push rfkill state down to wireless
3561 devices directly and let them handle the necessary state transitions
3562 - (manager_device_state_changed): update for new device states
3563 - (nm_manager_add_device): set initial rfkill state on wireless devices
3564 - (nm_manager_remove_device): don't touch the device if it's unmanaged
3565 - (nm_manager_activate_connection): return error if the device is
3567 - (nm_manager_sleep): handle new device states correctly; don't change
3568 the state of unavailable/unmanaged devices
3570 * libnm-glib/nm-device-802-11-wireless.c
3571 - (state_changed_cb): update for new device states
3573 2008-04-07 Dan Williams <dcbw@redhat.com>
3575 * marshallers/nm-marshal.list
3576 - Add VOID:STRING,UINT marshaller for system settings HAL manager
3578 2008-04-07 Dan Williams <dcbw@redhat.com>
3580 * system-settings/src/main.c
3581 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
3582 plugins to the dbus settings object
3583 - (load_stuff): start the dbus service after grabbing unmanaged devices
3584 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
3585 - (log_handler, logging_setup, logging_shutdown): log output to syslog
3586 - (main): switch default logging to syslog with a 'debug' option to
3587 output to console; start up the HAL manager
3589 2008-04-07 Dan Williams <dcbw@redhat.com>
3591 * introspection/nm-settings-system.xml
3592 introspection/Makefile.am
3593 - Define the unmanaged devices interface for the system settings service
3595 * system-settings/src/nm-system-config-hal-manager.c
3596 system-settings/src/nm-system-config-hal-manager.h
3597 system-settings/src/nm-system-config-hal-manager-private.h
3598 system-settings/src/Makefile.am
3599 - Add a lightweight HAL manager object for tracking network devices for
3600 the purpose of determining unmanaged devices and which devices need
3601 the default DHCP connections
3603 * system-settings/src/nm-system-config-interface.c
3604 system-settings/src/nm-system-config-interface.h
3605 - (nm_system_config_interface_init): add the HAL manager as an argument
3606 - (nm_system_config_interface_get_unmanaged_devices): implement
3607 - Define 'unmanaged-devices-changed' signal
3609 * system-settings/src/dbus-settings.c
3610 system-settings/src/dbus-settings.h
3611 - Implement the unmanaged devices interface; some cleanups
3613 * system-settings/plugins/ifcfg-suse/plugin.c
3614 - Fixup for plugin interface changes
3616 * system-settings/plugins/ifcfg-fedora/plugin.c
3617 - (get_ether_device_udi): new function; find the device that has
3618 a specified MAC address and return its UDI
3619 - (get_udi_for_connection): new function; try to find the specific
3620 device a connection is locked to, if any
3621 - (device_added_cb, device_removed_cb): update unmanaged device list in
3622 response to HAL events
3623 - (get_unmanaged_devices): new function; return unmanaged device list
3624 - (build_one_connection): set the connection's locked device, if any
3625 - (write_auto_wired_connection): remove
3626 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
3627 - (handle_connection_changed): alert listeners that the unmanaged device
3629 - (init): fixup for plugin interface changes, implement unmanaged devices
3631 * system-settings/plugins/ifcfg-fedora/parser.c
3632 system-settings/plugins/ifcfg-fedora/parser.h
3633 - (connection_data_free): clean up connection UDI
3635 2008-04-07 Dan Williams <dcbw@redhat.com>
3637 * system-settings/plugins/ifcfg-fedora/parser.c
3638 - (make_ip4_setting): fix parsing of DNS servers
3640 2008-04-05 Dan Williams <dcbw@redhat.com>
3644 marshallers/Makefile.am
3645 marshallers/nm-marshal-main.c
3646 marshallers/nm-marshal.list
3647 - Consolidate marshallers
3649 * libnm-glib/nm-marshal-main.c
3650 libnm-glib/nm-marshal.list
3651 src/marshallers/Makefile.am
3652 src/marshallers/nm-marshal-main.c
3653 src/marshallers/nm-marshal.list
3656 * libnm-glib/Makefile.am
3658 src/dhcp-manager/Makefile.am
3659 src/ppp-manager/Makefile.am
3660 src/supplicant-manager/Makefile.am
3661 src/vpn-manager/Makefile.am
3662 - Use consolidated marshallers
3664 2008-04-04 Dan Williams <dcbw@redhat.com>
3666 * src/nm-hal-manager.c
3667 src/nm-hal-manager.h
3668 - (hal_init): don't look for hardware here
3669 - (nm_hal_manager_start): new function; look for hardware here instead,
3670 which can be done at a later time than hal_init()
3672 * src/NetworkManager.c
3673 - (main): start HAL manager after entering the main loop
3675 2008-04-03 Dan Williams <dcbw@redhat.com>
3677 * libnm-glib/nm-settings.c
3678 libnm-glib/nm-settings.h
3679 - (nm_exported_connection_get_id): new function
3680 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
3682 2008-04-02 Dan Williams <dcbw@redhat.com>
3684 * src/nm-device-interface.c
3685 src/nm-device-interface.h
3688 - Rename check_connection_conflicts() to check_connection_compatible()
3690 * src/nm-device-802-11-wireless.c
3691 - (real_check_connection_conflicts): remove
3692 - (real_check_connection_compatible): implement; match MAC address
3694 * src/nm-device-802-3-ethernet.c
3695 - (real_check_connection_conflicts): remove
3696 - (real_check_connection_compatible): implement; match MAC address
3697 - (real_get_best_auto_connection): correctly handle PPPoE cases
3700 - (check_connection_allowed): remove; unused until PolicyKit integration
3701 - (internal_activate_device): check whether the connection is compatible
3702 with the device before trying to activate it
3704 2008-04-02 Dan Williams <dcbw@redhat.com>
3706 * system-settings/plugins/ifcfg-fedora/parser.c
3707 - (read_mac_address): new function; read in MAC address and stuff it
3709 - (add_one_wep_key): remove debug spew
3710 - (make_wireless_security_setting): validate the default TX key; don't
3711 add the wireless-security setting if the connection doesn't need
3712 security; don't leak the keys shvarFile on error cases
3713 - (make_wireless_setting, make_wired_setting): populate device's MAC
3716 2008-04-02 Dan Williams <dcbw@redhat.com>
3718 * libnm-util/nm-setting-connection.c
3719 libnm-util/nm-setting-connection.h
3720 - (set_property, get_property, nm_setting_connection_class_init): remove
3721 the 'lockdown' property; it's functionality will be replaced by
3724 2008-04-01 Dan Williams <dcbw@redhat.com>
3726 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
3729 initscript/Makefile.am
3730 initscript/Mandriva/Makefile.am
3731 initscript/Mandriva/networkmanager.in
3732 initscript/Mandriva/networkmanagerdispatcher.in
3733 src/backends/Makefile.am
3734 src/backends/NetworkManagerMandriva.c
3735 system-settings/plugins/Makefile.am
3736 - Add Mandriva support
3738 2008-03-31 Dan Williams <dcbw@redhat.com>
3740 * src/vpn-manager/nm-vpn-service.c
3741 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
3742 errors can be passed back to the caller; also no longer scheduled
3743 as an idle handler, but called directly; and bump up VPN service
3744 spawn timeout, 2s is really short
3745 - (nm_vpn_service_activate): don't schedule the VPN service activation,
3746 but call it directly so that errors are reported on return from
3747 ActivateConnection() and don't get lost. If scheduled as an idle
3748 handler, clients don't have the time to query NM for the new VPN
3749 connection's properties before the VPN connection is torn down again
3750 if the service couldn't be launched, and therefore launch errors
3753 2008-03-31 Dan Williams <dcbw@redhat.com>
3755 * src/vpn-manager/nm-vpn-connection.c
3756 - (device_state_changed): send correct state on device failure too
3757 - (plugin_state_changed): failed state means unexpected disconnection,
3758 thus if the service goes away while the VPN connection is activated
3759 that's a failure too
3761 2008-03-31 Dan Williams <dcbw@redhat.com>
3763 * src/vpn-manager/nm-vpn-manager.c
3764 src/vpn-manager/nm-vpn-manager.h
3765 - Make VPNManager errors more available; add a service-start-failed error
3767 2008-03-31 Dan Williams <dcbw@redhat.com>
3769 * libnm-glib/nm-client.c
3770 libnm-glib/nm-client.h
3771 - (activate_cb): pass the new active connection to callback; fix
3772 message when no callback is specified
3774 2008-03-30 Dan Williams <dcbw@redhat.com>
3776 * libnm-util/nm-setting-wireless-security.c
3777 - (need_secrets): only require key0 if the transmit key index is also
3779 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
3781 2008-03-29 Dan Williams <dcbw@redhat.com>
3783 * libnm-util/nm-setting-8021x.c
3784 libnm-util/nm-setting-ip4-config.c
3785 libnm-util/nm-setting-vpn-properties.c
3786 libnm-util/nm-setting-vpn.c
3787 libnm-util/nm-setting-wireless-security.c
3788 libnm-util/nm-setting-wireless.c
3789 libnm-util/nm-utils.c
3790 src/dhcp-manager/nm-dhcp-manager.c
3791 src/nm-activation-request.c
3794 src/nm-properties-changed-signal.c
3795 src/ppp-manager/nm-pppd-plugin.c
3796 src/supplicant-manager/nm-supplicant-interface.c
3797 src/vpn-manager/nm-vpn-connection.c
3798 - consistently use nm-dbus-glib-types.h
3800 2008-03-29 Dan Williams <dcbw@redhat.com>
3802 * src/vpn-manager/nm-vpn-connection.c
3803 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
3806 * src/nm-activation-request.c
3807 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
3810 2008-03-29 Dan Williams <dcbw@redhat.com>
3812 * libnm-glib/nm-device-802-11-wireless.c
3813 - (access_point_added_proxy): create new APs if not found
3815 2008-03-29 Dan Williams <dcbw@redhat.com>
3817 * libnm-glib/nm-client.c
3818 - (proxy_name_owner_changed): tell wireless devices about rfkill state
3821 2008-03-29 Dan Williams <dcbw@redhat.com>
3823 * system-settings/plugins/ifcfg-fedora/parser.c
3824 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
3825 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
3827 2008-03-29 Dan Williams <dcbw@redhat.com>
3829 * system-settings/plugins/ifcfg-fedora/parser.c
3830 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
3832 2008-03-27 Dan Williams <dcbw@redhat.com>
3835 - (nm_object_queue_notify): don't notify multiple times for the same
3838 * nm-object-private.h
3839 - (handle_ptr_array_return): return NULL if the given array is NULL or
3840 if it has zero elements
3843 - (finalize): use g_ptr_array_foreach() when freeing domains
3844 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
3846 * nm-active-connection.c
3847 - (nm_active_connection_get_devices): use handle_ptr_array_return()
3849 * nm-device-802-11-wireless.c
3850 nm-device-802-11-wireless.h
3851 - (nm_device_802_11_wireless_get_access_points): return const; use
3852 handle_ptr_array_return()
3855 - (nm_object_array_demarshal): always create an array, even of length
3856 zero, to distinguish between "NM returned no items" and "haven't
3860 - (dispose): free active connections too
3861 - (proxy_name_owner_changed): free active connections too when NM goes
3863 - (nm_client_get_devices): return const; use handle_ptr_array_return()
3864 - (nm_client_get_active_connections): use handle_ptr_array_return()
3866 2008-03-26 Dan Williams <dcbw@redhat.com>
3868 Rework VPN connection handling for a more consistent D-Bus API. The
3869 VPNManager object has been removed, and active VPN connections are now the
3870 same as any other active connection. The Manager object's ActivateConnection
3871 and DeactivateConnection methods are used to start and stop a VPN connection,
3872 and the VPNConnection objects are subclasses of the ActiveConnection objects.
3873 When activating a VPN connection, pass the path of the active connection
3874 to which the VPN connection is tied in the 'specific_object' argument.
3876 Consequently, the libnm-glib API has been reworked to match this arrangement,
3877 with the VPNManager object removed, and the NMVPNConnection objects now
3878 being subclasses of NMActiveConnection.
3880 2008-03-25 Dan Williams <dcbw@redhat.com>
3882 Patch from Björn Martensen <bjoern.martensen@gmail.com>
3884 * initscript/Arch/networkmanager.in
3885 initscript/Arch/networkmanager-dispatcher.in
3886 - Updates for Arch Linux (gnome.org #523701)
3888 2008-03-25 Dan Williams <dcbw@redhat.com>
3890 * libnm-glib/nm-ip4-config.c
3891 libnm-glib/nm-active-connection.c
3892 libnm-glib/nm-access-point.c
3893 - Use nm_object_queue_notify() instead of g_object_notify()
3895 * libnm-glib/nm-device.c
3896 - (demarshal_ip4_config): distinguish between successful but missing
3897 ip4-config request, and unsuccessful and missing ip4-config request
3898 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
3900 - Use nm_object_queue_notify() instead of g_object_notify()
3902 * libnm-glib/nm-device-802-11-wireless.c
3903 - (demarshal_active_ap): distinguish between successfull but missing
3904 active-ap request, and unsuccessful and missing active-ap request
3905 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
3907 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
3908 for the NMClient to notify the device that wireless is disabled,
3909 and therefore to clear the AP list and active AP
3910 - Use nm_object_queue_notify() instead of g_object_notify()
3912 * libnm-glib/nm-client.c
3913 - (poke_wireless_devices_with_rf_status): new function
3914 - (update_wireless_status): notify wireless devices of the rfkill status
3915 so they can clean up if needed
3916 - Use nm_object_queue_notify() instead of g_object_notify()
3918 2008-03-25 Dan Williams <dcbw@redhat.com>
3920 * libnm-glib/nm-object.c
3921 libnm-glib/nm-object-private.h
3922 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
3923 signals to an idle handler
3924 - (nm_object_get_property): add a timeout to the D-Bus method call
3926 2008-03-25 Dan Williams <dcbw@redhat.com>
3928 * introspection/nm-device-cdma.xml
3929 introspection/nm-device-gsm.xml
3930 introspection/Makefile.am
3931 introspection/all.xml
3932 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
3934 * src/nm-gsm-device.h
3936 src/nm-cdma-device.h
3937 src/nm-cdma-device.c
3939 - Implement PropertiesChanged signals
3941 * libnm-glib/nm-cdma-device.c
3942 libnm-glib/nm-cdma-device.c
3943 - Attach to PropertiesChanged signals
3945 2008-03-24 Dan Williams <dcbw@redhat.com>
3947 * libnm-glib/nm-client.c
3948 - (client_device_added_proxy): add new devices to the internal device
3949 list so they appear to clients
3951 2008-03-24 Dan Williams <dcbw@redhat.com>
3953 Massive fixup of libnm-glib to:
3954 a) have all objects (with the exception of VPN) cache their properties and
3955 update them asynchronously on PropertiesChanged signals from NM
3956 b) return internal const data for most attributes/properties instead of
3957 allocated values that the caller must free
3958 c) cache wrapped objects such that a given D-Bus path will always map to the
3959 same GObject returned by libnm-glib
3960 d) remove a few signals and move them to GObject property notifications
3961 e) match recent NM D-Bus API changes for activation/deactivation
3962 f) remove some private functions from libnm-glib headers
3964 2008-03-20 Dan Williams <dcbw@redhat.com>
3967 - (nm_manager_update_state, manager_device_state_changed,
3968 nm_manager_activate_device, connection_added_default_handler,
3969 impl_manager_activate_connection, impl_manager_deactivate_connection):
3970 queue PropertyChanged singals when the active connections change
3972 2008-03-20 Dan Williams <dcbw@redhat.com>
3974 * introspection/nm-manager.xml
3975 introspection/nm-manager-client.xml
3976 - (ActivateConnection): return the object path of the active connection
3978 - (GetActiveConnections): remove
3979 - (DeactivateConnection): new function; deactivate a currently active
3981 - Add an ActiveConnections property which returns an array of
3982 active connection object paths
3984 * introspection/nm-device.xml
3985 - (Deactivate): remove
3987 * introspection/all.xml
3988 - Add ActiveConnection introspection
3990 * introspection/nm-active-connection.xml
3991 - Add the ActiveConnection object
3993 * include/NetworkManager.h
3994 - Add the Connection.Active D-Bus interface
3996 * src/nm-device-interface.c
3997 - (impl_device_deactivate): remove
3999 * src/nm-activation-request.c
4000 src/nm-activation-request.c
4002 - Implement the Connection.Active D-Bus interface
4005 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4006 - (nm_manager_activate_device): return the active connection path
4007 - (connection_added_default_handler, impl_manager_activate_connection):
4008 return the active connection to the caller
4009 - (add_one_connection_element, impl_manager_get_active_connections):
4011 - (impl_manager_deactivate_connection): new function; deactivate an
4014 * libnm-glib/nm-device.c
4015 libnm-glib/nm-device.h
4016 - Remove Deactivate() function
4018 2008-03-19 Dan Williams <dcbw@redhat.com>
4020 * introspection/nm-manager.xml
4021 introspection/nm-manager-client.xml
4022 - Rename the ActivateDevice method to ActivateConnection to better
4023 reflect it's usage; it's arguments get reordered a bit too
4024 - Convert GetActiveConnections method return from a struct to a dict
4026 * include/NetworkManager.h
4027 - Define the dict keys for return value of GetActiveConnections
4030 - impl_manager_activate_device -> impl_manager_activate_connection
4031 - (add_one_connection_element): return a populated hash table, not
4034 * libnm-glib/nm-client.c
4035 libnm-glib/nm-client.h
4036 - nm_client_activate_device -> nm_client_activate_connection
4037 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4038 - (nm_client_get_active_connections): return a GSList of GHashTables,
4039 instead of the custom structures. Each element of the returned list
4040 must be freed with nm_client_free_active_connections_element()
4042 2008-03-18 Dan Williams <dcbw@redhat.com>
4044 * system-settings/plugins/ifcfg-fedora/parser.c
4045 system-settings/plugins/ifcfg-fedora/parser.h
4046 system-settings/plugins/ifcfg-fedora/plugin.c
4047 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4048 profiles. DNS servers and searches must now be stored in the ifcfg
4051 2008-03-18 Tambet Ingo <tambet@gmail.com>
4053 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4054 print out username and password, it's supposed to be a secret.
4056 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
4057 request and set the device state accordingly.
4059 2008-03-18 Tambet Ingo <tambet@gmail.com>
4061 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4063 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4065 2008-03-18 Dan Williams <dcbw@redhat.com>
4067 * src/vpn-manager/nm-vpn-connection.c
4068 - (get_secrets_cb): handle new GetSecrets return format
4070 2008-03-18 Dan Williams <dcbw@redhat.com>
4072 Adapt system settings service for split 802.1x.
4074 * system-settings/src/nm-system-config-interface.h
4075 - clarify return value of get_secrets()
4077 * system-settings/src/dbus-settings.c
4078 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4079 - (check_for_secrets): check if there actually secrets returned by a
4081 - (exported_connection_get_secrets): just return the plugin-returned
4082 hash of settings' secrets if it looks valid
4084 * system-settings/plugins/ifcfg-fedora/plugin.c
4085 - (get_secrets): add split secrets with correct format to reply hash
4087 * system-settings/plugins/ifcfg-fedora/parser.c
4088 system-settings/plugins/ifcfg-fedora/parser.h
4089 - (copy_one_cdata_secret, connection_data_copy_secrets,
4090 connection_data_free, connection_data_add): keep secrets for
4091 different settings in different hashes
4093 2008-03-17 Tambet Ingo <tambet@gmail.com>
4095 Clean up activating device deactivation.
4097 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4098 should be done whether the device activation gets cancelled or the device
4099 is just getting deactivated.
4100 (nm_device_activation_cancel): Remove.
4101 (nm_device_deactivate_quickly): Handle the case where device is activating.
4103 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4104 It does the exact same thing as real_deactivate_quickly().
4106 2008-03-17 Dan Williams <dcbw@redhat.com>
4108 Split the 802.1x bits out of the wireless-security setting so they are
4109 generalized enough for wired 802.1x to use too.
4111 * introspection/nm-exported-connection.xml
4112 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4113 of just a hash of the secrets for one setting
4115 * libnm-util/nm-setting-wireless-security.c
4116 libnm-util/nm-setting-wireless-security.h
4117 - Remove 802.1x-specific stuff
4118 - Added leap-username and leap-password properties for old-school LEAP
4122 - (connection_secrets_updated_cb): take a list of updated settings names,
4125 * src/supplicant-manager/nm-supplicant-config.c
4126 src/supplicant-manager/nm-supplicant-config.h
4127 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4128 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4129 to nm_supplicant_config_add_setting_8021x()
4130 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4131 the supplicant config
4133 * src/nm-device-802-11-wireless.c
4134 - (build_supplicant_config): pass in the 802.1x setting too, if any
4135 - (real_connection_secrets_updated): take a list of updated settings
4138 * src/nm-device-802-3-ethernet.c
4139 src/nm-cdma-device.c
4141 - (real_connection_secrets_updated_cb): take a list of updated settings
4144 * src/nm-activation-request.c
4145 src/nm-activation-request.h
4146 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4147 now passes a list of updated settings names, not just one
4148 - (update_one_setting): new function; handle one updated setting
4149 - (get_secrets_cb): handle multiple settings returned from the
4150 settings service; have to be careful of ordering here as there are
4151 some dependencies between settings (ex. wireless-security and 802.1x
4154 * src/marshallers/nm-marshal.list
4155 - new marshaller for connection-secrets-updated signal
4157 * libnm-util/nm-setting-8021x.c
4158 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4160 - (verify): a valid 'eap' property is now required
4162 * libnm-util/nm-connection.c
4163 - (register_default_settings): add priorities to settings; there are
4164 some dependencies between settings, and during the need_secrets
4165 calls this priority needs to be respected. For example, only the
4166 wireless-security setting knows whether or not the connection is
4167 going to use 802.1x or now, so it must be asked for secrets before
4168 any existing 802.1x setting is
4169 - (nm_connection_lookup_setting_type): expose
4171 * libnm-util/nm-setting-wireless.c
4172 - (verify): should verify even if all_settings is NULL; otherwise won't
4173 catch the case where there is missing security
4175 * libnm-util/nm-setting-wireless-security.c
4176 - Remove everything to do with 802.1x
4177 - Add old-school LEAP specific properties for username and password
4178 - (need_secrets): rework LEAP secrets checking
4179 - (verify): rework for LEAP and 802.1x verification
4181 2008-03-17 Dan Williams <dcbw@redhat.com>
4183 * src/NetworkManagerPolicy.c
4184 - (auto_activate_device): always remove the current activation check
4185 from the pending activation list, otherwise when the policy gets
4186 destroyed on NM exit it will attempt to free the already freed
4189 2008-03-14 Tambet Ingo <tambet@gmail.com>
4191 * src/backends/NetworkManagerSlackware.c
4192 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4194 * src/backends/NetworkManagerSuSE.c: Add missing includes.
4196 2008-03-14 Dan Williams <dcbw@redhat.com>
4199 - (nm_device_interface_get_iface): g_object_get() will return an
4200 allocated value, so this function must not return const
4201 - (nm_device_interface_activate): free returned iface
4203 2008-03-14 Tambet Ingo <tambet@gmail.com>
4205 * libnm-util/Makefile.am: Add new files to build.
4207 * libnm-util/nm-connection.c: Register NMSetting8021x.
4209 * libnm-util/nm-setting-8021x.c
4210 * libnm-util/nm-setting-8021x.h: Implement.
4212 2008-03-14 Tambet Ingo <tambet@gmail.com>
4214 * libnm-util/Makefile.am: Add new files to build.
4216 * libnm-util/nm-connection.c: Register NMSetting8021x.
4218 * libnm-util/nm-setting-8021x.c
4219 * libnm-util/nm-setting-8021x.h: Implement.
4221 2008-03-14 Tambet Ingo <tambet@gmail.com>
4223 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4226 2008-03-14 Dan Williams <dcbw@redhat.com>
4228 * include/wireless-helper.h
4230 - One place for all the junk needed for #including wireless.h
4233 src/NetworkManagerAP.c
4236 libnm-util/nm-utils.c
4237 libnm-util/nm-setting-wireless.c
4238 libnm-glib/nm-device-802-11-wireless.c
4239 libnm-glib/nm-access-point.c
4240 libnm-glib/libnm-glib-test.c
4241 - include wireless-helper.h, not iwlib.h
4244 - Don't need libiw really, just need to check for wireless.h
4246 * src/kernel-types.h
4247 - Remove; used types moved into wpa.c
4249 * src/nm-device-802-11-wireless.c
4250 - (nm_device_802_11_wireless_update_signal_strength,
4251 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4252 nm_device_802_11_wireless_set_mode,
4253 nm_device_802_11_wireless_get_frequency,
4254 nm_device_802_11_wireless_get_ssid,
4255 nm_device_802_11_wireless_set_ssid,
4256 nm_device_802_11_wireless_get_bitrate,
4257 nm_device_802_11_wireless_get_bssid,
4258 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4259 instead of iwlib functions
4261 2008-03-14 Dan Williams <dcbw@redhat.com>
4263 * src/ppp-manager/nm-ppp-manager.c
4264 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4265 should only take the DBusGMethodInvocation argument, not user/pass
4266 too. With dbus-glib, async functions only take 2 C arguments since
4267 the real dbus method arguments get passed back with
4268 dbus_g_method_return()
4270 2008-03-13 Tambet Ingo <tambet@gmail.com>
4272 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
4273 Adapt the changes of NMSettingIP4Config.
4275 2008-03-13 Dan Williams <dcbw@redhat.com>
4277 * src/NetworkManagerUtils.c
4278 src/NetworkManagerUtils.h
4279 - (nm_ether_ntop): replacement for iw_ether_ntop()
4281 * src/NetworkManagerAP.c
4282 src/nm-device-802-11-wireless.c
4283 src/nm-device-802-3-ethernet.c
4284 - s/iw_ether_ntop/nm_ether_ntop/g
4286 2008-03-13 Dan Williams <dcbw@redhat.com>
4288 * src/NetworkManagerPolicy.c
4289 - (update_routing_and_dns): never set the default route through an
4290 IPv4LL addressed device
4292 2008-03-13 Dan Williams <dcbw@redhat.com>
4294 * NetworkManagerUtils.c
4295 NetworkManagerUtils.h
4296 - Remove NMSock stuff
4297 - Remove the completion stuff
4302 NetworkManagerSystem.c
4304 nm-device-802-11-wireless.c
4305 nm-device-802-3-ethernet.c
4306 - Remove NMSock and completion stuff
4307 - Remove nm_ioctl_info()
4309 2008-03-12 Dan Williams <dcbw@redhat.com>
4312 - (merge_ip4_config): avoid duplicates
4314 2008-03-12 Dan Williams <dcbw@redhat.com>
4316 * libnm-util/nm-setting-ip4-config.c
4317 libnm-util/nm-setting-ip4-config.h
4318 - Remove 'manual' and 'autoip' properties
4319 - Add 'method' property
4320 - (verify): fix verification with 'method'
4321 - (finalize): free 'method'
4322 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4326 - (real_act_stage3_ip_config_start): check IP4Config method
4327 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4329 - (merge_ip4_config): IP settings are valid with DHCP too
4330 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4331 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4333 * src/nm-device-802-11-wireless.c
4334 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4335 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4338 * system-settings/plugins/ifcfg-fedora/parser.c
4339 system-settings/plugins/ifcfg-suse/parser.c
4340 - (make_ip4_setting): fix up for 'method'
4342 2008-03-12 Dan Williams <dcbw@redhat.com>
4344 * system-settings/plugins/ifcfg-fedora/parser.c
4345 system-settings/plugins/ifcfg-fedora/parser.h
4346 - (get_ifcfg_name): ignore more file suffixes
4347 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4349 2008-03-12 Dan Williams <dcbw@redhat.com>
4352 - Bring in the bits of gnome-common we actually use (all 15 lines)
4354 2008-03-12 Dan Williams <dcbw@redhat.com>
4356 * system-settings/plugins/ifcfg-fedora/plugin.c
4357 - (write_auto_wired_connection): new function; write out an auto
4358 wired connection file since the applet isn't doing it any more
4359 - (reload_all_connections): write out the auto wired connection file
4360 if there aren't any wired connections already
4361 - (init): don't leak a GError
4363 2008-03-12 Dan Williams <dcbw@redhat.com>
4365 * src/nm-device-interface.c
4366 - (nm_device_interface_activate): print the ID of the connection
4367 that's about to be activated
4369 2008-03-12 Dan Williams <dcbw@redhat.com>
4371 Harmonize the 802.11 bitrate API
4373 * introspection/nm-access-point.xml
4374 - 'Rate' -> 'MaxBitrate'; clarify units
4376 * introspection/nm-device-802-11-wireless.xml
4377 - Clarify units of 'Bitrate'
4379 * src/NetworkManagerAP.c
4380 src/NetworkManagerAP.h
4381 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4382 property to 'max-bitrate'
4383 - (foreach_property_cb): convert rate to Kb/s
4385 * src/nm-device-802-11-wireless.c
4386 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4388 * libnm-glib/nm-access-point.c
4389 libnm-glib/nm-access-point.h
4390 - 'rate' -> 'max-bitrate'
4393 libnm-glib/libnm-glib-test.c
4394 - Fix up for these changes
4396 2008-03-12 Dan Williams <dcbw@redhat.com>
4399 - (nm_device_set_ip4_config): don't send property notifications when
4400 the ip4 config is set to NULL; it causes a PropertyChanged signal
4401 which dbus-glib can't parse because the value is NULL, which isn't
4402 a legal object path. Setting the IP4 config to NULL is only
4403 valid when deactivating a device anyway, so the device state change
4404 will alert listeners that the ip4 config is invalid.
4406 2008-03-12 Dan Williams <dcbw@redhat.com>
4408 * src/nm-properties-changed-signal.c
4409 - (add_to_string): better handling of NULL objects
4411 2008-03-12 Dan Williams <dcbw@redhat.com>
4413 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4414 convert the libnm-glib NMDevice8023Ethernet to cached properties
4416 * introspection/nm-device-802-3-ethernet.xml
4417 - New 'Carrier' property
4418 - New 'PropertiesChanged' signal
4420 * introspection/nm-device.xml
4421 - Remove 'Carrier' property
4422 - Remove 'CarrierChanged' signal
4424 * src/nm-device-interface.c
4425 src/nm-device-interface.h
4426 - (nm_device_interface_init): remove 'carrier' property and
4427 'carrier-changed' signal
4431 - (nm_device_get_carrier, nm_device_set_carrier): remove
4432 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
4433 the link here; wired device will handle that
4434 - (handle_dhcp_lease_change): don't bother updating link here
4435 - (get_property, nm_device_class_init): remove carrier property
4437 * src/nm-device-802-11-wireless.c
4438 - (real_update_link, nm_device_802_11_wireless_class_init): remove
4439 real_update_link(); wireless devices don't use carrier at all
4440 - (link_timeout_cb, supplicant_iface_state_cb_handler,
4441 supplicant_iface_connection_state_cb_handler,
4442 supplicant_mgr_state_cb_handler): remove anything to do with carrier
4444 * src/nm-device-802-3-ethernet.c
4445 src/nm-device-802-3-ethernet.h
4446 - (nm_device_802_3_ethernet_carrier_on,
4447 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
4448 instead of nm_device_set_carrier()
4449 - (device_state_changed): update link from sysfs on activation;
4450 replaces real_update_link()
4451 - (real_update_link): remove, replaced by device_state_changed()
4452 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
4453 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
4454 - (real_get_generic_capabilities, real_can_interrupt_activation): use
4455 new get_carrier function
4456 - (get_property): add 'carrier' property
4457 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
4458 hook into property-changed signal helper
4460 * src/NetworkManagerPolicy.c
4461 - (device_carrier_changed): will only ever be called with a wired device
4462 - (device_added): only hook up to carrier-changed for wired devices
4464 * libnm-glib/nm-device.c
4465 libnm-glib/nm-device.h
4466 - (constructor, nm_device_class_init): remove carrier-changed signal
4467 - (device_carrier_changed_proxy): remove; unused
4468 - (nm_device_get_carrier): remove; carrier a property of wired devices
4470 * libnm-glib/nm-device-802-3-ethernet.c
4471 libnm-glib/nm-device-802-3-ethernet.h
4472 - Convert to cached properties like AP and Wireless objects
4473 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
4474 instead of a 'char *', return value should not be freed
4475 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
4476 - (constructor): hook into properties-changed helper
4477 - (set_property, get_property): new functions
4478 - (nm_device_802_3_ethernet_class_init): export GObject properties
4481 - (detail_device): strdup the wired hardware address too since it's
4484 * libnm-glib/libnm-glib-test.c
4485 - (dump_wired): strdup the wired hardware address too since it's
4488 2008-03-12 Dan Williams <dcbw@redhat.com>
4490 * libnm-util/nm-setting-ip4-config.c
4491 libnm-util/nm-setting-ip4-config.h
4492 - (set_property, get_property, nm_setting_ip4_config_class_init): add
4493 the 'autoip' property from the spec
4495 2008-03-11 Dan Williams <dcbw@redhat.com>
4497 * src/backends/NetworkManagerGeneric.c
4498 src/backends/NetworkManagerGeneric.h
4499 - (nm_generic_device_get_use_dhcp): remove
4501 2008-03-11 Dan Williams <dcbw@redhat.com>
4504 - (nm_device_deactivate): don't need to munge DNS here; that gets done
4505 already in nm_device_set_ip4_config()
4506 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
4507 due to a DHCP rebind fails
4508 - (nm_device_set_ip4_config): send property notifications when the
4510 - (get_property): only report IP4Config property during valid states
4512 * src/NetworkManagerPolicy.c
4513 - (update_routing_and_dns): ignore devices that don't have an ip4
4514 config; add parameter 'force_update' to allow callers to specify
4515 that changes should be made even if the default device doesn't change
4516 - (device_ip4_config_changed): update DNS and routing when the device's
4517 IP4Config changes, like for DHCP updates
4518 - (device_added): listen for ip4-config property changes
4520 2008-03-11 Dan Williams <dcbw@redhat.com>
4522 Fix address handling as a result of DHCP rebind/renew/reboot.
4524 * src/NetworkManagerSystem.c
4525 - (check_one_address): delete an address if it doesn't match a given
4526 one for the same interface
4527 - (nm_system_device_set_from_ip4_config): don't flush the default route,
4528 be smarter about flushing addresses (only flush ones that don't
4529 match the one we're about to apply)
4531 * src/backends/NetworkManagerDebian.c
4532 src/backends/NetworkManagerSuSE.c
4533 src/backends/NetworkManagerArch.c
4534 src/backends/NetworkManagerSlackware.c
4535 src/backends/NetworkManagerRedHat.c
4536 src/backends/NetworkManagerPaldo.c
4537 src/backends/NetworkManagerFrugalware.c
4538 src/backends/NetworkManagerGentoo.c
4539 - (nm_system_delete_default_route): remove
4541 * src/backends/NetworkManagerGeneric.c
4542 src/backends/NetworkManagerGeneric.h
4543 - (nm_generic_enable_loopback): fix the loopback device label
4544 - (nm_generic_delete_default_route): remove; no longer used
4546 2008-03-11 Dan Williams <dcbw@redhat.com>
4548 * src/nm-device-interface.h
4549 - Delimit property name words with '-', otherwise g_object_notify()
4550 doesn't work the way we expect
4552 2008-03-11 Tambet Ingo <tambet@gmail.com>
4554 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
4556 2008-03-11 Dan Williams <dcbw@redhat.com>
4558 * src/NetworkManagerPolicy.c
4559 - (update_routing_and_dns): don't change anything if the default device
4560 hasn't changed; print something out when switching the default route
4563 2008-03-10 Tambet Ingo <tambet@gmail.com>
4567 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
4568 setting. Use "nic-$eth".
4570 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
4571 the device is activating here to fix a race condition.
4573 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
4575 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
4576 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
4577 (nm_ppp_manager_start): Take activation request instead of connection, we might
4578 need it for asking secrets.
4579 (nm_ppp_manager_update_secrets): Implement.
4581 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
4582 ppp manager start. It might be needed for asking secrets.
4584 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
4585 (ppp_state_changed): Handle pppd daemon disappearing.
4586 (pppoe_stage2_config): Send activation request to ppp manager start.
4588 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
4590 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
4591 username and password.
4593 2008-03-10 Dan Williams <dcbw@redhat.com>
4596 - (handle_dhcp_lease_change): apply an IP4 config to a device in
4597 response to a DHCP lease change
4598 - (dhcp_state_changed): handle DHCP lease changes while activated
4599 - (nm_device_set_ip4_config): remove a previously set named config
4600 when setting an ip4 config
4602 2008-03-10 Dan Williams <dcbw@redhat.com>
4604 * src/nm-serial-device.c
4605 - (nm_serial_device_send_command): report errno on error
4606 - (get_reply_got_data): limit the size of the overall buffer
4607 - (wait_for_reply_info_destroy): destroy result string
4608 - (wait_for_reply_got_data): append received data to an overall buffer
4609 until timeout, filled buffer, or error instead of keeping a per-call
4610 buffer. Some devices send data slowly enough that this function
4611 gets called multiple times for the same command stream.
4612 - (nm_serial_device_wait_for_reply): initialize overall buffer for
4613 wait_for_reply_got_data() here
4615 2008-03-10 Dan Williams <dcbw@redhat.com>
4617 * src/nm-cdma-device.c
4618 - (do_dial, init_modem): handle errors from
4619 nm_serial_device_send_command_string()
4621 * src/nm-gsm-device.c
4622 - (do_dial, manual_registration, automatic_registration_get_network,
4623 automatic_registration, enter_pin, check_pin, init_modem): handle
4624 errors from nm_serial_device_send_command_string()
4626 2008-03-10 Dan Williams <dcbw@redhat.com>
4628 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
4630 * src/named-manager/nm-named-manager.c
4631 - (compute_searches): prefer searches before domains
4632 - (compute_domain): new function
4633 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
4634 - (merge_one_ip4_config): if there are no searches in the source config,
4635 merge domains of the source config into the target config
4636 - (compute_nameservers): make formatting of resolv.conf a bit nicer
4638 2008-03-10 Dan Williams <dcbw@redhat.com>
4640 * src/nm-serial-device.c
4641 - (get_reply_got_data): clean up indentation, shrink serial buffer
4642 - (wait_for_reply_got_data): try to handle slower serial devices where
4643 the reply is broken up into multiple reads by concatenating replies
4644 together until either an error is received or the search string is
4647 2008-03-10 Dan Williams <dcbw@redhat.com>
4650 - (nm_device_bring_down): deactivate the device if it's activating too,
4651 not just if it's already activated. This makes sure that everything
4652 from an association attempt is cleaned up (like DHCP for example)
4654 2008-03-10 Dan Williams <dcbw@redhat.com>
4656 * src/nm-serial-device.c
4657 - (config_fd): report error from TCSETA
4658 - (nm_serial_device_open): fail when config_fd() fails
4660 2008-03-10 Dan Williams <dcbw@redhat.com>
4662 * src/nm-ip4-config.c
4663 - (nm_ip4_config_init): allocate searches list
4664 - (finalize): free searches list
4666 2008-03-09 Dan Williams <dcbw@redhat.com>
4668 Patch from Bas Zoetekouw <bas@debian.org>
4670 * src/dhcp-manager/nm-dhcp-manager.c
4671 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
4673 2008-03-09 Dan Williams <dcbw@redhat.com>
4675 Patch from Bas Zoetekouw <bas@debian.org>
4677 * src/nm-ip4-config.c
4679 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
4680 nm_ip4_config_get_num_searches): add 'searches' as distinct from
4681 domains. 'searches' is the correct way to store multiple search
4682 domains, whereas 'domains' is really just supposed to store one
4683 domain. Some sites abuse the DHCP 'domain-name' option to push
4684 search domains to the client.
4685 - (nm_ip4_config_add_domain): group with related functions (my patch)
4687 2008-03-09 Dan Williams <dcbw@redhat.com>
4689 * src/dhcp-manager/nm-dhcp-manager.c
4690 - (dhclient_run): send interface-specific config files to dhclient
4692 2008-03-07 Dan Williams <dcbw@redhat.com>
4694 * system-settings/plugins/ifcfg-fedora/parser.c
4695 - (is_wireless_device): new function; test a device for wireless
4697 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
4698 test the device for wireless extensions to determine the type
4700 2008-03-07 Dan Williams <dcbw@redhat.com>
4702 Change manager's StateChange signal to StateChanged for consistency.
4704 * introspection/nm-manager.xml
4705 - Add 'StateChanged' signal
4706 - Move 'StateChange' down to the deprecated section
4708 * src/nm-hal-manager.c
4709 - (nm_hal_manager_new): connect to 'state-changed' instead
4711 * src/NetworkManagerPolicy.c
4712 - (nm_policy_new): connect to 'state-changed' instead
4716 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
4717 - (nm_manager_class_init): add 'state-changed' and not the deprecation
4720 * libnm-glib/nm-client.c
4721 libnm-glib/nm-client.h
4722 - (constructor, nm_client_class_init, client_state_changed_proxy):
4723 track and proxy 'state-changed' instead of 'state-change'
4725 2008-03-07 Dan Williams <dcbw@redhat.com>
4727 First pass of multiple active device support. Expect bugs.
4729 * src/nm-ip4-config.c
4731 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
4732 there are better ways to do this in the named manager
4736 - (nm_device_can_activate): return whether the device can activate a
4737 connection right now; taking into account things like carrier state
4739 - (nm_device_get_best_auto_connection): renamed from
4740 nm_device_get_best_connection
4741 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
4742 device subclasses themselves, so that each device can override the
4743 MTU from it's NMSetting subclass if needed
4744 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
4745 in NetworkManagerSystem.c, not here
4747 * src/named-manager/nm-named-manager.c
4748 src/named-manager/nm-named-manager.h
4749 - (nm_named_manager_name_owner_changed,
4750 nm_named_manager_dbus_connection_changed): fix for changes to
4751 rewrite_resolv_conf()
4752 - (compute_nameservers): don't need the NMNamedManager at all, remove
4754 - (merge_one_ip4_config): new function; merge ip4 configs together
4755 - (rewrite_resolv_conf): write out resolv.conf from all the stored
4756 ip4 configs; the VPN config takes precedence, then the best
4757 device config, then the rest of the configs
4758 - (get_domain_for_config): take the NMNamedManager as an argument
4759 to check whether the config is the VPN config
4760 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
4761 attribute from ip4 configs
4762 - (add_all_ip4_configs_to_named): add all the configs in priority order
4763 - (remove_ip4_config_from_named): fix for changes to
4764 get_domain_for_config()
4765 - (nm_named_manager_add_ip4_config): assign the config to the right slot
4766 based on its type; callers must pass in the type now
4767 - (get_last_default_domain): remove, unused
4768 - (nm_named_manager_remove_ip4_config): handle config slots correctly
4770 * src/nm-device-802-11-wireless.c
4771 - (real_can_activate): new function
4772 - (real_get_best_auto_connection): renamed from real_get_best_connection
4773 - (real_act_stage4_get_ip4_config): handle MTU override
4775 * src/nm-device-802-3-ethernet.c
4776 - (real_can_activate): new function
4777 - (real_get_best_auto_connection): renamed from real_get_best_connection
4778 - (real_act_stage4_get_ip4_config): new function; handle MTU override
4780 * src/vpn-manager/nm-vpn-connection.c
4781 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
4782 attribute on the ip4 config
4784 * src/NetworkManagerPolicy.c
4785 - (nm_policy_auto_get_best_device): remove
4786 - (nm_policy_device_change_check): remove
4787 - (update_default_route): new function; set the default route via
4788 the specified device
4789 - (get_device_priority): new function; return the priority number of
4790 a device type WRT which one should have the default route. Order is
4791 (highest to lowest) wired, wireless, GSM, CDMA.
4792 - (update_routing_and_dns): new function; determine which device should
4793 have the default route, then update the routing table and DNS
4794 - (maybe_auto_activate_device): new function; if a device is now
4795 available for activation, find out what connection it would like to
4797 - (schedule_activate_check): new function; if a device can be activated
4798 now, schedule the activation. Each device may have only one
4799 pending activation at a given time.
4800 - (device_state_changed): if activation was canceled, try again,
4801 possibly with another connection; if the device was activated,
4802 update routing and DNS; if the device was deactivated, try again
4803 with another connection
4804 - (device_carrier_changed): if there is no carrier, deactivate the
4805 device; otherwise schedule an activation check for the device
4806 - (wireless_networks_changed): schedule an activation check for the
4808 - (device_added): keep track of the signal handler IDs so they can
4809 be removed when the device goes away
4810 - (device_removed): remove any signal handlers that might be attached
4811 to the device; update routing and DNS
4812 - (schedule_activate_all): new function
4813 - (connections_added, connection_added, connection_updated): when
4814 connections change, schedule all devices for an activation check
4815 - (connection_removed): when a device is deactivated because its
4816 connection was removed, schedule another activation check for it
4817 - (nm_policy_destroy): destroy pending activations and disconnect
4818 all device signal handlers
4821 - (nm_manager_activate_device): if the device was already actived,
4823 - (deactivate_old_device): remove
4824 - (connection_added_default_handler, impl_manager_activate_device):
4825 don't deactivate other devices when activating this one
4827 * src/backends/NetworkManagerGentoo.c
4828 src/backends/NetworkManagerFrugalware.c
4829 src/backends/NetworkManagerPaldo.c
4830 src/backends/NetworkManagerRedHat.c
4831 src/backends/NetworkManagerSlackware.c
4832 src/backends/NetworkManagerArch.c
4833 src/backends/NetworkManagerSuSE.c
4834 src/backends/NetworkManagerDebian.c
4835 - (nm_system_get_mtu): remove; MTU should be provided through the
4836 distro's system settings service plugin instead
4837 - (nm_system_device_add_default_route_via_device): remove
4838 - (nm_system_device_add_default_route_via_device_with_iface): remove
4839 - (nm_system_device_replace_default_route): new function; call
4840 generic implementation
4842 * src/backends/NetworkManagerGeneric.c
4843 src/backends/NetworkManagerGeneric.h
4844 - (nm_generic_device_add_default_route_via_device,
4845 nm_generic_device_add_default_route_via_device_with_iface): remove
4846 - (nm_generic_device_replace_default_route): replace the default route
4847 with the given route via some gateway
4849 * src/NetworkManagerSystem.c
4850 src/NetworkManagerSystem.h
4851 - (nm_system_device_set_from_ip4_config): let the policy handle updates
4852 to routing and DNS; but set the MTU here
4853 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
4854 ip_iface of the active device; use the standard MTU setting function
4855 - (nm_system_set_mtu): remove
4856 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
4858 2008-03-07 Tambet Ingo <tambet@gmail.com>
4860 Rework the interaction between ppp manager and pppd plugin. Register a well
4861 known DBUS service in manager and let the plugin call it's methods instead
4862 of listening plugin's signals.
4864 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
4865 of emitting signals.
4867 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
4869 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
4871 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
4872 nm_ppp_manager_start().
4874 * introspection/nm-ppp-manager.xml: New file.
4876 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
4877 the case correctly where driver is trying to send -1 for the speed, which gets
4878 casted to u16 and thus is always > 0.
4880 2008-03-07 Dan Williams <dcbw@redhat.com>
4882 * src/nm-hal-manager.c
4883 - (nm_get_device_driver_name): use net.originating_device first, fall
4884 back to physical device. HAL has deprecated physical_device.
4886 * libnm-glib/nm-device.c
4887 - (get_product_and_vendor): use net.originating_device first, fall
4888 back to physical device. HAL has deprecated physical_device.
4889 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
4891 2008-03-07 Dan Williams <dcbw@redhat.com>
4894 - (nm_netlink_get_default_handle): mistakenly removed too much code in
4895 last commit; fix that
4896 - (get_link_cache): print error string
4898 2008-03-07 Dan Williams <dcbw@redhat.com>
4901 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
4902 don't need this hack any more (Benoit Boissinot)
4904 2008-03-06 Dan Williams <dcbw@redhat.com>
4907 - Die gnome-common, die
4909 2008-03-04 Dan Williams <dcbw@redhat.com>
4911 Patch from Michael Biebl <biebl@debian.org>
4913 * NetworkManager.pc.in
4914 - doesn't actually depend on dbus-1
4916 * libnm-util/nm-utils.h
4917 - remove unused #include <dbus/dbus.h>
4919 * libnm-glib/libnm_glib.pc.in
4920 - depends on glib and dbus-glib
4922 2008-03-02 Dan Williams <dcbw@redhat.com>
4924 * src/NetworkManagerPolicy.c
4925 - s/device_state_changed_idle_id/update_state_id/
4927 2008-03-02 Dan Williams <dcbw@redhat.com>
4931 src/nm-device-802-11-wireless.c
4932 src/nm-device-802-3-ethernet.c
4933 src/NetworkManagerPolicy.c
4934 - s/link_active/carrier
4935 - nm_device_set_active_link() -> nm_device_set_carrier()
4936 - nm_device_has_active_link() -> nm_device_get_carrier()
4938 2008-03-02 Dan Williams <dcbw@redhat.com>
4940 * system-settings/plugins/ifcfg-fedora/parser.c
4941 - (make_wireless_setting): fail connection creation on missing SSID
4943 2008-02-29 Dan Williams <dcbw@redhat.com>
4945 * src/NetworkManagerPolicy.c
4946 - (nm_policy_device_change_check): ensure that a previously active
4947 device with a system connection has a link before denying a switch
4948 to a user connection
4950 2008-02-29 Dan Williams <dcbw@redhat.com>
4952 * src/nm-device-802-11-wireless.c
4953 - (link_timeout_cb): try again if scanning; deactivate the device when
4954 activated if the link dies
4955 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
4958 2008-02-29 Dan Williams <dcbw@redhat.com>
4960 * src/nm-device-802-11-wireless.c
4961 src/nm-device-802-11-wireless.h
4962 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
4963 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
4964 - (device_cleanup): reset the scan interval lower when the device
4966 - (can_scan): base decision mostly off device state, not supplicant
4967 interface state since the supplicant interface state isn't a
4968 great indicator of whether the device is active or not
4969 - (request_wireless_scan): clean up; schedule the next scan here
4970 - (schedule_scan): only back the scan interval off if a new scan
4971 actually gets scheduled; and make scan intervals tighter when the
4972 device is disconnected
4973 - (supplicant_iface_state_cb_handler): fold in the bits of
4974 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
4976 - (activation_success_handler): reset scan interval to something
4979 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
4981 reviewed by: Steev <steev@steev.net>
4984 * src/backends/NetworkManagerGentoo.c:
4985 (nm_system_restart_mdns_responder):
4986 Howl is no longer a supported mDNS provider
4988 2008-02-28 Tambet Ingo <tambet@gmail.com>
4990 Get rid of a bunch of unused distro specific functions.
4992 2008-02-28 Tambet Ingo <tambet@gmail.com>
4994 Implement suse plugin for system settings daemon.
4996 * system-settings/plugins/ifcfg-suse/*: Implement.
4998 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5001 * configure.in: Check (without failing) for gio.
5002 Create ifcfg-suse plugin's Makefile.
5004 2008-02-20 Dan Williams <dcbw@redhat.com>
5006 * libnm-util/nm-connection.c
5007 libnm-util/nm-connection.h
5008 - (nm_connection_compare): accept compare flags and pass them to the
5009 setting compare function
5011 * libnm-util/nm-setting.c
5012 libnm-util/nm-setting.h
5013 - (nm_setting_compare): accept compare flags; ignore properties that are
5016 * libnm-util/nm-setting-connection.c
5017 libnm-util/nm-setting-wireless.c
5018 libnm-util/nm-setting-ppp.c
5019 libnm-util/nm-setting-wired.c
5020 - Mark some setting properties as ignorable when doing a fuzzy compare
5023 - (device_activation_precheck): use exact compare
5025 2008-02-20 Dan Williams <dcbw@redhat.com>
5027 * src/NetworkManagerPolicy.c
5028 - (nm_policy_device_change_check): get scope off the connection, not
5029 using the manager helper
5033 - (get_scope_for_proxy): rename from get_type_for_proxy()
5034 - (connection_get_settings_cb): set scope and path on connection, not
5035 using GObject data items
5036 - (get_connection_for_proxy): don't need to return path, since that
5037 can be gotten from the connection
5038 - (get_connection_for_proxy): get path off the connection, not from
5040 - (connection_removed_cb, connection_updated_cb): don't need to get
5041 path from get_connection_for_proxy(); get scope off the connection
5042 instead of using GObject data items
5043 - (connection_added_default_handler, add_one_connection_element): use
5044 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5045 - (nm_manager_get_connection_dbus_path): remove
5046 - (nm_manager_get_connection_scope): remove
5048 2008-02-20 Dan Williams <dcbw@redhat.com>
5050 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5053 * Add 'path' and 'scope' properties to NMConnection since both NM and the
5054 applet were having to hack this in anyway. Remove the 'path' stuff from
5055 NMExportedConnection
5057 * Internally rename NMConnectionType -> NMConnectionScope
5059 * Provide default implementations of the 'get_id' and 'get_settings' methods
5060 of NMExportedConnection
5062 2008-02-15 Dan Williams <dcbw@redhat.com>
5064 * src/nm-device-802-11-wireless.c
5065 - (device_cleanup): release the AP list here too so that the AP list
5066 doesn't survive across suspend/resume and up/down. There is some
5067 room for optimization, for example blow the list away when the card
5068 brought back up, but only if the device has only been down for a
5071 2008-02-15 Dan Williams <dcbw@redhat.com>
5073 * src/nm-hal-manager.c
5074 - (modem_device_creator): recognize new HAL modem capabilities
5076 2008-02-12 Dan Williams <dcbw@redhat.com>
5078 * system-settings/plugins/ifcfg-fedora/plugin.c
5079 - (watch_path): handle IN_DELETE_SELF too
5080 - (handle_connection_changed): notify when removing a connection
5081 - (stuff_changed): don't warn on unknown inotify watches; handle the
5082 case of a file moving out of the profile directory
5084 2008-02-12 Dan Williams <dcbw@redhat.com>
5086 * system-settings/plugins/ifcfg-fedora/parser.c
5087 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5089 2008-02-12 Dan Williams <dcbw@redhat.com>
5091 * libnm-util/nm-utils.c
5092 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5093 just any empty array
5095 2008-02-12 Dan Williams <dcbw@redhat.com>
5097 * system-settings/src/nm-system-config-interface.c
5098 system-settings/src/nm-system-config-interface.h
5099 - (load_connections): get_connections() should now return an allocated
5100 GSList that the system settings service will free
5102 * system-settings/plugins/ifcfg-fedora/plugin.c
5103 system-settings/plugins/ifcfg-fedora/parser.h
5104 system-settings/plugins/ifcfg-fedora/parser.c
5105 - Fix up inotify issues; handle keys-* files, handle new files appearing
5106 in the profile directory, handle resolv.conf file changes
5108 2008-02-10 Dan Williams <dcbw@redhat.com>
5110 * src/nm-device-802-3-ethernet.c
5111 - (real_bring_up): save the supplicant interface state signal id
5112 - (real_bring_down): disconnect from the supplicant interface state
5115 2008-02-07 Dan Williams <dcbw@redhat.com>
5117 * initscript/RedHat/NetworkManager.in
5118 initscript/RedHat/NetworkManagerDispatcher.in
5119 - Add new-style LSB init headers
5121 2008-02-07 Dan Williams <dcbw@redhat.com>
5123 * system-settings/src/dbus-settings.c
5124 system-settings/src/dbus-settings.h
5125 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5127 - (connection_settings_get_secrets): consolidate error returns into
5128 one place; use the new get_secrets() plugin interface function to
5129 get secrets from the plugin itself rather than using GObject data
5132 * system-settings/src/main.c
5133 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5134 load_connections): keep a private list of the plugin-returned
5135 connections, don't use the plugin's GSList
5137 * system-settings/plugins/ifcfg-fedora/plugin.c
5138 - (watch_path): watch the path, not the filename (duh)
5139 - (reload_all_connections): use the direct hash/equal functions; the
5140 ones for int aren't appropriate here
5141 - (get_secrets, system_config_interface_init): implement the
5142 get_secrets() function
5143 - (build_one_connection, find_connection_by_path): ifcfg file path is
5144 now in the connection's ConnectionData instead of being a GObject
5146 - (handle_profile_item_changed): ifcfg file path is now in the
5147 connection's ConnectionData instead of being a GObject data property;
5148 be sure to copy secrets over from the new connection to the existing
5149 connection when updating the connection's settings
5150 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5153 * system-settings/plugins/ifcfg-fedora/parser.c
5154 system-settings/plugins/ifcfg-fedora/parser.h
5155 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5156 connection_data_copy_secrets, connection_data_free,
5157 connection_data_add): new functions; connection data manipulation
5158 - (make_wireless_security_setting): stuff secrets into the
5159 connection data, not as GObject data items; make sure to close
5161 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5162 connection data to the connection
5164 2008-02-07 Dan Williams <dcbw@redhat.com>
5166 * system-settings/src/nm-system-config-interface.c
5167 system-settings/src/nm-system-config-interface.h
5168 - Add a get_secrets() interface function to retrieve secrets for a
5169 specific setting of a specific connection. Document the interface
5172 2008-02-07 Dan Williams <dcbw@redhat.com>
5174 * src/nm-device-802-11-wireless.c
5175 - (handle_auth_or_fail): new function; consolidate device activation
5176 failure check after a certain number of failures getting secrets
5177 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5178 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5179 the connection if secrets were requested more than a few times
5180 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5181 tries here; otherwise they are cleared before the IP configure
5182 timeout, which happens with open system WEP when key is wrong
5183 - (activation_success_handler): clear wireless secrets tries here too
5185 2008-02-07 Dan Williams <dcbw@redhat.com>
5187 * src/NetworkManagerPolicy.c
5188 - (connection_updated): clear invalid tag when connection gets updated
5189 to allow that connection to be tried again
5190 - (nm_policy_new): save signal ids so they can be disconnected when
5191 the policy is destroyed
5192 - (nm_policy_destroy): stop any in-progress state change idle handler,
5193 and disconnect all signals from the manager object so that none
5194 of the policy functions gets called after the policy is destroyed
5196 2008-02-06 Dan Williams <dcbw@redhat.com>
5199 - (finalize): remove devices a bit earlier; clean up system settings
5201 - (nm_manager_name_owner_changed): clean up system settings poke when
5202 the service appears, and try to restart it if it fails
5203 - (poke_system_settings_daemon_cb): try to get the system settings
5204 service started through D-Bus service activation
5205 - (initial_get_connections): start the system settings daemon if it's
5208 2008-02-05 Dan Williams <dcbw@redhat.com>
5210 * src/supplicant-manager/nm-supplicant-config.c
5211 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5212 broadcast networks too
5214 2008-02-04 Dan Williams <dcbw@redhat.com>
5216 * system-settings/plugins/ifcfg-fedora/parser.c
5217 - (make_wireless_security_setting): fix spelling; unencrypted networks
5218 need key_mgmt set too
5219 - (parser_parse_file): validate ifcfg file name and don't try to parse
5220 .bak files; ensure that an error is set whenever NULL gets returned
5222 2008-02-04 Dan Williams <dcbw@redhat.com>
5224 * system-settings/src/Makefile.am
5225 - Install D-Bus service activation file for the system settings
5228 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5229 - D-Bus service activation file for system settings service
5231 2008-02-04 Dan Williams <dcbw@redhat.com>
5233 * system-settings/src/main.c
5234 - (parse_config_file): parse a config file
5235 - (main): accept --config option and read plugins from config file
5237 2008-02-04 Dan Williams <dcbw@redhat.com>
5239 * system-settings/plugins/ifcfg-fedora/plugin.c
5240 - Change reported name to 'ifcfg-fedora'
5241 - Use IFCFG_PLUGIN_NAME
5243 * system-settings/plugins/ifcfg-fedora/plugin.c
5244 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5246 2008-02-04 Dan Williams <dcbw@redhat.com>
5248 * system-settings/plugins/ifcfg-fedora/parser.c
5249 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5250 - (make_connection_setting): use get_ifcfg_name()
5251 - (make_wireless_security_setting): handle shadow key files
5252 - (get_one_wep_key): treat empty string as NULL
5254 2008-02-04 Dan Williams <dcbw@redhat.com>
5256 * src/supplicant-manager/nm-supplicant-manager.c
5257 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5258 glib automatically reschedule
5259 - (nm_supplicant_manager_init): immediately try to start the supplicant
5260 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5263 2008-02-01 Dan Williams <dcbw@redhat.com>
5265 * src/NetworkManagerPolicy.c
5266 - (device_state_changed): schedule a change check when a device gets
5267 deactivated so something happens if you disconnect GSM/CDMA
5269 2008-01-31 Dan Williams <dcbw@redhat.com>
5271 * src/nm-device-802-11-wireless.h
5272 src/nm-device-802-11-wireless.c
5273 - (ap_list_get_ap_by_ssid, is_associated,
5274 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5275 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5276 - (nm_device_802_11_wireless_get_activation_ap): collapse
5277 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5280 2008-01-30 Dan Williams <dcbw@redhat.com>
5282 * system-settings/plugins/ifcfg
5283 * system-settings/plugins/ifcfg-fedora
5284 - Move the ifcfg plugin to ifcfg-fedora
5286 2008-01-24 Dan Williams <dcbw@redhat.com>
5288 * libnm-glib/nm-device-802-11-wireless.c
5289 - (get_access_point): move the "/" check here; check for invalid path
5291 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5292 to get_access_point()
5293 - (access_point_added_proxy, access_point_removed_proxy): don't try
5294 to send signals for non-existent access points
5296 2008-01-24 Dan Williams <dcbw@redhat.com>
5298 * libnm-glib/nm-device-802-11-wireless.c
5299 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5301 2008-01-23 Dan Williams <dcbw@redhat.com>
5303 * libnm-glib/libnm_glib.c
5304 - (libnm_glib_init): make thread joinable
5305 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5307 2008-01-23 Dan Williams <dcbw@redhat.com>
5309 * test/libnm_glib_test.c
5310 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5311 - (main): set up signal handlers; call libnm_glib_shutdown
5313 2008-01-21 Dan Williams <dcbw@redhat.com>
5315 * include/NetworkManager.h
5316 - Add CDMA mobile broadband card device type
5318 * src/nm-hal-manager.c
5319 - (modem_device_creator): handle both CDMA and GSM modems; the device
5320 must now be tagged with 'cdma' or 'gsm' capability
5322 * src/nm-cdma-device.c
5323 src/nm-cdma-device.h
5325 - Add the CDMA mobile broadband card device class
5327 * libnm-util/nm-connection.c
5328 - (register_default_settings): add NMSettingCdma
5330 * libnm-util/nm-setting-cdma.c
5331 libnm-util/nm-setting-cdma.h
5332 libnm-util/Makefile.am
5333 - Add the CDMA mobile broadband card setting class
5335 * libnm-glib/nm-cdma-device.c
5336 libnm-glib/nm-cdma-device.h
5337 libnm-glib/Makefile.am
5338 - Add the CDMA mobile broadband card GLib proxy class
5340 * libnm-glib/nm-client.c
5341 - (get_device): handle CDMA devices too
5343 2008-01-21 Dan Williams <dcbw@redhat.com>
5345 * src/ppp-manager/nm-ppp-manager.c
5346 - (ip4_config_get): set peer address too
5348 * src/ppp-manager/nm-pppd-plugin.c
5349 - (nm_ip_up): try harder to get the peer's address
5351 * src/NetworkManagerSystem.c
5352 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5353 address, use that too. Otherwise, some PPP connections won't work.
5355 2008-01-19 Dan Williams <dcbw@redhat.com>
5357 * src/NetworkManagerPolicy.c
5358 - (nm_policy_device_change_check): system connections override user
5359 connections; don't activate a user connection if there's a currently
5360 active system connection, and new, better system connections always
5361 interrupt user connections
5363 2008-01-19 Dan Williams <dcbw@redhat.com>
5366 - (nm_manager_get_connection_type): new function
5368 2008-01-19 Dan Williams <dcbw@redhat.com>
5370 * src/nm-device-802-11-wireless.c
5371 - (real_get_best_connection): collapse find_best_connection() into this
5374 2008-01-19 Dan Williams <dcbw@redhat.com>
5376 * src/nm-device-802-3-ethernet.c
5377 - (real_get_best_connection): collapse find_best_connection() into this
5380 2008-01-18 Dan Williams <dcbw@redhat.com>
5382 * src/nm-device-802-3-ethernet.c
5383 - (find_best_connection): check MAC address too
5384 - (real_get_best_connection): let autoconnect=True connections activate
5385 for devices that don't have carrier detection
5387 * src/nm-device-802-11-wireless.c
5388 - (find_best_connection): check MAC address too
5390 2008-01-18 Dan Williams <dcbw@redhat.com>
5392 * system-settings/plugins/ifcfg/parser.c
5393 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5395 2008-01-17 Dan Williams <dcbw@redhat.com>
5397 * src/nm-device-802-3-ethernet.c
5398 - (nm_device_802_3_ethernet_carrier_on,
5399 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5400 carrier events that might come in for devices that don't support
5403 2008-01-17 Dan Williams <dcbw@redhat.com>
5405 * src/nm-device-interface.c
5406 - (nm_device_interface_check_connection_conflicts): need to actually
5407 get the interface, not cast to the object
5410 - (nm_device_check_connection_conflicts): need to get the device class,
5411 not cast the device to the device class
5413 2008-01-17 Dan Williams <dcbw@redhat.com>
5415 * src/nm-device-802-11-wireless.c
5416 - (real_check_connection_conflicts): ignore connections that aren't
5417 wireless connections
5419 2008-01-17 Dan Williams <dcbw@redhat.com>
5421 * src/NetworkManagerPolicy.c
5422 - (nm_policy_device_change_check): clear change check idle here
5423 - (device_change_check_done): remove
5424 - (schedule_change_check): simplify
5426 2008-01-17 Dan Williams <dcbw@redhat.com>
5429 - (check_connection_allowed): take an NMDeviceInterface instead of
5430 an NMDevice object as an argument
5431 - (nm_manager_activate_device): pass an NMDeviceInterface to
5432 check_connection_allowed()
5434 2008-01-13 Dan Williams <dcbw@redhat.com>
5436 * libnm-glib/nm-device-802-11-wireless.c
5437 - (nm_device_802_11_wireless_get_access_points): fix memory leak
5439 2008-01-12 Dan Williams <dcbw@redhat.com>
5441 * src/nm-device-802-11-wireless.c
5442 - (activation_success_handler): if a match was found in the scan list
5443 and that match is a hidden AP, update that AP's SSID
5445 2008-01-11 Dan Williams <dcbw@redhat.com>
5447 * src/NetworkManagerAP.c
5448 - (nm_ap_new_fake_from_connection): mark fake APs as fake
5450 * src/nm-device-802-11-wireless.c
5451 - (get_active_ap): do two passes over the scan list if the caller
5452 requests that hidden APs get matched too; during the second pass
5453 when matching hidden APs, ignore the SSID since hidden APs in the
5454 scan list don't have an SSID yet
5455 - (periodic_update): move some checks to
5456 nm_device_802_11_periodic_update() because not all callers need them
5457 - (nm_device_802_11_periodic_update): move some checks here from
5459 - (merge_scanned_ap): if the current AP is fake, then don't do strict
5460 matching on incoming scan results, because the fake AP's flags
5461 might be slightly different (yet still compatible) with the incoming
5462 scan result's flags and they might actually be the same AP; update
5463 the rate on merged APs too
5464 - (activation_success_handler): update the frequency of the fake AP
5465 on successful connection; match hidden APs too since if the
5466 current AP is fake, there might already be a scan result in the
5467 scan list for the desired AP, just without it's SSID filled in yet
5469 2008-01-10 Dan Williams <dcbw@redhat.com>
5471 * src/NetworkManagerAP.c
5472 - (foreach_property_cb): catch more hidden SSID formats
5474 2008-01-10 Dan Williams <dcbw@redhat.com>
5476 Fix gnome.org #464215. Requires the kernel patch titled
5477 "Introduce WEXT scan capabilities" but will handle the patch not being
5478 present, you'll just continue to have problems with hidden SSIDs when
5479 using mac80211-based drivers.
5481 * src/supplicant-manager/nm-supplicant-config.h
5482 src/supplicant-manager/nm-supplicant-config.c
5483 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
5484 whether the driver supports SSID scans or not. If it does, and if
5485 the AP is hidden, use ap_scan=1 instead of ap_scan=2
5487 * src/nm-device-802-11-wireless.c
5488 - (constructor): check whether or not the driver supports SSID scans
5489 - (build_supplicant_config): pass driver SSID scan capability when
5490 building the wireless bits of the supplicant config
5492 2008-01-09 Dan Williams <dcbw@redhat.com>
5496 - (device_activation_precheck, check_connection_complete): remove this
5497 virtual function; incomplete connections should be invalid by
5498 definition, complete-ness should be checked in the setting's
5501 * src/nm-serial-device.c
5503 - (real_check_connection_complete): remove
5505 * libnm-util/nm-setting-serial.c
5506 - (verify): new function; ensure there is a PPP setting too
5508 * libnm-util/nm-setting-gsm.c
5509 - (verify): ensure there is a serial setting too
5511 2008-01-06 Dan Williams <dcbw@redhat.com>
5513 * src/dhcp-manager/nm-dhcp-manager.c
5514 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
5517 2008-01-04 Dan Williams <dcbw@redhat.com>
5519 * src/named-manager/nm-named-manager.c
5520 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
5521 nameservers if the secondary config doesn't have any
5524 2008-01-02 Tambet Ingo <tambet@gmail.com>
5526 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
5527 with G_PARAM_CONSTRUCT so that they get the default values.
5529 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
5530 the monitoring device and prints out the output for now. Or more precicely, doesn't
5531 do absolutely anything right now since the montoring device argument is never set.
5533 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
5534 requires it's own knob to turn it on.
5535 (config_fd): Add NMSettingSerial to the arguments list.
5536 (nm_serial_device_open): Ditto.
5537 (get_reply_got_data): Ignore the terminators at the beginning of the output.
5538 (nm_serial_device_get_io_channel): Implement.
5540 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
5541 a new reference every time (and forgetting to release it sometimes) is a pain and
5542 it's not like NMManager could work without dbus.
5543 (nm_manager_add_device): Register the added device on dbus here.
5545 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
5548 * src/nm-device.c (constructor): Don't export the device here, instead export
5549 it when it's added to the NMManager's device list.
5551 2007-12-31 Dan Williams <dcbw@redhat.com>
5553 * src/nm-device-interface.c
5554 src/nm-device-interface.h
5555 - (nm_device_interface_check_connection_conflicts): new function
5559 - (nm_device_check_connection_conflicts): new function
5560 - (device_activation_precheck): don't require subclasses to implement
5561 check_connection_complete()
5562 - check_connection() -> check_connection_complete()
5564 * src/nm-device-802-11-wireless.c
5565 - (real_check_connection): remove; unused
5566 - (real_check_connection_conflicts): implement, handle lockdown for
5569 * src/nm-device-802-3-ethernet.c
5570 - (real_check_connection): remove; unused
5573 - (check_connection_allowed): new function
5574 - (nm_manager_activate_device): ensure the connection being requested
5575 is allowed to be activated
5577 * src/nm-serial-device.c
5579 - real_check_connection() -> real_check_connection_complete()
5581 2007-12-27 Dan Williams <dcbw@redhat.com>
5583 * src/nm-device-interface.c
5584 src/nm-device-interface.h
5585 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
5586 normalize and expand errors
5587 - (nm_device_interface_init): register errors so they can be marshalled
5589 - (nm_device_interface_activate): ensure that failure of activation
5594 - (device_activation_precheck): implementations of check_connection()
5595 now take a GError and must fill it in if the check fails. Return
5596 more descriptive error if the requested connection is already
5598 - (nm_device_activate): actually try to return descriptive errors on
5601 * src/nm-device-802-11-wireless.c
5602 src/nm-device-802-3-ethernet.c
5603 src/nm-serial-device.c
5605 - (real_check_connection): return more descriptive errors on failure
5607 * src/NetworkManagerPolicy.c
5608 - (nm_policy_device_change_check): print activation errors in the logs
5611 - (nm_manager_error_quark, nm_manager_error_get_type,
5612 nm_manager_class_init): new errors
5613 - (nm_manager_activate_device): handle errors
5614 - (nm_manager_error_new): removed
5615 - (wait_for_connection_expired, connection_added_default_handler,
5616 impl_manager_activate_device): better error handling
5618 2007-12-27 Dan Williams <dcbw@redhat.com>
5620 Fixes gnome.org #466954
5622 * src/supplicant-manager/nm-supplicant-settings-verify.c
5623 - Allow 'frequency' network property
5625 * src/supplicant-manager/nm-supplicant-config.c
5626 src/supplicant-manager/nm-supplicant-config.h
5627 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
5628 for callers to specify the frequency an Ad-Hoc network should operate
5629 on. Some drivers require this to successfully create an Ad-Hoc
5632 * src/nm-device-802-11-wireless.c
5633 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
5634 guint32 value in MHz
5635 - (constructor, nm_device_802_11_wireless_get_frequency): use
5637 - (find_supported_frequency): new function; find a free supported
5638 frequency for a user-created Ad-Hoc network
5639 - (build_supplicant_config): if no frequency was specified for a user-
5640 created Ad-Hoc network, find a free one to use
5641 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
5642 a specific object as user-created
5644 2007-12-27 Dan Williams <dcbw@redhat.com>
5646 * libnm-util/nm-utils.c
5647 libnm-util/nm-utils.h
5648 - (nm_utils_security_valid): add 'adhoc' argument and handle security
5651 2007-12-24 Dan Williams <dcbw@redhat.com>
5653 * libnm-util/nm-setting-wireless.c
5654 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
5655 185, 187, 188, 192, and 196
5657 2007-12-24 Dan Williams <dcbw@redhat.com>
5659 * src/nm-device-802-11-wireless.c
5660 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
5661 a channel # instead of a frequency
5663 2007-12-24 Dan Williams <dcbw@redhat.com>
5665 * src/NetworkManagerAP.c
5666 src/NetworkManagerAP.h
5667 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
5668 - (freq_to_channel): handle split band tables
5669 - (channel_to_freq): handle split band tables, take a band argument
5671 2007-12-24 Dan Williams <dcbw@redhat.com>
5673 * libnm-util/nm-setting-connection.h
5674 libnm-util/nm-setting-connection.c
5675 - Add 'lockdown' member
5677 2007-12-22 Dan Williams <dcbw@redhat.com>
5679 * libnm-util/nm-setting-wireless.c
5680 - (nm_setting_wireless_class_init): add missing 'rate' property
5683 2007-12-18 Dan Williams <dcbw@redhat.com>
5685 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
5687 * src/nm-netlink-monitor.c
5688 src/nm-netlink-monitor.h
5689 - Remove handrolled netlink, use libnl instead
5691 * src/nm-device-802-3-ethernet.c
5692 - (constructor, nm_device_802_3_ethernet_carrier_off,
5693 nm_device_802_3_ethernet_carrier_on): use new names
5695 2007-12-17 Dan Williams <dcbw@redhat.com>
5698 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
5699 and fixes memory leaks)
5702 - (nm_netlink_get_default_handle): handle new versions of libnl that
5703 automatically handle the netlink PID
5705 2007-12-17 Dan Williams <dcbw@redhat.com>
5707 Patch from Michael Biebl <biebl@debian.org>
5710 src/ppp-manager/Makefile.am
5711 - fix up install dir of pppd plugin
5712 - clean up configure.in a bit
5714 2007-12-12 Dan Williams <dcbw@redhat.com>
5716 * system-settings/src/nm-system-settings.conf
5717 - Allow non-root clients (like the applet) to read settings
5719 2007-12-10 Tambet Ingo <tambet@gmail.com>
5721 * Replace all occurences of 'UMTS' with 'GSM'.
5723 2007-12-07 Dan Williams <dcbw@redhat.com>
5725 * src/nm-serial-device.c
5726 - (real_is_up): serial devices are always "up"
5728 2007-12-07 Dan Williams <dcbw@redhat.com>
5731 src/NetworkManagerSystem.c
5732 - (new_nl_handle): ensure that the same netlink pid is never chosen
5733 twice (gnome.org #491047)
5734 - Make more robust against allocation-related failures should they occur
5736 2007-12-07 Dan Williams <dcbw@redhat.com>
5738 Noticed by Christian Persch <chpe@gnome.org>
5740 Always chain up to parent object in dispose and finalize handlers.
5743 2007-12-07 Dan Williams <dcbw@redhat.com>
5745 * src/nm-device-802-11-wireless.c
5746 - Wrap #include of linux/mii.h to fix redefined structures due to
5747 incorrect kernel headers (gnome.org #350061)
5749 2007-12-06 Tambet Ingo <tambet@gmail.com>
5751 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
5752 before doing anything else.
5753 (init_modem): Move modem initialization here.
5755 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
5756 (nm_serial_device_flash): Implement.
5758 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
5759 changes signal is "StateChanged" and not "Status".
5760 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
5762 2007-12-06 Dan Williams <dcbw@redhat.com>
5764 * src/supplicant-manager/nm-supplicant-config.c
5765 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
5766 to only send some options when they make sense; also send phase2
5767 option to the supplicant (possible fix for rh #399631)
5769 2007-12-06 Tambet Ingo <tambet@gmail.com>
5771 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
5772 arguments: This whole file shouldn't really know anything about NMDevices, it
5773 should deal only with device interfaces. Devices might have different ifaces for
5774 different stuff and this place shouldn't know anything about it.
5776 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
5777 (global_state_changed): Implement. In the current NM it's not really important,
5778 but will be required in the case of multiple active devices. (Or even better,
5779 if stuff like that gets moved out from NM).
5781 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
5782 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
5785 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
5786 devices like serial devices (ttyS0 and ppp0 for example).
5787 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
5789 (nm_device_set_ip_iface): Implement.
5790 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
5791 after setting ip4_config from here ...
5792 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
5793 than this function should call nm_system_device_set_from_ip4_config() because no
5794 other code has enough information on which arguments to use. So instead, other code
5795 could just set the new ip4 config using this function and everyone is happy.
5797 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
5798 if we happen to get deactivated while something is pending.
5799 (automatic_registration): Handle the response that indicates pending network
5800 registration and wait until the pending registration is done.
5801 (real_deactivate_quickly): If there's a pending operation, cancel it.
5803 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
5804 (real_deactivate_quickly): ... and remove it when it's down.
5805 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
5807 (nm_serial_device_wait_for_reply): Ditto.
5809 2007-12-05 Tambet Ingo <tambet@gmail.com>
5811 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
5812 (get_network_done): Remove newline, nm_info() does it already.
5813 (real_act_stage1_prepare): Turn the modem echo off.
5815 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
5816 device, set the route to the device interface. This is a hack.
5818 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
5819 return, no need for a new-line.
5820 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
5821 Change the device iface here (ugh).
5822 (real_act_stage4_get_ip4_config): Implement.
5823 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
5824 Restore the device iface.
5826 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
5827 device is not wired or wireless (eg, automatically upped) device.
5829 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
5831 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
5833 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
5834 before calling it's is_device_fn().
5836 2007-12-05 Dan Williams <dcbw@redhat.com>
5838 * libnm-util/nm-utils.c
5839 - (nm_utils_register_value_transformations,
5840 nm_utils_convert_gvalue_hash_to_string): better debug output of
5841 GHashTables of GValues too
5843 2007-12-04 Dan Williams <dcbw@redhat.com>
5845 * initscript/RedHat/NetworkManager.in
5846 - No longer start named; it's D-Bus interface is going away
5848 2007-12-04 Dan Williams <dcbw@redhat.com>
5850 Patch from Michael Biebl <biebl@debian.org>
5852 * system-settings/plugins/ifcfg/Makefile.am
5853 system-settings/src/main.c
5854 system-settings/src/Makefile.am
5855 - Put system settings plugins in NM plugins dir
5857 * src/ppp-manager/Makefile.am
5858 src/ppp-manager/nm-ppp-manager.c
5859 - Move pppd plugin to NM plugins dir
5861 2007-12-04 Dan Williams <dcbw@redhat.com>
5863 * libnm-util/nm-setting-vpn-properties.h
5864 - Clarify usage of the 'data' member of the setting
5866 * libnm-util/nm-setting-vpn-properties.c
5867 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
5868 - (set_property): just remove all the settings; don't recreate the has
5869 - (update_one_secret): don't need to create the hash table here since
5870 it should always be present
5872 2007-12-03 Tambet Ingo <tambet@gmail.com>
5874 Implement PIN and PUK requesting.
5876 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
5877 (enter_pin): Handle PIN and PUK requests.
5878 (real_act_stage1_prepare): Clear the secret type.
5879 (real_connection_secrets_updated): Implement this class method to get
5880 notified when new secrets arrive.
5881 (nm_umts_device_class_init): Add private data back to the umts device class
5882 to store the required secret type.
5884 2007-12-01 Dan Williams <dcbw@redhat.com>
5886 * system-settings/plugins/ifcfg/parser.c
5887 - (parser_parse_file): don't try to verify NULL connections
5889 2007-12-01 Dan Williams <dcbw@redhat.com>
5891 * system-settings/src/main.c
5892 - (load_connections, add_connection_to_settings): actually export
5893 plugin-provided connections over D-Bus so NM can get them
5895 2007-12-01 Dan Williams <dcbw@redhat.com>
5897 * system-settings/plugins/ifcfg/parser.c
5898 system-settings/plugins/ifcfg/parser.h
5899 system-settings/plugins/ifcfg/plugin.c
5900 - Hook up more inotify bits (untested)
5902 2007-11-29 Dan Williams <dcbw@redhat.com>
5904 * system-settings/src/nm-system-config-interface.h
5905 system-settings/src/nm-system-config-interface.c
5906 - (nm_system_config_interface_init,
5907 nm_system_config_interface_get_connections): add
5909 * system-settings/src/main.c
5910 - (load_plugins, load_connections, main): use a GSList for plugins
5911 to ensure priority ordering
5913 * system-settings/plugins/ifcfg/parser.c
5914 - (ifcfg_error_quark): move to plugin.c, and rename
5916 * system-settings/plugins/ifcfg/plugin.h
5917 system-settings/plugins/ifcfg/plugin.c
5918 - (ifcfg_plugin_error_quark): move here from parser.c
5919 - rework connection loading and initialization
5920 - Add preliminary inotify support for network profile config file
5922 2007-11-28 Tambet Ingo <tambet@gmail.com>
5924 Merge the beginnings of the new GSM card support.
5926 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
5927 ppp watch source before killing pppd - If this happens from g_object_unref()
5928 then the ppp manager is already destroyed by the time the watch callback runs.
5930 * src/nm-hal-manager.c: Add a device_type_name string to the device
5931 creators, so that we can print a nice human readable string when a
5934 * src/nm-umts-device.c (automatic_registration_get_network): Query
5935 for the activated network, not much is done with the result thought.
5937 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
5938 (ppp_ip4_config): Change the device state to activated here for now.
5939 (real_check_connection): Make sure the connection includes ppp setting.
5941 * libnm-glib/nm-client.c (get_device): Handle umts devices.
5943 * libnm-glib/Makefile.am: Add the new files to build.
5945 * libnm-glib/nm-umts-device.c:
5946 * libnm-glib/nm-umts-device.h: Implement.
5948 2007-11-26 Tambet Ingo <tambet@gmail.com>
5950 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
5951 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
5953 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
5954 the timeout source - this function is only called when the timeout source has
5956 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
5957 to be big enough to contain the terminating zero element as well.
5958 The timeout argument is meant to be in seconds now.
5959 (real_deactivate_quickly): Implement.
5961 * src/NetworkManager.conf: Allow root to own
5962 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
5964 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
5965 (not unsigned ints).
5967 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
5968 small issue with parity bounds - capital letters have lower ascii codes
5969 than lower case letters.
5971 * libnm-util/nm-connection.c (register_default_settings): Register serial
5974 2007-11-22 Tambet Ingo <tambet@gmail.com>
5976 Remove the "index" property from devices as not all device types have this.
5978 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
5980 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
5981 (wired_device_creator): Get the device interface from hal to create the device.
5982 (wireless_device_creator): Ditto.
5984 * src/nm-device.c (nm_device_init): Remove the index member.
5985 (constructor): Remove the checks for index property, make interface property
5986 a require constructor property.
5987 Use the HAL udi for DBus path for devices.
5988 (nm_device_get_index): Remove.
5989 (set_property): Remove index handling.
5990 (get_property): Ditto.
5991 (nm_device_get_dbus_path): Remove.
5993 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
5996 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
5997 Access the device index through it's interface.
5998 (nm_device_802_3_ethernet_link_deactivated): Ditto.
5999 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6000 index argument. Add interface argument.
6002 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6003 the useless test_dev argument. Remove index argument. Add interface arugment.
6005 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6006 device index through interface.
6007 (nm_system_set_mtu): Ditto.
6009 * introspection/nm-device.xml: Remove the "Index" property.
6011 2007-11-21 Tambet Ingo <tambet@gmail.com>
6013 * src/nm-serial-device.c:
6014 * src/nm-serial-device.c:
6015 * src/nm-umts-device.c:
6016 * src/nm-umts-device.h: Implement.
6018 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
6019 allocated by libhal.
6020 (modem_device_creator): Implement.
6021 (register_built_in_creators): Register the modem creator.
6023 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
6024 Remove the unused test_dev argument.
6026 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6028 * src/Makefile.am: Add new files to build.
6029 Link in ppp-manager.
6031 * libnm-util/nm-setting-umts.c:
6032 * libnm-util/nm-setting-umts.h:
6033 * libnm-util/nm-setting-serial.c:
6034 * libnm-util/nm-setting-serial.h: Implement.
6036 * libnm-util/Makefile.am: Add new files to build.
6038 2007-11-28 Dan Williams <dcbw@redhat.com>
6040 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6042 Support DHCP-provided static routes.
6044 * src/nm-ip4-config.h
6046 - Add get/set functions for static routes
6048 * src/dhcp-manager/nm-dhcp-manager.c
6049 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6052 * src/NetworkManagerSystem.c
6053 - (nm_system_device_set_from_ip4_config): set any static routes on the
6054 interface when applying the IP4Config
6056 2007-11-28 Dan Williams <dcbw@redhat.com>
6058 * src/nm-device-802-11-wireless.c
6059 - (real_act_stage1_prepare): mark APs created for hidden networks
6062 2007-11-27 Dan Williams <dcbw@redhat.com>
6064 * system-settings/src/nm-system-config-interface.h
6065 - Note how to store secrets on NMSetting objects
6067 * system-settings/src/dbus-settings.c
6068 - (connection_settings_get_secrets): implement
6070 2007-11-27 Dan Williams <dcbw@redhat.com>
6072 * system-settings/plugins/ifcfg/Makefile.am
6073 system-settings/plugins/ifcfg/parser.c
6074 system-settings/plugins/ifcfg/parser.h
6075 system-settings/plugins/ifcfg/plugin.c
6076 - Parse wireless connections too
6078 * system-settings/src/dbus-settings.c
6079 system-settings/src/dbus-settings.h
6080 system-settings/src/main.c
6081 - Handle connection update/removal if the plugin supports it
6083 2007-11-27 Dan Williams <dcbw@redhat.com>
6085 * src/nm-dbus-manager.h
6086 src/nm-hal-manager.c
6087 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6091 src/NetworkManagerDbusUtils.c
6092 src/NetworkManagerDbusUtils.h
6093 - Remove these two source files; they are unused
6095 2007-11-27 Dan Williams <dcbw@redhat.com>
6097 * src/vpn-manager/nm-vpn-manager.c
6098 - (impl_vpn_manager_connect): fix system settings check (found by
6101 2007-11-26 Dan Williams <dcbw@redhat.com>
6103 * Fix warnings so everything compiles with --enable-more-warnings
6105 2007-11-25 Dan Williams <dcbw@redhat.com>
6108 - Rework structure and code to use GModule-loaded plugins and a plugin
6109 interface that plugins export to the system settings service
6111 2007-11-21 Dan Williams <dcbw@redhat.com>
6114 - Add Soren's system settings service. Needs work for distros other
6115 than Fedora; the backends from NM should mostly migrate to here
6116 and be converted to GObjects
6118 2007-11-21 Dan Williams <dcbw@redhat.com>
6120 * libnm-util/nm-setting-vpn-properties.c
6121 - (set_property): must deep-copy the given settings hash, otherwise
6122 double-free errors occur when the setting is disposed of
6124 2007-11-21 Dan Williams <dcbw@redhat.com>
6126 * src/vpn-manager/nm-vpn-act-request.h
6127 src/vpn-manager/nm-vpn-act-request.c
6130 2007-11-20 Dan Williams <dcbw@redhat.com>
6132 * libnm-util/nm-utils.c
6133 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6134 nm_utils_convert_ip4_addr_struct_array_to_string,
6135 nm_utils_register_value_transformations): print out the readable
6136 values of more types of properties of NMSettings subclasses
6138 2007-11-20 Dan Williams <dcbw@redhat.com>
6140 * libnm-util/nm-setting-ip4-config.c
6141 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6142 nm_setting_ip4_config_class_init): apparently dbus-glib can't
6143 marshal GValueArrays inside collections, so switch to types that it
6144 can actually marshal/demarshal
6146 2007-11-16 Dan Williams <dcbw@redhat.com>
6148 * libnm-util/nm-setting-wireless-security.c
6149 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6150 minimal verification of EAP methods too
6151 - (verify): verify phase1 eap methods too
6153 2007-11-15 Dan Williams <dcbw@redhat.com>
6155 * libnm-glib/nm-device.h
6156 libnm-glib/nm-device.c
6157 - (nm_device_get_product, nm_device_get_vendor): should be returning
6160 2007-11-15 Dan Williams <dcbw@redhat.com>
6162 * libnm-glib/nm-device.c
6163 - (get_product_and_vendor): don't try to free things that should be
6166 2007-11-15 Dan Williams <dcbw@redhat.com>
6168 * src/NetworkManagerUtils.c
6169 - (nm_ethernet_address_is_valid): unbreak previous fix
6171 2007-11-15 Dan Williams <dcbw@redhat.com>
6173 * src/supplicant-manager/nm-supplicant-config.c
6174 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6177 2007-11-15 Dan Williams <dcbw@redhat.com>
6179 * src/NetworkManagerUtils.c
6180 - (nm_ethernet_address_is_valid): fix style, clarify
6181 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6183 * src/nm-device-802-11-wireless.c
6184 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6185 - (nm_device_802_11_wireless_get_ssid,
6186 nm_device_802_11_wireless_get_bssid,
6187 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6188 before calling the ioctl; fixes valgrind-reported jump depends on
6189 uninitialized value errors
6191 2007-11-15 Dan Williams <dcbw@redhat.com>
6193 * libnm-util/nm-setting.c
6194 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6195 unecessary to serialize 'name'
6197 * src/nm-activation-request.c
6198 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6201 2007-11-15 Dan Williams <dcbw@redhat.com>
6203 * libnm-util/nm-setting-connection.h
6204 libnm-util/nm-setting-connection.c
6205 - Rename the 'name' property to 'id', because it conflicted with the
6206 NMSetting superclass' 'name' property.
6208 * libnm-util/nm-setting.c
6209 - (nm_setting_to_hash): serialize the 'name' property
6210 - (one_property_cb): ignore 'name' on deserialization of a connection
6212 * src/nm-device-802-11-wireless.c
6213 src/vpn-manager/nm-vpn-connection.c
6214 src/NetworkManagerPolicy.c
6215 - Fix up for NMSettingConnection 'name'->'id' changes
6217 2007-11-13 Dan Williams <dcbw@redhat.com>
6219 * libnm-glib/nm-device-802-11-wireless.h
6220 libnm-glib/nm-device-802-11-wireless.c
6221 - (nm_device_802_11_wireless_get_hw_address): return should be const
6224 libnm-glib/libnm-glib-test.c
6225 - Fixes for above change
6227 2007-11-12 Dan Williams <dcbw@redhat.com>
6229 * src/supplicant-manager/nm-supplicant-settings-verify.c
6230 - Allow fragment_size option
6232 * src/supplicant-manager/nm-supplicant-settings-verify.c
6233 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6234 EAP fragment size than the default to help some TLS connections
6236 2007-11-12 Dan Williams <dcbw@redhat.com>
6238 Make certs actually work. The private key is now a secret, and should be
6239 decrypted when requested by NM. The private key and phase2 private key
6240 passwords are no longer interesting to NM because they should be used by
6241 the settings service to decrypt the private key itself before passing it
6242 to NM, and hence have been removed as fields.
6244 * libnm-util/nm-setting-wireless-security.h
6245 libnm-util/nm-setting-wireless-security.c
6246 - Remove private-key-passwd and phase2-private-key-passwd from
6248 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6249 need_secrets): use property #defines instead strings to keep things
6251 - (need_secrets_tls): if a client certificate is present but no
6252 private key, request the private key
6253 - (set_property, get_property, nm_setting_wireless_security_class_init):
6254 remove private key password stuff, mark private keys as secret
6256 * src/supplicant-manager/nm-supplicant-settings-verify.c
6257 - Remove private_key_passwd and private_key2_passwd from opt_table
6259 2007-11-09 Dan Williams <dcbw@redhat.com>
6261 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6262 Since the vpn-properties are managed and known by the VPN daemons themselves,
6263 libnm-util doesn't know what's secret and what's in the setting's 'data'
6266 * libnm-util/nm-setting.h
6267 libnm-util/nm-setting.c
6268 - Add the ability for subclasses to override update_one_secret
6270 * libnm-util/nm-setting-vpn-properties.c
6271 - Override update_one_secret and just copy the values into the
6274 2007-11-09 Dan Williams <dcbw@redhat.com>
6276 * libnm-glib/nm-settings.h
6277 libnm-glib/nm-settings.c
6278 - (nm_settings_new_error): remove
6279 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6280 clients should use g_set_error() with NM_SETTINGS_ERROR
6282 2007-11-09 Dan Williams <dcbw@redhat.com>
6284 * src/supplicant-manager/nm-supplicant-config.c
6285 - (nm_supplicant_config_add_setting_wireless_security): private key
6286 passwords are never sent to wpa_supplicant, because the supplicant
6287 should never be reading random files from the disk. Clients like
6288 the applet are required to decrypt the private keys and send NM
6289 the decrypted blobs.
6291 2007-11-08 Dan Williams <dcbw@redhat.com>
6293 * libnm-util/nm-setting-wireless-security.h
6294 libnm-util/nm-setting-wireless-security.c
6295 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6296 members to 802-11-wireless-security structure. This should be used
6297 to indicate that the values in private-key and phase2-private-key
6298 are already decrypted by the user agent, and that no
6299 private-key-passwd or phase2-private-key-passwd should be expected.
6300 It is not meant to be a stored configuration value, but meant to
6301 be set when the conneciton is sent to NM over dbus.
6303 2007-11-08 Dan Williams <dcbw@redhat.com>
6305 * libnm-util/nm-connection.h
6306 libnm-util/nm-connection.c
6307 - (nm_connection_need_secrets): add argument to return hints
6309 * src/nm-device-802-11-wireless.c
6310 - (link_timeout_cb, supplicant_connection_timeout_cb,
6311 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6312 nm_connection_need_secrets() change
6314 2007-11-07 Tambet Ingo <tambet@gmail.com>
6316 Rework NMSetting structures: Move each setting to it's own file.
6317 Convert to GObject. Remove home grown setting types and use GTypes.
6318 Use GObject property introspection for hash conversion, enumerating
6321 * libnm-util/nm-setting-connection.[ch]
6322 * libnm-util/nm-setting-ip4-config.[ch]
6323 * libnm-util/nm-setting-ppp.[ch]
6324 * libnm-util/nm-setting-vpn.[ch]
6325 * libnm-util/nm-setting-vpn-properties.[ch]
6326 * libnm-util/nm-setting-wired.[ch]
6327 * libnm-util/nm-setting-wireless.[ch]
6328 * libnm-util/nm-setting-wireless-security.[ch]
6330 New files, each containing a setting.
6332 * libnm-util/nm-setting-template.[ch]: A template for creating new
6333 settings. To use it, just replace 'template' with the new setting
6334 name, and you're half-way done.
6336 * libnm-util/nm-setting.c: Convert to GObject and use GObject
6337 introspection instead of internal types and tables.
6339 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6341 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6342 GValue types defined by dbus-glib for composed types like collections,
6343 structures and maps.
6345 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6346 a setting from connection takes the setting type now. Also, since
6347 the settings are in multiple files, include relevant settings.
6349 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
6352 * src/backends/NetworkManagerGentoo.c:
6353 (nm_system_restart_mdns_responder): Implement restarts for other mdns
6354 providers in Gentoo.
6356 2007-10-31 Dan Williams <dcbw@redhat.com>
6358 * libnm-util/nm-connection.c
6359 - (gvalue_to_string): handle UINT32 arrays
6361 2007-10-31 Dan Williams <dcbw@redhat.com>
6363 * libnm-glib/nm-device.h
6364 libnm-glib/nm-device.c
6365 - (nm_device_get_description): remove
6366 - (nm_device_get_product, nm_device_get_vendor): add
6367 - (nm_device_update_description): new function (private); walk HAL
6368 devices to get product and vendor IDs for a specific device
6370 2007-10-31 Dan Williams <dcbw@redhat.com>
6372 * src/nm-device-802-11-wireless.c
6373 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6375 2007-10-29 Dan Williams <dcbw@redhat.com>
6377 * src/nm-hal-manager.c
6378 - (device_added, device_new_capability): ignore device additions while
6379 asleep. Fixes crash caused when NM goes to sleep, a network device
6380 kernel module is unloaded and reloaded and recognized by NM again.
6382 2007-10-26 Dan Williams <dcbw@redhat.com>
6384 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6386 * src/NetworkManagerAP.c
6387 src/NetworkManagerAP.h
6388 libnm-glib/nm-access-point.c
6389 libnm-glib/nm-access-point.h
6390 - Make 'rate' property a guint32 to better match with WEXT and
6391 wpa_supplicant and to allow representation of higher bitrates
6393 * src/nm-device-802-11-wireless.c
6394 introspection/nm-device-802-11-wireless.xml
6395 libnm-glib/nm-device-802-11-wireless.c
6396 libnm-glib/nm-device-802-11-wireless.h
6397 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6399 * src/nm-device-802-3-ethernet.c
6400 src/nm-device-802-3-ethernet.h
6401 introspection/nm-device-802-3-ethernet.xml
6402 libnm-glib/nm-device-802-3-ethernet.c
6403 libnm-glib/nm-device-802-3-ethernet.h
6404 - Make 'speed' property a guint32 to match other speed/rate types
6405 - Make nm_device_802_3_ethernet_get_speed() static
6408 - Update for the changes above
6410 2007-10-26 Dan Williams <dcbw@redhat.com>
6412 * src/named-manager/nm-named-manager.c
6413 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6414 not calling fclose() twice on some error conditions
6416 2007-10-26 Dan Williams <dcbw@redhat.com>
6418 * src/nm-activation-request.c
6419 - (dispose): clean up indentation; get the right DBusGProxy object to
6420 cancel the GetSecrets pending call on. Need to use the Secrets
6421 proxy, not the regular connection proxy. Otherwise the GetSecrets
6422 pending call doesn't get canceled, and pressing Cancel in the
6423 applet's password dialog could cause get_secrets_cb() to be called
6424 after the activation request has already been destroyed
6426 2007-10-24 Dan Williams <dcbw@redhat.com>
6428 * src/supplicant-manager/nm-supplicant-config.c
6429 - (nm_supplicant_config_add_blob): pass blob data and length for
6431 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
6433 2007-10-24 Dan Williams <dcbw@redhat.com>
6435 * src/supplicant-manager/nm-supplicant-settings-verify.c
6436 - (opt_table): max length for certificates should be 65536
6438 2007-10-24 Dan Williams <dcbw@redhat.com>
6440 * src/supplicant-manager/nm-supplicant-interface.c
6441 - (blob_free): correctly free blob data after use
6442 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
6444 2007-10-24 Dan Williams <dcbw@redhat.com>
6446 * libnm-util/nm-setting.c
6447 - (setting_wireless_security_need_secrets): Fix lookup table logic for
6448 EAP method need secrets
6450 2007-10-24 Dan Williams <dcbw@redhat.com>
6452 * src/backends/NetworkManagerRedHat.c
6453 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
6455 2007-10-23 Dan Williams <dcbw@redhat.com>
6457 * libnm-util/nm-setting.c
6458 libnm-util/nm-setting.c
6459 - (nm_setting_compare): implement
6460 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
6461 compare_one_hash_gvalue): compare the contents of a setting
6463 * libnm-util/nm-connection.c
6464 - (nm_connection_compare): implement
6466 2007-10-23 Dan Williams <dcbw@redhat.com>
6468 * src/nm-activation-request.c
6469 - (get_secrets_cb): handle getting a setting back that is more than
6470 just secrets (ie, user changed auth or EAP method or something)
6472 2007-10-23 Dan Williams <dcbw@redhat.com>
6474 * libnm-util/nm-setting.c
6475 libnm-util/nm-setting.h
6476 - (nm_setting_verify): new function; verify one setting
6477 - (nm_settings_verify_all): rename from nm_settings_verify()
6478 - (setting_connection_verify, setting_wireless_verify): allow NULL
6481 * libnm-util/nm-connection.c
6482 - (nm_connection_replace_settings, nm_connection_verify,
6483 nm_connection_new_from_hash): handle nm_settings_verify() rename
6485 2007-10-23 Dan Williams <dcbw@redhat.com>
6487 * src/nm-device-802-11-wireless.c
6488 - (real_act_stage2_config): use pre-increment on 'tries' to get the
6491 2007-10-23 Dan Williams <dcbw@redhat.com>
6493 * src/supplicant-manager/nm-supplicant-settings-verify.c
6494 - eap_allowed, phase2_allowed: harmonize with allowed values from
6497 2007-10-23 Dan Williams <dcbw@redhat.com>
6499 * src/nm-device-802-11-wireless.c
6500 - (real_act_stage2_config): after the first association failure,
6501 if the connection still needs secrets ask the user for them
6502 explicitly. After the fourth association failure due to bad
6503 secrets, fail the connection entirely. Handles the GetSecrets
6504 loop that NM gets into when the provided secrets don't match up
6505 with the connection details.
6507 2007-10-23 Dan Williams <dcbw@redhat.com>
6509 * src/supplicant-manager/nm-supplicant-config.c
6510 - (nm_supplicant_config_add_setting_wireless_security): only add
6511 WPA-specific options when WPA is in use
6513 2007-10-23 Dan Williams <dcbw@redhat.com>
6515 * src/supplicant-manager/nm-supplicant-config.c
6516 - (nm_supplicant_config_add_setting_wireless_security): 'password'
6517 secret doesn't need to be unhexified
6519 2007-10-23 Dan Williams <dcbw@redhat.com>
6521 * libnm-util/nm-setting.c
6522 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
6523 before trying to do something with it
6525 2007-10-23 Dan Williams <dcbw@redhat.com>
6527 * src/nm-device-802-11-wireless.c
6528 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
6530 2007-10-23 Dan Williams <dcbw@redhat.com>
6532 * src/nm-device-802-11-wireless.c
6533 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
6534 non-SSID-broadcasting APs
6536 2007-10-23 Dan Williams <dcbw@redhat.com>
6538 * src/NetworkManagerAP.c
6539 - (match_cipher, security_compatible): remove
6540 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
6543 2007-10-23 Dan Williams <dcbw@redhat.com>
6545 * libnm-util/nm-utils.c
6546 libnm-util/nm-utils.h
6547 - (nm_utils_ap_security_compatible): common function for checking
6548 whether a specific AP is compatible with an NMConnection
6550 2007-10-23 Dan Williams <dcbw@redhat.com>
6552 * libnm-util/nm-setting.c
6553 - (setting_wireless_security_need_secrets, need_secrets_phase2,
6554 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
6555 need_secrets_password, setting_wireless_security_verify): fix
6556 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
6557 secrets logic for each supported EAP method
6559 2007-10-23 Dan Williams <dcbw@redhat.com>
6561 * src/supplicant-manager/nm-supplicant-config.c
6562 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
6563 config option name, should be "private_key2_passwd"
6565 2007-10-22 Tambet Ingo <tambet@gmail.com>
6567 Implement support for static IP addresses, additional/overridden DNS and
6568 DNS domain search lists.
6570 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
6571 (ip4_addresses_to_gvalue): Implement.
6572 (convert_array_to_byte_array): Implement.
6573 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
6574 NM_S_TYPE_IP4_ADDRESSES.
6575 (nm_setting_hash): Ditto.
6576 (default_setting_clear_secrets): Add a default case for the switch: IP address
6577 shouldn't be secret, ever.
6578 (setting_ip4_config_verify): Update, requires addresses in case of manual
6580 (setting_ip4_config_destroy): Free stuff.
6582 * src/nm-device.c (merge_ip4_config): Implement.
6583 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
6585 2007-10-22 Dan Williams <dcbw@redhat.com>
6587 * libnm-util/nm-setting.c
6588 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
6589 pairwise cipher options for Dynamic WEP
6591 2007-10-21 Dan Williams <dcbw@redhat.com>
6593 * src/NetworkManagerAP.c
6594 src/NetworkManagerAP.h
6595 - Rename 'articifical' -> 'fake' since that's what they are until
6597 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
6598 from the attributes in an NMConnection object
6599 - (security_compatible): better handle Dynamic WEP and LEAP; handle
6601 - (nm_ap_match_in_list): find a matching AP in a scan list
6603 * src/nm-device-802-11-wireless.c
6604 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
6605 AP when searching the scan list; match on frequency and mode too
6606 - (nm_device_802_11_wireless_get_frequency): implement
6607 - (merge_scanned_ap): replace duplicate matching logic with
6608 nm_ap_match_in_list()
6609 - (real_act_stage1_prepare): handle a NULL specific object; ie where
6610 the user is trying to connect to a hidden network that is not yet
6611 known from the scan list
6612 - (activation_success_handler): now that the card knows the AP's BSSID,
6613 there may already be a scanned AP in the scan list that is what
6614 we really wanted to connect to, but didn't know at the time. Use
6615 that instead of the 'fake' AP created at activation start and get
6616 rid of the 'fake' AP
6617 - (cull_scan_list): don't remove fake APs
6619 2007-10-21 Dan Williams <dcbw@redhat.com>
6621 * src/nm-activation-request.h
6622 src/nm-activation-request.c
6623 - (nm_act_request_set_specific_object): new function; allow setting the
6624 specific object if one isn't set yet
6626 2007-10-20 Dan Williams <dcbw@redhat.com>
6628 * src/supplicant-manager/nm-supplicant-config.h
6629 src/supplicant-manager/nm-supplicant-config.c
6630 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
6631 table to store blobs
6632 - (nm_supplicant_config_add_blob): new function; add blob to internal
6634 - (nm_supplicant_config_get_blobs): new function; get stored blobs
6635 - (nm_supplicant_config_add_setting_wireless_security): handle
6636 options that use certificates (ie, blobs)
6638 * src/nm-device-802-11-wireless.c
6639 - (build_supplicant_config): pass a UID (just use the connection path)
6640 to the supplicant config as now required
6642 * src/supplicant-manager/nm-supplicant-interface.c
6643 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
6644 there are any blobs to send to wpa_supplicant, send those first
6645 before sending the network configuration
6647 2007-10-19 Dan Williams <dcbw@redhat.com>
6649 Split the GetSecrets() call off to a separate D-Bus interface so that it
6650 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
6651 should be able to call GetSecrets().
6653 * include/NetworkManager.h
6654 - Define the connection secrets D-Bus interface
6656 * src/vpn-manager/nm-vpn-connection.c
6657 - (clear_need_auth): get the right proxy object for the connection
6659 - (get_connection_secrets): use the connection secrets proxy; send
6660 empty hints in get secrets request
6662 * src/nm-activation-request.c
6663 - (nm_act_request_request_connection_secrets): use the connection
6664 secrets proxy; send empty hints in get secrets request
6668 - (connection_get_settings_cb): set the connection secrets proxy on
6669 the connection object too
6670 - (internal_new_connection_cb): create the connection secrets proxy
6672 * introspection/nm-settings-connection.xml
6673 - Define Connection.Secrets interface and move GetSecrets there
6674 - Add a 'hints' argument to GetSecrets
6676 * libnm-glib/nm-settings.c
6677 libnm-glib/nm-settings.h
6678 - (impl_connection_settings_get_secrets): add 'hints' argument
6680 2007-10-19 Dan Williams <dcbw@redhat.com>
6683 - (constructor): add message about what path a device is exported as
6684 to help in debugging rh #339011
6686 2007-10-17 Dan Williams <dcbw@redhat.com>
6688 * libnm-util/nm-utils.h
6689 libnm-util/nm-utils.c
6690 - (nm_utils_security_valid): common function to help find the intersection
6691 of capabilities of devices and (optionally) access points
6693 2007-10-17 Dan Williams <dcbw@redhat.com>
6695 * src/nm-device-802-11-wireless.c
6696 - (get_wireless_capabilities): add missing braces so that WPA capabilities
6697 don't get erroneously cleared
6699 2007-10-17 Dan Williams <dcbw@redhat.com>
6703 src/nm-hal-manager.c
6704 - (device_removed, finalize, nm_manager_remove_device,
6705 nm_manager_sleep): add a 'deactivate' argument to
6706 nm_manager_remove_device() to fully deactivate devices when necessary
6707 (ie, always except when waking up)
6709 2007-10-16 Dan Williams <dcbw@redhat.com>
6711 * libnm-util/nm-setting.c
6712 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
6713 also isn't valid phase2 autheap method
6715 2007-10-16 Dan Williams <dcbw@redhat.com>
6717 * libnm-glib/nm-client.c
6718 - (update_wireless_status): consolidate updates of wireless status
6719 - (constructor): use update_wireless_status()
6720 - (manager_running): set wireless status off when NM goes away; requery
6721 the wireless status when NM comes back
6723 2007-10-16 Dan Williams <dcbw@redhat.com>
6725 * libnm-glib/nm-client.c
6726 - (nm_client_activate_device): actually use the fixed-up specific
6729 2007-10-16 Dan Williams <dcbw@redhat.com>
6731 * src/nm-hal-manager.c
6732 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
6733 killswitch error messages once
6735 2007-10-16 Dan Williams <dcbw@redhat.com>
6738 - (manager_set_wireless_enabled): don't allow wireless to be enabled
6739 if it's disabled in hardware; don't touch network devices while
6742 2007-10-16 Dan Williams <dcbw@redhat.com>
6744 * libnm-util/nm-client.c
6745 - (nm_client_activate_device): convert NULL specific_object to "/",
6746 which is used in place of NULL
6749 - (impl_manager_activate_device): convert "/" specific_object back into
6752 2007-10-16 Tambet Ingo <tambet@gmail.com>
6754 Implement a generic NMSetting creator from setting name.
6755 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
6756 add a virtual function 'populate_fn'.
6758 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
6759 (register_default_creators): Register setting creators instead of functions
6760 that create and then populate.
6761 (parse_one_setting): Use the common setting creator and then setting specific
6762 poplulation function.
6764 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
6765 they all looked exactly the same.
6766 Add a 'populate_fn' virtual function to NMSetting.
6767 Use default virtual functions in case they are not overriden.
6768 (nm_setting_populate_from_hash): Implement.
6770 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
6771 name, use a defined string.
6772 (real_act_stage4_get_ip4_config): Ditto.
6774 2007-10-16 Tambet Ingo <tambet@gmail.com>
6776 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
6777 HAL is int, not uint.
6779 2007-10-15 Tambet Ingo <tambet@gmail.com>
6781 Implement killswitch polling through HAL.
6783 * src/nm-manager.c: Add wireless hardware status property. Add
6784 'properties-changed' signal for changes in wireless and wireless hardware
6787 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
6788 and update NMManager's wireless hardware state when it has changed.
6789 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
6792 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
6793 values of wireless state and wireless hardware state. Listen for the
6794 'properties-changed' signals, update the cached values and emit notify.
6796 * include/NetworkManager.h: Fix a typo in a comment.
6798 2007-10-14 Dan Williams <dcbw@redhat.com>
6800 * libnm-util/nm-setting.c
6801 - (setting_wireless_security_need_secrets): handle LEAP secrets
6803 2007-10-13 Dan Williams <dcbw@redhat.com>
6805 * libnm-util/nm-setting.h
6806 libnm-util/nm-setting.c
6807 src/supplicant-manager/nm-supplicant-config.c
6808 - Make the 'proto' field of the 802-11-wireless-security field a
6811 2007-10-12 Tambet Ingo <tambet@gmail.com>
6813 Rework the "properties-changed" signal listening implementation.
6814 Add a generic implementation to NMObject class that listens for
6815 the signal and calls property setters of the target NMObject.
6817 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
6819 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
6820 code to the end of file so that all the static functions are available
6821 without extra declarations.
6822 Remove the "properties-changed" signal handling and use the framework from
6824 Implement property setters for properties that change with
6825 "properties-changed" signal.
6827 * libnm-glib/nm-access-point.c: Ditto.
6829 2007-10-12 Tambet Ingo <tambet@gmail.com>
6831 Rework the "properties-changed" signal implementation.
6832 In classes that need to use it, just emit "GObject::notify" and the new
6833 framework takes care of the rest to make the signal available on dbus.
6834 The framework queues the notifications and tries to send as many together
6835 in one signal as possible.
6837 * src/nm-properties-changed-signal.c:
6838 * src/nm-properties-changed-signal.h: Implement.
6840 * src/Makefile.am: Add new files to build.
6842 * src/NetworkManagerAP.c: Use the general framework for properties-changed
6845 * src/nm-device-802-11-wireless.c: Ditto.
6847 2007-10-10 Dan Williams <dcbw@redhat.com>
6850 - (wait_for_connection_expired): ensure info is valid
6851 - (connection_added_default_handler): Should only remove pending
6852 connection info when the manager has the connection that it's
6853 waiting for. Fixes segfault in wait_for_connection_info().
6855 2007-10-10 Dan Williams <dcbw@redhat.com>
6857 * libnm-util/nm-setting.c
6858 libnm-util/nm-setting.h
6859 - Add a default 'user_name' field to the VPN setting, which VPN plugins
6860 can use if they choose. Should be filled in by the settings service
6861 on-the-fly with the currently logged in user's username
6863 2007-10-10 Dan Williams <dcbw@redhat.com>
6865 * src/nm-device-802-11-wireless.c
6866 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
6867 as such, because even if the manager fills in the SSID, NM still
6868 has to indicate to wpa_supplicant that the AP isn't broadcasting
6871 2007-10-10 Tambet Ingo <tambet@gmail.com>
6873 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
6874 code that used NM's own version of dbus signal handling and custom dictionary
6875 marshalling/unmarshalling. With this change, all that obsolete code can disappear
6876 and we get to maintain over 2000 lines less code.
6878 * libnm-util/dbus-dict-helpers.c:
6879 * libnm-util/dbus-dict-helpers.h: Remove.
6881 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
6883 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
6885 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
6888 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
6890 * configure.in: Remove test/libnm-util/Makefile creation.
6892 * test/Makefile.am: Remove libnm-util from SUBDIRS.
6894 * test/libnm-util/: Remove the whole directory.
6896 2007-10-10 Tambet Ingo <tambet@gmail.com>
6898 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
6899 device_state_changed_idle_id variable or it would contain some random value and the
6900 schedule_change_check calls would not do anything.
6902 2007-10-09 Dan Williams <dcbw@redhat.com>
6904 * src/nm-device-802-11-wireless.c
6905 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
6906 - (merge_scanned_ap): only have the manager fill the SSID if the AP
6907 isn't broadcasting its SSID; set the non-broadcast flag here; fix
6908 merging of non-SSID-broadcasting APs
6910 2007-10-09 Tambet Ingo <tambet@gmail.com>
6912 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
6913 "guint8 *" since it's usually used with GByteArray->data.
6914 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
6916 2007-10-09 Tambet Ingo <tambet@gmail.com>
6918 * src/NetworkManagerUtils.c
6919 (nm_utils_is_empty_ssid):
6920 (nm_utils_escape_ssid):
6921 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
6922 lot of places, so they belong to libnm-utils instead.
6924 Now with 100% less compiler warnings:
6926 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
6927 (nm_dbus_unescape_object_path): Ditto.
6928 (nm_utils_ssid_to_utf8): Ditto.
6929 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
6930 (nm_utils_escape_ssid): Ditto.
6931 (nm_utils_same_ssid): Ditto.
6933 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
6934 (add_one_connection_element): Remove an unused variable.
6935 (impl_manager_get_active_connections): Ditto.
6937 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
6940 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
6941 from the previous commit.
6943 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
6944 (real_act_stage1_prepare): Ditto.
6945 (activation_success_handler): Ditto.
6946 (get_property): Ditto.
6948 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
6951 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
6954 * src/supplicant-manager/nm-supplicant-config.c
6955 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
6956 to expected "char *".
6957 (nm_supplicant_config_add_setting_wireless): Ditto.
6958 (nm_supplicant_config_remove_option): Remove, not used.
6960 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
6962 (test_wireless_enabled): Ifdef out unused function.
6963 (device_deactivate): Ditto.
6964 (device_state_changed): Ditto.
6965 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
6966 (nm_utils_escape_ssid): Ditto.
6968 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
6969 (nm_utils_is_empty_ssid): Ditto.
6971 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
6974 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
6975 (setting_vpn_properties_update_secrets): Ditto.
6976 (int_to_gvalue): Ifdef out for now, not used.
6977 (byte_to_gvalue): Ditto.
6979 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
6982 2007-10-08 Tambet Ingo <tambet@gmail.com>
6984 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
6985 about dbus manager, not named manager.
6986 Make sure hal_manager and dbus_mgr are created before trying to unreference.
6988 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
6989 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
6990 However, the same signal is emitted when we destroy it and there's
6991 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
6993 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
6994 releasing the DBusGConnection, since proxy needs a conneciton.
6995 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
6997 2007-10-08 Dan Williams <dcbw@redhat.com>
6999 * src/NetworkManager.c
7000 - (main): error on unknown command-line options
7002 2007-10-08 Dan Williams <dcbw@redhat.com>
7004 Reimplement the invalid connection list. Don't try to re-activate a
7005 connection that just failed or was canceled.
7008 - (connection_secrets_failed_cb): fail device activation, don't just
7009 deactivate the device. Listeners have to know about the failure.
7011 * src/NetworkManagerPolicy.c
7012 - (nm_policy_auto_get_best_device): exclude invalid connections from
7013 the connection list given to a device's get_best_connection()
7015 - (device_state_changed): tag failed connections as invalid; clear the
7016 tag from successful connections
7018 2007-10-08 Dan Williams <dcbw@redhat.com>
7020 Fix problems with interrupted activation. Previously, choosing an AP
7021 from the menu, then choosing another one before the first connection was
7022 successful wouldn't deactivate the device before starting the new connection
7023 on that same device.
7025 * src/NetworkManagerPolicy.c
7026 - (deactivate_old_device, device_state_changed, state_changed,
7027 nm_policy_new): wrong place to deactivate old devices
7030 - (pending_connection_info_destroy, finalize,
7031 wait_for_connection_expired): decouple destruction of the pending
7032 connection info from the manager device
7033 - (connection_added_default_handler): deactivate any active or
7034 activating device before starting a new activation
7035 - (impl_manager_activate_device): deactivate any active or activating
7036 device before starting a new activation; be sure not to leak
7037 pending connection info if a new activation request arrives but
7038 there's already a pending one in-process
7040 2007-10-08 Dan Williams <dcbw@redhat.com>
7042 * src/NetworkManagerAP.h
7043 src/NetworkManagerAP.c
7044 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
7045 should handle default SSIDs and whether or not to autoconnect
7048 2007-10-08 Dan Williams <dcbw@redhat.com>
7050 * src/NetworkManagerPolicy.c
7051 - (nm_policy_device_change_check): print out connection name where
7054 2007-10-08 Dan Williams <dcbw@redhat.com>
7056 * src/nm-device-802-11-wireless.c
7057 src/nm-device-802-11-wireless.h
7058 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7059 'hidden-ap-found' signal (for internal use only) that allows the
7060 NMManager to fill in the AP's SSID if a connection has that AP's
7061 BSSID in its seen-bssids list
7064 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7065 wireless device's hidden-ap-found signal and fill in the APs SSID
7068 2007-10-07 Dan Williams <dcbw@redhat.com>
7072 - Add a 'connections-added' signal to batch together updates of large
7073 numbers of connections, like when reading from a settings service
7074 the first time. Otherwise, the policy would just activate the first
7075 suitable connection it saw rather than waiting for the full list
7077 - (nm_manager_class_init): register new signal
7078 - (get_type_for_proxy, connection_get_settings_cb,
7079 get_connection_for_proxy): centralize places where a proxy's setting
7080 service is determined
7081 - (free_get_settings_info): if the call being freed is the last call
7082 in a pending call group, fire off the connections-added signal
7083 - (internal_new_connection_cb): add call to a pending call group if
7085 - (list_connections_cb): always create a call group here, because this
7086 call results in a batch of new connections
7087 - (initial_get_connections): start getting system connections first
7088 - (nm_manager_connections_destroy, emit_removed): actually emit the
7089 removed signal when destroying connections
7091 * src/NetworkManagerPolicy.c
7092 - (nm_policy_new, connections_added): handle connections-added signal
7095 2007-10-06 Dan Williams <dcbw@redhat.com>
7097 * src/nm-device-802-11-wireless.c
7098 - (constructor): fix leaked socket
7100 2007-10-06 Dan Williams <dcbw@redhat.com>
7102 * src/NetworkManagerPolicy.c
7103 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
7104 connection in the list returned by nm_manager_get_connections() is
7105 reffed, but they weren't getting unreffed before returning
7107 2007-10-06 Dan Williams <dcbw@redhat.com>
7110 - (connections_to_slist): sort connections first on autoconnect, then
7113 2007-10-06 Dan Williams <dcbw@redhat.com>
7115 * libnm-util/nm-connection.c
7116 - (gvalue_to_string): handle UINT64
7118 2007-10-06 Dan Williams <dcbw@redhat.com>
7120 * src/NetworkManagerPolicy.c
7121 - (connection_updated, nm_policy_new): recheck state when a connection
7124 2007-10-06 Dan Williams <dcbw@redhat.com>
7128 - (nm_manager_get_connection_dbus_path): make static
7129 - (nm_manager_update_connections): remove; unused
7130 - Add a connection-updated signal
7131 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7132 handle connection object updates
7134 2007-10-06 Dan Williams <dcbw@redhat.com>
7136 * src/NetworkManagerPolicy.c
7137 - (connection_removed): deactivate removed connections
7139 2007-10-06 Dan Williams <dcbw@redhat.com>
7141 * libnm-util/nm-connection.c
7142 libnm-util/nm-connection.h
7143 - (nm_connection_replace_settings): new function
7145 2007-10-06 Dan Williams <dcbw@redhat.com>
7147 * libnm-glib/nm-device-802-11-wireless.c
7148 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7149 on error when getting the active access point over D-Bus from NM
7151 2007-10-05 Dan Williams <dcbw@redhat.com>
7153 * libnm-util/nm-setting.c
7154 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7155 to the NMSettingWireless table; it's now a string array not an array
7158 2007-10-05 Dan Williams <dcbw@redhat.com>
7160 * libnm-glib/nm-device-802-11-wireless.c
7161 - Cache properties and update cached properties on D-Bus signals from NM
7163 2007-10-05 Dan Williams <dcbw@redhat.com>
7165 * src/nm-device-802-11-wireless.c
7166 - (set_current_ap): consolidate current_ap handling code into one place
7167 to ensure that PropertiesChanged signals are emitted in all cases
7168 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7169 nm_device_802_11_wireless_dispose): use set_current_ap()
7171 2007-10-05 Dan Williams <dcbw@redhat.com>
7173 * libnm-glib/nm-access-point.c
7174 libnm-glib/nm-access-point.h
7175 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7176 because the value is cached internally now. Callers should not
7177 free the internal value.
7178 - Make signal name defines private
7181 libnm-glib/libnm-glib-test.c
7182 - Don't free value returned from nm_access_point_get_hw_address()
7184 2007-10-04 Dan Williams <dcbw@redhat.com>
7186 * introspection/nm-device-802-11-wireless.xml
7187 src/nm-device-802-11-wireless.h
7188 src/nm-device-802-11-wireless.c
7189 - Add a PropertiesChanged signal for wireless device
7190 - Store currently associated access point
7191 - (periodic_update): generalize; update rate here too and emit the
7192 correct PropertiesChanged signal when stuff changes
7193 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7194 real_activation_cancel_handler): clear current_ap when device is
7196 - (link_to_specific_ap, get_ap_blacklisted,
7197 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7199 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7201 - (real_set_hw_address): emit property changed signal if the card's
7203 - (real_act_stage1_prepare): set the initial current_ap to the AP
7204 the card is supposed to be connecting to
7205 - (activation_success_handler): send out property updates on successful
7207 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7208 for ACTIVE_ACCESS_POINT property because sometimes there won't be
7209 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7210 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7211 is now boxed; add PropertiesChanged signal
7213 2007-10-04 Dan Williams <dcbw@redhat.com>
7215 * libnm-util/nm-connection.c
7216 libnm-util/nm-connection.h
7217 - (nm_connection_verify): new function
7219 2007-10-04 Dan Williams <dcbw@redhat.com>
7221 * libnm-util/nm-setting.c
7222 - (nm_settings_verify): use #defines when possible rather than strings
7223 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7224 - (setting_vpn_verify): tighter validity check on 'service_type'
7226 2007-10-04 Dan Williams <dcbw@redhat.com>
7228 * libnm-glib/nm-settings.c
7229 - (nm_connection_settings_class_init): provide correct type for argument
7230 to the Updated signal so that dbus-glib knows how to marshal it
7232 2007-10-03 Dan Williams <dcbw@redhat.com>
7234 * src/nm-device-802-3-ethernet.c
7235 - (real_get_best_connection): don't create automatic connections
7236 internally; clients should provide a setting that applies to
7237 the device with 'autoconnect: True'. Problem was that these
7238 internally auto-created connections don't have a proxy or service
7239 name becuase they weren't created by a settings daemon, and therefore
7240 clients have no idea what to do with them.
7242 2007-10-03 Dan Williams <dcbw@redhat.com>
7244 * src/nm-device-802-11-wireless.c
7245 src/nm-device-802-11-wireless.h
7246 introspection/nm-device-802-11-wireless.xml
7247 - GetActiveNetworks -> GetAccessPoints
7248 - ActiveNetwork -> ActiveAccessPoint
7249 - NetworkAdded -> AccessPointAdded
7250 - NetowrkRemoved -> AccessPointRemoved
7252 * libnm-glib/nm-device-802-11-wireless.c
7253 libnm-glib/nm-device-802-11-wireless.h
7254 - network-added signal -> access-point-added
7255 - network-removed signal -> access-point-removed
7256 - nm_device_802_11_wireless_get_active_network() ->
7257 nm_device_802_11_wireless_get_active_access_point()
7258 - nm_device_802_11_wireless_get_network_by_path() ->
7259 nm_device_802_11_wireless_get_access_point_by_path()
7260 - nm_device_802_11_wireless_get_networks() ->
7261 nm_device_802_11_wireless_get_access_points()
7263 * libnm-glib/libnm-glib-test.c
7265 src/NetworkManagerPolicy.c
7266 - Fixups for Network -> AccessPoint
7268 2007-10-03 Dan Williams <dcbw@redhat.com>
7270 Add a GetActiveConnections() method on the Manager object.
7274 introspection/nm-manager.xml
7275 - (connection_get_settings_cb): keep connection type around too
7276 - (impl_manager_get_active_connections, add_one_connection_element):
7277 implement; returns all active connections and what devices they
7280 * libnm-glib/nm-client.c
7281 libnm-glib/nm-client.h
7282 introspection/nm-manager-client.xml
7283 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7284 by the caller; free here to avoid memory leak
7285 - (nm_client_get_active_connections): implement; return the list of
7287 - (nm_client_free_active_connection_element): implement; free an element
7288 of the GSList returned by nm_client_get_active_connections()
7290 2007-10-03 Dan Williams <dcbw@redhat.com>
7292 * src/nm-device-802-11-wireless.c
7293 - (nm_device_802_11_wireless_update_bssid): remove
7294 - (get_active_ap): new function; find the AP in the scan list which
7295 matches the current BSSID and SSID of the wireless device
7296 - (nm_device_802_11_periodic_update): get current AP using
7297 get_active_ap() and print AP roam messages
7299 2007-10-01 Dan Williams <dcbw@redhat.com>
7301 * libnm-util/nm-setting.h
7302 - Add a 'timestamp' option to NMSettingConnection
7305 * libnm-util/nm-setting.c
7306 - (uint64_to_gvalue): new function
7307 - (nm_setting_populate_from_hash, nm_setting_hash,
7308 default_setting_clear_secrets): handle UINT64 type
7309 - con_table: add 'timestamp' member
7311 2007-10-01 Dan Williams <dcbw@redhat.com>
7314 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7315 value when the connection can be activated immediately
7317 2007-10-01 Dan Williams <dcbw@redhat.com>
7319 * libnm-glib/nm-device.c
7320 - (nm_device_class_init): actually tell glib about the carrier-changed
7323 2007-10-01 Dan Williams <dcbw@redhat.com>
7326 src/marshallers/Makefile.am
7327 src/marshallers/nm-marshal.list
7328 src/marshallers/nm-marshal-main.c
7329 - Consolidate glib marshallers into one place
7331 * src/dhcp-manager/Makefile.am
7332 src/dhcp-manager/nm-dhcp-manager.c
7333 src/supplicant-manager/Makefile.am
7334 src/supplicant-manager/nm-supplicant-manager.c
7335 src/supplicant-manager/nm-supplicant-interface.c
7336 src/ppp-manager/Makefile.am
7337 src/ppp-manager/nm-ppp-manager.c
7338 src/vpn-manager/Makefile.am
7339 src/vpn-manager/nm-vpn-connection.c
7341 - Use consolidated marshallers
7343 * src/dhcp-manager/nm-dhcp-marshal.list
7344 src/dhcp-manager/nm-dhcp-marshal-main.c
7345 src/supplicant-manager/nm-supplicant-marshal-main.c
7346 src/supplicant-manager/nm-supplicant-marshal.list
7347 src/nm-marshal-main.c
7349 src/ppp-manager/nm-ppp-marshal-main.c
7350 src/ppp-manager/nm-ppp-marshal.list
7351 src/vpn-manager/nm-vpn-marshal-main.c
7352 src/vpn-manager/nm-vpn-marshal.list
7355 2007-10-01 Dan Williams <dcbw@redhat.com>
7357 * include/NetworkManagerVPN.h
7358 - define VPN connection state change reason codes
7360 * src/vpn-manager/Makefile.am
7361 src/vpn-manager/nm-vpn-marshal.list
7362 src/vpn-manager/nm-vpn-marshal-main.c
7363 - Add marshallers for StateChanged signal
7365 * introspection/nm-vpn-connection.xml
7366 - New Banner property
7367 - StateChanged signal now includes a 'reason' argument
7369 * src/vpn-manager/nm-vpn-connection.c
7370 src/vpn-manager/nm-vpn-connection.h
7371 - Add a "Banner" property that contains the returned VPN server login
7372 banner (if any); valid only in the ACTIVATED state
7373 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7374 a 'reason' argument and emits that reason along with the
7375 state-changed signal
7376 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7377 - (nm_vpn_connection_ip4_config_get): save banner for later
7378 - (nm_vpn_connection_get_banner, get_property,
7379 nm_vpn_connection_class_init): implement Banner property
7381 * src/vpn-manager/nm-vpn-service.c
7382 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7383 connection list because elements may get added/removed from it
7384 while iterating over the list
7385 - (connection_state_changed): signal now includes the 'reason' argument
7387 * libnm-glib/nm-vpn-connection.c
7388 libnm-glib/nm-vpn-connection.h
7389 - (nm_vpn_connection_get_banner): new function
7390 - (state_changed_proxy): handle reason argument
7392 2007-09-28 Tambet Ingo <tambet@gmail.com>
7396 Implement device activation through NMManager.
7397 Implement "pending device activation" here - If the connection isn't found,
7398 we try to wait for up to 5 seconds for the connection to be provided.
7399 Add NMConnectionType argument to "connection-added" and "connection-removed"
7401 (nm_manager_get): Remove. Finally.
7403 * src/nm-activation-request.c:
7404 * src/nm-activation-request.h:
7405 Remove all the deferred activation code.
7407 * src/nm-device.c: Remove all the deferred activation code. Once the device
7408 activation is started, it's started. Update the activation virtual function
7411 * src/nm-device-interface.c:
7412 * src/nm-device-interface.h:
7413 Device activation now takes only NMActRequest argument.
7414 Don't expose device activation directly on dbus, it's supposed to go through
7417 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
7419 Use the new device activation methods through NMManager.
7421 * introspection/nm-manager-client.xml:
7422 * introspection/nm-manager.xml:
7423 * libnm-glib/nm-client.c:
7424 * libnm-glib/nm-client.h:
7425 Add device activation method.
7427 * libnm-glib/nm-device.c:
7428 * libnm-glib/nm-device.h:
7429 * introspection/nm-device.xml:
7430 Remove device activation method. It's done through NMManager now.
7432 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
7433 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
7435 2007-09-28 Dan Williams <dcbw@redhat.com>
7437 * libnm-glib/nm-vpn-connection.c
7438 - (nm_vpn_connection_get_state): try to update state if the current
7441 2007-09-27 Dan Williams <dcbw@redhat.com>
7443 Patch from Bill Nottingham
7445 * src/supplicant-manager/nm-supplicant-config.c
7446 - (ADD_STRING_VAL): use correct length for binary blobs when sending
7447 data to the supplicant
7449 2007-09-27 Dan Williams <dcbw@redhat.com>
7451 * src/NetworkManagerSystem.c
7452 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
7453 and all address manipulation here should be happening on the
7454 _VPN_ device, not the active device
7456 2007-09-26 Dan Williams <dcbw@redhat.com>
7460 src/nm-activation-request.c
7461 src/nm-activation-request.h
7462 - Move the GetSecrets stuff out of the NMManager instance because it
7463 doesn't really need to be there and complicates things
7466 - (connection_secrets_failed_cb, device_activation_go): connect to the
7467 connection-secrets-failed signal and deactivate the device if
7468 the GetSecrets call fails
7470 * src/nm-device-802-11-wireless.c
7471 - (link_timeout_cb, supplicant_connection_timeout_cb,
7472 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
7473 secrets and give correct hints about whether new secrets should be
7474 asked for by the client or not
7476 2007-09-26 Dan Williams <dcbw@redhat.com>
7478 * src/vpn-manager/nm-vpn-connection.c
7479 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
7480 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
7481 to the secrets-updated signal of the NMConnection since updating
7482 the secrets is done within the scope of the NMVPNConnection object
7484 - (get_connection_secrets): fix an uninialized variable usage error
7486 2007-09-26 Dan Williams <dcbw@redhat.com>
7488 * libnm-util/nm-setting.c
7489 - (setting_vpn_properties_update_secrets): implement so VPN secrets
7490 actually get updated when the user enters them
7492 2007-09-26 Dan Williams <dcbw@redhat.com>
7494 * libnm-glib/nm-vpn-plugin.c
7495 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
7497 2007-09-26 Dan Williams <dcbw@redhat.com>
7499 * include/NetworkManagerVPN.h
7500 - Add a NEED_AUTH state
7502 * src/vpn-manager/nm-vpn-connection.c
7503 - Implement the NEED_AUTH state. First ask the VPN service plugin if
7504 the connection needs secrets, and if so, then ask the settings
7505 service to fill in the secrets. Then start the connection.
7507 2007-09-26 Dan Williams <dcbw@redhat.com>
7509 * src/vpn-manager/nm-vpn-manager.c
7510 - (new_vpn_error, impl_vpn_manager_connect): set errors
7512 2007-09-26 Dan Williams <dcbw@redhat.com>
7514 * introspection/nm-vpn-plugin.xml
7515 libnm-glib/nm-vpn-plugin.c
7516 libnm-glib/nm-vpn-plugin.h
7517 - (impl_vpn_plugin_need_secrets): implement a call that should return
7518 the name of the NMSetting in an NMConnection that may require
7519 secrets specific to that VPN plugin
7521 2007-09-26 Dan Williams <dcbw@redhat.com>
7525 - (nm_manager_get_connection_secrets): make static, unused outside
7527 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
7529 2007-09-26 Tambet Ingo <tambet@gmail.com>
7531 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
7533 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
7534 unreference the connection.
7536 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
7537 passing properties hash and routes string list, pass NMConnection (in hashed form).
7539 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
7540 as GSList, no need to copy stuff around anymore.
7541 (nm_vpn_connection_activate): Update the plugin activation method.
7543 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
7544 routes argument to GSList.
7546 2007-09-26 Tambet Ingo <tambet@gmail.com>
7548 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
7549 state and try to get the secrets.
7551 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
7552 connections from NMManager and let the device to choose the best from the list.
7553 Since the connection list is sorted by system ones first and user ones later,
7554 the devices still prefer system connections like they did before.
7555 (deactivate_old_device): Implement. When a device starts activation, we have a
7556 policy (for now at least) to deactivate any other device that might be either
7557 active or still activating.
7559 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
7560 It's set on construction, there will be no other way to access it.
7562 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
7563 device events and drive the device, not the other way around.
7565 * src/nm-device-802-3-ethernet.c: Ditto.
7567 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
7568 sent along, pass it on to virtual functions.
7570 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
7571 for now, but should really be public instead of nm_device_get_iface() since iface
7572 is a property of the DeviceInterface, not Device.
7573 (impl_device_activate): Don't touch NMManager!
7575 2007-09-26 Jürg Billeter <j@bitron.ch>
7577 * initscript/paldo/NetworkManager.in:
7578 * initscript/paldo/NetworkManagerDispatcher.in:
7579 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
7580 (nm_system_flush_loopback_routes): update paldo backend
7582 2007-09-26 Tambet Ingo <tambet@gmail.com>
7584 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
7585 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
7586 which means none of the devices get brought down properly, which in turn leaves
7587 DHCP client running.
7589 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
7590 (supplicant_connection_timeout_cb): Ditto.
7592 2007-09-25 Dan Williams <dcbw@redhat.com>
7595 - (device_activation_go): small hack to work around race when
7596 activating deferred connections; should solve this in a better way
7598 2007-09-25 Dan Williams <dcbw@redhat.com>
7600 * introspection/nm-device.xml
7601 libnm-glib/nm-device.c
7602 libnm-glib/nm-device.h
7603 - Add 'Carrier' property to exported NMDevice objects
7605 * src/nm-device-interface.h
7606 src/nm-device-interface.c
7608 - Add a 'carrier' property to internal NMDevice objects
7610 2007-09-25 Dan Williams <dcbw@redhat.com>
7612 * src/nm-device-802-11-wireless.c
7613 - (ap_auth_enforced): also return the encryption status of the AP so
7614 that callers can differentiate easily between unencrypted APs
7615 and encrypted ones, in addition to whether the AP has an
7617 - (link_timeout_cb, supplicant_connection_timeout_cb,
7618 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
7619 previously would request secrets from unencrypted APs at times
7621 2007-09-25 Dan Williams <dcbw@redhat.com>
7624 - (nm_manager_update_state): new function; updates state and emits
7625 appropriate signals ensuring a state-change signal for the same state
7626 never gets emitted twice in a row.
7627 - (manager_device_state_changed): handle more device state to get a
7628 better picture of the overall NM state
7630 2007-09-25 Dan Williams <dcbw@redhat.com>
7632 * libnm-glib/nm-settings.c
7633 libnm-glib/nm-settings.h
7634 - (new_error -> nm_settings_new_error): make public so that subclasses
7635 can use the same error domain. Also pass a valid error code to
7636 g_error_new_literal() so that libdbus doesn't assert when converting
7637 the GError into a DBusError
7638 - (impl_settings_list_connections, impl_connection_settings_get_id,
7639 impl_connection_settings_get_settings,
7640 impl_connection_settings_get_secrets): use new error creator
7643 2007-09-25 Dan Williams <dcbw@redhat.com>
7645 * src/NetworkManager.c
7646 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
7648 2007-09-25 Dan Williams <dcbw@redhat.com>
7650 * src/supplicant-manager/nm-supplicant-manager.c
7651 - (poke_supplicant_cb, nm_supplicant_manager_init,
7652 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
7653 nm_supplicant_manager_startup): when the supplicant isn't running,
7654 try to start it periodically via system bus activation. Fixes
7655 a problem where if wpa_supplicant goes away, NM gets stuck waiting
7656 for the supplicant to come back
7658 2007-09-25 Dan Williams <dcbw@redhat.com>
7660 Ensure that old activation requests are forgotten about; previously
7661 hitting Cancel in the password dialog would deactivate whatever device
7662 that password was requested for, even if that wasn't the currently
7663 activating connection.
7667 - (nm_manager_get_connection_secrets): track the pending call
7668 object so it can be canceled later if needed
7669 - (nm_manager_cancel_get_connection_secrets): cancel a pending
7670 GetSecrets call for a particular connection
7672 * src/nm-activation-request.c
7673 - (dispose): cancel any outstanding GetSecrets calls on the
7676 2007-09-25 Dan Williams <dcbw@redhat.com>
7678 * src/NetworkManagerPolicy.c
7679 - (nm_policy_device_change_check): handle devices that have a
7680 deferred activation. These devices are not really active _yet_,
7681 but need to be treated as such here. Don't interrupt them
7684 * src/nm-device-interface.c
7685 - (impl_device_activate): handle devices that have a deferred activation
7686 like activating or active devices. When multiple active devices
7687 get committed, the device shouldn't be deactivated until the
7688 connection details are available to avoid DoS and such. Currently,
7689 any active, activating, or deferred activation device is deactivated
7690 here before starting the new activation request.
7692 2007-09-25 Dan Williams <dcbw@redhat.com>
7694 Properly re-query secrets from the settings daemon when stuff fails.
7696 * src/nm-device-802-11-wireless.c
7697 - (ap_auth_enforced): handle static WEP correctly here by differentiating
7698 between Shared Key and Open System auth modes
7699 - (link_timeout_cb, supplicant_connection_timeout_cb,
7700 real_act_stage4_ip_config_timeout): clear existing secrets and
7701 request new ones when something fails due to a suspected wrong key
7702 - (real_act_stage2_config): fix for new request_new argument to
7703 nm_manager_get_connection_secrets()
7707 - (nm_manager_get_connection_secrets): return error status; pass
7708 new request_new argument on to the settings daemon
7710 * introspection/nm-settings-connection.xml
7711 - New 'request_new' argument to the GetSecrets call that hints to the
7712 settings daemon to ask the user for completely new secrets
7714 * libnm-glib/nm-settings.c
7715 libnm-glib/nm-settings.h
7716 - (impl_connection_settings_get_secrets): handle new 'request_new'
7719 2007-09-25 Dan Williams <dcbw@redhat.com>
7721 * libnm-util/nm-connection.c
7722 libnm-util/nm-connection.h
7723 - (nm_connection_clear_secrets): new function; clear secrets out of
7724 each NMSetting in an NMConnection
7726 * libnm-util/nm-setting.h
7727 libnm-util/nm-setting.c
7728 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
7729 secrets out of an NMSetting
7730 - (nm_setting_connection_new, nm_setting_ip4_config_new,
7731 nm_setting_wired_new, nm_setting_wireless_new,
7732 nm_setting_wireless_security_new, nm_setting_ppp_new,
7733 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
7734 to default handler default_setting_clear_secrets()
7736 2007-09-25 Dan Williams <dcbw@redhat.com>
7738 * src/nm-activation-request.c
7739 src/nm-activation-request.h
7740 - (nm_act_request_is_deferred): new function
7742 2007-09-24 Dan Williams <dcbw@redhat.com>
7744 * src/nm-device-802-11-wireless.c
7745 - (activation_success_handler): update signal strength immediately
7748 2007-09-24 Dan Williams <dcbw@redhat.com>
7750 * libnm-util/nm-setting.c
7751 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
7753 2007-09-24 Dan Williams <dcbw@redhat.com>
7755 * src/NetworkManagerPolicy.c
7756 - (nm_policy_auto_get_best_device): don't interrupt activation of a
7757 device by deactivating it because it doesn't have a "best connection".
7758 Since autoconnect=False connections aren't automatically chosen,
7759 NM would interrupt activation of such a connection because it
7760 would never be "best" due to autoconnect=False.
7762 2007-09-24 Dan Williams <dcbw@redhat.com>
7765 - (nm_manager_get_connection_secrets): Add a long timeout so the user
7766 actually has some time to enter a key before the GetSecrets call
7769 2007-09-24 Dan Williams <dcbw@redhat.com>
7771 * introspection/nm-manager.xml
7773 - (impl_manager_legacy_state): fix 'state' method call return value
7775 2007-09-24 Matthias Clasen <mclasen@redhat.com>
7777 * test/Makefile.am: Install nm-tool
7779 2007-09-24 Dan Williams <dcbw@redhat.com>
7781 Patch from Ross Burton <ross@burtonini.com>
7784 callouts/nm-dhcp-client-action.c
7786 src/vpn-manager/nm-vpn-connection.c
7787 libnm-glib/libnm-glib-test.c
7790 2007-09-24 Dan Williams <dcbw@redhat.com>
7792 * libnm-util/nm-utils.h
7793 libnm-util/nm-utils.c
7794 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
7797 2007-09-23 Dan Williams <dcbw@redhat.com>
7799 * vpn-daemons/vpnc/properties/nm-vpnc.c
7800 - Update for new VPN properties API bits; instead of passing around
7801 a lot of random things, everything goes into the NMConnection
7804 2007-09-23 Dan Williams <dcbw@redhat.com>
7806 * libnm-util/nm-setting.c
7807 - Correctly dispose of settings objects if creating them from a hash
7810 2007-09-23 Dan Williams <dcbw@redhat.com>
7812 * libnm-util/nm-setting.c
7813 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
7814 the hash table in a standard manner. Clients of libnm-util should
7815 only call g_hash_table_remove_all(), never destroy the hash table
7818 2007-09-22 Dan Williams <dcbw@redhat.com>
7820 * src/nm-device-802-11-wireless.c
7821 - (real_bring_up): update signal strength every 6 seconds, not 2. No
7822 real reason to do it so often, and reduces wakeups for clients.
7824 2007-09-21 Dan Williams <dcbw@redhat.com>
7826 * src/nm-device-802-11-wireless.c
7827 - (build_supplicant_config): wpa_supplicant requires the option
7828 key_mgmt=NONE for unencrypted networks
7829 - (real_act_stage2_config): clarify log message on activation
7831 2007-09-21 Dan Williams <dcbw@redhat.com>
7833 * test/nm-supplicant-test.c
7835 - Remove supplicant test binary; no longer applicable
7837 2007-09-21 Dan Williams <dcbw@redhat.com>
7839 * src/supplicant-manager/nm-supplicant-manager.c
7840 - (nm_supplicant_manager_init): poke the supplicant at startup to
7841 activate it on the system bus
7843 2007-09-20 Dan Williams <dcbw@redhat.com>
7845 * initscript/RedHat/NetworkManager.in
7846 - dhcdbd is no longer used, so don't try to start it from the initscripts
7848 2007-09-20 Dan Williams <dcbw@redhat.com>
7851 - (nm_device_is_activating): work around a race between auto-activation
7852 and the user activating the same device that is being auto-activated
7854 2007-09-20 Dan Williams <dcbw@redhat.com>
7856 * src/nm-device-interface.c
7857 - (impl_device_activate): until multiple active device support lands,
7858 ensure only one device can be active at a time
7860 2007-09-20 Dan Williams <dcbw@redhat.com>
7862 * src/supplicant-manager/nm-supplicant-config.c
7863 src/supplicant-manager/nm-supplicant-config.h
7864 - (nm_supplicant_config_add_option): hide secrets from system logs
7866 2007-09-20 Dan Williams <dcbw@redhat.com>
7868 * src/NetworkManagerPolicy.c
7869 - (nm_policy_device_change_check): re-enable the wireless device change
7870 checking code; insted of checking for SSIDs, check for the same
7873 2007-09-20 Dan Williams <dcbw@redhat.com>
7875 * src/nm-device-802-11-wireless.c
7876 - (supplicant_iface_connection_state_cb_handler): don't use the card's
7877 composite link state when determining when to start the disconnection
7878 timer; that link state is already based on the supplicant interface's
7879 status which is exactly what's already being examined, plus the link
7880 state is a conglomeration of various things that we don't want here
7882 2007-09-20 Dan Williams <dcbw@redhat.com>
7884 * libnm-glib/nm-access-point.c
7885 - (handle_property_changed): strength is a UCHAR
7887 2007-09-20 Dan Williams <dcbw@redhat.com>
7889 * src/supplicant-manager/nm-supplicant-config.c
7890 - (nm_supplicant_config_add_setting_wireless_security): uppercase
7891 string list keywords too since that's what wpa_supplicant wants
7893 2007-09-20 Dan Williams <dcbw@redhat.com>
7895 * libnm-util/nm-setting.c
7896 - (convert_strv_to_slist): dupe the values in the list because since
7897 the list is a boxed value, it'll get destroyed when it's container
7898 (like a hash table or whatever) gets destroyed
7900 2007-09-20 Tambet Ingo <tambet@gmail.com>
7902 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
7905 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
7907 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
7908 just use (g_object_set_data_full).
7910 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
7911 that NMSettingVPN->routes is a GSList, convert it to char **.
7912 (nm_vpn_connection_ip4_config_get): Free routes when done.
7913 (nm_vpn_connection_activate): Ditto.
7915 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
7916 (real_act_stage2_config): Use defined setting names.
7918 2007-09-20 Dan Williams <dcbw@redhat.com>
7920 * src/nm-device-802-11-wireless.c
7923 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
7924 so that the device can be deactivated if secrets are wrong
7926 2007-09-20 Dan Williams <dcbw@redhat.com>
7928 * introspection/nm-settings-connection.xml
7929 libnm-glib/nm-settings.c
7930 libnm-glib/nm-settings.h
7931 - Make GetSecrets asynchronous on the server side
7933 2007-09-20 Dan Williams <dcbw@redhat.com>
7937 - (nm_device_activate): actually check if a given connection
7938 exists before assuming it doesn't
7940 2007-09-20 Tambet Ingo <tambet@gmail.com>
7942 * libnm-util/nm-connection.c (register_default_creators): Use defined
7943 setting names. Register NMSettingVPN and NMSettingVPNProperties.
7945 * libnm-util/nm-setting.c: Define property name strings, use them.
7946 Implement NMSettingVPN and NMSettingVPNProperties settings.
7947 Implement NM_S_TYPE_GVALUE_HASH.
7948 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
7949 (setting_connection_verify): Rename 'devtype' property to 'type'.
7951 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
7954 * src/vpn-manager/nm-vpn-service.c: Ditto.
7956 * src/vpn-manager/nm-vpn-connection.c: Ditto.
7958 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
7959 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
7961 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
7962 names. NMSettingConnection->devtype got renamed to 'type'.
7964 * src/nm-device-802-3-ethernet.c (find_best_connection):
7965 (real_get_best_connection): Ditto.
7967 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
7969 * libnm-glib/nm-vpn-manager.[ch]: Update.
7971 2007-09-19 Dan Williams <dcbw@redhat.com>
7973 * src/NetworkManagerAP.c
7974 src/NetworkManagerAP.h
7975 introspection/nm-access-point.xml
7976 - Change strength-changed signal into a properties-changed signal
7977 for all properties, not just strength. Export that signal over dbus
7978 so listeners don't have to poll NM for changes.
7979 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
7980 get exported over D-Bus, so break up the logic and let other bits
7981 decided when to export the AP
7982 - (nm_ap_new_from_ap): remove, unused
7984 * src/nm-device-802-11-wireless.c
7985 - (merge_scanned_ap): only export APs that are actually on the device
7986 list, not every AP created internally
7988 * libnm-glib/nm-access-point.c
7989 libnm-glib/nm-access-point.h
7990 - Cache properties internally and only hit DBus when needed. Get
7991 property updates from NM signals
7993 2007-09-16 Dan Williams <dcbw@redhat.com>
7995 * libnm-util/nm-connection.c
7996 libnm-util/nm-connection.h
7997 - (nm_connection_for_each_setting_value): new function; iterate over
7998 each setting's value and call a user-provided function with details
8001 * libnm-util/nm-setting.c
8002 libnm-util/nm-setting.h
8003 - (nm_setting_enumerate_values): new function; enumerate the values
8004 of a specific NMSetting subclass for a user-provided function with
8005 details about that value
8006 - Change wep_tx_keyidx to a uint32
8007 - Create settings value tables for each setting defining their type,
8008 key name, offset into the NMSetting subclass' structure, and whether
8009 they are required and/or a secret
8010 - (nm_setting_populate_from_hash): generic function to populate an
8011 NMSetting from a GHash table, make all settings use it
8012 - (nm_setting_hash): generic function to derive a GHashTable from
8013 an NMSetting object, make all settings use it
8015 2007-09-14 Dan Williams <dcbw@redhat.com>
8017 Remove unused stuff in libnm-util
8020 libnm-util/Makefile.am
8021 libnm-util/cipher-private.h
8022 libnm-util/cipher-wep-ascii.c
8023 libnm-util/cipher-wep-ascii.h
8024 libnm-util/cipher-wep-hex.c
8025 libnm-util/cipher-wep-hex.h
8026 libnm-util/cipher-wep-passphrase.c
8027 libnm-util/cipher-wep-passphrase.h
8028 libnm-util/cipher-wpa-psk-hex.c
8029 libnm-util/cipher-wpa-psk-hex.h
8030 libnm-util/cipher-wpa-psk-passphrase.c
8031 libnm-util/cipher-wpa-psk-passphrase.h
8034 libnm-util/dbus-helpers.c
8035 libnm-util/dbus-helpers.h
8036 libnm-util/gnome-keyring-md5.c
8037 libnm-util/gnome-keyring-md5.h
8040 src/nm-device-802-11-wireless.c
8041 test/libnm-util/Makefile.am
8042 test/libnm-util/test-ciphers.c
8043 test/libnm-util/test-dbus-helpers.c
8044 test/libnm-util/test-inputs.h
8047 2007-09-14 Dan Williams <dcbw@redhat.com>
8049 * libnm-util/dbus-method-dispatcher.c
8050 libnm-util/dbus-method-dispatcher.h
8053 2007-09-14 Dan Williams <dcbw@redhat.com>
8055 Implement deferred activation support in the device class.
8057 * src/nm-device-interface.c
8058 src/nm-device-interface.h
8059 - (nm_device_interface_activate): take more arguments to support
8060 deferred activation; callers must pass one of (connection) OR
8061 (service_name, connection_path)
8062 - (impl_device_activate): connection validation is punted to the device
8063 to be able to handle deferred activation. Yes, this means errors
8064 don't get returned from the Activate() dbus call, and yes, that
8065 should be fixed somehow later.
8069 - (clear_act_request): clear additional deferred activation stuff too
8070 - (deferred_activation_timeout_cb): new function; clean up when
8071 deferred activation times out.
8072 - (deferred_activation_start_cb): new function; when the connection
8073 finally becomes available, start device activation
8074 - (nm_device_activate): attach to the right signals of the activation
8075 request if we need to defer activation until the connection is valid
8077 * src/NetworkManagerPolicy.c
8078 - (nm_policy_device_change_check): update for additional arguments
8079 required for nm_device_interface_activate(). Pass NULL for these
8080 though because this function already knows exactly which
8083 2007-09-14 Dan Williams <dcbw@redhat.com>
8085 Implement deferred activation handling in the NMActRequest class. When a
8086 client wants to activate a device but must create the NMConnection details
8087 on the fly, there likely hasn't been enough time yet for NM to receive the
8088 new connection signal and grab all the connection details. So the
8089 activation is deferred (and bounded by a timer) for a while, and if the
8090 connection appears within the window, it is activated.
8092 * src/nm-activation-request.c
8093 src/nm-activation-request.h
8094 - (nm_act_request_class_init): two new signals to support deferred
8095 activation, to allow the listener to handle both timeout and success
8096 - (nm_act_request_new_deferred): new function, starts the deferred
8097 activation timeout handler and listens to the NMManager for
8098 new-connection signals to notice when the connection comes in
8100 2007-09-14 Dan Williams <dcbw@redhat.com>
8104 - (nm_manager_get_connection_service_name,
8105 nm_manager_get_connection_dbus_path): get details about a connection
8106 known internally by the NMManager
8107 - (nm_manager_class_init): fix connection add/remove signal marshalers
8108 because NMConnection is now a GObject subclass
8109 - Use constant for the gobject data tag used on NMConnection objects for
8110 storing the associated DBusGProxy
8112 2007-09-14 Dan Williams <dcbw@redhat.com>
8117 src/supplicant-manager/Makefile.am
8118 src/dhcp-manager/Makefile.am
8119 src/backends/Makefile.am
8120 src/named-manager/Makefile.am
8121 src/ppp-manager/Makefile.am
8122 src/vpn-manager/Makefile.am
8123 test/libnm-util/Makefile.am
8124 test/test-common/Makefile.am
8125 - Remove utils/; it was unused
8127 2007-09-13 Dan Williams <dcbw@redhat.com>
8129 * libnm-glib/nm-vpn-manager.h
8130 libnm-glib/nm-vpn-manager.c
8131 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8133 2007-09-13 Dan Williams <dcbw@redhat.com>
8135 * src/nm-device-802-3-ethernet.c
8136 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8137 netlink monitor carrier signals on dispose, not bring down. The
8138 carrier signals should be handled over the entire lifetime of the
8139 device anyway, not created/destroyed on up or down.
8141 2007-09-13 Dan Williams <dcbw@redhat.com>
8143 * libnm-glib/nm-device.c
8144 libnm-glib/nm-device.h
8145 - (nm_device_activate): take a connection object path rather than an
8146 NMConnection because NMConnection isn't exported over D-Bus and
8147 therefore it dbus-glib can't automatically get an object path from it
8149 2007-09-13 Dan Williams <dcbw@redhat.com>
8151 * libnm-util/nm-setting.c
8152 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8154 2007-09-13 Tambet Ingo <tambet@gmail.com>
8156 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8158 2007-09-12 Tambet Ingo <tambet@gmail.com>
8160 * src/vpn-manager/nm-vpn-connection.[ch]:
8161 * src/vpn-manager/nm-vpn-manager.[ch]:
8162 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
8163 dbus-glib, GObjects, signals etc.
8165 * libnm-glib/nm-vpn-manager.[ch]:
8166 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8167 so much, rewrite these too.
8169 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8170 the new introspection files.
8172 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8174 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8175 the header with the same name from libnm-utils.
8177 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8179 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8181 * introspection/nm-vpn-plugin.xml: Implement.
8183 * introspection/nm-vpn-connection.xml: Implement.
8185 * introspection/nm-vpn-manager.xml: Implement.
8187 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8188 the named manager argument, it can just as easily get it as the caller.
8189 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8191 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8193 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8195 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8198 * libnm-util/nm-connection.c: Ditto.
8200 * src/NetworkManagerMain.h: Remove, it's finally empty.
8202 * configure.in: Remove utils/ from build.
8204 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8205 of hard-coded strings.
8207 * utils/: Move it over to libnm-util.
8209 * test/Makefile.am: Link against libnm-util now that util/ is gone.
8211 * dispatcher-daemon/Makefile.am: Ditto.
8213 * src/Makefile.am: Ditto.
8215 2007-09-12 Dan Williams <dcbw@redhat.com>
8217 Wireless connections can be made with config data from the applet now.
8221 * src/supplicant-manager/nm-supplicant-config.h
8222 src/supplicant-manager/nm-supplicant-config.c
8223 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8224 - (nm_supplicant_config_add_setting_wireless,
8225 nm_supplicant_config_add_setting_wireless_security): new functions;
8226 add key/value pairs from the settings objects to the supplicant
8229 * src/nm-device-802-11-wireless.c
8230 - (cull_scan_list): fix check to not prune currently associated AP
8231 - (build_supplicant_config, real_act_stage2_config): call the functions
8232 of the NMSupplicantConfig that parse settings objects rather than
8233 doing it manually here
8235 2007-09-12 Dan Williams <dcbw@redhat.com>
8237 * src/supplicant-manager/nm-supplicant-interface.c
8238 src/supplicant-manager/nm-supplicant-marshal.list
8239 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8240 "connection-error" signal arguments should be STRING not CHAR
8242 2007-09-12 Dan Williams <dcbw@redhat.com>
8244 * src/NetworkManagerUtils.c
8245 src/NetworkManagerUtils.h
8246 - (nm_utils_hexstr2bin): new function
8248 2007-09-11 Dan Williams <dcbw@redhat.com>
8251 - (connection_get_settings_cb): emit connection-added signal
8252 - (connection_removed_cb): uncomment bits for system settings service,
8253 send connection-removed when appropriate
8254 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8255 the stack by trying to g_object_set_data() on something that's
8256 not a GObject; handle case where settings service returns
8257 empty settings hash table
8259 2007-09-11 Dan Williams <dcbw@redhat.com>
8261 * src/NetworkManagerPolicy.c
8262 - (connection_added, connection_removed): trigger device change checks
8263 on connection changes
8265 2007-09-11 Dan Williams <dcbw@redhat.com>
8267 * src/nm-activation-request.c
8268 - (connection_secrets_updated_cb): fix c&p error in signal emission
8270 2007-09-11 Dan Williams <dcbw@redhat.com>
8272 * src/nm-device-802-11-wireless.c
8273 - (real_connection_secrets_updated): fix erroneous check
8275 2007-09-11 Dan Williams <dcbw@redhat.com>
8277 * introspection/nm-device.xml
8278 libnm-glib/nm-device.c
8279 libnm-glib/nm-device.c
8280 - Fix Activate call argument borkage; Activate takes 3 arguments
8282 2007-09-11 Dan Williams <dcbw@redhat.com>
8284 * libnm-glib/nm-access-point.c
8285 libnm-glib/nm-access-point.c
8286 - (nm_access_point_get_frequency): now returns guint32 to match
8287 property change on 2007-09-10
8289 2007-09-11 Dan Williams <dcbw@redhat.com>
8291 * src/nm-device-802-11-wireless.c
8292 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8293 somewhere defines 'index' and I missed this one when I fixed the
8294 shadow declaration errors earlier
8296 2007-09-11 Dan Williams <dcbw@redhat.com>
8298 * libnm-util/nm-connection.c
8299 - (nm_connection_update_secrets, need_secrets_check): move
8300 802-11-wireless-security need_secrets checks to the setting object
8301 itself, where it belongs
8303 * libnm-util/nm-setting.c
8304 libnm-util/nm-setting.h
8305 - (nm_setting_need_secrets): new function
8306 - (setting_wireless_security_verify,
8307 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8308 - (setting_wireless_security_need_secrets): mostly copy code over
8309 from nm-connection.c
8311 2007-09-11 Dan Williams <dcbw@redhat.com>
8313 * libnm-util/nm-setting.c
8314 libnm-util/nm-setting.h
8315 - (nm_setting_update_secrets): new function; add a virtual function that
8316 subclasses can implement to update their secrets
8317 - (setting_wireless_security_update_secrets): implement that function
8318 for the 802-11-wireless-security subclass
8320 * libnm-util/nm-connection.c
8321 libnm-util/nm-connection.h
8322 - (nm_connection_update_secrets): update secrets for a Setting and
8323 emit a signal on success
8328 - (connection_get_settings_cb): enable system settings bits
8329 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8330 to request secrets from the settings dbus service and to
8331 push those secrets to the NMConnection itself
8333 * src/nm-activation-request.c
8334 src/nm-activation-request.h
8335 - Attach to the 'secrets-updated' signal of the NMConnection that's
8336 currently being activated, and proxy that signal to other listeners.
8337 Goes through the activation request because the activation request
8338 is the thing that manages the lifetime of the NMConnection that's
8341 * src/nm-device-802-11-wireless.c
8342 - (real_connection_secrets_updated): implement the connection secrets
8343 updated notification and restart activation when secrets are
8345 - (real_act_stage2_config): request secrets from the settings dbus
8346 service if secrets are needed
8350 - (clear_act_request, nm_device_activation_cancel,
8351 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8352 where the activation request is cleared
8353 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8354 updated secrets signal of activation request and add a function
8355 that subclasses can override to handle it easily
8357 2007-09-11 Tambet Ingo <tambet@gmail.com>
8359 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8360 removal of NetworkManagerAPList.
8362 2007-09-10 Dan Williams <dcbw@redhat.com>
8364 * src/NetworkManagerAP.c
8365 src/NetworkManagerAP.h
8366 introspection/nm-access-point.xml
8367 - Change 'freq' property to a guint32 instead of a double since we
8368 weren't using the floating point bits anyway
8370 2007-09-10 Dan Williams <dcbw@redhat.com>
8372 * NetworkManagerAP.c
8374 NetworkManagerPolicy.c
8375 NetworkManagerSystem.c
8376 NetworkManagerUtils.c
8377 NetworkManagerUtils.h
8378 nm-device-802-11-wireless.c
8379 nm-device-802-3-ethernet.c
8382 vpn-manager/nm-dbus-vpn.c
8383 - Warning fixes; casts and removal of unused variables
8385 2007-09-10 Dan Williams <dcbw@redhat.com>
8387 * include/NetworkManager.h
8388 - Kill NMNetworkType; AP types don't matter any more
8390 * src/NetworkManagerAPList.c
8391 src/NetworkManagerAPList.h
8393 - Kill; NMAccessPointList has outlived it's usefulness
8395 * src/NetworkManagerAP.c
8396 src/NetworkManagerAP.h
8397 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8398 functions; check if an NMConnection object is compatible with the
8400 - (freq_to_channel, channel_to_freq): utility functions for
8401 channel <-> frequency conversion
8405 - (nm_device_get_best_connection): pass the specific object around
8406 (which might be the object path of a specific AP to connect to).
8407 The get_best_connection() call should populate this on return
8408 if needed (wireless does).
8410 * src/nm-device-802-3-ethernet.c
8411 - (real_get_best_connection): handle specific_object argument
8413 * src/NetworkManager.c
8414 src/NetworkManagerMain.h
8415 - Remove unused includes
8417 * src/nm-device-802-11-wireless.c
8418 src/nm-device-802-11-wireless.h
8419 - Convert the ap_list into a GSList from an NMAccessPointList
8420 - No need for caching the 'activation_ap' since this is now determined
8421 from the specific_object of the activation request, which is
8422 populated from the get_best_connection() call or from a user request
8423 - (nm_device_802_11_wireless_update_bssid): fix warning
8424 - (get_wireless_capabilities): fix error message format arguments
8425 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
8426 - (find_best_connection, real_get_best_connection): implement
8427 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
8428 move here from NetworkManagerAPList
8429 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
8430 - (real_act_stage1_prepare): just ensure an AP exists, connection is
8431 already verified earlier
8432 - (real_act_stage2_config): use nm_connection_need_secrets()
8434 * src/NetworkManagerPolicy.c
8435 - (nm_policy_auto_get_best_device): handle specific objects
8436 - (create_connection): remove; automatic connection creation functionality
8437 is handled by the Connection objects
8438 - (nm_policy_device_change_check): handle specific_object
8440 * libnm-util/nm-connection.c
8441 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
8443 2007-09-10 Dan Williams <dcbw@redhat.com>
8446 - (query_connections): fix uninitialized variable problem that caused
8448 - (nm_manager_add_device): take devices down on startup so that we can
8449 be assured that nm_device_is_up() won't short-circuit the init
8450 process. Hack until the is_up check gets split into two pieces
8451 that aren't behaviorally confusing.
8453 2007-09-09 Dan Williams <dcbw@redhat.com>
8455 * introspection/nm-device.xml
8456 - The 'Activate' method now takes 3 arguments, a service name for the
8457 settings service (user or system), the object path of the connection
8458 to activate, and the specific object to activate, if any
8460 * src/nm-device-interface.c
8461 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
8463 - (impl_device_activate): adapt to new Activate arguments; validate
8464 the service name and get the Connection object from the NMManager
8465 before starting to activate the device with the specified connection
8467 * src/nm-device-802-3-ethernet.c
8468 - (real_get_best_connection): find the best connection, or create a
8469 default one if no existing connections can be used
8471 * src/NetworkManagerPolicy.c
8472 - (nm_policy_auto_get_best_device): Get the device's best connection
8473 and only pick the device if it has one
8474 - (nm_policy_device_change_check): disable wireless bits for now until
8475 wireless get_best_connection() can be implemented (replacing "best_ap");
8476 don't create a default connection here as the device subclass will do
8481 - (nm_manager_get): make NMManager a singleton and expose the getter
8483 - Rework internal NMManager connection handling to use the same
8484 routines for both the system and user settings services. Most calls
8485 take a new NMConnectionType argument specifying either system or user
8487 - (nm_manager_get_connection_by_object_path): new function; get a
8488 connection keyed on its object path
8490 * src/NetworkManager.c
8491 - (main): use nm_manager_get()
8493 2007-09-09 Dan Williams <dcbw@redhat.com>
8497 - (nm_device_get_best_connection): new function; get best connection
8498 for the device at that time
8500 2007-09-09 Dan Williams <dcbw@redhat.com>
8502 * src/nm-device-interface.h
8503 - Add NMDeviceInterfaceError with an UnknownConnection error
8505 2007-09-09 Dan Williams <dcbw@redhat.com>
8507 Stupid mistake on my part; object path and interface for settings service
8508 and connection objects can be the same, only the service name must be
8509 different for the system and user settings services.
8511 * include/NetworkManager.h
8513 introspection/nm-settings-connection.xml
8514 introspection/nm-settings.xml
8515 libnm-glib/nm-settings.c
8516 - (nm_connection_settings_init, query_user_connections,
8517 new_connection_cb): Unify NetworkManagerSettings and Connection
8518 interface name and object path
8520 2007-09-06 Dan Williams <dcbw@redhat.com>
8522 * libnm-glib/nm-object.c
8523 - (nm_object_get_string_property, nm_object_get_object_path_property,
8524 nm_object_get_int_property, nm_object_get_uint_property,
8525 nm_object_get_boolean_property, nm_object_get_byte_property,
8526 nm_object_get_double_property, nm_object_get_byte_array_property):
8527 clear GValues after copying their contents, fixes memory leaks
8528 after every property access because dbus-glib copies the values
8529 from the DBusMessage into the GValue already.
8531 2007-09-06 Dan Williams <dcbw@redhat.com>
8533 * introspection/nm-access-point.xml
8534 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
8535 them to be. There's some magic property name parsing going on in
8536 dbus-glib that breaks up property names based on studly-caps and
8537 puts - between words.
8539 * libnm-glib/nm-access-point.c
8540 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
8543 2007-09-06 Dan Williams <dcbw@redhat.com>
8546 - (nm_manager_user_connections_destroy): clear the user connections hash
8547 table, don't destroy it
8548 - (finalize): only destroy the hash table on NMManager finalization
8550 2007-09-02 Dan Williams <dcbw@redhat.com>
8552 * include/NetworkManager.h
8553 libnm-glib/nm-settings.c
8554 - defines for the user settings daemon D-Bus bits
8556 * src/NetworkManager.c
8557 - Remove stuff that referred to the old NetworkManagerInfo service
8559 * src/vpn-manager/nm-dbus-vpn.h
8560 - Move old NMI defines to the only place they are used still
8562 * libnm-util/nm-connection.c
8563 libnm-util/nm-connection.h
8564 src/nm-activation-request.c
8565 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
8569 - Get connections and their settings from the user settings daemon
8570 at the appropriate times
8572 2007-09-02 Dan Williams <dcbw@redhat.com>
8574 * libnm-util/nm-setting.c
8575 - (nm_settings_verify): correct setting name is 'connection', not 'info'
8576 - (setting_wireless_hash): set the right value on the item
8578 2007-09-02 Dan Williams <dcbw@redhat.com>
8582 - Remove, no longer useful
8584 2007-08-30 Dan Williams <dcbw@redhat.com>
8587 src/NetworkManagerDbus.c
8588 src/NetworkManagerDbus.h
8589 src/vpn-manager/nm-dbus-vpn.c
8590 - Remove, no longer necessary. Move last bits to the only place its
8591 used, in nm-dbus-vpn.c
8593 * src/NetworkManagerAPList.c
8595 src/NetworkManager.c
8596 src/nm-device-802-11-wireless.c
8597 src/vpn-manager/nm-vpn-manager.c
8598 src/vpn-manager/nm-vpn-service.c
8599 src/NetworkManagerPolicy.c
8601 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
8602 that was message_is_error()
8604 2007-08-30 Dan Williams <dcbw@redhat.com>
8607 - Include config.h to get defines for endiannes (gnome.org #420216)
8609 2007-08-30 Dan Williams <dcbw@redhat.com>
8611 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
8613 * src/ppp-manager/Makefile.am
8614 - use -fPIC (gnome.org #471825)
8616 2007-08-29 Dan Williams <dcbw@redhat.com>
8618 * include/NetworkManager.h
8619 - Keep NMConnection object path in sync
8621 * libnm-glib/nm-settings.c
8622 libnm-glib/nm-settings.h
8623 - Break D-Bus object registration out of the init function, because
8624 every object that's exported over D-Bus needs to use the _same_
8625 DBusConnection. Otherwise, each object would get a different object
8626 path tree and wouldn't be callable.
8628 2007-08-29 Dan Williams <dcbw@redhat.com>
8630 * libnm-util/nm-setting.h
8631 libnm-util/nm-setting.c
8632 libnm-util/nm-connection.c
8633 src/NetworkManagerPolicy.c
8634 - 'info' settings object should be 'connection' says the spec
8635 at NetworkManagerConfigurationSpecification
8637 2007-08-29 Dan Williams <dcbw@redhat.com>
8639 * libnm-glib/nm-settings.c
8640 libnm-glib/nm-settings.h
8641 - make the dbus path a property of the object, and autogenerate it.
8642 It can't be composed of the 'id' field becuase that's not available
8643 yet during the GObject creation in nm_connection_settings_init()
8645 2007-08-29 Dan Williams <dcbw@redhat.com>
8647 * introspection/nm-settings-connection.xml
8648 introspection/nm-settings.xml
8649 - Service name -> NetworkManagerUserSettings because two services
8650 can't share part of the same path. I'm not really sure how we'll use
8651 the same code with the system-settings daemon...
8653 2007-08-28 Dan Williams <dcbw@redhat.com>
8655 * src/nm-device-interface.c
8656 src/nm-device-interface.h
8657 - Kill one more bit of NMData
8659 2007-08-28 Dan Williams <dcbw@redhat.com>
8661 * src/NetworkManagerSystem.h
8664 src/nm-hal-manager.c
8665 src/NetworkManager.c
8666 src/nm-device-802-11-wireless.c
8667 src/nm-hal-manager.h
8668 src/nm-device-802-3-ethernet.c
8669 src/vpn-manager/nm-vpn-service.h
8670 src/vpn-manager/nm-vpn-manager.c
8671 src/vpn-manager/nm-vpn-manager.h
8672 src/vpn-manager/nm-vpn-service.c
8673 src/nm-device-802-11-wireless.h
8674 src/NetworkManagerMain.h
8675 src/nm-device-802-3-ethernet.h
8676 src/backends/NetworkManagerGentoo.c
8677 src/backends/NetworkManagerPaldo.c
8678 src/backends/NetworkManagerFrugalware.c
8679 src/backends/NetworkManagerRedHat.c
8680 src/backends/NetworkManagerSlackware.c
8681 src/backends/NetworkManagerGeneric.c
8682 src/backends/NetworkManagerArch.c
8683 src/backends/NetworkManagerSuSE.c
8684 src/backends/NetworkManagerGeneric.h
8685 src/backends/NetworkManagerDebian.c
8688 2007-08-28 Dan Williams <dcbw@redhat.com>
8690 * src/NetworkManagerMain.h
8691 src/nm-device-802-11-wireless.c
8692 src/NetworkManager.c
8693 - Remove invalid AP list from NMData; need to rework this somewhat, but
8694 for now we should set the 'invalid' property on individual APs, and when
8695 we need to invalidate a whole ESS, set the 'invalid' on every member of
8698 2007-08-28 Dan Williams <dcbw@redhat.com>
8700 * src/NetworkManagerAP.c
8701 src/NetworkManagerAP.h
8702 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
8703 'autoconnect' property instead
8705 * src/NetworkManager.c
8706 src/NetworkManagerMain.h
8707 src/NetworkManagerPolicy.c
8708 src/NetworkManagerPolicy.h
8709 - Remove the 'allowed_ap_list', which should be replaced by
8710 NMConnection/NMSettings instead, since _those_ are the allowed
8711 things that NM can connect to
8713 * src/nm-device-802-11-wireless.c
8714 - Remove both allowed_ap_list usage and 'fallback' checking
8716 2007-08-28 Dan Williams <dcbw@redhat.com>
8719 src/named-manager/nm-named-manager.c
8720 src/named-manager/nm-named-manager.h
8721 src/NetworkManager.c
8722 src/vpn-manager/nm-vpn-manager.c
8723 src/NetworkManagerMain.h
8724 src/NetworkManagerSystem.c
8725 - Remove the named-manager object from NMData structure in preparation
8726 for NMData's timely death. Make the NMNamedManager the singleton that
8729 2007-08-28 Dan Williams <dcbw@redhat.com>
8731 Remove NMAPSecurity objects, they are replaced with flags on the APs for
8732 each AP's capabilities, and by NMConnection/NMSettings objects for user
8733 defined connections.
8735 * include/NetworkManager.h
8736 - Redefine 802.11 security properties. There are now device capabilities
8737 and AP flags and AP security flags. It was way to unclear before.
8740 src/nm-ap-security-leap.h
8741 src/nm-ap-security-leap.c
8742 src/nm-ap-security-wpa-eap.c
8743 src/nm-ap-security-wpa-eap.h
8744 src/nm-ap-security-private.h
8745 src/nm-ap-security-wpa-psk.c
8746 src/nm-ap-security-wpa-psk.h
8747 src/nm-ap-security-wep.c
8748 src/nm-ap-security-wep.h
8749 src/nm-ap-security.c
8750 src/nm-ap-security.h
8751 - Removed, to be replaced with NMConnection/NMSettings objects
8755 - Removed, to be replaced by code that talks to the new info daemon
8756 interface and gets NMConnection/NMSettings objects
8758 * src/backends/NetworkManagerSuSE.c
8759 - Remove usage of NMAPSecurity; should be replaced by a system-level
8760 info-daemon that does the same thing but talks the new info-daemon
8763 * src/NetworkManagerAP.h
8764 src/NetworkManagerAP.c
8765 src/NetworkManagerAPList.c
8766 libnm-glib/libnm-glib-test.c
8767 - Remove usage of NMAPSecurity objects and adjust to new flags for
8770 * libnm-glib/nm-access-point.c
8771 libnm-glib/nm-access-point.h
8772 introspection/nm-access-point.xml
8774 - Adjust to new flags for AP security
8778 src/vpn-manager/nm-dbus-vpn.c
8779 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
8780 stuff which is the only place it's used
8782 * src/nm-device-interface.c
8783 src/nm-device-interface.h
8784 introspection/nm-device.xml
8785 src/nm-activation-request.c
8786 src/nm-activation-request.h
8788 - Add a new 'specific_object' argument that hints to NM what actual
8789 AP or other device-specific thing the connection should apply to.
8790 NMConnection objects can apply to more than one actual device/AP.
8792 * libnm-util/nm-connection.c
8793 * libnm-util/nm-connection.h
8794 - Add 'have_secrets" call stubs
8796 * libnm-util/cipher.h
8797 - Move NM_AUTH_TYPE_* defines here for now
8799 * src/nm-device-802-11-wireless.c
8800 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
8803 * src/NetworkManagerDbus.c
8804 * src/NetworkManagerPolicy.c
8805 - Remove usage of update_allowed_networks, should be pushing data in
8808 2007-08-27 Tambet Ingo <tambet@gmail.com>
8810 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
8811 dbus-glib frees it when the call is done.
8813 2007-08-26 Dan Williams <dcbw@redhat.com>
8815 * introspection/nm-device.xml
8816 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
8818 2007-08-26 Dan Williams <dcbw@redhat.com>
8820 * src/nm-device-802-3-ethernet.c
8821 - (constructor): move connection of interface-connected/disconnected
8822 signals here from real_bring_up(). Should be listening to netlink
8823 for carrier events no matter what the initial state of the device
8826 2007-08-26 Dan Williams <dcbw@redhat.com>
8828 * src/nm-netlink-monitor.c
8829 - (nm_netlink_monitor_class_init): fix marshalling types for
8830 interface-connected/interface-disconnected
8831 - (nm_netlink_monitor_event_handler): clean up carrier on/off
8834 2007-08-26 Dan Williams <dcbw@redhat.com>
8836 Convert to using interface indexes as the primary method of identifying
8837 devices inside NetworkManager. Indexes are (?) stable, but devices can
8838 be renamed at any time. Device object paths now refer to the device
8839 index rather than the name, and you can map those two manually if you like
8840 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
8841 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
8842 to use interface indexes rather than names.
8844 2007-08-26 Dan Williams <dcbw@redhat.com>
8846 * src/nm-netlink-monitor.h
8847 - Remove one last bit of wireless-event signal
8849 2007-08-26 Dan Williams <dcbw@redhat.com>
8851 * src/nm-netlink-monitor.c
8852 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
8853 don't need the 'wireless-event' signal anymore since that's all
8854 handled by wpa_supplicant
8856 2007-08-25 Dan Williams <dcbw@redhat.com>
8858 It's 2007. Remove support for drivers that don't support wireless scanning.
8861 include/NetworkManager.h
8862 src/NetworkManagerUtils.c
8863 src/NetworkManagerPolicy.c
8864 src/nm-device-802-11-wireless.c
8865 - Remove special handling for non-scanning devices and mark them
8866 as unsupported/unhandled
8868 2007-08-20 Dan Williams <dcbw@redhat.com>
8870 * src/nm-device-802-11-wireless.c
8871 src/nm-device-802-3-ethernet.c
8872 - (real_is_up): move device-specific tests before generic IFF_UP test,
8873 because when the card is pulled or the module removed, the device
8874 is already !IFF_UP and then device-specific cleanup (removing
8875 the supplicant interface, periodic checks, etc) never gets done
8877 2007-08-20 Dan Williams <dcbw@redhat.com>
8880 - (nm_manager_remove_device): bring device down before disconnecting
8881 signal handlers, so that the 'state' signal will get broadcast when
8882 the device enters the DOWN state
8883 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
8884 of states that cause the NMManager to recheck its state
8886 2007-08-20 Dan Williams <dcbw@redhat.com>
8888 * src/supplicant-manager/nm-supplicant-interface.c
8889 - (interface_disconnect_done): don't try to dispose of the net proxy
8890 when it may already have been disposed of
8892 2007-08-20 Dan Williams <dcbw@redhat.com>
8894 * src/nm-device-802-11-wireless.c
8895 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
8896 the SSID isn't available; this can happen when the card is pulled
8897 or the module unloaded, during the post-removal deactivation
8898 paths, when the ioctl returns ENODEV
8900 2007-08-20 Dan Williams <dcbw@redhat.com>
8902 * src/nm-device-802-11-wireless.c
8903 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
8904 frequency, and mode match. Applets are now responsible for grouping
8907 2007-08-20 Dan Williams <dcbw@redhat.com>
8909 * src/NetworkManagerAP.c
8910 * src/NetworkManagerAP.h
8911 - (nm_ap_print_self): new function
8913 * src/NetworkManagerAPList.c
8914 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
8917 2007-08-17 Dan Williams <dcbw@redhat.com>
8919 * src/nm-device-802-3-ethernet.c
8920 - (real_bring_down): don't try to dispose of stuff that might not
8923 2007-08-17 Dan Williams <dcbw@redhat.com>
8925 * src/NetworkManagerAP.c
8926 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
8927 applet. This ensures that the case between the seen-bssids and
8928 the bssids reported by the driver match.
8930 2007-08-17 Dan Williams <dcbw@redhat.com>
8932 * src/nm-device-802-11-wireless.c
8933 - (device_cleanup): disconnect the interface in wpa_supplicant before
8934 we dispose of the interface proxy in NM
8936 2007-08-16 Dan Williams <dcbw@redhat.com>
8938 * libnm-glib/nm-client.c
8939 - (nm_client_init): create VPN connections hash table with key free
8941 - (proxy_vpn_connection_added): VPN connections hash table key should
8942 be a duplicated value, not the same memory address as the VPN
8943 connection name. This is because the VPN connection name could
8944 potentially be freed and set to something else during the lifetime
8945 of the NMVPNConnection object.
8947 2007-08-16 Tambet Ingo <tambet@gmail.com>
8949 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
8950 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
8951 with the file descriptors. Send a child setup function to change the pppd
8954 2007-08-15 Dan Williams <dcbw@redhat.com>
8956 * src/supplicant-manager/nm-supplicant-interface.c
8957 - (try_remove_iface): new function, ask wpa_supplicant to remove
8959 - (nm_supplicant_interface_dispose): call try_remove_iface() when
8960 disposing of the NMSupplicantInterface. Otherwise weird stuff
8961 happens on hotplug if wpa_supplicant doesn't tear down and readd
8962 the interface internally
8964 2007-08-15 Dan Williams <dcbw@redhat.com>
8966 * src/nm-device-802-11-wireless.c
8967 - (real_bring_down): move most of this function into device_cleanup()
8968 so that it can be called from elsewhere
8969 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
8970 and stuff on dispose. These would normally get cleaned up when
8971 the device is marked down and deactivated, but when the device is
8972 hot-unplugged, it's already down and real_down() never gets run
8974 2007-08-15 Dan Williams <dcbw@redhat.com>
8977 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
8978 caused a reference leak on device for which NM requested a key
8980 2007-08-15 Dan Williams <dcbw@redhat.com>
8982 * libnm-glib/nm-client.c
8983 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
8985 2007-08-15 Tambet Ingo <tambet@gmail.com>
8987 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
8988 nothing is using it at the moment, but it'll be all useful and stuff later on.
8990 * libnm-util/nm-setting.h: Define NMSettingPPP.
8992 * libnm-util/nm-setting.c: Implement NMSettingPPP.
8994 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
8996 * src/Makefile.am: Add ppp-manager to SUBDIRS.
8998 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9000 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9002 2007-08-14 Tambet Ingo <tambet@gmail.com>
9004 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9006 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9007 an issue with dbus-glib bindings generator. The issue is, the generated C caller
9008 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9009 name and different arguments and it won't compile anymore. To fix this, we now have
9010 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9011 that is new API + compatibility API and used by the daemon. The other,
9012 nm-manager-client.xml is only the new API without compatibility bits and is used
9013 by libnm-glib to make it compile.
9015 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9017 * src/nm-manager.c (impl_manager_legacy_sleep)
9018 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9019 interface functions for 0.6 branch.
9021 2007-08-14 Dan Williams <dcbw@redhat.com>
9023 * src/NetworkManagerAP.c
9024 - (nm_ap_new_from_properties): fix mistaken check of return value
9025 from memcmp (should expect 0)
9027 2007-08-14 Dan Williams <dcbw@redhat.com>
9029 (force-commit to fix wrong comment and partial commit of r2685; this
9030 commit actually applies to r2685)
9032 * src/NetworkManagerUtils.c
9033 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9034 ignores trailing nulls in the SSID to work around mismatches in
9035 expectations between WEXT and what the info-daemon passes back. The
9036 info-daemon would pass back the correct length, but due to the
9037 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9038 the device would always have an SSID + 1 depending on what versions
9039 of wpa_supplicant, the kernel, and NM you have. This was most often
9040 visible by just quitting the applet and relaunching, which caused
9041 NM to reassociated to the same network over again when reloading
9044 * src/NetworkManagerPolicy.c
9045 src/NetworkManagerUtils.h
9046 src/nm-device-802-11-wireless.c
9047 - Update for new parameter to nm_utils_same_ssid()
9049 2007-08-14 Dan Williams <dcbw@redhat.com>
9051 * src/NetworkManagerAP.c
9052 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
9053 I encountered a BSS that wasn't just hiding it's ESSID, it was
9054 setting the BSSID to all 0s. That confused the heck out of NM,
9055 plus it's useless and probably out-of-spec.
9057 2007-08-14 Dan Williams <dcbw@redhat.com>
9059 * callouts/Makefile.am
9060 src/dhcp-manager/nm-dhcp-manager.c
9061 src/dhcp-manager/nm-dhcp-manager.h
9062 src/dhcp-manager/Makefile.am
9063 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9065 2007-08-14 Dan Williams <dcbw@redhat.com>
9067 * src/dhcp-manager/nm-dhcp-manager.c
9068 - (dhclient_run): don't pass -x to dhclient until we figure out if
9069 it's really needed, get rid of unused xtra_args parameter
9071 2007-08-14 Dan Williams <dcbw@redhat.com>
9073 * include/NetworkManagerVPN.h
9074 src/vpn-manager/nm-dbus-vpn.c
9075 src/vpn-manager/nm-dbus-vpn.h
9076 src/vpn-manager/nm-vpn-act-request.c
9077 src/vpn-manager/nm-vpn-act-request.h
9078 src/vpn-manager/nm-vpn-service.c
9079 src/vpn-manager/nm-vpn-service.h
9080 libnm-glib/nm-vpn-connection.c
9081 libnm-glib/nm-vpn-connection.h
9082 libnm-glib/nm-client.h
9083 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
9084 NMVPNServiceState to clarify what they apply to
9085 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9086 NMVPNActStage -> NMVPNConnectionState for the same reason
9088 * libnm-glib/nm-client.c
9089 - Constant + type renames from above
9090 - Properly handle NameOwnerChanged/manager_running signals
9091 for NM service; only emit when state really changes
9092 - Use hash tables correctly so that the key (which was previously owned
9093 by the D-Bus message) now has the same lifetime as the value, since
9094 the key is now taken from the the NMVPNConnection itself. This
9095 really fixes the double-VPN names in the applet
9097 2007-08-13 Dan Williams <dcbw@redhat.com>
9099 Patch from Michael Biebl <biebl@debian.org>
9103 - Update for vpn-properties move
9105 2007-08-13 Dan Williams <dcbw@redhat.com>
9107 * libnm-glib/nm-client.c
9108 - Convert internal VPN connection tracking from a list to a hash table
9109 to easily avoid duplicates
9110 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9111 must be freed by the caller, like nm_client_get_devices()
9112 - (nm_client_remove_vpn_connection): don't let the removal signal
9113 leak through for NMVPNConnection objects that aren't actually
9115 - (manager_running): throw away VPN connection list when NM goes away,
9116 like with the device list
9118 2007-08-13 Dan Williams <dcbw@redhat.com>
9120 * src/dhcp-manager/nm-dhcp-manager.c
9121 - Stop any dhclient instance that might be already running for a
9122 particular interface before starting an NM spawned dhclient. Fixes
9123 dhclient processes left over if NM crashes, stuff like that.
9125 2007-08-13 Dan Williams <dcbw@redhat.com>
9127 * src/NetworkManagerAP.c
9128 - (finalize): don't try to g_array_free (NULL, ...), which happened
9129 when the AP wasn't broadcasting it's SSID
9131 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
9133 * include/NetworkManager.h: added DBus path for connection settings.
9135 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9136 nm_connection_settings_signal_updated,
9137 nm_connection_settings_signal_removed): new functions to wrap the
9139 (nm_connection_settings_init): register GObject with DBus.
9140 (nm_connection_settings_get_dbus_object_path): new function.
9142 * libnm-glib/Makefile.am: added libnmutil to link flags.
9144 2007-08-13 Tambet Ingo <tambet@gmail.com>
9146 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9148 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9149 libnm_glib directory got merged with libnm-glib/.
9151 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9153 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9154 Rename the library from libnm-glib to libnm_glib to maintain the library API
9155 compatibility with 0.6 branch.
9157 * Makefile.am: Remove gnome/ SUBDIR.
9159 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9161 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9163 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9165 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9167 Remove checks for wpa_supplicant binary, it's used over dbus.
9168 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9170 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9171 Link the binaries with libnm_glib.la.
9173 2007-08-12 Dan Williams <dcbw@redhat.com>
9175 * src/NetworkManagerPolicy.c
9176 - (nm_policy_device_change_check): fix policy to deactivate old device
9177 before activating new one, at least until the multiple active
9178 device support lands
9180 2007-08-12 Dan Williams <dcbw@redhat.com>
9182 * src/NetworkManagerPolicy.c
9183 - (nm_policy_new): hook up to connection-added / connection-removed
9184 signals instead of connections-changed
9186 2007-08-12 Dan Williams <dcbw@redhat.com>
9188 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
9189 Robert Frank <rfrank@redhat.com>
9191 * src/dhcp-manager/nm-dhcp-manager.c
9192 src/dhcp-manager/nm-dhcp-manager.c
9194 - Spawn and communicate with dhclient directly, through means of a
9195 custom dhclient callout script. Process callout D-Bus signals
9196 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
9197 sent via gobject signals rather than being driven by the dhcp manager
9200 2007-08-12 Dan Williams <dcbw@redhat.com>
9202 * callouts/nm-dhcp-client-action.c
9203 - (build_message): ignore non-DHCP-related environment variables
9205 2007-08-12 Dan Williams <dcbw@redhat.com>
9209 callouts/Makefile.am
9210 callouts/nm-dhcp-client-action.c
9211 callouts/nm-dhcp-client.conf
9212 - Add dhclient-executed callout that takes the place of dhclient-script
9213 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9216 2007-08-09 Tambet Ingo <tambet@gmail.com>
9218 [Based on patch by Helmut Schaa <hschaa@suse.de>]
9220 * libnm-glib/nm-client.h:
9221 * libnm-glib/nm-object.h:
9222 * libnm-glib/nm-vpn-connection.h:
9223 * libnm-glib/nm-settings.h:
9224 * libnm-glib/nm-device.h:
9225 * libnm-glib/nm-ip4-config.h:
9226 * libnm-glib/nm-access-point.h:
9227 * libnm-glib/nm-device-802-3-ethernet.h:
9228 * libnm-util/nm-setting.h:
9229 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9231 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9233 * libnm-glib/nm-access-point.c: Strength has type char.
9235 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9236 to fix build. GnomeDruid is deprecated in recent libgnomeui.
9238 * introspection/nm-access-point.xml: Strength property is char, not int.
9240 * src/NetworkManagerAP.c (set_property): Set strength from char.
9241 (get_property): Handle hidden APs (with empty SSID).
9242 Get strength value from char.
9243 (nm_ap_class_init): Strength property has char type.
9245 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
9247 * introspection/Makefile.am:
9248 * introspection/nm-settings.xml:
9249 * introspection/nm-settings-connection.xml: added Settings interfaces.
9251 * libnm-glib/nm-settings.[ch]:
9252 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9253 containing the DBus implementation.
9255 2007-07-26 Dan Williams <dcbw@redhat.com>
9257 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9259 * src/NetworkManagerSystem.c
9260 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9261 same subnet (#437396)
9263 2007-07-26 Dan Williams <dcbw@redhat.com>
9265 Patch from Kelemen Gábor <kelemeng@gnome.hu>
9267 * gnome/vpn-properties/nm-vpn-properties.c
9268 - Fix translatable strings (#445865)
9270 2007-07-26 Dan Williams <dcbw@redhat.com>
9272 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9275 - Remove useless junk (#412530)
9277 2007-07-10 Christopher Aillon <caillon@redhat.com>
9279 Patch from Robert Buchholz <rbu@gentoo.org>:
9283 * introspection/Makefile.am:
9284 Make make distcheck work again.
9286 2007-06-27 Dan Williams <dcbw@redhat.com>
9288 * Make SSIDs GByteArrays everywhere
9289 * Rename "essid" -> "ssid" everywhere that's appropriate
9290 * Refcount activation_ap member of the 802.11 wireless device class
9292 2007-06-27 Tambet Ingo <tambet@ximian.com>
9294 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9296 2007-06-22 Tambet Ingo <tambet@ximian.com>
9298 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9299 that we got a new AP when we just update existing AP properties.
9301 2007-06-21 Tambet Ingo <tambet@ximian.com>
9303 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9305 * nm-utils.[ch]: Remove.
9307 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9308 objects for easy property access and dbus connection handling.
9310 * libnm-glib/nm-client.c: Derive from NMObject.
9312 * libnm-glib/nm-device.c: Ditto.
9314 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9316 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9318 * libnm-glib/nm-ip4-config.c: Ditto.
9320 * libnm-glib/nm-access-point.c: Ditto.
9322 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9323 comparision. Currently used by the device activation code to determine if the new
9324 activation is the same as the old one.
9326 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9327 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9328 able to ask password for the AP.
9330 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9331 up if the device is already connected, tear down it's connection (if it isn't the
9332 same as new one) and start the activation.
9334 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9336 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9337 the issue where all APs are always listed as encrypted.
9339 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9340 their own registered paths.
9342 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9343 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9345 2007-06-13 Tambet Ingo <tambet@ximian.com>
9347 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9350 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9351 because the handling code will cause the next state change and signal listeners
9352 get the signals in wrong order.
9354 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9355 correctly in case of pending activation.
9357 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9358 Convert the essid byte array to string correctly, including the terminating NULL.
9360 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9361 mode with correct types.
9363 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9364 constructed info to dbus call instead of the activation request.
9366 2007-06-11 Christopher Aillon <caillon@redhat.com>
9368 Patch from Christian Persch <chpe@gnome.org>
9370 * libnm-glib/Makefile.am:
9371 * dispatcher-daemon/Makefile.am:
9372 Use the correct variables, the correct paths, and correct ordering. (446315)
9374 2007-06-11 Tambet Ingo <tambet@ximian.com>
9376 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9377 argument. The activation request is easy to retrieve.
9379 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9380 just to be a convenient location for devices to store random stuff.
9382 2007-06-11 Christopher Aillon <caillon@redhat.com>
9384 Patch from Alex Smith <alex@alex-smith.me.uk>
9386 * src/backends/NetworkManagerFrugalware.c:
9387 Update the FrugalWare backend to fix a few segfaults. (#392642)
9389 2007-06-08 Tambet Ingo <tambet@ximian.com>
9391 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9393 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9395 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9397 2007-06-06 Tambet Ingo <tambet@ximian.com>
9399 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9401 Implement NMSettingIP4Config.
9402 Finish NMSettingWired by adding all known members.
9403 (setting_wired_verify): Implement.
9404 Finish NMSettingWireless by adding all known members.
9405 (setting_wireless_verify): Implement.
9407 * libnm-util/nm-connection.c: Register "ipv4" setting.
9408 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9409 dump function, we can introspect the GHashTable which is used for sending connections
9412 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9413 Take GByteArray for essid, it's really not a string.
9415 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9416 Start DHCP request if setting is not passed or if it states that DHCP should be used.
9417 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9418 means overriding the values we got from DHCP.
9419 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
9420 (nm_device_deactivate_quickly): Ditto.
9422 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
9425 2007-05-07 Tambet Ingo <tambet@ximian.com>
9427 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
9430 * libnm-glib/nm-device-802-11-wireless.c:
9431 (nm_device_802_3_ethernet_activate): Remove.
9433 * libnm-glib/nm-device-802-3-ethernet.c
9434 (nm_device_802_3_ethernet_activate): Remove.
9436 * libnm-glib/nm-device.c (nm_device_activate): Implement.
9438 * src/nm-device-802-3-ethernet.c: Implement the new activation using
9441 * src/nm-device-802-11-wireless.c: Store an activation AP once the
9442 activation has started.
9443 Implement the new activation using NMConnection.
9445 * src/nm-activation-request.c: Store a generic connection object instead
9446 of a wireless-specific AP.
9448 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
9449 on device type, create a device specific connection object suitable for
9452 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
9453 specific check to validate the connection and on success start the
9456 * src/nm-device-interface.h: Add a activate virtual function to the
9457 interface definition.
9459 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
9460 (impl_device_activate): Implement.
9462 * introspection/nm-device.xml: Add a generic device activation interface
9463 that accepts an abstract NMConnection structure that has device-specific
9466 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
9467 activation interface.
9469 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
9470 activation interface.
9472 * libnm-util/nm-connection.c:
9473 * libnm-util/nm-connection.h:
9474 * libnm-util/nm-setting.c:
9475 * libnm-util/nm-setting.h: Add.
9477 * libnm-util/Makefile.am: Build the added files.
9479 * src/nm-dbus-manager.c
9480 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
9481 DbusConnection argument from 'name-owner-changed' signal. The manager
9482 is already passed as a first argument to the signal and the connection
9483 is easy enough to get from it.
9485 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
9486 Update the signature of the function.
9488 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
9491 * src/NetworkManager.c: Ditto.
9493 * src/named-manager/nm-named-manager.c
9494 (nm_named_manager_name_owner_changed): Ditto.
9496 * src/supplicant-manager/nm-supplicant-manager.c
9497 (nm_supplicant_manager_name_owner_changed): Ditto.
9499 * src/nm-hal-manager.c (name_owner_changed): Ditto.
9501 * src/dhcp-manager/nm-dhcp-manager.c
9502 (nm_dhcp_manager_name_owner_changed): Ditto.
9504 * src/nm-hal-manager.c: Add a list of device detectors and creators
9505 to make it easier to add new devices. Each device type has it's own
9506 entry in the table so adding new device types is only a matter of
9507 implementing a couple of functions, one for device detection and the
9508 other for device creation.
9510 2007-04-25 Dan Williams <dcbw@redhat.com>
9512 * initscript/RedHat/NetworkManager.in: remove trailing backslash
9515 2007-03-30 Dan Williams <dcbw@redhat.com>
9517 * src/NetworkManagerSystem.c
9518 - (nm_system_device_set_ip4_route): clean up and fix argument
9519 to nm_dev_sock_open()
9521 2007-03-28 Tambet Ingo <tambet@ximian.com>
9523 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
9524 data to correct types instead of always using string.
9526 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
9527 _not_ have NM_802_11_CAP_PROTO_NONE.
9528 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
9531 2007-03-27 Tambet Ingo <tambet@ximian.com>
9533 * libnm-glib/Makefile.am: Fix the build issue.
9535 2007-03-26 Tambet Ingo <tambet@ximian.com>
9537 * libnm-glib/nm-vpn-connection.h:
9538 * libnm-glib/nm-vpn-connection.c: Implement.
9540 * libnm-glib/nm-client.c: Add VPN support.
9542 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
9545 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
9548 2007-03-26 Dan Williams <dcbw@redhat.com>
9550 * src/NetworkManagerAPList.c
9551 * src/nm-device-802-11-wireless.c
9552 * src/NetworkManagerAP.c:
9553 - Store last seen as glong instead of GTimeVal.
9554 - Fix the upper bound of capabilities, it's a bitfield.
9556 2007-03-16 Tambet Ingo <tambet@ximian.com>
9558 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
9560 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
9561 "manager-running" signal that notifies the appearance/disappearance of NM.
9562 (nm_client_sleep): Implement.
9564 * libnm-glib/nm-device.c:
9565 * libnm-glib/nm-device-802-11-wireless.c:
9566 * libnm-glib/nm-device-802-3-ethernet.c:
9568 Don't inherit from DBusGProxy, add a proxy to private
9569 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
9570 for anything but their own dbus interface. DBusGProxy objects support only one
9571 interfaces and to work around this, NMDevice has spearate proxy for each dbus
9572 interface. The nice side effect of this change is that we do not create a new
9573 DBusGProxy object for each property access.
9575 2007-03-15 Tambet Ingo <tambet@ximian.com>
9577 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
9578 with zeroes before passing them to functions - the functions never do that and
9579 reading the values back may produce wrong values.
9580 (real_bring_up): Store the signal handler id ...
9581 (real_bring_down): ... So that it can be removed here.
9582 Disconnect the supplicant interface here as well.
9583 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
9584 from the access point instead of old $device/Networks/$essid.
9586 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
9587 device state is connected (instead of just having link/carrier).
9589 * src/nm-activation-request.c: Don't store NMData in activation request, it's
9590 already easily accessible through the device.
9592 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
9593 store it within the object.
9594 (nm_ap_get_dbus_path): Export it to public as well.
9596 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
9599 2007-03-12 Dan Williams <dcbw@redhat.com>
9601 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
9602 for non-carrier-detect capable devices, and useless for carrier-detect
9603 devices since we get notifications from netlink about carrier status anyway.
9605 * src/nm-device-802-3-ethernet.c
9606 - remove 'link_source_id' member from private data
9607 - (probe_link): remove and collapse into real_update_link()
9608 - (nm_device_802_3_periodic_update): remove
9609 - (real_is_up): check for sup_iface rather than link_source_id
9610 - (real_bring_up): return gboolean for success/fail; require that
9611 sup_iface be valid for device bringup to succeed
9612 - (real_bring_down): zero out link signal ids
9615 - (nm_device_activate_stage2_device_config): fail activation if device
9617 - (real_act_stage4_get_ip4_config): fail activation if device bringup
9619 - (nm_device_bring_up): return success/fail
9622 - bring_up now returns success/fail
9624 * src/nm-device-802-11-wireless.c
9625 - (real_bring_up): return success from bringup
9627 2007-03-07 Dan Williams <dcbw@redhat.com>
9629 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
9630 * src/nm-ap-security-wpa-psk.c
9631 - (real_write_supplicant_config): work with PSKs that may contain
9632 zeros in the binary format rather than treating it as a string
9634 2007-03-02 Tambet Ingo <tambet@ximian.com>
9636 * libnm-glib/nm-device-802-11-wireless.c
9637 (nm_device_802_11_wireless_get_capabilities): Implement.
9639 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
9641 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
9643 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
9644 reply only if it's not NULL. Not sure why this started happening right now.
9646 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
9647 code paths for when devices get removed on shutdown or when a device is just
9649 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
9650 gets freed so any signal from a device (disconnected for instance) would invoke
9651 NMState update which would crash.
9652 (nm_manager_remove_device): Bring the device down when it gets removed.
9654 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
9655 the unused dev_type.
9657 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
9658 reference to the added device, NMManager will own it (if it wants).
9660 * test/nm-tool.c: Rewrite using libnm-glib.
9662 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
9663 We get signalled when it changes.
9665 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
9668 * libnm-glib/nm-device.c: Cache the device state property.
9670 * libnm-glib/nm-access-point.c: Cache the strength property.
9672 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
9673 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
9674 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
9675 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
9676 the device is down, activating, or activated (in case of A/B/G cards).
9677 Remove some old dead ifdef'ed out code that used to configure wireless devices,
9678 it's all done through supplicant now.
9680 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
9681 counting issues with pending calls which caused leaks and crashes when
9682 interface was removed (now that the interface actually gets removed).
9684 * src/nm-call-store.c: Make a copy of data before running a foreach
9685 with user callback on it - The most common usage pattern is to cancel
9686 (and thus remove) all pending calls with foreach which would modify
9687 the hash table we're iterating over.
9689 * src/nm-manager.c: When a device is added, make sure it is "up". When
9690 it's removed or disabled due to disabling wireless or networking, bring
9693 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
9695 * src/nm-device-802-11-wireless.c:
9696 * src/nm-device-802-3-ethernet.c:
9698 - Remove "init" virtual function, all gobjects have a place for that
9699 already (constructor).
9700 - Replace "start" virtual function with "bring_up", devices can be
9701 brought up and down more than just on startup now.
9702 - Add "is_up" virtual function.
9703 - Implement one way to bring a device down instead of previous 4 different
9704 ways, each of witch did something different.
9706 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
9707 all it needs is the device interface.
9709 Get rid of NMData.dev_list (3 members to go).
9710 Get rif of NMData in a lot of places.
9712 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
9714 2007-02-23 Dan Williams <dcbw@redhat.com>
9716 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
9718 * src/NetworkManagerAP.c
9719 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
9720 OR-ing rather than AND-ing
9722 2007-02-20 Tambet Ingo <tambet@ximian.com>
9724 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
9725 "network-removed" signals.
9727 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
9729 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
9730 when receiving the signal from dbus.
9732 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
9735 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
9736 deactivation of the previously activated device working again.
9738 * src/nm-activation-request.c: Remove NMActStage property and it's getter
9741 * src/nm-device.c (nm_device_is_activated): Remove.
9742 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
9744 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
9745 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
9746 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
9747 NM_DBUS_SIGNAL_STATE_CHANGE signal.
9748 Remove NMNetworkStatus and NMActStage enums.
9750 2007-02-19 Tambet Ingo <tambet@ximian.com>
9752 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
9753 Handle device state changes and disconnect VPN if it's device deactivates.
9757 * src/nm-dbus-device.c:
9758 * src/nm-dbus-device.c:
9759 * src/nm-dbus-net.c:
9760 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
9762 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
9764 * src/nm-device.c (nm_device_get_by_udi):
9765 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
9766 implemented in the correct location (NMManager).
9767 Rip out all the test_device stuff.
9769 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
9770 failure handlers, it's all done by NMDevice already.
9772 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
9773 Remove the iochannel hack to route the unix signals to the main thread since
9774 we're not threaded anymore.
9776 * src/NetworkManagerAP.c: Implement HWAddress property.
9778 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
9779 automatically with dbus-glib.
9781 * src/nm-netlink-monitor.c:
9782 * src/nm-netlink-monitor.h:
9783 - Move it low in the class hierarchy, don't reference any NM types.
9784 - Remove private data from the header.
9785 - Use type safe checks in public API methods.
9786 - Make it a singleton so we don't have to pass the single reference around.
9788 2007-02-16 Tambet Ingo <tambet@ximian.com>
9790 * introspection/nm-ip4-config.xml: Implement.
9792 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
9794 * libnm-glib/nm-ip4-config.c:
9795 * libnm-glib/nm-ip4-config.c: Implement.
9797 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
9798 securities. APs reference security.
9800 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
9801 be exported over DBUS.
9803 * src/nm-device-802-3-ethernet.c: Ditto.
9805 * src/NetworkManagerAP.c:
9806 * src/NetworkManagerAP.h:
9807 - Convert to GObject, export over DBUS.
9809 * src/nm-ip4-config.h:
9810 * src/nm-ip4-config.h:
9811 - Convert to GObject, export over DBUS.
9813 2007-02-12 Dan Williams <dcbw@redhat.com>
9815 Patch from Helmut Schaa <hschaa@suse.de>
9817 * vpn-daemons/pptp/configure.in
9818 vpn-daemons/pptp/Makefile.am
9819 vpn-daemons/openvpn/configure.in
9820 vpn-daemons/openvpn/Makefile.am
9821 vpn-daemons/vpnc/configure.in
9822 vpn-daemons/vpnc/Makefile.am
9823 - Add --without-gnome switch which disables building gnome bits
9825 2007-02-12 Tambet Ingo <tambet@ximian.com>
9827 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
9829 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
9831 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
9834 * introspection/nm-device.xml: Remove 'UseDhcp' property.
9836 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
9838 Totally break NetworkManager. Please use 0.6 branch until futher notice.
9841 - Remove old low-level dbus interface implementations and replace them
9845 - Require dbus-glib >= 0.72.
9846 - Plug in new sources to build.
9849 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
9850 to make it more convenient to use from GObject based programs.
9853 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
9855 2007-02-09 Tambet Ingo <tambet@ximian.com>
9857 * src/nm-device-802-11-wireless.c:
9858 - Add "network-added" and "network-removed" signals.
9859 - Use gobject boilerplate macros to define the GObject.
9860 - Implement wireless device activation.
9861 - Remove activation_failure_handler and activation_success_handler
9862 and instead listen on state-changed signals and run the same code
9866 - Implment NMDeviceInterface::deactivate.
9867 - Remove activation_failure_handler and activation_success_handler
9868 virtual methods. Each device which is interested in these events
9869 can just listen on it's state changed signals.
9871 * src/NetworkManagerPolicy.c:
9872 - Move a bit more NMData usage to NMManager.
9873 - Remove activation scheduling bits.
9874 - Add listeners for wireless device's "network-added" and
9875 "network-removed" signals.
9876 - Listen device changed signals and deactivate currently activated
9877 device when another device start activating (for now).
9878 - Remove (nm_policy_schedule_device_change_check): There's never a need
9879 for calling this, the policy code knows exactly when this should happen,
9880 by listening on events from NMManager and NMDevices.
9882 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
9885 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
9886 method on the specific device instead of going to through policy code
9887 and determining the device type by passed in AP's existance.
9889 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
9890 abstract NMDevice deactivation.
9892 2007-02-08 Tambet Ingo <tambet@ximian.com>
9894 * src/NetworkManager.c:
9895 - Set up all the shiny new managers.
9897 * src/NetworkManagerPolicy.c:
9898 - Add the beginnings of new NMPolicy code. Instead of requireing all
9899 classes to call into policy code, make the policy code kind of like
9900 a supervisor that monitors what's going on and drives the whole NM.
9902 * src/nm-hal-manager.c:
9903 * src/nm-hal-manager.h:
9904 - Collect all libhal code scattered around NM to this one class.
9905 - Listen libhal and NMManager events and add/remove devices to
9910 - Implment a replacement for NMData. NMData is now officially
9913 2007-02-05 Tambet Ingo <tambet@ximian.com>
9915 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
9916 * src/supplicant-manager/nm-supplicant-interface.h
9917 * src/supplicant-manager/nm-supplicant-interface.c
9918 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
9919 argument to boolean from enum.
9921 Make NMDevice abstract class, remove almost all references to it's
9922 subclasses (the last place gets removed with new policy manager). Add
9923 NMDeviceInterface (which NMDevice implements) so that when we have
9924 NMDevice exported over DBUS, there's a common NMDevice interface which
9925 all instances have, plus there's a device specific interface for each
9927 Remove functions (nm_device_is_802_3_ethernet) and
9928 (nm_device_is_802_11_wireless). There are already standard GObject macros
9929 for type safe checks.
9930 Use the updated supplican manager API.
9932 * src/nm-device-interface.h:
9933 * src/nm-device-interface.c:
9934 * src/nm-call-store.h:
9935 * src/nm-call-store.c: Implement.
9937 * src/supplicant-manager/nm-supplicant-interface.c:
9938 * src/supplicant-manager/nm-supplicant-interface.h:
9939 * src/supplicant-manager/nm-supplicant-manager.c:
9940 * src/supplicant-manager/nm-supplicant-manager.h:
9941 - Remove all private data type references from public header files.
9942 - Remove all references to other NM classes, this class is just a
9943 proxy between wpa_supplicant and NM so it doesn't have to know
9945 - Convert to dbus-glib bindings.
9946 - Type safe checks for public methods' arguments.
9947 - Store pending DBUS call ids to NMCallStore.
9949 * src/supplicant-manager/nm-supplicant-config.c:
9950 - Store config values in a GHashTable instead of GSList.
9952 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
9954 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
9957 * src/nm-device.c: Use the new DHCP manager API.
9959 * src/nm-activation-request.c:
9960 * src/nm-activation-request.h:
9961 - Remove all dhcp related properties and methods.
9963 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
9965 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
9967 * src/dhcp-manager/nm-dhcp-manager.c:
9968 * src/dhcp-manager/nm-dhcp-manager.h:
9969 - Convert it to GObject since we need to signal state changes.
9970 - Remove all references to other NM classes, this class is one
9971 of the lowest classes in our hierarchy.
9972 - One less class to use NMActRequest.
9973 - Make it singleton, one less user of NMData.
9974 - Remove a couple of sleep() calls.
9975 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
9976 One less class to use the NM's custom tailored signal handlig.
9978 * Makefile.am: Generate marshallers, add them to build.
9980 2007-02-02 Dan Williams <dcbw@redhat.com>
9986 - Remove last bits referencing gnome applet
9988 2007-02-02 Dan Williams <dcbw@redhat.com>
9990 * src/vpn-manager/nm-vpn-service.c
9991 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
9992 and NBNS server addresses
9994 2007-02-02 Tambet Ingo <tambet@ximian.com>
9996 * src/nm-dbus-manager.c:
9997 * src/nm-dbus-manager.h:
9998 - Convert all internal DBUS code to use dbus-glib bindings.
9999 - Remove GObject properties, we don't need them here.
10000 - Don't explicitly set things to NULL after freeing, glib is
10001 happy to do it if asked nicely (G_DEBUG=gc-friendly).
10002 - Make public API argument checks type safe.
10003 - Remove unnecessary (and wrong) cast to GObject for the first
10004 argument to g_signal_* calls - The first argument is a gpointer.
10005 - Export DBusGConnection to other cool classes that (are going to)
10008 2007-01-26 Dan Williams <dcbw@redhat.com>
10010 * libnm-util/dbus-dict-helpers.c
10011 libnm-util/dbus-dict-helpers.h
10012 - Coordinate style with wpa_supplicant version to minimize diff
10013 - Add uint32 array support
10014 - (nmu_dbus_dict_append_uint32_array): new function
10015 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10016 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10017 version; allow adding string array elements individually
10019 * test/libnm-util/test-dbus-dict-helpers.c
10020 - Test uint32 arrays
10022 2007-01-27 Jürg Billeter <j@bitron.ch>
10024 * src/backends/NetworkManagerPaldo.c
10025 - (nm_system_update_dns): clear nscd hosts cache
10027 2007-01-04 Dan Williams <dcbw@redhat.com>
10029 Threading removal related cleanups:
10031 - Use the glib default main context. Remove the device main context
10032 member from NMDevice, and the main_context member from NMData. Change
10033 all the idle and timeout scheduler functions to use plain
10034 g_idle_add() and g_timeout_add().
10036 - As a side-effect of the first change, nm_dbus_manager_get() no longer
10037 takes an argument; fix that up too.
10039 - Remove all locking, which is useless since we no longer use threads. For
10040 example, nm_get_device_by_iface_locked() has been removed. The global
10041 device list lock, the AP List lock, and all static locks in
10042 NetworkManagerPolicy.c have been removed. The locking utility functions
10043 in NetworkManagerUtils.c have also been removed.
10045 - Other cleanups in spacing and code style
10047 2007-01-01 Dan Williams <dcbw@redhat.com>
10049 Found by Bill Moss:
10051 * src/supplicant-manager/nm-supplicant-interface.c
10052 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10053 the supplicant interface wasn't already disconnected. Always
10054 call removeNetwork and disconnect unless the supplicant interface
10055 is in the DISCONNECTED or INACTIVE state.
10057 2006-12-28 Dan Williams <dcbw@redhat.com>
10059 Use a single thread for everything. With the move to wpa_supplicant
10060 and communication over D-Bus, there's no reason for multiple threads.
10061 Almost all of the blocking code has been removed, with one exception in
10062 the DHCP manager and a few in the VPN manager. This commit removes the
10063 per-device worker thread and fixes activation cancellation in the absence
10064 of threads. Further removal of thread-related code would be removing
10065 any locking code (like the device list lock) and simplification of logic
10066 around areas of code or data structures that are currently locked.
10069 dhcp-manager/nm-dhcp-manager.c
10070 nm-device-802-11-wireless.c
10071 nm-device-802-3-ethernet.c
10074 - Remove usage of multiple threads
10076 2006-12-19 Dan Williams <dcbw@redhat.com>
10078 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10079 plus a few other patches from wpa_supplicant bugzilla.
10082 src/NetworkManagerPolicy.c
10083 src/NetworkManagerUtils.c
10084 src/NetworkManagerUtils.h
10085 src/nm-ap-security-leap.c
10086 src/nm-ap-security-wep.c
10087 src/nm-ap-security-wpa-eap.c
10088 src/nm-ap-security-wpa-psk.c
10089 src/nm-ap-security.c
10090 src/nm-ap-security.h
10091 src/nm-device-802-11-wireless.c
10092 src/nm-device-802-11-wireless.h
10093 src/supplicant-manager/nm-supplicant-config.c
10094 src/supplicant-manager/nm-supplicant-config.h
10095 src/supplicant-manager/nm-supplicant-interface.c
10096 src/supplicant-manager/nm-supplicant-interface.h
10097 src/supplicant-manager/nm-supplicant-marshal.list
10098 src/supplicant-manager/nm-supplicant-settings-verify.c
10099 src/supplicant-manager/nm-supplicant-settings-verify.h
10100 - Move all connection management and association handling to
10101 wpa_supplicant over dbus, rather than spawning a private copy
10103 2006-12-19 Dan Williams <dcbw@redhat.com>
10105 * src/NetworkManagerPolicy.c
10106 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10107 better locking of the device change check handler ID. Incorrect
10108 locking was causing lost device change requests
10110 2006-12-18 Dan Williams <dcbw@redhat.com>
10112 * libnm-util/dbus-dict-helpers.c
10113 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10114 _nmu_dbus_dict_entry_get_byte_array): replace usage of
10115 dbus_message_iter_get_array_len() (Gnome.org #382898)
10117 2006-12-18 Dan Williams <dcbw@redhat.com>
10119 * gnome/libnm_glib/libnm_glib.c
10120 - Change dbus_connection_close() -> dbus_connection_unref()
10122 2006-12-11 Dan Williams <dcbw@redhat.com>
10124 * src/supplicant-manager/nm-supplicant-interface.c
10125 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10126 wpa_supplicant interface state
10127 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10128 state before transitioning to READY state
10130 2006-12-04 Dan Williams <dcbw@redhat.com>
10132 * src/nm-device-802-11-wireless.c
10133 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10134 odd length of ESSID returned from ieee80211 stack-based drivers
10136 2006-12-04 Dan Williams <dcbw@redhat.com>
10138 * src/nm-device-802-11-wireless.c
10139 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10140 IE handling blocks that cause mis-parsing of the IE
10142 2006-12-04 Dan Williams <dcbw@redhat.com>
10144 * src/nm-device-802-11-wireless.c
10145 - (init_supplicant_interface): new function; pull supplicant interface
10146 setup code out into standalone function since it must be called from
10147 two different places
10148 - (real_init): sup_mgr is now in private object data; get and track
10149 the supplicant manager object over the NMDevice subclass' lifetime
10150 and register a signal handler for its state signals; only try to
10151 initialize the supplicant interface if the supplicant manager is in
10152 the IDLE state (and therefore is ready for requests)
10153 - (request_wireless_scan): reschedule the scan request if (a) there is
10154 no supplicant interface yet (meaning wpa_supplicant isn't running
10155 or isn't ready yet), or (b) if the supplicant interface isn't ready
10157 - (supplicant_iface_connection_state_cb): new function; stub for
10158 handling supplicant interface connection state signals
10159 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10161 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10162 supplicant manager object that's being tracked starting with this
10165 2006-12-04 Dan Williams <dcbw@redhat.com>
10167 * src/supplicant-manager/nm-supplicant-interface.c
10168 - (nm_supplicant_interface_set_property): track signal handler ID
10169 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10171 2006-12-04 Dan Williams <dcbw@redhat.com>
10173 * src/supplicant-manager/nm-supplicant-interface.[ch]
10174 - (nm_supplicant_interface_get_state): new function
10176 2006-12-04 Dan Williams <dcbw@redhat.com>
10178 * src/supplicant-manager/nm-supplicant-interface.c
10179 - (bssid_properties_cb): don't treat DBus errors as valid
10180 scanned AP messages
10182 2006-12-04 Dan Williams <dcbw@redhat.com>
10184 * src/supplicant-manager/nm-supplicant-interface.[ch]
10185 - (nm_supplicant_interface_get_connection_state): new function
10186 - define new supplicant connection states
10187 - send a signal when the supplicant connection state changes
10189 2006-12-03 Dan Williams <dcbw@redhat.com>
10191 * src/supplicant-manager/Makefile.am
10192 src/supplicant-manager/nm-supplicant-connection.h
10193 src/supplicant-manager/nm-supplicant-connection.c
10194 src/supplicant-manager/nm-supplicant-config.h
10195 src/supplicant-manager/nm-supplicant-config.c
10196 src/supplicant-manager/nm-supplicant-types.h
10197 src/supplicant-manager/nm-supplicant-interface.h
10198 src/supplicant-manager/nm-supplicant-interface.c
10199 - Rename NMSupplicantConnection -> NMSupplicantConfig
10201 2006-12-03 Dan Williams <dcbw@redhat.com>
10203 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
10207 - Move VPN-related translatables to .skip
10209 * vpn-daemons/pptp/po/POTFILES.in
10210 - Update with new translatables
10212 2006-12-02 Dan Williams <dcbw@redhat.com>
10214 Patch from Christian Persch <chpe@gnome.org>
10216 * gnome/applet/Makefile.am
10217 gnome/applet/applet-dbus-devices.c
10218 gnome/applet/applet-notifications.c
10219 gnome/applet/applet.c
10220 gnome/applet/applet.h
10221 gnome/applet/main.c
10222 - Be a GtkStatusIcon on GTK+ >= 2.10
10224 2006-12-02 Dan Williams <dcbw@redhat.com>
10226 * gnome/applet/applet.c
10227 - (nma_update_info): fix two unecessary allocations
10229 2006-12-02 Dan Williams <dcbw@redhat.com>
10231 Patch from Michael Biebl <biebl@teco.edu>
10233 man/NetworkManager.1.in
10234 man/NetworkManagerDispatcher.1.in
10235 man/NetworkManager.8.in
10236 man/NetworkManagerDispatcher.8.in
10237 - Add .SH NAME stanzas
10238 - Move NM & NM Dispatcher manpages to section 8 (admin)
10240 2006-12-02 Dan Williams <dcbw@redhat.com>
10242 Patch from Christian Persch <chpe@gnome.org>
10245 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10247 2006-11-29 Tambet Ingo <tambet@ximian.com>
10249 Patch by Timo Hoenig <thoenig@suse.de>:
10250 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10253 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10254 we can't use the one from the main source directory.
10256 2006-11-27 Dan Williams <dcbw@redhat.com>
10258 Patch from Christian Persch <chpe@gnome.org>
10260 * gnome/applet/applet-dbus-devices.c
10261 - (hal_info_product_cb): fix memleak; free duped string.
10264 2006-11-27 Dan Williams <dcbw@redhat.com>
10266 Patch from Christian Persch <chpe@gnome.org>
10268 * gnome/applet/menu-items.c
10269 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10270 as gtk_progress_set_percentage is deprecated. Should
10271 work as far back as GTK+ 2.4. Gnome.org #379780
10273 2006-11-26 Dan Williams <dcbw@redhat.com>
10275 Scan using wpa_supplicant over DBus.
10277 * src/nm-device-802-11-wireless.c
10278 - remove wireless extensions netlink event handler bits
10279 (wireless_event_helper, nm_device_802_11_wireless_event)
10280 - remove wireless extensions scan event handler bits
10281 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10282 hex2byte, hex2num, request_and_convert_scan_results,
10283 free_process_scan_cb_data, scan_results_timeout,
10284 schedule_scan_results_timeout, cancel_scan_results_timeout)
10285 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10286 and request scans from the supplicant interface rather than directly
10287 - Move functionality of convert_scan_results() to cull_scan_list() and
10288 supplicant_iface_scanned_ap_cb()
10289 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10290 at the scan interval when the current scan has finished
10291 - (supplicant_iface_state_cb): start scanning when the supplicant
10292 interface enters the READY state, and stop scanning when it
10293 enters the DOWN state
10294 - (cull_scan_list): weed out old access points from the scan list
10295 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10296 point into an NMAccessPoint and merge it into the device's scan list
10298 * src/supplicant-manager/nm-supplicant-interface.c
10299 src/supplicant-manager/nm-supplicant-interface.h
10300 - Add a new signal "scan-result" which is issued when the supplicant
10301 notifies NM that a scan has completed
10302 - Add a new signal "scanned-ap" that notifies listeners of a new access
10303 point found in the scan. Called once for each access point that
10304 the supplicant interface object receives from the supplicant as a
10305 result of the "scanResults" method call
10306 - (wpas_iface_query_scan_results): don't wait 4s before querying
10307 for the initial scan results
10308 - (scan_request_cb): new function; send listeners the result
10309 (success, error) of a wireless scan request
10310 - (nm_supplicant_interface_request_scan): new function; ask the
10311 supplicant to perform an immediate wireless scan
10313 2006-11-25 Dan Williams <dcbw@redhat.com>
10315 * src/supplicant-manager/Makefile.am
10316 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10317 add HAL cflags/includes and named-manager includes directory
10319 * src/supplicant-manager/nm-supplicant-interface.h
10320 - New state STARTING to handle transition from INIT to READY where
10321 the addInterface pending call is still outstanding
10323 * src/supplicant-manager/nm-supplicant-interface.c
10324 - track pending calls differently since we may have more than one
10325 going on at any given time
10326 - request scan results from wpa_supplicant; but don't do it more often
10327 than every 4 seconds. Drivers that do background scanning
10328 (like the 'ipw' drivers) send a continuous stream of scan completion
10329 notifications, so we don't want to hammer the supplicant or dbus
10330 with requests for all scan results every time we get a completion
10333 2006-11-25 Dan Williams <dcbw@redhat.com>
10335 * src/supplicant-manager/nm-supplicant-types.h
10336 - new file; move all supplicant manager object typedefs here for
10339 * src/supplicant-manager/nm-supplicant-interface.c
10340 src/supplicant-manager/nm-supplicant-interface.h
10341 - new file; an object that interfaces an NMDevice object to the
10342 supplicant and handles signals from the supplicant. This object
10343 does all necessary DBus communication with wpa_supplicant.
10345 * src/supplicant-manager/nm-supplicant-manager.c
10346 src/supplicant-manager/nm-supplicant-manager.h
10347 - Actually do something. Track the state of the wpa_supplicant service
10348 and deal with its comings & goings. Handle life events of
10349 supplicant interfaces too.
10350 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10352 * src/supplicant-manager/nm-supplicant-connection.h
10353 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10355 * src/supplicant-manager/Makefile.am
10356 - Add new files to build, and add libnm-util to includes
10358 * src/nm-marshal.list
10359 - New marshaler type: VOID:UINT,UINT
10361 * src/nm-device-802-3-ethernet.c
10362 - (real_init): grab a supplicant interface
10363 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10364 - (supplicant_iface_state_cb): new function, stub for handling
10365 supplicant interface state changes
10367 * src/nm-device-802-11-wireless.c
10368 - (real_init): grab a supplicant interface
10369 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10370 - (supplicant_iface_state_cb): new function, stub for handling
10371 supplicant interface state changes
10373 * src/NetworkManager.c
10374 - (main): create and keep the supplicant manager around for the lifetime
10378 - Link to the supplicant manager sub-library and use the supplicant
10381 2006-11-25 Dan Williams <dcbw@redhat.com>
10383 Rework DBus manager signal handling to be more flexible. Previously,
10384 only one signal handler could be registered for a particular interface.
10385 The DBus manager now reference counts DBus bus matches and allows multiple
10386 clients to register signal handlers for the same interface and sender.
10388 * src/NetworkManager.c
10389 - (main): track NMI signal handler ID and remove it when we quit
10391 * src/NetworkManagerMain.h
10392 - Keep track of NMI signal handler ID
10394 * src/nm-dbus-manager.c
10395 src/nm-dbus-manager.h
10396 - rework signal handling; each signal handler references one signal
10397 match, but a signal match may be referenced by one or more
10398 signal handlers. Matches are refcounted and are destroyed when the
10399 last signal handler that references the match is removed. This is
10400 necessary because two signal handlers may end up requiring the same
10401 dbus bus match, so the match must live until the last signal handler
10402 is destroyed (for example, with the wpa_supplicant network interface
10405 * src/dhcp-manager/nm-dhcp-manager.c
10406 - (nm_dhcp_manager_new): track DHCP signal handler id
10407 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10409 * src/vpn-manager/nm-vpn-service.c
10410 - (nm_vpn_service_add_watch): track VPN service signal handler id
10411 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10413 2006-11-25 Dan Williams <dcbw@redhat.com>
10415 Suggested by Helmut Schaa <hschaa@suse.de>
10417 * src/vpn-daemons/nm-vpn-service.c
10418 - (supplicant_child_setup): new function
10419 - (supplicant_exec): make child process use a new process group id
10421 * src/nm-device-802-11-wireless.c
10422 - (nm_vpn_service_child_setup): new function
10423 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
10426 2006-11-19 Dan Williams <dcbw@redhat.com>
10428 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
10429 * gnome/vpn-properties/nm-vpn-properties.c
10430 - clean up after renamed VPN connection
10432 2006-11-19 Dan Williams <dcbw@redhat.com>
10434 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
10435 * gnome/applet/applet-dbus-vpn.c
10436 - (nma_dbus_vpn_properties_cb): sort VPN connections
10438 * gnome/vpn-properties/nm-vpn-properties.c
10439 - (init_app): sort VPN connections
10441 2006-11-09 Dan Williams <dcbw@redhat.com>
10443 * src/NetworkManagerAPList.c
10444 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
10445 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
10446 from the nm_ap_list_get_ap_by_address() call was incorrect and
10447 broke hidden SSID matching. Found by Bill Moss.
10449 2006-10-25 Dan Williams <dcbw@redhat.com>
10452 - (nm_dbus_nm_set_active_device): return an empty success message on
10453 success, rather than falling through to the error case.
10455 2006-10-25 Dan Williams <dcbw@redhat.com>
10457 * src/NetworkManagerUtils.c
10458 - (nm_utils_supplicant_request_with_check): suppress messages for the
10461 2006-10-24 Dan Williams <dcbw@redhat.com>
10463 Reduce the number of times the Gnome applet wakes up, especially when
10464 it's doing absolutely nothing and is hidden. Initial patch by
10467 * gnome/applet/applet-dbus.c
10468 - (nma_dbus_filter): when NM isn't around, or when it goes away,
10469 kill the redraw timeout. When NM starts up, start the redraw
10470 timeout. Also, if we get kicked off the bus for some reason,
10471 start the reconnection timeout if one's not already running.
10472 - (nma_dbus_init): better handling of error conditions, don't leak
10473 a half-initialized dbus connection
10474 - (nma_dbus_connection_watcher): consolidate places we reinitialize
10475 the applet's data, just call nm_dbus_init_helper()
10476 - (nma_start_dbus_connection_watch): new function, starts a periodic
10477 timeout that calls nma_dbus_connection_watcher()
10478 - (nma_dbus_init_helper): if we get a successful connection, kill the
10479 reconnection timeout, and don't start the reconnection timeout
10480 unconditionally anymore
10482 * gnome/applet/applet-dbus.h
10483 - Expose nma_start_dbus_connection_watch()
10485 * gnome/applet/applet.c
10486 - (nma_update_state): no longer static, called from applet-dbus.c for
10487 immediate UI updates on certain events
10488 - (nma_set_running): new function; take over setting applet->running,
10489 when not running (ie, NM is not active), don't activate the redraw
10490 timeout because we're not showing the applet anyway. When we are
10491 running (ie, NM is active), and only when we're running, start the
10493 - (nma_destroy): kill the redraw timeout by setting 'not running', and
10494 kill any reconnection timeout
10495 - (nma_get_instance): move one-off dbus initialization code here since
10496 nm_dbus_init_helper() gets called more than once, possibly by the
10497 reconnection timeout function too. And, when we start up, if we
10498 can't get a connection to the bus, start the reconnection timeout.
10499 But don't start the redraw timeout yet, only do that when we get
10500 NM's state and find out if it's running or not.
10502 * gnome/applet/applet.h
10503 - Add the reconnection GSource ID
10504 - Add prototypes for nma_set_running() and the no-longer-static
10507 2006-10-24 Dan Williams <dcbw@redhat.com>
10509 * src/vpn-daemons/nm-dbus-vpnc.c
10510 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
10511 pending call tracker
10512 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
10513 pending call tracker; register one-vpn-connection update pending
10514 call in pending call tracker
10515 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
10516 update pending call in pending call tracker
10517 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
10518 update pending call in pending call tracker; don't block waiting
10521 2006-10-19 Robert Love <rml@novell.com>
10523 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
10526 2006-10-14 Dan Williams <dcbw@redhat.com>
10528 * src/dhcp-manager/nm-dhcp-manager.c
10529 - (get_ip4_string, get_ip4_uint32s): have the caller pass
10530 the dbus connection and the device object path rather than
10531 constructing it inside both functions. Saves a bit of memory
10532 and clarifies a failure path.
10533 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
10534 and allocate device path here rather than each of the two
10537 2006-10-13 Dan Williams <dcbw@redhat.com>
10539 * src/NetworkManager.c
10540 - (nm_name_owner_changed_handler): handle NMI coming and going,
10541 this somehow droppout in the refactor
10543 2006-10-13 Dan Williams <dcbw@redhat.com>
10545 * Huge DBus refactor:
10546 - Create a "DBus Manager" object which manages the connection and
10547 sends signals on NameOwnerChanged and connection/disconnection events,
10548 handles reconnection to the bus if NM gets kicked off, and abstracts
10550 - Remove DBusConnection members from places where they are no
10551 longer needed due to the refactor, like the dbus-connection
10552 property of the named manager, and from NMData
10553 - Reformats a bunch of the code to gnome style
10554 (8-space tabs, braces on same line as statement, 80-col width).
10555 Consider it open season to reformat any bits to gnome style.
10556 style that aren't already.
10558 2006-10-13 Dan Williams <dcbw@redhat.com>
10560 * src/supplicant-manager/Makefile.am
10563 * src/supplicant-manager/nm-supplicant-manager.[ch]:
10564 - Make it a minimal GObject
10566 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
10567 - Verify settings destined for wpa_supplicant
10569 * src/supplicant-manager/nm-supplicant-connection.[ch]:
10570 - Minimal GObject to track wpa_supplicant controlled device
10573 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
10575 * gnome/applet/applet.c: (nma_update_info),
10576 (nma_act_stage_to_pixbuf), (nma_update_state):
10577 Mark missing strings for translation. Fixes bug #343306.
10579 2006-10-01 Dan Williams <dcbw@redhat.com>
10581 * src/vpn-manager/nm-vpn-manager.c
10582 - (nm_vpn_manager_load_services): split and clean up
10583 for readability and correctness. Restrict VPN service
10584 files to ending in ".name", as was meant from the
10585 beginning (but not coded in). Better error reporting.
10587 2006-10-01 Dan Williams <dcbw@redhat.com>
10590 - Clean up formatting of debug/info/warning log messages
10592 2006-09-27 Robert Love <rml@novell.com>
10594 Patch by Tambet Ingo <tambet@ximian.com>:
10595 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
10598 2006-09-07 Dan Williams <dcbw@redhat.com>
10601 test/libnm-util/Makefile.am
10602 test/nm-supplicant-test.c
10603 - Add test program emulating the way NM drives wpa_supplicant
10604 to help debug supplicant issues
10606 2006-08-24 Dan Williams <dcbw@redhat.com>
10610 src/supplicant-manager/Makefile.am
10611 src/supplicant-manager/nm-supplicant-manager.c
10612 src/supplicant-manager/nm-supplicant-manager.h
10613 - Add skeleton bits of the wpa_supplicant manager
10615 2006-08-24 Dan Williams <dcbw@redhat.com>
10617 Patch from Ed Catmur:
10618 * src/NetworkManagerUtils.c
10619 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
10620 if netmask is 0 (Gnome #352634)
10622 2006-08-17 Robert Love <rml@novell.com>
10624 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
10625 package is now DBUS-enabled and listens for the NM signals.
10627 2006-08-14 Dan Williams <dcbw@redhat.com>
10629 * Patch from Christian Persch <chpe gnome org>
10632 vpn-daemons/openvpn/po/LINGUAS
10633 vpn-daemons/openvpn/configure.in
10634 vpn-daemons/pptp/po/LINGUAS
10635 vpn-daemons/pptp/configure.in
10636 vpn-daemons/vpnc/po/LINGUAS
10637 vpn-daemons/vpnc/configure.in
10638 - Convert to LINGUAS method so translators don't have to modify
10639 configure.in, just stuff in po/. Gnome #343132, requires intltool
10642 2006-08-14 Dan Williams <dcbw@redhat.com>
10644 Patch from Alex Smith <alex.extreme2@gmail.com>
10646 src/backends/Makefile.am
10647 src/backends/NetworkManagerFrugalware.c
10648 - Add support for Frugalware
10650 2006-08-13 Dan Williams <dcbw@redhat.com>
10652 Patch from Valentine Sinitsyn <e_val@inbox.ru>
10653 * src/nm-device-802-11-wireless.c
10654 - (supplicant_exec): spawn wpa_supplicant without debug spew
10657 2006-08-13 Dan Williams <dcbw@redhat.com>
10659 Patch from Valentine Sinitsyn <e_val@inbox.ru>
10660 * src/nm-ap-security.c
10661 src/nm-ap-security.h
10662 - Add authentication_required bits for subclasses to specify whether
10663 or not real authentication is required for connections, i.e. whether
10664 the AP rejects us when an encryption key is wrong or not.
10666 * src/nm-ap-security-wep.c
10667 src/nm-ap-security-wpa-eap.c
10668 src/nm-ap-security-wpa-psk.c
10669 src/nm-ap-security-leap.c
10670 - Implement authentication_required appropriately for each method
10672 * src/nm-device-802-11-wireless.c
10673 - Be smarter about when to request a key; for example, using a wrong key
10674 in WEP shared key mode previously just timed out and did not request
10677 2006-08-13 Dan Williams <dcbw@redhat.com>
10679 * gnome/libnm_glib/libnm_glib.c
10680 - dbus_connection_disconnect() -> dbus_connection_close() for
10683 2006-08-07 Dan Williams <dcbw@redhat.com>
10685 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10686 * src/NetworkManagerSystem.c
10687 - Respect specified MTU. Gnome #344967
10689 2006-08-07 Dan Williams <dcbw@redhat.com>
10691 * src/vpn-manager/nm-vpn-service.c
10692 - Simplify print_vpn_config() arguments
10694 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
10695 * src/vpn-manager/Makefile.am
10696 src/vpn-manager/nm-vpn-service.c
10697 - Add new API for passing VPN config options as a dict. Gnome #344967
10699 2006-08-06 Dan Williams <dcbw@redhat.com>
10701 * gnome/applet/applet-dbus-devices.c
10702 gnome/applet/applet-dbus-vpn.c
10703 gnome/applet/applet-dbus.c
10704 gnome/applet/applet-dbus.h
10708 - Make pending call tracking code generic,
10709 so we can use it in NM as well as the applet
10711 2006-08-06 Dan Williams <dcbw@redhat.com>
10713 * src/nm-activation-request.c
10714 - Refcount pending call objects
10716 2006-08-06 Dan Williams <dcbw@redhat.com>
10718 Patch from Christan Chiesa <christanc@gmail.com>
10720 - Tell sha1.c to use bigendian mode on PPC
10722 2006-08-04 Robert Love <rml@novell.com>
10724 Glib Memory Slices!
10725 * configure.in: Require glib 2.10 or later.
10726 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
10727 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
10728 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
10729 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
10730 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
10731 Memory Slices are the greatest thing since bread slices.
10732 * src/NetworkManagerAP.c: Also, fix memory leak.
10734 2006-08-01 Robert Love <rml@novell.com>
10736 * gnome/applet/main.c: Shutdown all VPN connections on logout.
10738 2006-07-31 Robert Love <rml@novell.com>
10740 * src/backends/interface_parser.c: Declarations must begin the block.
10742 2006-07-24 Dan Williams <dcbw@redhat.com>
10744 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
10745 * src/backends/Makefile.am
10746 src/backends/NetworkManagerArch.c
10747 src/backends/NetworkManagerDebian.c
10748 src/backends/NetworkManagerGeneric.c
10749 src/backends/NetworkManagerGeneric.h
10750 src/backends/NetworkManagerGentoo.c
10751 src/backends/NetworkManagerPaldo.c
10752 src/backends/NetworkManagerRedHat.c
10753 src/backends/NetworkManagerSlackware.c
10754 src/backends/NetworkManagerSuSE.c
10755 - Genericize common backend functions
10757 2006-07-18 Robert Love <rml@novell.com>
10759 * configure.in: Add "--with-notify" option to allow disabling of
10762 2006-07-13 Dan Williams <dcbw@redhat.com>
10764 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
10765 * gnome/applet/applet.glade
10766 gnome/applet/Makefile.am
10767 gnome/applet/nm-gconf-wso.c
10768 gnome/applet/nm-gconf-wso-leap.c
10769 gnome/applet/nm-gconf-wso-leap.h
10770 gnome/applet/wireless-security-manager.c
10771 gnome/applet/wso-leap.c
10772 gnome/applet/wso-leap.h
10773 include/NetworkManager.h
10774 libnm-util/dbus-helpers.c
10775 libnm-util/dbus-helpers.h
10777 src/NetworkManagerAP.c
10778 src/nm-ap-security.c
10779 src/nm-ap-security-leap.c
10780 src/nm-ap-security-leap.h
10781 - Add LEAP authentication support
10783 2006-07-13 Dan Williams <dcbw@redhat.com>
10785 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
10787 src/backends/NetworkManagerArch.c
10788 src/backends/NetworkManagerDebian.c
10789 src/backends/NetworkManagerGentoo.c
10790 src/backends/NetworkManagerPaldo.c
10791 src/backends/NetworkManagerRedHat.c
10792 src/backends/NetworkManagerSlackware.c
10793 src/backends/NetworkManagerSuSE.c
10794 - Convert hardcoding of 'ip' path to configure-time
10797 2006-07-12 Leonid Kanter <leon@asplinux.ru>
10799 * configure.in: added ru to ALL_LINGUAS
10801 2006-07-10 Dan Williams <dcbw@redhat.com>
10803 Patch from Valentine Sinitsyn <e_val@inbox.ru>
10805 - (real_act_stage3_ip_config_start): don't infinite loop when
10806 dhcdbd isn't running (Gnome #346845)
10808 2006-07-09 Dan Williams <dcbw@redhat.com>
10810 * gnome/applet/applet.c
10811 - (nma_destroy): don't pass NULL to notify_notification_close
10814 2006-07-09 Dan Williams <dcbw@redhat.com>
10816 * gnome/applet/applet.c
10817 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
10819 2006-07-04 Tor Krill <tor@krill.nu>
10821 Patch from Valentine Sinitsyn <e_val@inbox.ru>
10822 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
10823 (nm_system_restart_mdns_responder), (ArchReadConfig),
10824 (nm_system_device_get_system_config):
10825 - Explicitly check for DHCP configuration
10826 - Check if daemons are running before starting them
10828 2006-06-25 Dan Williams <dcbw@redhat.com>
10830 * libnm-util/dbus-dict-helpers.[ch]
10831 test/libnm-util/test-dbus-dict-helpers.c
10832 - Add string array support
10834 2006-06-24 Dan Williams <dcbw@redhat.com>
10836 * src/dhcp-manager/nm-dhcp-manager.c
10837 - (nm_dhcp_manager_process_signal): clean up spacing
10839 2006-06-21 Dan Williams <dcbw@redhat.com>
10841 * src/nm-dbus-device.c
10842 - (nm_dbus_device_get_driver): don't try to stuff a NULL
10845 2006-06-21 Raivis Dejus <orvils@gmail.com>
10847 * configure.in: Added 'lv' to ALL_LINGUAS
10849 2006-06-19 Dan Williams <dcbw@redhat.com>
10851 * src/NetworkManagerAP.c
10852 - Clarify usage of user_created
10854 * src/nm-ap-security-wep.c
10855 src/nm-ap-security-wpa-eap.c
10856 src/nm-ap-security-wpa-psk.c
10857 src/nm-ap-security.c
10858 src/nm-ap-security.h
10859 - s/user_created/adhoc, because we really do mean adhoc
10861 Patch from Bernard Blackham <bernard@blackham.com.au>
10862 * src/nm-device-802-11-wireless.c
10863 - (supplicant_send_network_config): instead of user_created,
10864 use adhoc, and do AP_SCAN 2 for adhoc networks
10866 2006-06-18 Robert Love <rml@novell.com>
10868 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
10869 we have a value to set. Gconf generates a warning if `val' is NULL.
10870 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
10871 unless we actually received a valid private key file passphrase or
10872 password. Otherwise, we don't know to later ask the applet to pull
10873 the key from the keyring.
10875 2006-06-17 Dan Williams <dcbw@redhat.com>
10877 * libnm-util/dbus-dict-helpers.[ch]
10878 test/libnm-util/test-dbus-dict-helpers.c
10879 - Fixes for zero-length byte arrays
10880 - Replace return values of 0 with FALSE for clarity
10881 - Test zero-length byte arrays
10883 2006-06-17 Dan Williams <dcbw@redhat.com>
10885 * libnm-util/dbus-dict-helpers.[ch]
10886 test/libnm-util/test-dbus-dict-helpers.c
10887 - Add helpers for byte arrays
10888 - Rework bits of the testcase
10890 2006-06-16 Dan Williams <dcbw@redhat.com>
10892 * libnm-util/Makefile.am
10893 * libnm-util/dbus-dict-helpers.[ch]
10894 - Add some helpers to take the pain out of using dict types in
10897 * test/libnm-util/Makefile.am
10898 * test/libnm-util/test-dbus-dict-helpers.c
10899 - Test cases for the dict helper functions
10901 2006-06-15 Robert Love <rml@novell.com>
10903 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
10904 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
10905 if there is no key to pass.
10906 * libnm-util/dbus-helpers.c: Given the above, we can trust always
10907 receiving a non-NULL key.
10909 2006-06-14 Robert Love <rml@novell.com>
10911 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
10915 2006-06-14 Dan Williams <dcbw@redhat.com>
10917 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
10918 * src/nm-device-802-11-wireless.c
10919 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
10920 or ones where the driver is unknown
10921 - (supplicant_exec): don't wait for supplicant startup here
10922 - (supplicant_interface_init): finer grained polling for supplicant
10925 2006-06-13 Robert Love <rml@novell.com>
10927 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
10928 if it is currently set to TRUE. Otherwise, we will reset the value
10929 when we connect normally.
10930 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
10931 the old BSSID is valid, too. The recently added ESSID check may not be
10932 sufficient (we can remove it?). What we really want to catch is the
10933 case of going from all-zeros to the BSSID of some other network, which
10934 happens on failure.
10936 2006-06-09 Dan Williams <dcbw@redhat.com>
10938 * src/NetworkManagerSystem.[ch]
10939 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
10940 it was unused and pointless
10941 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
10942 fix for set_up_down_with_iface change
10944 * src/vpn-manager/nm-vpn-connection.c
10945 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
10947 * src/backends/NetworkManagerPaldo.c
10948 src/backends/NetworkManagerRedHat.c
10949 src/backends/NetworkManagerSuSE.c
10950 src/backends/NetworkManagerArch.c
10951 src/backends/NetworkManagerDebian.c
10952 src/backends/NetworkManagerGentoo.c
10953 - (nm_system_enable_loopback): use set_up_down_with_iface where
10955 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
10958 2006-06-09 Dan Williams <dcbw@redhat.com>
10960 Patch from Peter Jones:
10961 * src/nm-device-802-11-wireless.c
10962 - (nm_device_802_11_wireless_update_bssid): make sure that the
10963 SSID hasn't changed from what we expect before automatically
10964 updating the saved BSSID from a new AP
10966 2006-06-08 Robert Love <rml@novell.com>
10968 Add 'fallback' support. NetworkManager will attempt to brute-force
10969 connect to networks marked as fallback if there are no better wireless
10970 connections available. This is useful as a method of last resort, to
10971 work around driver problems, and for use with hidden networks.
10972 * gnome/applet/applet-dbus-devices.c,
10973 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
10974 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
10975 pass it on via DBUS.
10976 * gnome/applet/applet.c: No fallback by default.
10977 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
10978 Update other-network-dialog to add UI checkbox toggling fallback.
10979 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
10980 propery from AP object. Add "fallback" property to AP object.
10981 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
10982 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
10983 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
10984 separate function. Add get_best_fallback_ap() for returning an AP
10985 on which to attempt fallback.
10986 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
10987 * test/nm-set-fallback: New file. Sets a given network as fallback.
10989 2006-06-07 Robert Love <rml@novell.com>
10991 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
10992 checked that the return type was GCONF_VALUE_STRING, not the correct
10993 GCONF_VALUE_BOOL, and thus it never worked.
10994 * src/NetworkManagerAPList.c: Before concluding that two networks are
10995 identical based on their BSSID, make sure that the BSSID in question
10996 is actually valid. Specifically, an empty or all zero BSSID does not
10998 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
10999 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11000 similar invariant clean up.
11002 2006-06-02 Robert Love <rml@novell.com>
11004 * gnome/applet/applet.c: Update copyright years. Add Novell.
11006 2006-05-28 Dan Williams <dcbw@redhat.com>
11008 * gnome/applet/applet.glade
11009 gnome/vpn-properties/nm-vpn-properties.glade
11010 - Set window icons on dialogs (Gnome.org #333420)
11012 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
11014 * gnome/vpn-properties/nm-vpn-properties.glade:
11015 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11016 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11017 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11018 - Make the VPN properties pages prettier and more HIG
11019 compliant. Gnome Bug #336913.
11021 2006-05-28 Dan Williams <dcbw@redhat.com>
11023 Patch from Christian Persch <chpe@gnome.org>
11024 * gnome/vpn-properties/nm-vpn-properties.c
11025 * gnome/vpn-properties/nm-vpn-properties.glade
11026 - HIG-ification love (Gnome.org #336846)
11028 2006-05-28 Dan Williams <dcbw@redhat.com>
11030 Patch from Christian Persch <chpe@gnome.org>
11032 gnome/vpn-properties/nm-vpn-properties.c
11033 - (main): Fix option parsing. Gnome.org #336847
11035 2006-05-28 Dan Williams <dcbw@redhat.com>
11037 * gnome/vpn-properties/nm-vpn-properties.c
11038 - (find_vpn_ui_by_service_name): protect against NULL service names
11039 - (update_edit_del_sensitivity): protect against NULL service names
11042 2006-05-28 Dan Williams <dcbw@redhat.com>
11044 Patch from Chris Fuller <crf@grandecom.net>:
11045 * src/nm-device-802-11-wireless.c
11046 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11047 don't dispose of wireless-specific stuff unless it is actually
11048 initialized. Gnome.org #341263
11050 2006-05-28 Dan Williams <dcbw@redhat.com>
11052 * src/NetworkManagerPolicy.c
11053 - (nm_policy_device_change_check): don't switch devices if the "best"
11054 AP is essentially the same as the current activation request, but
11055 the current activation request isn't done activating yet. Fixes
11056 multiple requests for keyring password on startup for Gnome applet.
11059 2006-05-26 Nicolas Trangez <eikke@eikke.com>
11061 * src/NetworkManager.c: use GOptions instead of getopt
11062 * configure.in: bump glib required version to >= 2.6 for GOption
11065 2006-05-25 Robert Love <rml@novell.com>
11067 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11068 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
11069 instead of dumping ifdef's throughout the code.
11070 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11071 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11072 use nm_ioctl_info() in lieu.
11074 2006-05-25 Robert Love <rml@novell.com>
11076 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11077 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11078 not using gcrypt. Otherwise, we get a linker error.
11080 2006-05-25 Robert Love <rml@novell.com>
11082 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11083 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11084 configure flag to disable building of the GNOME-based applet.
11086 2006-05-25 Robert Love <rml@novell.com>
11088 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11089 parameter from link, because it shadows a global variable with some
11090 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
11091 should never have exported to the entire system a common four letter
11092 word. But we here at NetworkManager are team players. Fixes
11095 2006-05-25 Arangel Angov <ufo@linux.net.mk>
11097 * configure.in: Added mk.po, Macedonian translation.
11099 2006-05-24 Robert Love <rml@novell.com>
11101 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11102 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11103 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11105 2006-05-24 Robert Love <rml@novell.com>
11107 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11108 libnm-util/Makefile.am, src/Makefile.am,
11109 vpn-daemons/openvpn/auth-dialog/Makefile.am,
11110 vpn-daemons/openvpn/properties/Makefile.am,
11111 vpn-daemons/pptp/auth-dialog/Makefile.am,
11112 vpn-daemons/pptp/properties/Makefile.am,
11113 vpn-daemons/vpnc/auth-dialog/Makefile.am,
11114 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11115 user passed for --datadir, if anything, when setting the GNOME locale
11116 directory. It should be a function of the specified datadir and not
11119 2006-05-24 Robert Love <rml@novell.com>
11121 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11122 src/NetworkManager.c: Take care to call bindtextdomain with the
11123 location of msgid files.
11124 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11127 2006-05-22 Robert Love <rml@novell.com>
11129 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11130 stage4_timeout on failure unless the wireless network is Ad-Hoc.
11131 99% of the time there is a real problem with wireless, and a
11132 seemingly successful connection via Zeroconf just confuses the user.
11133 And that 1% of the time the network is probably Ad-Hoc, anyhow.
11135 2006-05-22 Robert Love <rml@novell.com>
11137 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11138 autofs on interface up if NIS is configured. On interface down, do
11141 2006-05-22 Robert Love <rml@novell.com>
11143 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11144 to avoid calling g_object_unref() on stale pointers on error in
11145 nma_icons_free(). This happens because we short-circuit loaded the
11146 icons on the first failure but then free all icons. Normally we have
11147 no issue because the icons were zero'ed out malloc, but we have stale
11148 pointer data after nma_icon_theme_changed().
11149 * gnome/applet/main.c: Return error code if nma_new() failed.
11151 2060-05-21 Dan Williams <dcbw@redhat.com>
11153 * initscript/NetworkManager.in
11154 - Ensure both dhcdbd and named are started before NM
11156 2006-05-21 Dan Williams <dcbw@redhat.com>
11159 - Bump version to 0.7 to signify we are in 0.7 development
11161 2006-05-21 Dan Williams <dcbw@redhat.com>
11163 Patch from Adam Schreiber <sadam@clemson.edu>
11164 * gnome/vpn-properties/nm-vpn-properties.c
11165 - (main): correct Gnome program name (gnome.org #342498)
11167 2006-05-21 Dan Williams <dcbw@redhat.com>
11169 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11171 * src/NetworkManagerDbus.[ch]
11172 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11173 clarify that function's argument should be an escaped dbus object
11174 path, and look for path segment end before returning a match
11175 * src/nm-dbus-nm.c:
11176 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11178 2006-05-17 Robert Love <rml@novell.com>
11180 Functionality to differentiate Ad-Hoc networks from infrastructure
11181 networks in the applet, by displaying a special icon:
11182 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11183 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11184 * gnome/applet/menu-items.c: Set a special icon in the scan list for
11185 ad-hoc networks. TODO: Add a third icon representing "encrypted and
11186 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
11187 networks, encrypted or not.
11188 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11189 accessor functions to get and set the mode of a given network,
11190 wireless_network_get_mode() and wireless_network_set_mode().
11192 2006-05-17 Robert Love <rml@novell.com>
11194 Functionality to automatically add BSSIDs to the allowed-MAC list as
11195 one roams from access point to access point on a given network:
11196 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11197 helper function to compare two ether_addr structures and return TRUE
11198 if they contain the same MAC address.
11199 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11201 * src/nm-device-802-11-wireless.c: New function to update the BSSID
11202 stored with the current AP. If the BSSID has indeed changed, we
11203 send it out to the applet, allowing the allowed-MAC list to grow
11204 automatically in response to roaming.
11206 2006-05-16 Robert Love <rml@novell.com>
11208 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11209 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11211 2006-05-13 Dan Williams <dcbw@redhat.com>
11213 * src/nm-device-802-3-ethernet.c
11214 - (real_get_generic_capabilities): Don't ignore devices that can't do
11215 carrier detect (Debian bug #366373)
11217 2006-05-11 Dan Williams <dcbw@redhat.com>
11219 Patch from Michael Biebl <biebl@teco.edu>
11220 * src/backends/NetworkManagerDebian.c
11221 - Debian backend fixups
11223 2006-05-10 Robert Love <rml@novell.com>
11225 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11227 2006-05-09 Robert Love <rml@novell.com>
11229 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11230 private certificate passphrase, if any, in the GNOME Keyring.
11231 * libnm-utils/dbus-helpers.c: Update.
11233 2006-05-05 Dan Williams <dcbw@redhat.com>
11235 * src/nm-device-802-11-wireless.c
11236 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11237 nm_device_802_11_wireless_disable_encryption() since that's all
11238 we use it for anymore; we don't ever set WEP keys ourselves.
11239 - (real_deactivate_quickly): reset SSID and encryption keys
11240 - (real_deactivate): move SSID and encryption key reset to
11241 real_deactivate_quickly(), which gets run before us anyway
11243 2006-05-05 Robert Love <rml@novell.com>
11245 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11246 root has a wacky default of its own (or, more common, a user has a
11247 bad umask and uses su/sudo to restart NetworkManager). Anything
11248 other than 0022 does not do what we want with, for example,
11249 resolv.conf. This problem is amplified by our judicious use of
11250 fopen(), which uses mode 0666 -- implying that the only way to get
11251 the permissions we want is with a umask of 0022.
11253 2006-05-05 Dan Williams <dcbw@redhat.com>
11255 * gnome/libnm_glib/libnm_glib.c
11256 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11257 to reconnect; instead wait a bit more with each reconnect attempt
11258 up to a max of one minute.
11260 2006-05-04 Ryan Lortie <desrt@desrt.ca>
11262 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11263 the WirelessNetwork structure using the proper function instead of
11264 just casting it directly to (const char *) (gnome.org #336991)
11266 2006-05-03 Robert Love <rml@novell.com>
11268 * src/backends/NetworkManagerSuSE.c: Respect the variable
11269 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11270 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11271 to dynamically update /etc/resolv.conf.
11273 2006-05-02 Peter Jones <pjones@redhat.com>
11275 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11277 2006-05-02 Robert Love <rml@novell.com>
11279 Patch by Timo Hoenig;
11280 * tests/nm-online.c: Print pretty status indicator as timeout winds
11281 down. Also fix possible race between DBUS startup and failure
11284 2006-05-01 Robert Love <rml@novell.com>
11286 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11289 2006-04-27 Jeremy Katz <katzj@redhat.com>
11291 * src/nm-device.c (discover_device_type): Actually use the hal
11292 device type instead of ioctl poking
11294 2006-04-26 Robert Love <rml@novell.com>
11296 * tests/nm-online.c: New file. Simple utility that returns exit status
11297 noting whether the connection is offline or online. If offline on
11298 start, it waits 30 seconds (or a command-line given value) for an
11299 online signal. If it times out, it again returns offline. This is
11300 useful for scripts that want to wait for network connections.
11302 2006-04-25 Robert Love <rml@novell.com>
11304 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11305 key mode (the authentication algorithm), e.g. open or shared, when we
11306 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
11307 only shared was broken. If the user specified a shared key, set it
11308 explicitly, otherwise let wpa_supplicant go with the default.
11310 2006-04-24 Dan Williams <dcbw@redhat.com>
11312 * src/nm-device-802-11-wireless.c
11313 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11315 2006-04-24 Dan Williams <dcbw@redhat.com>
11317 Commit the async scanning patch
11319 * src/nm-device-802-11-wireless.c
11320 - get rid of scan_mutex
11321 - (wireless_event_helper): act on wireless scan events
11322 - (real_start): schedule a pending scan
11323 - (link_to_specific_ap): fake the link to the AP during a scan
11324 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11325 strength during scans
11326 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11327 nm_device_set_bitrate): unused with new scanning code, disable
11328 - (nm_device_wireless_schedule_scan): removed
11329 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11330 - (request_and_convert_scan_results): new function; retrieve scan
11331 results from the driver and schedule the processing function
11332 - (scan_results_timeout): timeout triggered when card doesn't send
11333 a scan results wireless event during a certain interval
11334 - (schedule_scan_results_timeout): new function; schedule the scan
11336 - (cancel_scan_results_timeout): new function; cancel the scan
11338 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11339 to do the scanning. Otherwise, just request a scan but don't
11340 grab results here; instead schedule a timeout for scan results and
11341 let netlink notify us of scan completion events
11342 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11343 - (cancel_pending_scan): new function; cancel a pending wireless scan
11344 - (supplicant_status_cb): ignore disconnect events while scanning
11345 - (supplicant_exec): wait a bit longer for the supplicant to start up
11346 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11348 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11350 2006-04-24 Dan Williams <dcbw@redhat.com>
11352 * gnome/applet/applet-dbus.c
11353 - Disable the pending call debug stuff, seems under control now
11355 2006-04-20 Robert Love <rml@novell.com>
11357 Fix bug where hidden ESSID's would not show up in the applet, even
11358 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
11359 because nm_policy_device_list_update_from_allowed_list() would merge
11360 the data, putting a name to the hidden networks, but never notify NMI
11361 of the changes. Simple fix is to invoke the function
11362 nm_dbus_signal_wireless_network_change() if we make a mapping.
11363 * src/NetworkManagerAPList.c: Call the function
11364 nm_dbus_signal_wireless_network_change() if we made a successful
11365 BSSID to ESSID mapping, notifying the applet of the "new" network.
11366 * src/NetworkManagerAPList.h: Update the prototypes for both
11367 nm_ap_list_copy_essids_by_address() and
11368 nm_ap_list_copy_one_essid_by_address().
11370 2006-04-20 Robert Love <rml@novell.com>
11372 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11373 not set. Just return zero.
11375 2006-04-20 Robert Love <rml@novell.com>
11377 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11378 only one copy of nm-vpn-properties is running at a time via the 'ol
11379 X selection trick. This prevents the user from opening two "VPN
11380 Connections" windows from within the applet, which leads to mass
11382 * clipboard.c: New file, implementing simple X selection logic.
11383 * clipboard.h: New file.
11384 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11386 2006-04-18 Nicolas Trangez <eikke@eikke.com>
11388 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11390 initscript/Gentoo/Makefile.am
11391 initscript/Gentoo/NetworkManagerDispatcher.in
11393 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11396 2006-04-16 Dan Williams <dcbw@redhat.com>
11398 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11400 initscript/Slackware/Makefile.am
11401 initscript/Slackware/rc.networkmanager-dispatcher.in
11402 initscript/Slackware/rc.networkmanager.in
11403 - Update slackware initscripts
11405 2006-04-10 Robert Love <rml@novell.com>
11407 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11408 the "delete_event" signal on the druid's parent window and handle it
11409 our way, lest using the WM to close the druid results in a series of
11410 bloody and ultimately lethal errors.
11412 2006-04-10 Robert Love <rml@novell.com>
11414 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11415 'Back' too or else the 'Forward' option is initially disabled despite
11418 2006-04-06 Robert Love <rml@novell.com>
11420 Fix bad but simple bug where an active modem connection did not update
11421 NM's connection state, breaking any app that did online/offline:
11422 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
11423 represented whether a dial up connection is active, or not.
11424 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
11425 to modem activation and deactivation.
11426 * src/NetworkManagerDbus.c: When asked our state, do not return
11427 disconnected if the modem is active.
11429 2006-04-04 Robert Love <rml@novell.com>
11431 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
11432 applet. It just confuses the crap out of people and does not make a
11433 lot of sense, as the daemon still runs.
11435 2006-04-02 Tor Krill <tor@krill.nu>
11437 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
11438 in start of service.
11439 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
11440 get Archlinux backend up to date.
11442 2006-03-29 Robert Love <rml@novell.com>
11444 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
11445 to add support for per-route MSS and improve support for per-interface
11447 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
11448 optionally take an MSS parameter and set it for the given route.
11449 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
11450 NMIP4Config's stored MSS, if any.
11451 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
11452 the interface's MTU and the route's MSS, respectively. Add functions
11453 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
11454 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
11456 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
11457 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
11458 nm_ip4_config_set_mss.
11459 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
11461 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
11462 Change the retval of nm_system_get_mtu to guint32.
11463 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
11464 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
11465 servers can specify MTU's, we should set it here if the MTU was not
11468 2006-03-27 Jürg Billeter <j@bitron.ch>
11471 * initscript/Makefile.am:
11472 * initscript/paldo/Makefile.am:
11473 * initscript/paldo/NetworkManager.in:
11474 * initscript/paldo/NetworkManagerDispatcher.in:
11475 * src/backends/Makefile.am:
11476 * src/backends/NetworkManagerPaldo.c:
11477 - Add paldo support
11479 2006-03-27 Dan Williams <dcbw@redhat.com>
11481 Patch from Christian Persch <chpe@gnome.org>
11482 * gnome/applet/applet.glade
11483 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
11485 2006-03-27 Dan Williams <dcbw@redhat.com>
11487 Patch from Diffe <diffie@blazebox.homeip.net>
11488 * src/backends/NetworkManagerSlackware.c
11489 - Don't restart howl, since it's been replaced by Avahi
11490 in most distributions
11492 2006-03-27 Dan Williams <dcbw@redhat.com>
11494 Patch from Tor Krill <bugzilla@krill.nu>
11496 initscript/Makefile.am
11497 src/backends/Makefile.am
11498 src/backends/NetworkManagerArch.c
11499 initscript/Arch/Makefile.am
11500 initscript/Arch/networkmanager-dispatcher.in
11501 initscript/Arch/networkmanager.in
11502 - Add Arch Linux support, fixes gnome.org #335147
11504 2006-03-27 Dan Williams <dcbw@redhat.com>
11506 Patch from Diffe <diffie@blazebox.homeip.net>
11507 * initscript/Slackware/rc.networkmanager
11508 - update, fixed gnome.org #333368
11510 2006-03-27 Robert Love <rml@novell.com>
11512 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
11513 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
11515 2006-03-27 Robert Love <rml@novell.com>
11517 Patch by Jürg Billeter <j@bitron.ch>:
11518 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
11520 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
11521 as we prefer glibc over kernel headers, if possible.
11523 2006-03-27 Robert Love <rml@novell.com>
11525 Patch by Jon Escombe <list@dresco.co.uk>:
11526 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
11527 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
11528 fail, don't bail out. We don't expect all of the various WPA-EAP
11529 values to be present.
11530 * src/nm-ap-security.c: We need to match all capabilities for each
11531 encryption type, not any one of them.
11533 2006-03-27 Robert Love <rml@novell.com>
11535 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
11536 restart, not reload, ypbind. Unfortunately there is no superior
11539 2006-03-24 Christopher Aillon <caillon@redhat.com>
11541 * gnome/applet/applet-notifications.c:
11542 When displaying a notification, make sure to get rid of the
11543 previous notification so as to not have competing bubbles,
11544 and stop leaking the old one.
11546 * gnome/applet/applet.c:
11547 * gnome/applet/applet.h:
11548 Add a new 'notification' member to the applet, and zero it out
11549 and free it appropriately.
11551 2006-03-23 Robert Love <rml@novell.com>
11553 Patch by j <j@bootlab.org>:
11554 * gnome/applet/applet.glade: Don't set the invisible_char property,
11555 which simply overrides the GTK default. By and by, this behavior
11556 ought to be fixed in Glade.
11558 2006-03-22 Robert Love <rml@novell.com>
11560 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
11562 2006-03-22 Robert Love <rml@novell.com>
11564 Bug fix by Timo Hoenig <thoenig@suse.de>:
11565 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
11566 disconnect. Otherwise, we have the daemon surviving DBUS restarts
11567 and the applet going AWOL.
11569 2006-03-22 Robert Love <rml@novell.com>
11571 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
11572 preprocessor define and use it instead of open-coded the DHCP
11573 timeout, which is currently 25 seconds, everywhere.
11575 2006-03-22 Robert Love <rml@novell.com>
11577 Implement "Dynamic WEP", which is basically WPA authentication and WEP
11578 key exchange via WPA, ostensibly providing good security without
11579 requiring hardware that supports full WPA. Also, add UI elements to
11580 allow the user to select the pairwise & group cipher for WPA Enterprise
11582 * gnome/applet/applet.glade: Update glade file.
11583 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
11584 key type, too, to and from gconf.
11585 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
11586 wso_wpa_create_key_type_model(), noting whether we are handling PSK
11587 or EAP configuration, and in the latter case add in "Dynamic WEP" if
11588 the capabilities match.
11589 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
11591 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
11592 serialize from UI to DBUS.
11593 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
11595 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
11596 nmu_security_serialize_wpa_eap_with_cipher(), and
11597 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
11598 serialize/deserialize the key type via DBUS as the new third DBUS
11600 * libnm-util/dbus-helpers.h: Update prototypes.
11601 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
11602 too. If the key type is WEP104, do Dynamic WEP, which means
11603 "IEEE8021X" for "key_mgmt". Also add support for user-specified
11604 pairwise and group ciphers (fixes a FIXME).
11606 2006-03-21 Robert Love <rml@novell.com>
11608 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
11609 nm_system_get_mtu(), which returns a user-provided or system-mandated
11610 MTU value for a given device, if any, or zero if no such value
11611 exists. Add nm_system_set_mtu() to set the MTU for a given device
11612 if we have a provided value.
11613 * src/nm-device.c: Set the MTU of devices.
11614 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
11615 * src/backends/NetworkManagerDebian.c,
11616 src/backends/NetworkManagerGentoo.c,
11617 src/backends/NetworkManagerRedHat.c,
11618 src/backends/NetworkManagerSlackware.c: Implement stub functions.
11620 2006-03-21 Robert Love <rml@novell.com>
11622 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
11623 configuration file.
11625 2006-03-17 Robert Love <rml@novell.com>
11627 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
11628 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
11629 it, in case it is not running in the first place. We just want its
11630 configuration reloaded. Also, do not "rcypbind stop" on device down.
11632 2006-03-15 Robert Love <rml@novell.com>
11634 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
11635 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
11636 label "WEP 40/128-bit" is inconsistent because the physical key size
11637 is 40 or 104-bits, to which a 24-bit initialisation vector is
11638 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
11639 to read "40/104" or "64/128". I do not care much which, but most
11640 users think of "silver" and "gold" encryption as 64 and 128-bits, so
11641 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
11642 WEP passphrase support only handles 128-bit keys, and any future
11643 64-bit passphrase support will require a new option (no way to auto-
11644 detect the target key size), explicitly label our passphrase support
11645 "WEP 128-bit Passphrase".
11647 2006-03-15 Robert Love <rml@novell.com>
11649 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
11650 the system init scripts (or some other mechanism) starting it (or a
11651 compatible DBUS service) before NetworkManager runs. This means that
11652 distributions might need to update their init scripts. This fixes
11653 possible races and is quite a bit cleaner.
11654 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
11655 starting the NetworkManager daemon.
11658 2006-03-14 Robert Love <rml@novell.com>
11660 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
11661 before adding anything.
11663 2006-03-13 Robert Love <rml@novell.com>
11665 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
11666 widgets, too, if they exist, in case the user hit the back button.
11667 Fixes a bug where the details page contains the widgets of multiple
11668 VPN modules (Novell bug #157048).
11670 2006-03-13 Robert Love <rml@novell.com>
11672 Patch by Timo Hoenig <thoenig@suse.de>:
11673 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
11674 daemon survive DBUS restarts, too.
11676 2006-03-10 Robert Love <rml@novell.com>
11678 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
11680 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
11681 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
11682 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
11683 in response to "toggled" signal on new toggle.
11685 2006-03-10 Robert Love <rml@novell.com>
11687 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
11688 serialization if strings are NULL, lest DBUS get angry.
11690 2006-03-10 Robert Love <rml@novell.com>
11692 * src/nm-ap-security-wpa-eap.c: Don't log the password.
11694 2006-03-09 Robert Love <rml@novell.com>
11696 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
11699 2006-03-09 Dan Williams <dcbw@redhat.com>
11701 Track pending call requests in the applet, and report how many are
11702 outstanding, and how long each completed one takes.
11704 * gnome/applet/applet-dbus-devices.c
11705 gnome/applet/applet-dbus-vpn.c
11706 - Track pending calls
11708 * gnome/applet/applet-dbus.[ch]
11709 - Remove some unused enums
11710 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
11711 new functions to track dbus pending calls and spit out some
11712 statistics about them
11714 2006-03-09 Robert Love <rml@novell.com>
11716 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
11717 nm_ap_set_timestamp() take the second and micro-second parameters as
11718 direct arguments, which avoids both a dynamic memory allocation and a
11719 structure-to-structure copy! Add a new interface, the aptly named
11720 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
11721 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
11722 the return from nm_ap_get_timestamp(). New users should use the new
11723 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
11724 the extreme benefit to performance.
11725 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
11726 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
11728 2006-03-08 Robert Love <rml@novell.com>
11730 * gnome/applet/applet.glade: Hide the password entry text with
11733 2006-03-08 Robert Love <rml@novell.com>
11735 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
11736 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
11737 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
11738 a second argument, NMData.
11739 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
11740 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
11741 config files as trusted.
11743 2006-03-06 Robert Love <rml@novell.com>
11745 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
11746 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
11747 to exit the applet. As a sweet side-effect, idea courtesy of Chris
11748 Rivera, detect if the applet was auto-started. If so, ask the user
11749 if he or she would like to stop automatically running the applet on
11750 login. If so, disable autostart.
11752 2006-03-06 Robert Love <rml@novell.com>
11754 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
11755 directory in CFLAGS so developers can actually use NetworkManager.h.
11757 2006-03-06 Robert Love <rml@novell.com>
11759 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
11760 open-coded integer constants. Add state_to_string() to map a given
11761 state to a textual description, and provide that when notifying of
11763 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
11764 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
11765 this header directly, but it is currently not installed on most
11768 2006-03-05 Dan Williams <dcbw@redhat.com>
11770 Process netlink messages in device subclasses rather than in
11771 NetworkManager.c. Also add support for recognizing Wireless Events.
11774 - Find GLIB_GENMARSHAL
11777 - Since we're marshalling custom types for wireless event signals,
11778 we get to create our own marshallers using GLIB_GENMARSHAL
11780 * src/NetworkManager.c
11781 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
11782 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
11783 cut down somewhat. We no longer process signals here.
11784 - (nm_data_new): create the netlink monitor here, and remove a
11785 useless call to nm_policy_schedule_device_change_check()
11786 - (nm_data_free): get rid of the netlink monitor here
11787 - (nm_device_link_activated, nm_device_link_deactivated): removed
11788 - (main): don't create the netlink monitor here, let nm_data_new
11789 do that. Call nm_policy_schedule_device_change_check() right
11790 before we jump to the mainloop to figure out which device
11793 * src/NetworkManagerSystem.[ch]
11794 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
11795 convert back and forth from interface names to interface
11798 * src/nm-device-802-11-wireless.c
11799 - (real_init): connect to wireless-event signals from the netlink
11801 - (nm_device_802_11_wireless_event): new function, schedule handler
11802 for wireless event signals from the netlink monitor object. We
11803 want the handler to run in the device's context
11804 - (wireless_event_helper): handle wireless-event signals from netlink
11805 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
11808 * src/nm-device-802-11-wireless.h
11809 - remove unused prototype for nm_device_802_11_wireless_new
11811 * src/nm-device-802-3-ethernet.c
11812 - (real_init): new function; set up signal handlers for link events
11813 - (nm_device_802_3_ethernet_link_activated): new function, schedule
11814 handler for netlink link activated events on device's main loop
11815 - (link_activated_helper): when we get a link activated event, set
11816 the device's link to be active
11817 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
11818 handler for netlink link deactivated events on device's main loop
11819 - (link_deactivated_helper): when we get a link deactivated event, set
11820 the device's link to be inactive
11821 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
11824 * src/nm-device-802-3-ethernet.h
11825 - remove unused prototype for nm_device_802_3_ethernet_new
11827 * src/nm-device.[ch]
11828 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
11829 but locks the device list
11830 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
11832 * src/nm-netlink-monitor.[ch]
11833 - (nm_netlink_monitor_class_install_signals): New signal
11835 - (nm_netlink_monitor_new): keep reference to NMData so we can get
11837 - (nm_netlink_monitor_event_handler): expand for wireless events too
11839 * src/nm-marshal-main.c
11840 - Include generated nm-marshal.c and nm-marshal.h
11842 * src/nm-marshal.list
11843 - List of custom marshal functions
11845 2006-03-05 Dan Williams <dcbw@redhat.com>
11847 * gnome/applet/applet-notifications.h
11848 - Protect prototype of nma_send_event_notification() because it
11849 includes libnotify-specific types
11850 - Include libnotify/libnotify.h too, since we technically need it
11852 * gnome/applet/applet.c
11853 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
11854 - (nma_show_vpn_login_banner_dialog): add some error checking
11856 2006-03-04 Dan Williams <dcbw@redhat.com>
11858 Clean up activation cancellation. Should be a lot faster now. Observed
11859 an issue with wireless devices between stage 2 and 3 of activation, where
11860 activation would be cancelled, but the device thread wouldn't notice until
11861 the supplicant association timed out. Reorganize activation such that
11862 a cancellation handler gets immediately scheduled in the device's thread,
11863 and devices have a chance to perform any custom cleanup too.
11865 * src/nm-device.[ch]
11866 - (activation_cancel_handler): new device-type-specific function
11867 for cleaning up device-type-specific stuff on cancellation
11868 - (cancel_activation): removed
11869 - (nm_device_activation_cancel): subsume functionality of
11870 real_cancel_activation, but instead of doing anything, punt
11871 operation to a handler that's run in device-thread context
11872 - (nm_device_schedule_activation_handle_cancel): fix spelling of
11874 - (activation_handle_cancel_helper): cancellation handler run in
11875 device-thread context, calls device-type-specific cancelation,
11876 then tears down the activation request
11877 - (real_activation_cancel_handler): generic cancellation handler,
11878 deals with cancelling any in-process DHCP request
11879 - (nm_device_activate_stage1_device_prepare,
11880 nm_device_activate_stage2_device_config,
11881 nm_device_activate_stage3_ip_config_start,
11882 nm_device_activate_stage4_ip_config_get,
11883 nm_device_activate_stage4_ip_config_timeout,
11884 nm_device_activate_stage5_ip_commit): don't call
11885 nm_device_schedule_activation_handle_cancel() any more, since
11886 cancellation will have been already scheduled for us by
11887 nm_device_activation_cancel(). Just exit the function and
11888 assume that the cancel handler will be called next.
11890 * src/nm-device-802-3-ethernet.c
11891 - (real_act_stage2_config): remove; didn't do anything anyway
11893 * src/nm-device-802-11-wireless.c
11894 - (supplicant_status_cb): ensure we don't do anything if the activation
11896 - (real_activation_cancel_handler): implement; cancel user key request
11897 on activation cancellation
11899 2006-03-04 Dan Williams <dcbw@redhat.com>
11901 * src/nm-device-802-11-wireless.c
11902 - (supplicant_send_network_config): assume that drivers that don't
11903 support WPA pretty much suck, and can't handle NM scanning
11904 along with wpa_supplicant.
11906 2006-03-03 Robert Love <rml@novell.com>
11908 * configure.in: Bump version to 0.6.0.
11911 2006-03-03 Robert Love <rml@novell.com>
11913 * configure.in: Require DBUS 0.60 or later.
11915 2006-03-03 Dan Williams <dcbw@redhat.com>
11917 Fix a crash if an "Other wireless network" was chosen, failed, then
11918 chosen again from the applet's menu. If the other network wasn't
11919 noticed in a scan, it wouldn't have any capabilities, but would still
11920 be listed because the user forced the network. To fix this, we set
11921 sensible capabilities on the forced network, which will get overwritten
11922 with the correct ones if the network shows up later in a scan.
11924 * src/nm-ap-security.h
11925 - Add a new "get_default_capabilities_func" member to the
11928 * src/nm-ap-security.c
11929 - (nm_ap_security_get_default_capabilities): new function
11931 * src/nm-ap-security.c
11932 src/nm-ap-security-wep.c
11933 src/nm-ap-security-wpa-psk.c
11934 src/nm-ap-security-wpa-eap.c
11935 - Implement get_default_capabilities_func() for all, which
11936 uses the information contained in a specific NMAPSecurity
11937 object to determine default AP capabilites necessary
11938 to support that object
11940 As a secondary measure, we now prune artificial access points that fail
11941 to be activated right away. The thing failed, and we have no scan data for
11942 it, so it's pretty much useless since security information is only saved
11943 in the applets when a connection is successful.
11945 * src/NetworkManagerAPList.c
11946 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
11947 not artificial. If we see it, it's no longer a figment of the
11948 user's imagination :)
11950 * src/NetworkManagerPolicy.c
11951 - (nm_policy_activation_failed): send along the failed AP if we
11954 * src/nm-device-802-11-wireless.c
11955 - (real_activation_failure_handler): remove artificial APs from
11956 the device list, because activation failed
11958 2006-03-02 Robert Love <rml@novell.com>
11960 Add support for retrieving both the per-device speed and the
11961 per-network maximum supported rate. Then change the getProperties
11962 DBUS API for both networks and devices to report this informaiton.
11963 Finally, display the information via both nm-applet and nm-tool:
11964 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
11966 * gnome/applet/applet.c: Display the device's speed in the 'Connection
11967 Information' dialog.
11968 * gnome/applet/applet.glade: Update the UI to show per-device speed.
11969 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
11970 network_device_get_speed() and network_device_set_speed() for
11971 retrieving and setting, respectively, a network device's current
11973 * src/nm-dbus-device.c: Send the device's speed on getProperties.
11974 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
11975 in the function nm_device_802_11_wireless_get_bitrate() -- it does
11976 not matter (yet) what the units are, because we only feed it its own
11977 output. Implement SIOCGIRATE and set the per-network maximum
11978 supported rate during scanning.
11979 * src/nm-device-802-11-wireless.h: Export the function
11980 nm_device_802_11_wireless_get_bitrate().
11981 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
11982 function nm_device_802_3_ethernet_get_speed() for returning an
11983 802.3's current speed, in Mb/s.
11984 * test/nm-tool.c: Display the per-device current speed, if available,
11985 and the per-network maximum rate.
11987 2006-03-02 Dan Williams <dcbw@redhat.com>
11989 * src/nm-device-802-11-wireless.c
11990 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
11991 card when it gets initialized. Since devices don't get added to
11992 the scan list until they are initialized, this function wasn't
11993 setting the intitial scan interval correctly, and was leaving
11994 it at 0. This caused cards to get many scan requests in a short
11995 amount of time when they were initialized
11997 2006-03-02 Robert Love <rml@novell.com>
11999 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12000 active device. But do not do what we used to do and override the
12001 state, which caused the dreaded icon race of '05.
12003 2006-03-02 Robert Love <rml@novell.com>
12005 Commit Dan's update of my previous commit:
12006 * src/nm-device-802-11-wireless.c: Always set the mode, because the
12007 set_mode() function itself does the check. But do only set the
12008 frequency if in Ad-Hoc mode.
12010 2006-03-02 Robert Love <rml@novell.com>
12012 Patch by Brian Magnuson <magnuson@rcn.com>:
12013 * src/nm-device-802-11-wireless.c: During scanning, only set the
12014 wireless mode to infrastructure if it is not currently in
12015 infrastructure mode. For some driver, setting the mode is a costly
12016 operation, apparently.
12018 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
12020 * Makefile.am: use the correct dir for autostart mechanism.
12022 2006-02-28 Dan Williams <dcbw@redhat.com>
12024 Patch from Brian Magnuson <magnuson@rcn.com>
12025 * gnome/applet/applet.c
12026 - (nma_show_vpn_failure_dialog): fix errors left over from
12027 libnotify support changes
12029 2006-02-28 Dan Williams <dcbw@redhat.com>
12031 * src/vpn-manager/nm-vpn-act-request.[ch]
12032 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12034 - (nm_vpn_act_request_is_failed): new function; return whether or
12035 not the vpn activation request has failed
12037 * src/vpn-manager/nm-vpn-manager.c
12038 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12039 daemon to kill the connection when the activation request fails.
12040 Fixes issue where NM would get confused if the VPN activation
12041 request timed out, and would not allow further VPN connections
12044 2006-02-28 Dan Williams <dcbw@redhat.com>
12046 * gnome/applet/applet.c
12047 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12048 overlapping connection requests, disable all VPN menu items
12049 but the active VPN connection
12051 2006-02-28 Dan Williams <dcbw@redhat.com>
12053 * src/vpn-manager/nm-vpn-connection.c
12054 - (nm_vpn_connection_set_parent_device): fix C&P error which
12055 called g_object_unref() on the connection's parent device
12056 when it should have been ref-ed instead. Fixes crash with
12057 repeated vpn connect requests
12059 2006-02-28 Christopher Aillon <caillon@redhat.com>
12061 * gnome/applet/applet.glade:
12062 Mark a few strings non-translatable, since they shouldn't be.
12064 2006-02-28 Dan Williams <dcbw@redhat.com>
12066 * src/vpn-manager/nm-vpn-service.c
12067 - (nm_vpn_service_start_connection): if the vpn service daemon is
12068 already running, don't blindly ask it to connect, but wait until
12069 it's in the STOPPED state first. Fixes an assertion when user
12070 starts a second vpn connection without stopping the first.
12071 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12072 dbus service exists before continuing with the connection
12073 process, and reduce latency while waiting for it to become
12075 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12076 waiting for the vpn service daemon to become available
12077 - General log message cleanups; show progress via "Stage x of 4"
12078 rather than not telling anyone how many stages there are
12080 2006-02-28 Robert Love <rml@novell.com>
12082 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12083 * src/backends/NetworkManagerSuSE.c: Implement the interface
12084 nm_system_should_modify_resolv_conf() for SUSE.
12085 * src/backends/NetworkManagerDebian.c,
12086 src/backends/NetworkManagerGentoo.c,
12087 src/backends/NetworkManagerRedHat.c,
12088 src/backends/NetworkManagerSlackware.c: Add stub.
12089 * src/named-manager/Makefile.am: Grab includes from src.
12090 * src/named-manager/nm-named-manager.c: Allow backends to disable the
12091 automatic updating of resolv.conf. This is useful for testing,
12092 broken static configurations, and administrator lock-down.
12094 2006-02-28 Dan Williams <dcbw@redhat.com>
12096 * src/nm-device-802-11-wireless.c
12097 - Move all the wpa_supplicant-related management stuff into its
12098 own struct, just for oranization's sake
12099 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12100 to a GIOChannel/GSource
12101 - (supplicant_log_stdout): new function; grab output from the
12102 wpa_supplicant stdout pipe and write it to our logs.
12104 2006-02-27 Christopher Aillon <caillon@redhat.com>
12106 * src/nm-device-802-11-wireless.c:
12107 Err, fix thinko in my previous commit.
12109 2006-02-28 Robert Love <rml@novell.com>
12111 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12113 2006-02-28 Robert Love <rml@novell.com>
12115 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12116 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12117 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12118 deserializers are responsible for freeing the returned DBUS strings.
12120 2006-02-27 Christopher Aillon <caillon@redhat.com>
12122 * src/nm-device-802-11-wireless.c:
12123 The scan list is being pruned prematurely. We should prune after
12124 the device has gone MIA for three scans, not one. Split out the
12125 interval to realtime seconds function to better serve this.
12127 2006-02-27 Robert Love <rml@novell.com>
12129 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12130 Open the pid file O_TRUNC, so if it already exists we truncate it to
12131 zero length. Also, be more verbose about warnings generated during
12132 writing out the pid file. Finally, always write out the pid file if
12133 in daemon mode. Use "--pid-file" to override the default.
12135 2006-02-27 Robert Love <rml@novell.com>
12137 Patch by R. Vinay <rvinay@novell.com>:
12138 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12139 'last_attempt_success' when removing a VPN connection, too. (Fixes
12140 Novell bug #153628).
12142 2006-02-27 Robert Love <rml@novell.com>
12144 * gnome/applet/applet.glade: Set "activates_default" on passphrase
12145 entry so user can hit <ENTER> after entering passphrase (Novell bug
12148 2006-02-27 Dan Williams <dcbw@redhat.com>
12151 - Mass search/replace of:
12153 NMWirelessApplet -> NMApplet
12154 NM_*_WIRELESS_APPLET -> NM_*_APPLET
12155 (it ain't just for wireless anymore, ma!)
12156 - Fix duplicate function name printing when using nm_warning
12157 - wireless-applet.glade -> applet.glade
12159 2006-02-27 Dan Williams <dcbw@redhat.com>
12161 * dispatcher-daemon/NetworkManagerDispatcher.c
12162 - Accept --pid-file with a path to a pidfile, write it out on
12163 startup, and delete it on shutdown
12165 * src/NetworkManager.c
12166 - Accept --pid-file with a path to a pidfile, write it out on
12167 startup, and delete it on shutdown
12168 - Move nm_print_usage() lower
12170 * initscripts/RedHat/NetworkManager.in
12171 - Use new --pid-file option
12172 - Fix service stopping to wait a bit for NM to quit
12174 * initscripts/RedHat/NetworkManagerDispatcher.in
12175 - Use new --pid-file option
12177 2006-02-26 Dan Williams <dcbw@redhat.com>
12180 - make and install nm-crash-logger
12182 * src/nm-logging.[ch]
12183 - New files; consolidate logging and crash handling
12185 * src/nm-crash-logger.c
12187 - Standalong crashlogger for NM, grab a backtrace
12190 * src/NetworkManager.[ch]
12191 - Remove signal handling and put it into nm-logging.c
12193 2006-02-26 Dan Williams <dcbw@redhat.com>
12196 gnome/applet/Makefile.am
12197 - Conditionalize all the notify stuff
12199 Merge most of Chris Aillon's notification patch:
12201 * gnome/applet/applet-notifications.[ch]
12202 - New files; show a notification
12204 * gnome/applet/applet-dbus-devices.[ch]
12205 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12206 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12207 new functions, do the right thing when a device change occurs
12209 * gnome/applet/applet-dbus.c
12210 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12211 signals, so we can handle them specially
12213 * gnome/applet/applet.[ch]
12214 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12215 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12216 - (nmwa_notify_state): remove
12217 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12218 notification work is now done when the appropriate dbus signals
12220 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12221 defer execution of the notification/dialog stuff. That was an
12222 artifact of the previous multi-threaded nature of the applet
12223 and is now pointless.
12224 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12225 no longer needed. Function folded into applet-notifications.c
12227 * src/NetworkManagerPolicy.c
12228 - (nm_policy_activation_finish): send the AP along with the device
12229 status change signal, if the connection is wireless. Should
12230 fix the race where applet would show a connection to "unknown"
12232 2006-02-25 Robert Love <rml@novell.com>
12234 Add WPA Enterprise support:
12235 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12236 nm-gconf-wso-wpa-eap.h.
12237 * gnome/applet/nm-gconf-wso-wpa-eap.c,
12238 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
12239 serialization and deserialization.
12240 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12241 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12242 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12243 * gnome/applet/wireless-applet.glade: Add UI for configurating security
12244 settings related to WPA Enterprise.
12245 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12246 instantiate WPA Enterprise wireless-security-option.
12247 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12248 Implement WPA Enterprise wireless-security-option object.
12249 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12251 * libnm-util/cipher-wpa-psk-hex.c,
12252 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12253 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12254 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12255 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12256 including the cipher to DBUS method, and
12257 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12259 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12260 nm-ap-security-wpa-eap.h
12261 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12262 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12263 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12264 files. Implement NMAPSecurityWPA_EAP object.
12265 * src/nm-ap-security-wpa-psk.c: Cleanup.
12266 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12267 an NMAPSecurityWPA_EAP object via the method
12268 nm_ap_security_wpa_eap_new_deserialize().
12269 * src/nm-dbus-nm.c: Cleanup.
12270 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12271 WPA Enterprise support.
12273 2006-02-24 Robert Love <rml@novell.com>
12275 Patch from Timo Hoenig <thoenig@suse.de>:
12276 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12278 2006-02-24 Robert Love <rml@novell.com>
12280 Patch from Dan Winship <danw@novell.com>:
12281 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
12282 area to transparent.
12284 2006-02-21 Dan Williams <dcbw@redhat.com>
12286 * gnome/applet/applet.[ch]
12287 gnome/applet/applet-dbus.c
12288 - Implement notification support for VPN messages too
12290 2006-02-21 Dan Williams <dcbw@redhat.com>
12292 * gnome/applet/applet-dbus-info.c
12293 - Clean up warning messages to not double-print the function
12295 2006-02-21 Dan Williams <dcbw@redhat.com>
12297 * gnome/applet/applet-compat.c
12298 - (convert_one_entry): accept entries without a key_type and
12299 convert them to unencrypted networks
12301 2006-02-21 Dan Williams <dcbw@redhat.com>
12303 * gnome/libnm_glib/libnm_glib.c
12304 - Use __func__ everywhere we can
12306 - Use dbus pending calls rather than blocking
12307 - Reduce busywaits for our thread to start and stop
12308 (gnome.org #330562)
12309 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12310 stomp on others using the default shared dbus connection.
12311 Fixes #rh177546# and gnome.org #326572
12313 2006-02-21 Dan Williams <dcbw@redhat.com>
12315 Patch from Rodney Dawes <dobey@novell.com>
12317 gnome/applet/Makefile.am
12318 gnome/applet/applet.c
12319 - Add libnotify support if '--enable-notify=yes' is passed
12322 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
12324 * configure.in (ALL_LINGUAS): ko added. (Korean)
12326 2006-02-15 Robert Love <rml@novell.com>
12328 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12329 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12330 and WPA_SUPPLICANT_CONTROL_SOCKET.
12332 2006-02-15 Robert Love <rml@novell.com>
12334 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12335 information about what connection stage we are at, provide the total
12336 number of stages, e.g. "Stage 2 of 5", so users know how far along
12337 they are if they experience problems.
12339 2006-02-15 Robert Love <rml@novell.com>
12341 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12342 define to $sysconfdir.
12343 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12344 editing dialog, vpn_edit_widget, which fixes a bug where editing one
12345 type of VPN and then editing another results in a mangled dialog
12346 box containing the widgets from both VPNs (fixes Novell #150854).
12347 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12349 2006-02-14 Robert Love <rml@novell.com>
12351 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12352 syslog's file descriptor.
12354 2006-02-14 Robert Love <rml@novell.com>
12356 Fix bug around since the change to "deal with APs changing settings on
12357 us," checked in on the fifth of February in the year of the dog,
12358 wherein connecting to non-broadcast encrypted networks always fails
12359 because nm_ap_get_encrypted() always returns FALSE, even when the user
12360 provided a key, because the newly-created fake AP does not have any
12361 capabilities set, which is a sypmtom of security settings not matching
12362 capabilities (Novell bug #150784):
12363 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12364 nm_ap_add_capabilities_from_security(), which sets the given AP's
12365 capabilities off the given security settings. Also improve our
12366 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12367 NM_AUTH_CIPHER_AUTO.
12368 * src/nm-device-802-11-wireless.c: Call the function
12369 nm_ap_add_capabilities_from_security() to ensure that capabilities
12370 match newly updated security settings.
12372 2006-02-14 Robert Love <rml@novell.com>
12374 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12375 error as a string, not an integer, if possible; do not print the
12376 function name twice; always give the interface, if possible; misc.
12379 2006-02-12 Dan Williams <dcbw@redhat.com>
12381 Patch from Tom Parker <palfrey@tevp.net>
12382 * src/NetworkManagerSystem.h
12383 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12386 * src/backends/NetworkManagerDebian.c
12387 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12390 2006-02-12 Dan Williams <dcbw@redhat.com>
12392 * vpn-daemons/openvpn/intltool-extract.in
12393 vpn-daemons/openvpn/intltool-merge.in
12394 vpn-daemons/openvpn/intltool-update.in
12395 vpn-daemons/pptp/intltool-extract.in
12396 vpn-daemons/pptp/intltool-merge.in
12397 vpn-daemons/pptp/intltool-update.in
12398 - Remove from CVS, they should get created by intltoolize,
12401 2006-02-12 Dan Williams <dcbw@redhat.com>
12403 * vpn-daemons/pptp/src/pppd/patchlevel.h
12404 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12405 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12406 Makefile-defined VERSION
12408 2006-02-09 Dan Williams <dcbw@redhat.com>
12410 Patch from: Vinay A R <rvinay@novell.com>
12411 * src/vpn-manager/nm-vpn-act-request.[ch]
12412 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12413 IPSec VPNs require them for std gateway.
12414 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12415 and 'user_routes_count'
12416 - (nm_vpn_act_request_get_user_routes): new function; gets user
12417 defined routes from NMVPNActRequest object, returns the string
12420 * src/vpn-manager/nm-vpn-manager.[ch]
12421 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
12422 for 'user_routes' and 'user_routes_count'
12424 * src/vpn-manager/nm-dbus-vpn.c
12425 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
12426 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
12428 * src/vpn-manager/nm-vpn-service.c
12429 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
12432 Modifications by Dan:
12433 * src/vpn-manager/nm-vpn-service.c
12434 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
12437 * vpn-daemons/vpnc/src/nm-vpnc-service.c
12438 * vpn-daemons/pptp/src/nm-pptp-service.c
12439 * vpn-daemons/openvpn/src/nm-openvpn-service.c
12440 - Grab user routes from dbus message
12441 - Free all string arrays we got from dbus
12443 2006-02-07 Robert Love <rml@novell.com>
12445 Patch by Stefan Seyfried <seife@suse.de>:
12446 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
12448 2006-02-06 Robert Love <rml@novell.com>
12450 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
12452 2006-02-06 Robert Love <rml@novell.com>
12454 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
12455 test ">=" is never false. If no newline is found, we loop forever.
12456 We can just check for ">" because the following if() will see the
12457 zero-th argument if the while() gets that far.
12459 2006-02-05 Dan Williams <dcbw@redhat.com>
12461 Refine handling of non-broadcast networks.
12463 * src/NetworkManagerAPList.c
12464 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
12465 property from scanned AP to the AP from the device list
12467 * src/nm-device-802-11-wireless.c
12468 - (supplicant_send_network_config): use ap_scan=1 for all networks
12469 except non-SSID-broadcasting and Ad-Hoc networks. Use
12470 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
12471 networks since those don't have APs.
12472 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
12473 AP as non-SSID-broadcasting
12474 - (process_scan_results): don't handle non-SSID-broadcasting here
12476 2006-02-05 Dan Williams <dcbw@redhat.com>
12478 * src/nm-device-802-11-wireless.c
12479 - (get_supplicant_timeout): new function; return
12480 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
12481 14 channels. These are likely a/b/g cards, like Atheros, and
12482 slow as hell to scan.
12483 - (supplicant_timeout_cb, supplicant_monitor_start): use
12484 get_supplicant_timeout()
12486 2006-02-05 Dan Williams <dcbw@redhat.com>
12488 * src/dhcp-manager/nm-dhcp-manager.c
12489 - Loose a commit race with Robert; make sure size check
12490 uses size of DHCP_SERVICE_LEN, not hardcoded 15
12492 2006-02-05 Robert Love <rml@novell.com>
12494 Patch by Christoph Brill <chrisbrill@gmx.net>:
12495 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
12496 with DHCP_SERVICE_NAME.
12498 2006-02-05 Dan Williams <dcbw@redhat.com>
12500 Remove anything having to do with device_setup_func from the
12501 AP security objects, since it's no longer used.
12503 * src/nm-ap-security.h
12504 - Kill device_setup_func and nm_ap_security_device_setup()
12506 * src/nm-ap-security-wep.c
12507 src/nm-ap-security-wpa-psk.c
12508 - (real_device_setup): remove
12510 * src/nm-ap-security.c
12511 - (real_device_setup): remove
12512 - (nm_ap_security_device_setup): remove
12514 * src/nm-device-802-11-wireless.[ch]
12515 - (nm_device_802_11_wireless_set_wep_enc_key): make static
12516 - (set_wireless_config, wireless_configure_adhoc): remove; unused
12517 and done by wpa_supplicant now anyway
12519 2006-02-05 Dan Williams <dcbw@redhat.com>
12521 * src/nm-device-802-11-wireless.c
12522 - (ap_need_key, real_act_stage2_config): deal with APs changing
12523 settings on us. Previously NM would loop asking for the
12524 key but getting the same one back. Now, if the NMI-supplied
12525 cipher doesn't overlap with the scanned AP capabilities,
12526 we request a completely new key from the user.
12528 2006-02-05 Dan Williams <dcbw@redhat.com>
12530 * src/NetworkManagerUtils.c
12531 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
12532 Handle newline killing better
12534 2006-02-05 Dan Williams <dcbw@redhat.com>
12536 * gnome/applet/nm-gconf-wso.c
12537 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
12538 of unencrypted access point security info.
12540 2006-02-03 Robert Love <rml@novell.com>
12542 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
12543 user's encryption key, so we print the err_msg_cmd not the command,
12544 if available. So long as SUPPLICANT_DEBUG is default, this makes
12547 2006-02-03 Christopher Aillon <caillon@redhat.com>
12549 * initscript/RedHat/NetworkManagerDispatcher.in:
12550 * initscript/RedHat/NetworkManager.in: modify the pidfile location
12551 Patch from Dan Walsh <dwalsh@redhat.com>
12553 2006-02-03 Robert Love <rml@novell.com>
12555 * dispatcher-daemon/NetworkManagerDispatcher.c,
12556 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
12557 but use the sysconfdir.
12559 2006-02-03 Robert Love <rml@novell.com>
12561 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
12562 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
12564 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
12565 nm_ip4_config_get_hostname() and
12566 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
12567 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
12568 leak g_strdup() result.
12570 2006-02-03 Robert Love <rml@novell.com>
12572 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
12573 broadcast == TRUE. Also, copy broadcast and artificial properties
12574 from source network to destination in nm_ap_copy().
12575 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
12576 since we now default new networks to non-hidden.
12578 2006-02-03 Dan Williams <dcbw@redhat.com>
12580 * gnome/applet/main.c
12581 - (main): change the NEVER->ALWAYS so we start at the
12582 beginning of the session, if being session-managed
12584 2006-02-03 Dan Williams <dcbw@redhat.com>
12586 * gnome/applet/main.c
12587 - (main): in a variation on Robert's patch, change
12588 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
12591 2006-02-02 Robert Love <rml@novell.com>
12593 * src/Makefile.am: If we aren't going to create the run directory at,
12594 uh, run-time, create it during install. Then users just doing
12595 'make install' are cool, too. While we are here, create the
12596 dispatcher.d directory, too.
12597 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
12598 the exact run directory.
12599 * Makefile.am: Install nm-applet.desktop.
12601 2006-02-02 Robert Love <rml@novell.com>
12603 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
12604 structure, which denotes whether or not the AP is hidden. This is a
12605 superset of 'artificial' -- we need 'broadcast' because a hidden AP
12606 can show up in the scan list. Add nm_ap_get_broadcast() and
12607 nm_ap_set_broadcast() accessor interfaces.
12608 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
12609 nm_ap_set_broadcast().
12610 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
12611 "getProperties" method, which denotes whether or not the given
12613 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
12614 an artificial network. Set broadcast to TRUE when scanning returns
12615 an ESSID and FALSE when not.
12616 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
12617 from "getProperties" method on a network. Possible TODO is to
12618 somehow display this.
12619 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
12621 2006-02-02 Dan Williams <dcbw@redhat.com>
12623 * src/nm-device-802-11-wireless.c
12624 - (supplicant_interface_init): don't try to create
12625 /var/run/NetworkManager, since that should be done by
12626 the distro package. Causes problems for stuff like SELinux
12628 2006-02-02 Robert Love <rml@novell.com>
12630 Patch by Sureshkumar T <tsureshkumar@novell.com>:
12631 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
12632 Check for and handle empty string for iface.
12634 2006-02-01 Robert Love <rml@novell.com>
12636 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
12639 2006-01-31 Dan Williams <dcbw@redhat.com>
12641 * nm-applet.desktop
12642 - Add --sm-disable to Exec arguments, presuming that when
12643 using autostart, we don't want session management
12645 2006-01-31 Robert Love <rml@novell.com>
12647 * src/NetworkManagerAP.c: Add two new manufacturer default network
12648 names: linksys-a and linksys-g. These are found (at least) on the
12649 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
12652 2006-01-31 Robert Love <rml@novell.com>
12654 * src/NetworkManagerAP.c: Optimize the function
12655 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
12656 machine code. This is the first in a series of code tweaks aiming to
12657 generate better machine code and make NetworkManager all the better.
12658 Just kidding. Who has time to go through the assembly generated for
12659 every function? I certainly don't. I have a wife, a kid, a job,
12660 a mortgage, a mistress. But this function was so bad, I was called
12661 to arms. Like the book.
12663 2006-01-31 Robert Love <rml@novell.com>
12665 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
12666 AP is not broadcasting, to scan with probe request frames. Required
12667 for non-broadcast networks.
12669 2006-01-31 Robert Love <rml@novell.com>
12671 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
12672 preprocessor define (still 20s). Fix message text in nm_info()
12673 s/too too/took too/.
12675 2006-01-30 Dan Williams <dcbw@redhat.com>
12677 * src/nm-device-802-11-wireless.c
12678 - (supplicant_monitor_start): increase connect/auth timeout to
12679 20 seconds from 10 seconds
12681 2006-01-30 Dan Williams <dcbw@redhat.com>
12684 - Define LOCALSTATEDIR
12686 * src/nm-device-802-11-wireless.c
12687 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
12688 socket where we want it to
12690 * src/wpa_ctrl.[ch]
12691 - (wpa_ctrl_open): accept location to put local control socket
12693 2006-01-30 Robert Love <rml@novell.com>
12695 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
12696 get_ip4_string() for "domain_name".
12698 2006-01-30 Robert Love <rml@novell.com>
12700 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12701 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
12702 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
12703 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
12704 support for "Automatic" pairwise and group cipher configuration by
12705 letting wpa_supplicant handle the details. Add UI elements, new
12706 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
12707 charm. Note this does more than add a nice feature, it fixes a bug.
12708 Apparently, some people have AP's where the pairwise cipher does not
12709 match the group cipher. Insane, but true.
12711 2006-01-30 Dan Williams <dcbw@redhat.com>
12713 * gnome/applet/applet-dbus-devices.c
12714 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
12715 functions, grab device driver name from NetworkManager
12716 - (nmwa_dbus_device_properties_cb): call functions to get driver
12718 * gnome/applet/applet.c
12719 - (nmwa_update_info): show driver name in Connection Information
12722 * gnome/applet/nm-device.[ch]
12723 - (network_device_get_driver, network_device_set_driver): add
12724 accessors for driver name
12726 * gnome/applet/wireless-applet.glade
12727 - Add line for driver name to Connection Information dialog
12729 * src/nm-dbus-device.c
12730 - (nm_dbus_device_get_driver): new function to return driver name
12731 - (nm_dbus_device_methods): hook up driver name function to dbus
12734 - (get_driver_name): new function
12735 - (detail_device): grab and show driver name
12737 2006-01-30 Robert Love <rml@novell.com>
12739 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
12740 does not parse the markup if it is not part of the format.
12742 2006-01-30 Robert Love <rml@novell.com>
12744 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
12745 FALSE, we have no security options for this dialog, so we throw up
12746 an error dialog instead of a broken passphrase dialog. Fixes
12748 * gnome/applet/wireless-security-manager.c,
12749 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
12750 does not add any security options, not even NONE, print a warning
12751 and return FALSE. This let's functions constructing a dialog bail
12752 out if the device's capabilities and the network's requirements have
12755 2006-01-27 Robert Love <rml@novell.com>
12757 * configure.in: Require wpa_supplicant. Detect location of binary and
12758 use it. Override with "--with-wpa_supplicant=foo".
12759 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
12760 path to wpa_supplicant but use the auto-detected or user-provided
12761 value from configure.
12763 2006-01-27 Robert Love <rml@novell.com>
12765 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
12766 but the DHCP server did not return a hostname, try to look up our
12767 name via DNS and set the system hostname to that.
12769 2006-01-27 Dan Williams <dcbw@redhat.com>
12771 * src/backends/NetworkManagerRedHat.c
12772 - Add NM_CONTROLLED system network script support for RH/Fedora
12774 2006-01-27 Dan Williams <dcbw@redhat.com>
12776 * src/backends/NetworkManagerGentoo.c
12777 - (nm_system_device_get_disabled): add missing function.
12780 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
12782 * configure.in: Added vi in ALL_LINGUAS line.
12784 2006-01-26 Robert Love <rml@novell.com>
12786 * src/Makefile.am, src/kernel-types.h: Now that two different source
12787 files are feeling the crack-addled leakage of kernel types such as
12788 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
12789 types in user-space -- define a header and include it as needed.
12790 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
12791 * src/nm-device-802-3-ethernet.h: Remove defines.
12792 * src/wpa.c: Remove defines and include kernel-types.h.
12794 2006-01-26 Robert Love <rml@novell.com>
12796 * TODO: Update. WPA support is in the bag and HAL restarts (should)
12799 2006-01-26 Robert Love <rml@novell.com>
12801 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
12802 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
12803 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
12804 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
12805 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
12806 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
12807 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
12808 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
12809 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
12810 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
12811 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12812 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
12813 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
12814 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
12815 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
12816 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
12817 Kill unused variables, labels, and static functions. Don't pass
12818 string literals as the format string for printf-like functions.
12820 2006-01-25 Dan Williams <dcbw@redhat.com>
12822 * gnome/applet/wireless-applet.glade
12823 - Remove WPA2 Checkbox
12825 * gnome/applet/wireless-security-manager.c
12826 - (wsm_set_capabilities): split up sections for wpa and wpa2.
12827 This means the Wireless Security menu now has two WPA options,
12828 one for "WPA Personal" and one for "WPA2 Personal"
12830 * gnome/applet/wso-wpa-psk.[ch]
12831 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
12832 'wpa2' argument to determine WPA version to use
12833 - (append_dbus_params_func): pass stored WPA version to cipher
12834 rather than using the (removed) checkbox
12836 2006-01-24 Robert Love <rml@novell.com>
12838 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
12839 before we g_strdup(), not the ultimate string.
12841 2006-01-23 Dan Williams <dcbw@redhat.com>
12843 * src/NetworkManagerAP.[ch]
12844 - (nm_ap_new_from_ap): copy original essid too
12845 - (nm_ap_unref): free original essid
12846 - (nm_ap_get_orig_essid): new function
12847 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
12848 but keep original essid around too
12850 * src/nm-device-802-11-wireless.c
12851 - (supplicant_send_network_config): send wpa_supplicant the
12852 _original_ essid, and not as a string, but in hex. Should
12853 allow us to connect to more APs that use wierd character
12854 encodings for their essids
12856 * utils/nm-utils.[ch]
12857 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
12858 to UTF-8. If it's not already valid UTF-8, we check LANG and
12859 use the current locale as a hint for what encoding the essid
12860 might be in. Obviously not 100% accurate, but the idea here is
12861 that if a user's locale is ex. ja_JP, they are more likely than
12862 not to be in Japan, where access points will likely be in some
12865 2006-01-23 Dan Williams <dcbw@redhat.com>
12867 * libnm-util/cipher-private.h
12868 libnm-util/cipher.c
12869 libnm-util/cipher.h
12870 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
12872 2006-01-23 Robert Love <rml@novell.com>
12874 Patch by Timo Hoenig <thoenig@suse.de>:
12875 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
12876 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
12877 by DHCP and pass it to the backends, allowing distribution-specific
12878 behavior with respect to the DHCP-supplied hostname (if nothing else,
12879 some distributions might not want to set the hostname).
12880 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
12881 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
12882 Also update our NIS behavior.
12883 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
12884 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
12885 Add stub functions.
12887 2006-01-23 Robert Love <rml@novell.com>
12889 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
12890 gnome-session does autostart. TODO: We need to install this to
12891 $prefix/share/autostart/.
12893 2006-01-22 Dan Williams <dcbw@redhat.com>
12895 * src/NetworkManagerAP.[ch]
12897 src/nm-device-802-11-wireless.c
12898 - Make nm_ap_get_essid return "const char *"
12900 2006-01-22 Dan Williams <dcbw@redhat.com>
12902 * src/NetworkManagerAP.[ch]
12903 - (nm_ap_get_matched, nm_ap_set_matched): remove
12905 * src/NetworkManagerAPList.[ch]
12906 - (nm_ap_list_diff): removed
12907 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
12908 deal with access points changing essids on us
12910 * src/nm-device-802-11-wireless.c
12911 - (add_new_ap_to_device_list): move AP dbus signal logic to
12912 src/NetworkManagerAPList.c
12913 - (real_can_interrupt_activation): new function; allow interruption
12914 of device activation if we are waiting for a network key
12916 * src/NetworkManagerPolicy.c
12917 - (nm_policy_device_change_check): allow interruption of currently
12918 activating devices if the device allows it. Previous behavior
12919 would refuse to activate a just-plugged wired device if a
12920 wireless device was waiting for a key.
12922 * src/nm-device.[ch]
12923 - (nm_device_can_interrupt_activation): new function; ask devices
12924 whether their activation can be interrupted
12926 2006-01-20 Robert Love <rml@novell.com>
12928 * Makefile.am, configure.in: Add new man subdirectory.
12929 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
12930 man/Makefile.am: Add man pages for NetworkManager and its
12931 crime-solving bumbling buddy, NetworkManagerDispatcher.
12932 * man/.cvsignore: Add.
12933 * initscript/Debian/NetworkManager,
12934 initscript/Gentoo/NetworkManager.in,
12935 initscript/RedHat/NetworkManager.in,
12936 initscript/RedHat/NetworkManagerDispatcher.in,
12937 initscript/SUSE/networkmanager-dispatcher.in,
12938 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
12940 2006-01-20 Robert Love <rml@novell.com>
12942 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
12943 instead of queuing. This prevents the running of multiple NM
12944 daemons concurrently, which does not work whatsoever and results in
12945 neither daemon working correctly. Also, we don't handle queuing and
12946 name-owner-changes, anyhow.
12948 2006-01-20 Robert Love <rml@novell.com>
12950 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
12951 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
12954 2006-01-19 Robert Love <rml@novell.com>
12956 * configure.in: Require hal 0.5.0 or later.
12958 2006-01-18 Robert Love <rml@novell.com>
12960 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
12961 Allow backends to flag a device (in whatever distro-dependent way
12962 they so desire) as disabled. NM will ignore any such device.
12963 * src/backends/NetworkManagerDebian.c,
12964 src/backends/NetworkManagerRedHat.c,
12965 src/backends/NetworkManagerSlackware.c: Add stub function
12966 nm_system_device_get_disabled() that always returns FALSE (enabled).
12967 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
12968 SUSE-specific configuration structure. Fill it in from the
12969 NM_CONTROLLED variable in the system networking scripts. If this var
12970 exists and is "no", we ignore the device.
12972 2006-01-17 Robert Love <rml@novell.com>
12974 * configure.in: Remove 'no' language. Replaced by 'nb', which is
12975 identical for NM. For a full discussion, see the thread at
12976 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
12978 2006-01-17 Dan Williams <dcbw@redhat.com>
12981 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
12982 function. Fixes crash when wired DHCP fails.
12984 2006-01-16 Robert Love <rml@novell.com>
12986 * src/Makefile.am: Don't install NMLoadModules
12987 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
12988 from src/ to test/ as no one uses it anymore. Note that I would be
12989 fine with removing it altogether.
12991 2006-01-16 Robert Love <rml@novell.com>
12993 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
12994 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
12995 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
12996 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
12997 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
12998 src/nm-netlink-monitor.c: Don't miss any initializers on structure
12999 declarations, ever.
13000 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13001 NM_STATE_DISCONNECTED is zero).
13003 2006-01-16 Robert Love <rml@novell.com>
13005 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
13006 uninitialized parameter and buffer overflow. Novell #143496.
13008 2006-01-16 Dan Williams <dcbw@redhat.com>
13010 Apply the PtP Address bits of a patch from Tim Niemueller
13012 * src/nm-ip4-config.[ch]
13013 - Add ip4_ptp_address member to object
13014 - (nm_ip4_config_copy): copy ptp address too
13015 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13017 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13018 rather than local tunnel ip address
13020 * src/vpn-manager/nm-vpn-service.c
13021 - (print_vpn_config): update for PtP address
13022 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13023 DBusMessageIters in preparation for getting routes from the VPN
13024 service daemons too
13026 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13027 - (send_config_info): update for PtP address, clean up code
13028 - (main): update for PtP address, clean up code, fix typo
13030 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13031 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13033 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13034 - (pptp_ip_up): update for PtP address
13036 * vpn-daemons/pptp/src/nm-pptp-service.c
13037 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13039 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13040 - (print_vpn_config): update for PtP address
13041 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13043 2006-01-16 Dan Williams <dcbw@redhat.com>
13045 * gnome/applet/applet.c
13046 - (nmwa_add_networks_helper): don't indicate an active network
13047 if NM is disconnected or asleep
13049 2006-01-16 Dan Williams <dcbw@redhat.com>
13051 * src/NetworkManagerPolicy.c
13052 - (nm_policy_device_change_check): switch devices if we lose the link
13053 on an ethernet device.
13055 2006-01-16 Dan Williams <dcbw@redhat.com>
13057 * gnome/applet/wso-wpa-psk-hex.[ch]
13058 - Renamed -> wso-wpa-psk.[ch]
13060 * gnome/applet/wso-wpa-psk.[ch]
13063 * gnome/applet/wso-wpa-psk-passphrase.[ch]
13064 - Removed, rolled into wso-wpa-psk.[ch]
13066 * gnome/applet/Makefile.am
13067 - Updated for above changes
13069 * gnome/applet/wireless-applet.glade
13070 - Consolidate WPA-PSK options into one notebook
13071 widget, and make dialogs invisible by default
13072 to fix screen oddities
13074 * gnome/applet/wireless-security-manager.c
13075 - (wsm_set_capabilities): create the new wpa-psk widget rather
13076 than both the old hex & passphrase ones
13078 2006-01-16 Dan Williams <dcbw@redhat.com>
13080 * gnome/applet/other-network-dialog.c
13081 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13083 2006-01-16 Dan Williams <dcbw@redhat.com>
13085 * gnome/applet/applet.c
13086 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13087 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13088 prevention to realize window before trying to get server
13091 * gnome/applet/other-network-dialog.c
13092 - (nmwa_other_network_dialog_run): fix up focus-stealing
13093 prevention to realize window before trying to get server
13096 * gnome/applet/passphrase-dialog.c
13097 - (nmi_passphrase_dialog_new): fix up focus-stealing
13098 prevention to realize window before trying to get server
13101 2006-01-16 Robert Love <rml@novell.com>
13103 Patch from Timo Hoenig <thoenig@suse.de:
13104 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13105 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13106 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13107 libnm-util/dbus-helpers.h: add checks whether headers are used
13108 within a C++ build.
13110 2006-01-16 Dan Williams <dcbw@redhat.com>
13112 * gnome/applet/wireless-security-option.c
13113 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13115 2006-01-16 Dan Williams <dcbw@redhat.com>
13117 * libnm-util/cipher-wpa-psk-passphrase.c
13118 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13119 be 8 - 63 characters inclusive
13121 2006-01-16 Dan Williams <dcbw@redhat.com>
13124 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13126 2006-01-13 Robert Love <rml@novell.com>
13128 Patch by T Sureshkumar <tsureshkuman@novell.com>:
13129 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13130 modules that do not use an interface.
13132 2006-01-13 Dan Williams <dcbw@redhat.com>
13136 - Allow subclasses to implement deactivate_quickly()
13137 - (nm_device_deactivate_quickly): call subclass
13138 deactivate_quickly() methods
13139 - (nm_device_set_active_link): small cleanups, and don't
13140 deactivate the device right away because we risk a deadlock
13141 when called from device thread, waiting for the device
13142 thread to cancel activation
13144 * src/nm-device-802-11-wireless.c
13145 - (real_deactivate_quickly): new function
13146 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13147 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13148 so that we kill the supplicant when we sleep too
13149 - (supplicant_interface_init): work around naive naming attempts of
13150 wpa_ctrl when naming sockets
13152 2006-01-13 Dan Williams <dcbw@redhat.com>
13154 * src/nm-device-802-11-wireless.c
13155 - (supplicant_cleanup): delete old device control sockets too
13156 - (supplicant_get_device_socket_path): new function to consolidate
13157 locations that need a path to a device's control socket
13159 2006-01-12 Robert Love <rml@novell.com>
13161 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13162 description so that the description is unique for each
13163 pair (device,provider). Fixes Novell #142773.
13165 2006-01-12 Dan Williams <dcbw@redhat.com>
13167 * src/nm-device-802-11-wireless.c
13168 - (supplicant_exec): ensure GError is correctly initialized
13169 Reported by Diego González (gnome.org #326708)
13171 2006-01-11 Robert Love <rml@novell.com>
13173 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13174 define if_mii(), open code the same results, and do so without any
13177 2006-01-11 Robert Love <rml@novell.com>
13179 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13180 that wso_foo_new() returned non-NULL. Instead, only append the new
13181 wso to wsm->options if the wso is non-NULL. The crux is that we
13182 assume that the relevant key types are implied by WEP and WPA as
13183 appropriate. To be sure, they should be, but we should not expect
13184 drivers to not be oozing piles of wolf fecal matter.
13186 2006-01-11 Robert Love <rml@novell.com>
13188 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13189 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13190 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13191 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13192 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13193 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13194 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13195 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13196 comparing values within DBL_EPSILON. Also fix shadowed variable
13199 2006-01-11 Dan Williams <dcbw@redhat.com>
13201 Add options for WPA2 and WPA1+CCMP (AES).
13203 * gnome/applet/wireless-applet.glade
13204 - Add UI bits for WPA+CCMP
13206 * gnome/applet/other-network-dialog.c
13207 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13208 and don't allow creation of WPA2 Ad-Hoc networks since
13209 wpa_supplicant doesn't support them
13211 * gnome/applet/wireless-security-manager.c
13212 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13213 on to the specific wireless security option being created
13215 * gnome/applet/wireless-security-option.[ch]
13216 - (wso_wpa_create_key_type_model): new utility function to create
13217 the model required for WPA Key Type combo box
13219 * gnome/applet/wso-private.h
13220 gnome/applet/wireless-security-option.h
13221 - Move private function prototypes into wso-private.h
13223 * gnome/applet/wso-wpa-psk-hex.[ch]
13224 gnome/applet/wso-wpa-psk-passphrase.[ch]
13225 - (append_dbus_params_func): get WPA version from checkbox and pass
13226 it to the dbus serialization helper
13227 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13228 key type combo changes
13229 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13232 * libnm-util/cipher-wpa-psk-hex.c
13233 libnm-util/cipher-wpa-psk-passphrase.c
13234 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13235 new function; allow the cipher to be changed after object creation
13237 * src/nm-ap-security-wpa-psk.c
13238 - (set_description): Do WPA2 descriptions too
13240 * src/nm-ap-security.c
13241 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13243 2006-01-11 Robert Love <rml@novell.com>
13245 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13246 is defined in <linux/mii.h> to return the mii_ioctl_data structure
13247 from the ifreq structure in lieu of an open coded solution. Removes
13248 a life-threatening type-punning.
13249 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13250 types, ever, whatsoever, baby.
13252 2006-01-11 Robert Love <rml@novell.com>
13254 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13255 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13256 assignments to applet->nm_state into a new nmwa_set_state() function
13257 for both cleanliness and to help debugging.
13259 2006-01-10 Robert Love <rml@novell.com>
13261 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
13262 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13263 seconds, exclusive. That is, we want to sleep x seconds such that
13266 2006-01-10 Robert Love <rml@novell.com>
13268 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13269 the attr fields according to the example in the email available at
13270 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13271 Conversely, we do have to free 'name', so we do so, fixing a leak.
13273 2006-01-10 Robert Love <rml@novell.com>
13275 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13276 sure that we close the socket!
13278 2006-01-10 Robert Love <rml@novell.com>
13280 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13281 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13282 src/nm-device.c: Fix a FIXME! Reimplement the function
13283 nm_device_update_hw_address() in device subclass variants,
13284 nm_device_802_3_ethernet_set_address() and
13285 nm_device_802_11_wireless_set_address(), hook them up, and use them.
13286 This fixes the existing bug where MAC addresses are all zeros.
13288 2006-01-10 Robert Love <rml@novell.com>
13290 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13291 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13292 option to give users ability to globally disconnect and put NM to
13293 sleep. This is useful as a 'lockdown mode' for flying, security, and
13296 2006-01-09 Robert Love <rml@novell.com>
13298 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
13299 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13300 User-space does not supply these types, so we have to define them
13301 ourselves. The relevant kernel maintainer refused to accept a patch
13302 switching these headers to the proper C99 types.
13304 2006-01-09 Dan Williams <dcbw@redhat.com>
13306 Apply Robert's 'tray icon redo' patch with fixes
13307 * gnome/applet/applet.c
13308 gnome/applet/applet.h
13309 - Instead of using a menu bar + menu item, simulate menu
13310 behavior using a popup menu. Highlight the area around
13311 the icon more like a menu too, by playing with the
13312 applet's size requisition
13314 2006-01-09 Timo Hoenig <thoenig@suse.de>
13315 * libnm-util/dbus-helpers.c
13316 libnm-util/dbus-helpers.h
13317 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13318 to 'exception_namespace' (:namespace is a keyword in
13321 2006-01-09 Dan Williams <dcbw@redhat.com>
13323 * src/NetworkManagerPolicy.c
13324 - (nm_policy_device_change_check): don't autoswitch away from
13325 Ad-Hoc networks, since there's really no concept of
13329 - (nm_dbus_nm_create_wireless_network): mark created networks
13332 * src/nm-device-802-11-wireless.c
13333 - (real_activation_success_handler): add user-created Ad-Hoc
13334 networks to the device's scan list
13336 2006-01-08 Dan Williams <dcbw@redhat.com>
13338 We now require a patch for wpa_supplicant to support Ad-Hoc
13340 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13342 * src/nm-device-802-11-wireless.c
13343 - (supplicant_send_network_config): turn off wpa_supplicant's
13344 scanning. Fixes Ad-Hoc networks.
13346 2006-01-08 Dan Williams <dcbw@redhat.com>
13348 * src/nm-ap-security.c
13349 src/nm-ap-security.h
13350 - Add a user_created argument to the write_supplicant_config
13353 * src/nm-ap-security-wep.c
13354 src/nm-ap-security-wpa-psk.c
13355 src/nm-device-802-11-wireless.c
13356 - Make Ad-Hoc mode somewhat work, at least write the
13357 correct options to wpa_supplicant
13359 2006-01-08 Dan Williams <dcbw@redhat.com>
13361 * src/nm-device-802-11-wireless.c
13362 - Remove unused code from the old device activation path
13364 2006-01-08 Dan Williams <dcbw@redhat.com>
13366 * libnm-util/dbus-helpers.c
13367 - (nmu_security_serialize_wpa_psk): pass a blank key through
13368 dbus when key == NULL
13370 2006-01-08 Dan Williams <dcbw@redhat.com>
13372 * gnome/applet/nm-gconf-wso-wpa-psk.c
13373 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13374 correct arguments to nmu_security_deserialize_wpa_psk()
13376 * src/nm-ap-security-wpa-psk.c
13377 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13378 arguments to nmu_security_deserialize_wpa_psk()
13380 2006-01-08 Dan Williams <dcbw@redhat.com>
13382 * gnome/applet/wso-wpa-psk-hex.c
13383 gnome/applet/wso-wpa-psk-passphrase.c
13384 - Hook up the append_dbus_params_func() function
13386 2006-01-08 Dan Williams <dcbw@redhat.com>
13388 * src/nm-device-802-11-wireless.c
13389 - (get_wireless_capabilities): correctly detect driver WPA
13392 2006-01-08 Dan Williams <dcbw@redhat.com>
13394 * gnome/applet/Makefile.am
13395 gnome/applet/wso-wpa-psk-hex.c
13396 gnome/applet/wso-wpa-psk-hex.h
13397 - New files, implement WPA-PSK Hex key input
13399 * gnome/applet/wireless-applet.glade
13400 - Change existing wpa-psk stuff to wpa-psk-hex
13401 - Add new widgets for wpa-psk-passphrase
13403 * gnome/applet/wireless-security-manager.c
13404 - (wsm_set_capabilities): enable WPA options
13406 * gnome/applet/wso-wpa-psk-passphrase.c
13407 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13408 for WPA-PSK passphrase
13410 2006-01-08 Dan Williams <dcbw@redhat.com>
13412 * include/NetworkManager.h
13413 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13414 applet/info-daemons
13416 * gnome/applet/passphrase-dialog.c
13417 - Use the constant. Fixes a bug where the arguments to
13418 dbus_message_new_error() were incorrect
13420 * src/nm-dbus-nmi.c
13423 2006-01-07 Dan Williams <dcbw@redhat.com>
13425 * src/nm-device-802-11-wireless.c
13426 - Add a link timeout so we allow the supplicant time to
13427 reassociate if it can, before we deactivate the card
13428 - Fix up link status and link updating so things work better
13430 2006-01-07 Dan Williams <dcbw@redhat.com>
13432 * src/nm-device-802-11-wireless.c
13433 - Switch over to using wpa_supplicant
13434 - Add a timeout of 10s for association of the supplicant
13435 - Start the monitor callback of the supplicant
13437 2006-01-07 Dan Williams <dcbw@redhat.com>
13439 * src/NetworkManagerUtils.c
13440 - (nm_utils_supplicant_request,
13441 nm_utils_supplicant_request_with_check):
13442 pass correct buffer length to wpa_ctrl_request()
13444 2006-01-07 Dan Williams <dcbw@redhat.com>
13446 * src/nm-device-private.h
13448 - (nm_device_activate_schedule_stage3_ip_config_start): make
13449 this function available to subclasses
13451 2006-01-06 Robert Love <rml@novell.com>
13453 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
13454 user plugging in a network cable signals their preference for to
13455 switch, unless the user explicitly selected a wireless network and
13456 therefore signaled their preference for said wireless network over
13457 wired. In other words, do exactly what makes sense.
13459 2006-01-06 Robert Love <rml@novell.com>
13461 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
13462 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
13463 src/NetworkManagerWireless.h: Remove, no longer used and they keep
13464 showing up in my greps.
13466 2006-01-06 Robert Love <rml@novell.com>
13468 * gnome/applet/applet-dbus-devices.c,
13469 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
13470 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
13471 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
13472 New Network' both failed in the non-encrypted case because we were
13473 not appending the security options to the DBUS message. And
13474 'Connect to Other' was also failing in the encrypted case because
13475 we were not incrementing to the next DBUS parameter. All fixed.
13476 Thanks to dcdw for some debugging help.
13478 2006-01-06 Robert Love <rml@novell.com>
13480 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
13481 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
13482 hangup code and add per-device hangup. Tie last commit into the
13483 GNOME applet. TODO: Save, understand, and respond to the state of
13484 each dialup device.
13486 2006-01-06 Robert Love <rml@novell.com>
13488 Patch by Timo Hoenig <thoenig@suse.de>:
13489 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
13490 hangup specific dialup devices.
13491 * src/backends/NetworkManagerDebian.c,
13492 src/backends/NetworkManagerGentoo.c,
13493 src/backends/NetworkManagerRedHat.c,
13494 src/backends/NetworkManagerSlackware.c: Add stub backend.
13495 * src/backends/NetworkManagerRedHat.c,
13496 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
13497 hangup specific dialup devices.
13499 2006-01-04 Robert Love <rml@novell.com>
13501 * gnome/applet/applet-dbus-devices.c,
13502 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
13503 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
13506 2006-01-04 Dan Williams <dcbw@redhat.com>
13508 First dump of wpa_supplicant-related code. It's not hooked up to
13509 anything yet though. Thanks to Kay Sievers for
13510 wpa_supplicant_wrapper.c, which formed the basis for this work,
13511 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
13515 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
13517 * src/NetworkManagerUtils.[ch]
13518 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
13519 Add convenience functions for talking to wpa_supplicant
13521 * src/nm-ap-security.[ch]
13522 src/nm-ap-security-wep.c
13523 src/nm-ap-security-wpa-psk.[ch]
13524 - Update and implement real_write_supplicant_config functions
13525 in all security types
13526 - (nm_ap_security_wpa_psk_new_from_ap): implement in
13527 nm-ap-security-wpa-psk.c
13529 * src/nm-device-802-11-wireless.c
13530 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
13531 wpa_supplicant_start, wpa_supplicant_interface_init,
13532 wpa_supplicant_send_network_config): add functions to talk to
13533 wpa_supplicant and write network config to it
13535 2006-01-04 Robert Love <rml@novell.com>
13537 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
13538 values so that distribution-backends can differentiate between the
13539 various types (modem, ISDN, et cetera) of dialup device that they
13541 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
13544 2006-01-03 Dan Williams <dcbw@redhat.com>
13546 * src/NetworkManagerPolicy.c
13548 src/nm-device-802-11-wireless.c
13549 - Move wireless-specific activation failure and success code
13550 into wireless device class
13552 2006-01-03 Robert Love <rml@novell.com>
13554 Patch by Preggna S:
13555 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
13556 IPsec does not require that a VPN client be bound to an interface,
13557 due to the use of the in-kernel IPSec bits. So make the tunnel
13560 2006-01-03 Dan Williams <dcbw@redhat.com>
13562 * src/NetworkManagerAP.c
13563 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
13564 the WPA IE specifies that WEP is supported
13566 * src/nm-device-802-11-wireless.c
13567 - (process_scan_results): don't mark an AP as supporting WEP
13568 if there's already other encryption capability info
13570 2006-01-03 Dan Williams <dcbw@redhat.com>
13572 * src/dhcp-manager/nm-dhcp-manager.c
13573 - Recognize activation cancellation when waiting for DHCP
13574 configuration from dhcdbd
13575 - Ignore non-dhcdbd messages
13578 - (real_act_stage3_ip_config_start): return to correct behavior
13579 of letting the dhcp-manager notify us of failure or
13580 success rather than incorrectly doing that ourselves
13581 - (nm_device_activate_stage4_ip_config_get): deal with
13582 activation cancellation a bit earlier
13584 2006-01-03 Dan Williams <dcbw@redhat.com>
13586 * src/nm-device-802-11-wireless.c
13588 - Add hooks to subclasses for stage3_ip_config_start and
13589 stage4_ip_config_timeout
13591 * src/nm-device-802-3-ethernet.c
13592 - (real_get_generic_capabilities): make devices NM-supported
13595 2006-01-03 Robert Love <rml@novell.com>
13597 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
13598 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
13599 latter cannot differentiate between error and the address -1; misc.
13602 2006-01-03 Dan Williams <dcbw@redhat.com>
13604 * src/NetworkManager.c
13605 - Move link-checking/probing into the device subclasses
13608 * src/nm-device.[ch]
13609 src/nm-device-802-11-wireless.c
13610 src/nm-device-802-3-ethernet.c
13611 - Do periodic link checking in device subclasses rather
13612 than being triggered from NetworkManager.c
13613 - discover_wireless_capabilities -> get_wireless_capabilities
13614 - discover_generic_capabilities -> get_generic_capabilities
13615 - Device subclass activation routines now return a value of type
13616 NMActStageReturn to indicate what step to perform next
13617 - Devices now override stage4_get_ip4_config if they choose
13619 2006-01-01 Dan Williams <dcbw@redhat.com>
13621 * src/nm-device-802-11-wireless.c
13622 - (real_init): don't chain up to parent init because we don't
13623 need to do that anymore
13626 - (discover_device_type): fix arguments to ioctl() to correctly
13627 pass interface name
13628 - (nm_device_new): consolidate generic device initialization into
13630 - (real_init): remove, consolidated to nm_device_new()
13631 - (nm_device_deactivate, real_deactivate): consolidate
13633 2006-01-01 Dan Williams <dcbw@redhat.com>
13635 * src/nm-activation-request.c
13636 - Change dhcp_state member of the NMActRequest structure
13637 from guint8 to guint32
13639 * src/dhcp-manager/nm-dhcp-manager.[ch]
13640 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
13641 than guint8 to match the dbus argument. Turns out we were
13642 overwriting memory since we were passing in only a guint8
13644 2005-12-31 Dan Williams <dcbw@redhat.com>
13646 * refactor NMDevice into a GObject-based framework with separate
13647 objects for wired and wireless. The following files are no
13648 longer used but should stick around for a bit so we don't
13649 loose code through the cracks:
13650 NetworkManagerDevice.c
13651 NetworkManagerDevice.h
13652 NetworkManagerWireless.c
13653 NetworkManagerWireless.h
13655 The intent here is to allow each device type to manage its own
13656 connection & activation life-cycle, ie to allow wireless devices
13657 to interface with wpa_supplicant, etc. There's a fair bit of
13658 encapsulation breakage right now that should gradually get pulled
13659 back into each device, along with things like periodic property
13660 updates and link probing.
13662 2005-12-29 Dan Williams <dcbw@redhat.com>
13664 * include/NetworkManager.h
13665 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
13666 between networks that don't have any encryption at all
13668 2005-12-29 Dan Williams <dcbw@redhat.com>
13670 * test/test-common.c
13673 - Move to a test-common subdirectory
13675 * test/libnm-util/test-ciphers.c
13676 - Move test data to test-inputs.h
13677 - Test WPA ciphers too
13679 * test/libnm-util/test-dbus-helpers.c
13680 - Test serialization/deserialization of ciphers
13682 2005-12-29 Dan Williams <dcbw@redhat.com>
13684 * gnome/applet/applet-dbus-devices.c
13685 - Replace 'enc' parameter with 'capabilities' for wireless networks
13686 in dbus calls to NM
13687 - Set capabilities on WirelessNetwork objects
13688 - Receive and save type-specific device capabilities too
13690 * gnome/applet/applet-dbus-info.c
13691 gnome/applet/applet-dbus.c
13692 - Passphrase dialog no longer a singleton; new instance gets created
13693 on each request. Updates to deal with that.
13695 * gnome/applet/applet.c
13696 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
13697 than single 'encrypted' flag
13698 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
13700 - Passphrase dialog updates per above
13702 * gnome/applet/menu-items.c
13703 - (network_menu_item_update): use AP capabilities to determine
13706 * gnome/applet/nm-device.[ch]
13707 - Add accessors for type-specific device capabilities
13709 * gnome/applet/other-network-dialog.c
13710 - Rework to respect device capabilities. i.e., if the device doesn't
13711 support WPA, remove that option from the security dropdown
13713 * gnome/applet/passphrase-dialog.c
13714 - Massive rework so that a new instance is created each time
13715 it's used, to support wireless network capabilities
13717 * gnome/applet/wireless-network.[ch]
13718 - Add accessors and members for wireless network capabilities
13720 * gnome/applet/wireless-security-manager.[ch]
13721 - (wsm_set_capabilities): called after creation to set which
13722 security options get shown to the user
13724 2005-12-29 Dan Williams <dcbw@redhat.com>
13726 * libnm-util/cipher-wpa-psk-passphrase.c
13727 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
13730 2005-12-23 Dan Williams <dcbw@redhat.com>
13732 * gnome/applet/applet-dbus-info.c
13733 - (nmi_dbus_get_key_for_network): if there's no entry in
13734 GConf for a network, assume we want a new key
13735 - (nmi_save_network_info): serialize wireless security info
13736 into GConf so its saved
13739 - Fix warning as we may not be passed security info when
13740 connecting to a wireless network
13742 2005-12-23 Dan Williams <dcbw@redhat.com>
13744 * gnome/applet/applet-compat.c
13745 - Fix bugs in GConf entry conversion
13747 * gnome/applet/applet-dbus-info.c
13748 - (nmi_dbus_get_network_properties): handle case of the BSSID
13749 list being zero-length
13751 * libnm-util/cipher-*
13752 libnm-util/dbus-helpers.c
13753 - All ciphers must now return hashed keys as UTF-8 valid
13754 hexadecimal strings, ie "8f3dae4023". They are pushed
13755 through dbus as strings too.
13756 - Consolidate various functions that do bin->hex and hex->bin
13757 conversion into cipher.c
13759 * src/nm-ap-security-wep.c
13760 src/nm-ap-security-wpa-psk.c
13761 - Handle NULL keys since we may not know keys right away
13763 * src/nm-dbus-nmi.c
13764 - (nm_dbus_get_network_data_cb): actually advance to the start
13765 of the wireless security info before we try to deserialize it
13767 * libnm-util/test-ciphers.c
13768 - Update cipher tests for the change to UTF-8 hexadecimal strings
13770 2005-12-22 Dan Williams <dcbw@redhat.com>
13772 * gnome/applet/applet-compat.[ch]
13773 - Convert old-format GConf and keyring entries
13774 when the applet starts up.
13776 * gnome/applet/applet.c
13777 - (nmwa_get_instance): Call the conversion function
13778 on startup before dbus is initialized
13780 2005-12-22 Dan Williams <dcbw@redhat.com>
13782 * gnome/applet/applet-dbus-info.c
13783 - Remove nmi_dbus_create_error_message() in favor of
13784 nmu_create_dbus_error_message()
13785 - (nmi_dbus_get_network_properties): Error message cleanups
13786 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
13787 gconf key rather than 'addresses', since they really are BSSIDs
13788 - (nmi_dbus_get_network_properties): Dispose of the security
13789 object when we're done with it
13791 2005-12-21 Dan Williams <dcbw@redhat.com>
13793 * Consolidate the info-daemon's "updateNetworkInfo" and
13794 "addNetworkAddress" calls into just "updateNetworkInfo"
13796 2005-12-21 Dan Williams <dcbw@redhat.com>
13798 * Make connection after key retrieval work again
13800 2005-12-21 Dan Williams <dcbw@redhat.com>
13802 * gnome/applet/nm-gconf-wso*
13803 - Make the serialize functions return gboolean
13806 * gnome/applet/nm-gconf-wso.c
13807 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
13808 parent class handling so we don't segfault
13810 * src/NetworkManagerAP.[ch]
13811 - (nm_ap_get_capabilities): new function, return capabilities
13812 now that something can use them
13813 - (nm_ap_set_encrypted): assume that an access point supports
13814 both WEP104 and WEP40 if its set encrypted. FIXME: can
13815 we even tell whether it just supports WEP40?
13817 * src/NetworkManagerDevice.c
13818 - (ap_need_key): resurrect and update for the New World Order
13819 - (nm_device_wireless_get_activation_ap): if we're not given
13820 security info to use, create some based on access point
13823 * src/nm-ap-security-wep.c
13824 - (nm_ap_security_wep_new_from_ap): create a new object
13825 based on a certain access point's capabilities
13827 * src/nm-ap-security.c
13828 - (nm_ap_security_new_from_ap): delegate creation of a new
13829 object based on access point capabilities to a subclass
13830 - (nm_ap_security_copy_properties): don't segfault if we
13831 don't have a key yet
13834 - (nm_dbus_nm_set_active_device): provide more informative
13835 output when errors occur. Also construct security info
13836 for a given access point if we weren't given any
13838 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
13840 * configure.in: Added Lithuanian to ALL_LINGUAS.
13842 2005-12-21 Dan Williams <dcbw@redhat.com>
13845 - Add some testcases for WEP ciphers
13847 2005-12-17 Dan Williams <dcbw@redhat.com>
13851 2005-12-17 Dan Williams <dcbw@redhat.com>
13853 * include/NetworkManager.h
13854 - Finally kill NMEncKeyType
13856 * gnome/applet/applet-dbus-info.c
13857 - (nmi_save_network_info): convert to NMGConfWSO
13859 * gnome/applet/nm-gconf-wso-*.c
13860 - Implement gconf serialization functions
13862 * src/NetworkManagerPolicy.c
13863 - (nm_policy_activation_finish): fix up meaning of
13864 automatic/user_requested
13866 2005-12-17 Dan Williams <dcbw@redhat.com>
13869 - More applet cleanups
13870 - Use the dbus-method-dispatcher
13872 * libnm-util/dbus-method-dispatcher.[ch]
13873 - Generalize the implementation from NM in
13874 NetworkManagerUtils.c
13876 2005-12-16 Dan Williams <dcbw@redhat.com>
13879 - Fix up the passphrase dialog to use all the
13880 WirelessSecurityOption stuff (untested)
13882 2005-12-16 Dan Williams <dcbw@redhat.com>
13884 * Move nm_gconf_get_*_helper() functions to separate files,
13885 gconf-helpers.c & gconf-helpers.h
13887 * New NMGConfWSO objects for managing the gconf side of things.
13888 Eventually these should be merged with the
13889 WirelessSecurityOption objects and a common base (that can
13890 serialize/deserialize from dbus & gconf) should be
13891 refactored out, but for now they are separate.
13893 2005-12-16 Robert Love <rml@novell.com>
13895 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
13896 binaries unless they exist (nm_spawn_process() emits a warning if
13897 asked to spawn a non-existant process).
13899 2005-12-16 Dan Williams <dcbw@redhat.com>
13901 * gnome/applet/applet-dbus-info.c
13902 - Clean up lots of gconf-related code
13904 2005-12-16 Robert Love <rml@novell.com>
13906 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
13908 2005-12-16 Dan Williams <dcbw@redhat.com>
13910 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
13912 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
13913 bits still to be done)
13915 2005-12-16 Dan Williams <dcbw@redhat.com>
13917 * Finally move info-daemon related stuff out of
13918 NetworkManagerDbus.c to nm-dbus-nmi.c
13920 2005-12-16 Dan Williams <dcbw@redhat.com>
13922 * Kill auth_method for access points, since that's now done
13923 by NMAPSecurity objects
13925 * Add a copy-constructor of sorts to NMAPSecurity
13926 (how do you do this properly in glib???)
13928 2005-12-15 Dan Williams <dcbw@redhat.com>
13930 * Exorcise encryption key hashing on APs
13931 * Use libnm-util's serialization/deserialization in both the
13933 * Random other stuff
13935 2005-12-15 Robert Love <rml@novell.com>
13937 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
13938 is being added to the icon naming spec, so let's use that (Tango CVS
13939 has the icon). Because it is new, however, we fall back to the
13940 current "gnome-lockscreen" if the new icon is not around, thus
13941 behavior is the same.
13942 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
13945 2005-12-15 Robert Love <rml@novell.com>
13947 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
13948 well, help to give. Couple other misc. bits.
13950 2005-12-15 Dan Williams <dcbw@redhat.com>
13952 * libnm-util/dbus-helpers.[ch]
13953 - Make this the one-stop-shop for serializing/deserializing
13954 AP & connection security settings over dbus. Both NM
13955 and applets should use this to ensure consistent dbus
13956 API going forwared.
13958 2005-12-15 Robert Love <rml@novell.com>
13960 Patch by Timo Hoenig <thoenig@suse.de>:
13961 * src/NetworkManagerDbus.c
13962 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
13963 if HAL jumps off the system bus. Otherwise libdbus
13964 (dbus_connection_dispatch) will try to run the filter
13965 function of our libhal context which is already freed.
13967 2005-12-15 Alexander Shopov <ash@contact.bg>
13969 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
13971 2005-12-14 Dan Williams <dcbw@redhat.com>
13973 * include/NetworkManager.h
13974 src/NetworkManagerWireless.c
13975 - Rearrange 802.11 wireless-specific capabilities again
13978 - Forgot to add wpa.c/wpa.h to the makefiles
13980 * src/NetworkManagerAP.[ch]
13981 - Implement access point capabilities and parse the
13982 WPA/RSN IEs into the capability bitfield
13983 - Switch the "encrypted" attribute to utilize the bitfield
13984 and capabilities rather than being independent
13986 * src/NetworkManagerDevice.c
13987 - (nm_device_wireless_get_activation_ap): break it horribly
13988 until we can push NMAPSecurity objects into access point
13989 objects and through the activation chain
13990 - Stuff WPA & RSN IEs into AP capabilities
13993 - Take a shot at actually making setActiveDevice work
13996 - Make the API a bit saner
13998 2005-12-14 Dan Williams <dcbw@redhat.com>
14000 * include/NetworkManager.h
14001 - Add 802.11-specific capability for 802.1x key
14005 - Pull in WPA IE and RSN IE parsing code from
14006 wpa_supplicant so we can determine access point
14008 - Move WPA-related constants here from NetworkManagerAP.h
14009 and NetworkManagerDevice.c
14011 * src/NetworkManagerDevice.c
14012 src/NetworkManagerAP.[ch]
14013 - Use WPA-related constants from wpa.h
14015 2005-12-14 Dan Williams <dcbw@redhat.com>
14017 * include/NetworkManager.h
14018 - Update and split 802.11 wireless-specific capabilities from
14019 generic device capabilities
14021 * src/NetworkManagerDevice.c
14022 src/NetworkManagerDevicePrivate.h
14023 - (nm_device_wireless_discover_capabilities): Move 802.11
14024 wireless-specific capability checks to
14025 NetworkManagerWireless.c
14026 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14027 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14029 * src/NetworkManagerWireless.[ch]
14030 - (nm_802_11_wireless_discover_capabilities): Check extended
14031 802.11 wireless-specific capabilities of the driver
14033 2005-12-14 Robert Love <rml@novell.com>
14035 Patch from Stefan Scheler <sscheler@suse.de>:
14036 * src/NetworkManagerDevice.c: call backend code to activate and
14038 * src/NetworkManagerSystem.h: add new NIS interfaces.
14039 * src/backends/NetworkManagerDebian.c,
14040 src/backends/NetworkManagerGentoo.c,
14041 src/backends/NetworkManagerRedHat.c,
14042 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14044 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14046 2005-12-14 Dan Williams <dcbw@redhat.com>
14048 * src/nm-ap-security*.[ch]
14049 - Add AP security abstractions to NetworkManager
14051 * src/nm-dbus-device.c
14052 - Begin to parse new format dbus messages from the applet
14053 and construct an AP security object from the message
14055 * libnm-util/dbus-helpers.c
14056 - Use message iters so we can append the key as a fixed
14057 array of bytes, which actually works rather than
14058 using dbus_message_append_args() as we were before
14060 2005-12-14 Dan Williams <dcbw@redhat.com>
14062 * src/NetworkManagerDbus.c
14063 gnome/applet/applet-dbus.c
14064 - Fix up dbus service replacement options. The applet
14065 should allow replacement, NM itself should not.
14067 2005-12-13 Robert Love <rml@novell.com>
14069 * src/named-manager/nm-named-manager.c: Revert earlier commit.
14070 Instead, fail silently if config is NULL by not asserting and not
14071 returning FALSE. Also, make sure we always fclose() the file.
14073 2005-12-13 Robert Love <rml@novell.com>
14075 Patch by Stefan Scheler <sscheler@suse.de>:
14076 * src/nm-ip4-config.h, src/nm-ip4-config.c,
14077 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14078 via DHCP. Still need the backends to commit the NIS domain name and
14079 and servers to yp.conf as needed.
14081 2005-12-13 Robert Love <rml@novell.com>
14083 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14084 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14086 2005-12-13 Robert Love <rml@novell.com>
14088 * src/named-manager/nm-named-manager.c: Don't unref the config until
14089 after we call rewrite_resolv_conf(), because get_last_default_domain()
14090 needs to access the config. Fixes "rewrite_resolv_conf: assertion
14091 `config != NULL' failed" assertion failures and "Could not commit DNS
14094 2005-12-12 Dan Williams <dcbw@redhat.com>
14096 * libnm-util/dbus-helpers.[ch]
14097 libnm-util/Makefile.am
14098 - new helper calls to consolidate locations where
14099 NM's setDevice method is called
14101 * gnome/applet/applet-dbus-devices.c
14102 gnome/applet/wireless-security-option.c
14104 - Implement dbus message param append function for
14105 all wireless security options
14107 2005-12-12 Robert Love <rml@novell.com>
14109 * libnm-util/cipher-wep-passphrase.c,
14110 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14111 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14112 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14113 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14114 When handling keys, we don't care what the sign is. The compiler
14115 guarantees us that we get our 8-bits, which is all we care about.
14116 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
14118 2005-12-12 Dan Williams <dcbw@redhat.com>
14120 * gnome/applet/applet-dbus-devices.[ch]
14121 gnome/applet/applet.c
14122 gnome/applet/other-network-dialog.c
14123 gnome/applet/wireless-security-manager.[ch]
14124 gnome/applet/wireless-security-option.[ch]
14126 - Push the wireless security options further into the applet
14128 2005-12-12 Robert Love <rml@novell.com>
14130 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14131 return any name servers. That is perfectly valid. (Novell #134369).
14133 2005-12-11 Dan Williams <dcbw@redhat.com>
14135 * gnome/applet/wso-*
14136 gnome/applet/wireless-security-option.*
14137 gnome/applet/Makefile.am
14138 - split each security option out so we can eventually
14139 have each one build up their own dbus message
14140 arguments to send to NM
14142 2005-12-11 Dan Williams <dcbw@redhat.com>
14144 * Make validation of the key work correctly
14146 2005-12-11 Dan Williams <dcbw@redhat.com>
14148 * Hook more bits of the Other Network Dialog up to the
14149 wireless security manager stuff, and restructure
14150 bits of the dialog so there's less code.
14152 2005-12-10 Dan Williams <dcbw@redhat.com>
14154 * gnome/applet/Makefile.am
14155 - Add libnm-util to includes
14156 - Add libnm-util to link list
14157 - Add wireless-security-common.* to compile list
14159 * gnome/applet/other-network-dialog.c
14160 - Convert to using the WirelessSecurityManager code and
14163 * gnome/applet/passphrase-dialog.c
14164 - Comment out references to stuff in the glade file that
14165 cause runtime errors until it can be fixed up
14166 to use the WirelessSecurityManager code
14168 * gnome/applet/wireless-applet.glade
14169 - Rename some widgets
14170 - Add widgets for the WirelessSecurityManager code
14171 - Remove passphrase-related stuff since that's now
14172 handled by the WirelessSecurityManager code
14174 2005-12-10 Dan Williams <dcbw@redhat.com>
14176 * gnome/applet/applet-dbus-devices.c
14177 - Print out error message details for dbus pending call callbacks
14178 - Move nmwa_dbus_update_devices() up
14180 * gnome/applet/applet-dbus-vpn.c
14181 - Print out error message details for dbus pending call callbacks
14183 2005-12-10 Dan Williams <dcbw@redhat.com>
14187 - Remove cipher-manager.* because we don't need it
14188 - Forgot to add gnome-keyring-md5 files to compile list
14190 2005-12-09 Dan Williams <dcbw@redhat.com>
14195 - Add a utility library for clients of NetworkManager. It's
14196 only targetted at applets for the moment, and contains
14197 a generalized 802.11 cipher framework for different
14198 types of keys (WEP & WPA Hex, ASCII, Passphrase)
14200 2005-12-09 Robert Love <rml@novell.com>
14202 * src/NetworkManagerDevice.c: handle error better in
14203 nm_device_set_mode().
14205 2005-12-08 Robert Love <rml@novell.com>
14207 * include/NetworkManager.h: add WPA capabilities constants
14208 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14209 or WPA2 and add the capabilities bits as appropriate.
14211 2005-12-08 Robert Love <rml@novell.com>
14213 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14214 NetworkManagerDispatcher.
14215 * configure.in, initscript/SUSE/.cvsignore,
14216 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14219 2005-12-08 Robert Love <rml@novell.com>
14221 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14223 2005-12-08 Robert Love <rml@novell.com>
14225 * src/NetworkManagerDevice.c: We want to fall back on and default to
14226 IW_MODE_AUTO, not -1, which is more in line with our previous
14227 behavior. Otherwise, we try to set the wireless mode to -1 in
14228 nm_device_set_mode().
14230 2005-12-07 Robert Love <rml@novell.com>
14232 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14233 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14234 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14235 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14236 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14237 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
14240 2005-12-07 Robert Love <rml@novell.com>
14242 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14243 supplied IP is invalid, fall back to DHCP.
14245 2005-12-07 Dan Williams <dcbw@redhat.com>
14247 * Convert NETWORK_MODE_* constants to IW_MODE_*
14248 * Make all the get_mode/set_mode functions take and return 'int'
14249 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14251 2005-12-07 Robert Love <rml@novell.com>
14253 * src/NetworkManagerDevice.c: strncpy() buffer check.
14254 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14256 2005-12-06 Dan Williams <dcbw@redhat.com>
14258 * gnome/applet/applet-dbus.c
14259 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14261 * gnome/applet/applet-dbus-vpn.c
14262 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14263 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14264 to TRUE here if stage was ACTIVATED
14266 2005-12-06 Dan Williams <dcbw@redhat.com>
14268 * Change nm_device_is_* functions to better names:
14269 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14270 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14272 2005-12-06 Dan Williams <dcbw@redhat.com>
14274 * Change naming of NMDeviceType to something more sensible:
14275 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14276 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14277 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14279 2005-12-06 Dan Williams <dcbw@redhat.com>
14281 * Move NetworkManager.h -> include/NetworkManager.h
14282 * Split out VPN stuff into include/NetworkManagerVPN.h
14283 * Fix up makefiles to include new location
14284 * Fix up sources to include NetworkManagerVPN.h
14286 2005-12-06 Dan Williams <dcbw@redhat.com>
14288 Various changes in the applet to move VPN connection "state" -> "stage",
14289 which it actually is. I'd like to change the signal as well when we
14290 break compat in the near future.
14292 2005-12-06 Dan Williams <dcbw@redhat.com>
14294 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14295 * initscript/Slackware/rc.networkmanager
14298 * src/backends/NetworkManagerSlackware.c
14299 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14302 2005-12-05 Robert Love <rml@novell.com>
14304 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14305 to free, particularly here as it just barfs.
14307 2005-12-05 Dan Williams <dcbw@redhat.com>
14309 * gnome/applet/applet-dbus.c
14310 - Work with dbus 0.6 too
14312 2005-12-03 Dan Williams <dcbw@redhat.com>
14314 * src/NetworkManagerUtils.[ch]
14315 src/nm-ip4-config.c
14316 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14317 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14319 2005-12-01 Robert Love <rml@novell.com>
14321 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14322 need a NULL for the '...' parameter, too, to fill the so-called
14325 2005-12-01 Robert Love <rml@novell.com>
14327 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14328 interface is already gone, so don't call rtnl_link_change() to down
14329 it (which will segfault, anyhow).
14331 2005-11-22 Robert Love <rml@novell.com>
14333 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14334 gateway is not set, just print a little note. Configurations without
14335 gateways are valid.
14337 2005-11-22 Robert Love <rml@novell.com>
14341 2005-11-20 Ilkka Tuohela <hile@iki.fi>
14343 * configure.in: Added Finnish translation to ALL_LINGUAS
14345 2005-11-14 Robert Love <rml@novell.com>
14347 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14348 Niemueller <tim@niemueller.de>.
14350 2005-11-08 Dan Williams <dcbw@redhat.com>
14352 Patch from Bill Moss <bmoss@clemson.edu>
14353 * src/NetworkManagerDevice.c
14354 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14355 of nm_policy_schedule_activation_finish() to prevent a
14356 race condition that causes the link to be dropped
14358 2005-11-08 Dan Williams <dcbw@redhat.com>
14360 Patch from Bill Moss <bmoss@clemson.edu>
14361 * src/NetworkManagerAPList.c
14362 src/NetworkManagerDevice.c
14363 src/NetworkManagerDbus.c
14364 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14365 we get more readable ether/mac addresses
14367 2005-11-02 Christopher Aillon <caillon@redhat.com>
14369 * gnome/applet/main.c: Don't set the restart command. This fixes
14370 the issue where the restart command was getting copies of all its
14371 arguments for each time the applet was restarted.
14373 2005-11-02 Robert Love <rml@novell.com>
14375 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14376 if the widget state differs from our saved state. This ensures we
14377 do not enter an endless loop of death and destruction. Also, this
14378 guarantees us that we enforce the widget state.
14380 2005-11-02 Robert Love <rml@novell.com>
14382 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14383 * gnome/applet/applet-dbus-devices.c: invoke the new function
14384 nmwa_enable_wireless_set_active() to ensure that the state of the
14385 'Enable Wireless' checkbox matches the daemon's state. This is a
14386 concern because the daemon remembers the state.
14388 2005-11-02 Robert Love <rml@novell.com>
14390 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14391 Enabled", as checkboxes should be actions/commands not positive
14392 statements, otherwise they are confusing in the unselected case. See
14393 examples in GNOME HIG, Chapter 6.
14395 2005-11-02 Robert Love <rml@novell.com>
14397 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
14398 show a list of wireless networks or the wireless devices or the
14399 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
14400 a bad bug: If wireless is disabled and the user picks a wireless
14401 network, NM will switch to the network, only to immediately switch
14402 back, as wireless is disabled. This also reassures people that NM
14403 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
14405 2005-11-02 Christopher Aillon <caillon@redhat.com>
14407 * gnome/applet/applet.c:
14408 * gnome/applet/applet.h:
14409 Partial backout of Dan's timeout animation patch.
14410 Timeout IDs cannot legally be 0, so revert the code in place to handle
14411 a timeout ID of 0 to denote the timeout isn't running.
14413 2005-11-02 Christopher Aillon <caillon@redhat.com>
14415 * src/NetworkManagerPolicy.c:
14416 (nm_policy_device_change_check) Clarify wireless switch nm_info text
14418 2005-10-28 Robert Love <rml@novell.com>
14420 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
14421 "Import Saved Configuration..." to make it clear that importing is
14422 not the next step, but an option. As an aside, a nice TODO would be
14423 to move Importing out of the vpn-specific dialog and into the main
14424 property editor, as Importing goes with Adding, but that will require
14425 some rearchitecting of the VPN stuff I suspect.
14427 2005-10-27 Dan Williams <dcbw@redhat.com>
14429 Start using libnl. You need 1.0-pre3 or higher. Eventually
14430 we should replace most of the distro-specific backend code
14433 Get it here: http://people.suug.ch/~tgr/libnl/
14437 - Add checks for libnl pkgconfig file
14438 - Use LIBNL_LIBS & LIBNL_CFLAGS
14440 * src/NetworkManagerSystem.c
14441 src/nm-ip4-config.[ch]
14442 - Use libnl rather than ioctl() for most things
14443 - Remove unused functions
14445 2005-10-27 Robert Love <rml@novell.com>
14447 * src/backends/NetworkManagerSuSE.c: fix warning message text
14449 2005-10-27 Christopher Aillon <caillon@redhat.com>
14451 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
14453 2005-10-27 Christopher Aillon <caillon@redhat.com>
14455 * gnome/applet/applet.c: The applet's about dialog can advertise our
14456 project page <http://www.gnome.org/projects/NetworkManager/>
14458 2005-10-26 Christopher Aillon <caillon@redhat.com>
14460 * gnome/applet.c: Also use translator credits if we don't have
14461 the new GtkAboutDialog (older versions of GTK+)
14463 2005-10-26 Robert Love <rml@novell.com>
14465 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
14466 failure; correct usage text for "--no-daemon"
14468 2005-10-25 Dan Williams <dcbw@redhat.com>
14470 * src/NetworkManagerDevice.c
14471 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
14473 - (free_process_scan_cb_data): unref the device when freeing results
14474 - (nm_device_wireless_process_scan_results): free scan results a bit later
14475 so we don't unref the device underneath ourselves
14477 2005-10-25 Dan Williams <dcbw@redhat.com>
14479 * Back out 2005-10-24 commit from Tor Krill. Patch
14480 causes nameservers never to be removed from named.
14482 2005-10-24 Dan Williams <dcbw@redhat.com>
14484 Clean up wireless scanning and wireless link probing.
14486 * src/NetworkManagerDevice.c
14487 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
14488 just see if there's an activation request on the device, and check the
14489 current link against the activation request access point's ESSID.
14490 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
14491 - (nm_device_wireless_process_scan_results): actually free our scan data, and
14492 don't call process_scan_results() on zero-length data
14493 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
14494 15 seconds (from 10)
14496 2005-10-24 Dan Williams <dcbw@redhat.com>
14498 Cleanup some applet stuff:
14500 - Animation timeouts. If NM died while the applet was animating,
14501 the applet would not hide itself. This is now fixed.
14503 - Remove some dead code
14505 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
14506 to nmi_passphrase_dialog_cancel() since we no longer use threads.
14508 - Track animation timeout using a gboolean rather than the timeout's
14509 ID, since timeout IDs can legally be 0.
14511 2005-10-24 Dan Williams <dcbw@redhat.com>
14513 * src/backends/interface_parser.c
14514 - Add void to function declarations that need it
14515 to match patch from Engin AYDOGAN
14517 * src/backends/interface_parser.h
14518 - Remove unused prototype for ifparser_interfaces()
14520 Patch from Engin AYDOGAN <engin@bzzzt.biz>
14521 * src/backends/interface_parser.h:
14522 - Compile fixes for gcc 4.0.2 (add void)
14524 2005-10-24 Dan Williams <dcbw@redhat.com>
14526 Patch from Tor Krill <tor@krill.nu>
14527 * src/named-manager/nm-named-manager.c
14528 - Write more than just the first nameserver to /etc/resolv.conf
14529 - Write out valid /etc/resolv.conf on exit
14531 2005-10-21 Christopher Aillon <caillon@redhat.com>
14533 * gnome/applet/applet-dbus-vpn.c:
14534 Get rid of spurious newlines in debug console output
14536 2005-10-21 Christopher Aillon <caillon@redhat.com>
14538 * src/backends/NetworkManagerGentoo.c:
14539 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
14541 2005-10-20 Robert Love <rml@novell.com>
14543 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
14544 direct comparison of floating point values, which is never correct.
14545 Also some misc. cleanup.
14547 2005-10-19 Robert Love <rml@novell.com>
14549 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
14551 2005-10-19 Robert Love <rml@novell.com>
14553 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
14554 sensitivity of the buttons. Specificaly, do the right thing if
14555 there are no entries.
14557 2005-10-19 Christopher Aillon <caillon@redhat.com>
14559 * configure.in: Update check for adequate wireless-tools
14560 with an AC_TRY_COMPILE for the new symbols we use.
14562 2005-10-19 Dan Williams <dcbw@redhat.com>
14564 * src/NetworkManagerDevice.c
14565 - (process_scan_results): don't drop the last (or only)
14566 access point we see
14568 2005-10-19 Christopher Aillon <caillon@redhat.com>
14570 * src/backends/NetworkManagerSlackware.c:
14571 Patch from Nico <lordllucifer@gmail.com>
14572 - Update the Slackware backend.
14574 2005-10-18 Christopher Aillon <caillon@redhat.com>
14576 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
14577 if we've got GLib 2.8.0
14579 2005-10-18 Robert Love <rml@novell.com>
14581 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
14582 function nm_schedule_state_change_signal_broadcast() when we
14583 deactivate a device, too.
14585 2005-10-18 Robert Love <rml@novell.com>
14587 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
14588 be used uninitialized.
14590 2005-10-18 Christopher Aillon <caillon@redhat.com>
14592 * test/libnm_glib_test.c: Test unregistering, too.
14594 2005-10-17 Christopher Aillon <caillon@redhat.com>
14596 * configure.in: Bump to 0.5.0
14598 2005-10-17 Dan Williams <dcbw@redhat.com>
14601 - Remove WPA-related constants so they aren't part of the
14604 2005-10-17 Christopher Aillon <caillon@redhat.com>
14606 * gnome/applet/applet.c:
14607 * gnome/applet/applet.h:
14608 Desensitize the 'Connection Information' menu item when there is
14609 no active connection.
14611 2005-10-17 Christopher Aillon <caillon@redhat.com>
14613 * gnome/libnm_glib/libnm_glib.c:
14614 Make libnm_glib_unregister_callback () actually unregister the callback
14616 2005-10-17 Robert Love <rml@novell.com>
14618 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
14619 two seconds -- tries is updated every 1/10 of a second, not every
14622 2005-10-17 Christopher Aillon <caillon@redhat.com>
14624 * gnome/applet/applet-dbus-info.c:
14625 Let D-BUS know that we haven't handled a message when we haven't.
14627 2005-10-17 Robert Love <rml@novell.com>
14629 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
14630 in order to remain 64-bit clean.
14632 2005-10-17 Christopher Aillon <caillon@redhat.com>
14634 * gnome/applet/applet-dbus-info.c:
14635 Find network encryption keys asynchronously
14637 2005-10-17 Robert Love <rml@novell.com>
14639 * src/backends/NetworkManagerDebian.c,
14640 src/backends/NetworkManagerRedHat,
14641 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
14644 2005-10-17 Robert Love <rml@novell.com>
14646 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
14649 2005-10-17 Christopher Aillon <caillon@redhat.com>
14651 * src/NetworkManagerDevice.c: (process_scan_results)
14652 Fix logic that checks to see whether we have an ESSID.
14654 2005-10-15 Dan Williams <dcbw@redhat.com>
14656 Move scanning code into NetworkManager rather than use iwlib's
14657 iw_scan() function, so that we can figure out AP capabilities.
14660 - Add AP capability bits
14662 * src/NetworkManagerAP.[ch]
14663 - Add capability field to NMAccessPoint structure
14664 - Add WPA & RSN Information Element fields and accessor
14665 functions to NMAccessPoint
14667 * src/NetworkManagerDevice.c
14668 - Remove usage of iw_scan
14669 - Add scanning code to NetworkManager rather than use
14670 iw_scan() from iwlib
14672 * src/NetworkManagerUtils.[ch]
14673 - (nm_dispose_scan_results): remove, unused
14675 2005-10-14 Christopher Aillon <caillon@redhat.com>
14677 * gnome/libnm_glib/libnm_glib.c:
14678 * gnome/libnm_glib/libnm_glib.h:
14679 Use guint instead of gint for callback IDs.
14681 2005-10-12 Christopher Aillon <caillon@redhat.com>
14683 * gnome/applet/applet.c:
14684 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
14685 every 1000ms. It will unconditionally call nmwa_update_state which
14686 kills the existing animation timeout and registers a new one with a
14687 callback to draw a new frame every 100ms. There are 11 connecting
14688 icon frames, so the last 2 frames kept getting dropped. Only reset
14689 the animation timeout if we aren't animating.
14691 2005-10-11 Dan Williams <dcbw@redhat.com>
14693 * gnome/applet/applet-dbus-devices.c
14694 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
14695 We want to grab the product & vendor from net.physical_dev
14696 rather than info.parent.
14698 2005-10-11 Dan Williams <dcbw@redhat.com>
14700 * src/NetworkManagerDevice.c
14701 - Use the driver's WE version for scanning rather than
14702 the WE version NM was compiled with. Fixes random
14703 crashes in iw_scan () in iwlib.
14705 2005-10-10 Dan Williams <dcbw@redhat.com>
14707 * Remove nm_system_load_device_modules() from backend files
14708 and from NetworkManager.c
14710 2005-10-10 Dan Williams <dcbw@redhat.com>
14712 * src/NetworkManagerPolicy.c
14713 - Fix some bugs introduced by the capabilities patch
14715 2005-10-10 Dan Williams <dcbw@redhat.com>
14717 * gnome/applet/applet-dbus-info.c
14718 - (nmi_dbus_get_network_key): hide the menu when putting up
14719 the keyring dialog. (not sure if the code is right...)
14721 2005-10-09 Dan Williams <dcbw@redhat.com>
14723 Patch from Bill Moss <bmoss@clemson.edu>
14724 * src/NetworkManagerDevice.c
14725 - (nm_device_set_user_key_for_network): don't try to set auth
14726 mode on the AP from the allowed list if it's NULL
14728 2005-10-09 Dan Williams <dcbw@redhat.com>
14730 * Replace the "driver support level" stuff with capabilities. The
14731 capability field is a bitfield that is more flexible than the
14732 old driver support level thing. It's mostly so we can easily
14733 figure out what supports WPA and what doesn't, but should be
14734 quite useful later.
14736 2005-10-09 Dan Williams <dcbw@redhat.com>
14743 - Added new "nm-tool" tool that gives quite a bit more
14746 2005-10-07 Robert Love <rml@novell.com>
14748 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
14749 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
14750 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
14751 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
14754 2005-10-07 Robert Love <rml@novell.com>
14756 * configure.in: Change our compile flags for the betterment of mankind.
14757 Add "-Wstrict-prototypes" because we comply anyhow and missing a
14758 prototype is very bad on 64-bit platforms as types default to int but
14759 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
14760 "-Wmissing-declarations" to warn if we define an exported function
14761 but fail to put it in a header.
14763 2005-10-07 Robert Love <rml@novell.com>
14765 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
14766 by the name nm_update_device_wireless_timeouts() and once tried,
14767 without success, to steal my pet turtle.
14769 2005-10-07 Robert Love <rml@novell.com>
14771 * Cleanup prototypes: put some functions in header files and mark
14772 others as 'static' -- feel free to invert
14773 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
14774 nm_vpn_manager_vpn_connection_list_copy()
14775 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
14776 nm_vpn_service_get_dbus_connection()
14777 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
14778 nm_vpn_manager_vpn_connection_list_copy()
14779 * src/vpn-manager/nm-vpn-service.c: make
14780 nm_vpn_service_act_request_failed() and
14781 nm_vpn_service_stage2_daemon_wait() static
14782 * src/vpn-manager/nm-vpn-service.h: add prototype for
14783 nm_vpn_service_get_dbus_connection()
14785 2005-10-06 Christopher Aillon <caillon@redhat.com>
14787 * gnome/applet/applet.c:
14788 * gnome/applet/applet.h:
14789 * gnome/applet/icons/Makefile.am:
14790 Convey information about the current connection stage in the
14791 icons themselves instead of creating a separate progress bar.
14793 2005-10-04 Robert Love <rml@novell.com>
14795 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
14796 convert an ether_addr structure's MAC into a string, because the
14797 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
14798 versus 07:3B:04, while the former will not.
14800 2005-10-04 Robert Love <rml@novell.com>
14802 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14803 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
14804 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
14805 default route in the 'Connection Information' dialog, send primary
14806 and secondary name servers in in "getProperties" DBUS method, add
14807 network_device_{get,set}_{primary,secondary}_dns(), The primary and
14808 secondary domain name servers are crucial pieces of information
14809 that a user might need in debugging a network problem.
14811 2005-10-04 Robert Love <rml@novell.com>
14813 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
14814 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
14815 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
14816 default route in the 'Connection Information' dialog, send default
14817 route in "getProperties" DBUS method, add network_device_set_route(),
14818 and network_device_get_route(). The Gateway is a crucial piece of
14819 connection-related information that a user might need in debugging a
14822 2005-10-03 Robert Love <rml@novell.com>
14824 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
14827 2005-10-02 Dan Williams <dcbw@redhat.com>
14829 * Shorten time taken to sleep by fastpathing bits of device deactivation
14830 necessary for sleep.
14832 * Fix issue where deactivating a device might deactivate the active
14833 VPN connection, even if the VPN was not using the device.
14835 2005-10-02 Dan Williams <dcbw@redhat.com>
14837 * gnome/applet/applet.c
14838 - Adjust signal strength -> icon mapping values slightly
14839 (so that 51% signal doesn't show a 75% icon) by adding
14840 5% to the values. ex: > 5% now shows 25% icon, > 30%
14841 shows 50% icon, etc.
14843 2005-09-29 Robert Love <rml@novell.com>
14845 * src/NetworkManager.c: removed unused variable.
14847 2005-09-28 Dan Williams <dcbw@redhat.com>
14849 Support for named + DBus, using Red Hat DBus patches for named. You
14850 can find those patches here, with "dbus" in the patch's filename:
14852 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
14854 Don't forget the named dbus service file either.
14856 Instead of writing a config file and spawing a named process, NM will
14857 use an already-running dbus-enabled named if it finds one. NM will
14858 update named's forwarder configuration on the fly using dbus.
14860 If there is no dbus-enabled named running, NM will automatically fall
14861 back to writing the most-recent DNS server information to /etc/resolv.conf
14862 and calling nm_system_update_dns() to kick the system's resolver.
14864 Accordingly, all named-related configure-time options have been removed.
14866 2005-09-26 Robert Love <rml@novell.com>
14868 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
14870 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
14871 bug in error path if "ASKPASSWORD" is "no".
14873 2005-09-26 Robert Love <rml@novell.com>
14875 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
14876 comment in /etc/resolv.conf -- ';' is not.
14878 2005-09-19 Dan Williams <dcbw@redhat.com>
14880 * src/backends/NetworkManagerRedHat.c:
14881 * src/backends/NetworkManagerDebian.c:
14882 * src/backends/NetworkManagerSlackware.c:
14883 * src/backends/NetworkManagerGentoo.c:
14884 * src/backends/NetworkManagerSUSE.c:
14885 Fix invocations of "/sbin/ip address" to use short form instead
14887 2005-09-19 Christopher Aillon <caillon@redhat.com>
14889 * src/nm-dbus-device.c: Don't assert when getting
14890 addresses of a not yet connected interface.
14892 * gnome/applet/applet.c: Free icons if loading fails.
14893 Use translator-credits so translators can make themselves known.
14895 2005-09-15 Christopher Aillon <caillon@redhat.com>
14897 * src/NetworkManagerAP.c:
14898 * src/NetworkManagerAP.h:
14899 * src/NetworkManagerDevice.c:
14900 Set a blacklist for certain common manufacturer default ESSIDs:
14901 APs with these ESSIDs are extremely likely to be completely
14902 different networks: connecting to one should not make NM
14903 auto-connect to every other AP with the same default ESSID.
14905 2005-09-12 Christopher Aillon <caillon@redhat.com>
14907 * gnome/applet/wireless-applet.glade:
14908 The passphrase entry should also activate the default
14910 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
14912 * gnome/applet/applet-dbus-devices.c:
14913 * gnome/applet/applet.c:
14914 * gnome/applet/nm-device.c:
14915 * gnome/applet/nm-device.h:
14916 * src/NetworkManagerUtils.c:
14917 * src/NetworkManagerUtils.h:
14918 * src/nm-dbus-device.c:
14919 I've got a fever, and the only cure for it is less ioctl.
14920 Make NM push IP data rather than make the applet open a socket
14923 2005-09-10 Christopher Aillon <caillon@redhat.com>
14925 * gnome/applet/applet.c:
14926 * gnome/applet/applet-dbus-devices.c:
14927 * gnome/applet/applet-dbus-info.c:
14928 * gnome/applet/passphrase-dialog.c:
14929 * gnome/libnm_glib/libnm_glib.c:
14930 * gnome/vpn-properties/nm-vpn-properties.c:
14932 * src/backends/NetworkManagerRedHat.c:
14933 * src/named-manager/nm-named-manager.c:
14934 * src/NetworkManagerAPList.c:
14935 * src/NetworkManager.c:
14936 * src/NetworkManagerDbus.c:
14937 * src/NetworkManagerDevice.c:
14938 * src/NetworkManagerPolicy.c:
14939 * src/NetworkManagerSystem.c:
14940 * src/nm-dbus-device.c:
14941 * src/nm-dbus-nm.c:
14942 * src/vpn-manager/nm-vpn-manager.c:
14943 * src/vpn-manager/nm-vpn-service.c:
14944 * test/libnm_glib_test.c:
14945 * test/nminfotest.c:
14946 * test/nmtestdevices.c:
14947 Fix a bunch of 'unused variable' compiler warnings
14949 * NetworkManager.h:
14950 * gnome/applet/applet-dbus-info.c:
14951 * gnome/applet/applet-dbus-info.h:
14952 * gnome/applet/applet.c:
14953 * gnome/applet/applet.h:
14954 * src/NetworkManager.c:
14955 * src/NetworkManagerDbus.c:
14956 * src/NetworkManagerDbus.h:
14957 * src/NetworkManagerDevice.c:
14958 * src/NetworkManagerDevice.h:
14959 * src/NetworkManagerMain.h:
14960 * src/NetworkManagerWireless.c:
14961 * src/NetworkManagerWireless.h:
14962 * src/nm-dbus-nm.c:
14963 Make NetworkManager be smart about how frequently to scan
14964 based on its current state. Remove the UI for choosing when
14965 to scan. Scanning still may disabled completely by the user
14966 via the "Wireless Enabled" menu item.
14968 2005-09-09 Christopher Aillon <caillon@redhat.com>
14970 * gnome/applet/applet.c:
14971 Also overlay the vpn connecting icons onto the wired icon,
14974 * gnome/vpn-properties/nm-vpn-properties.glade:
14975 Clean up a few strings to use better grammar and proper casing.
14977 2005-09-08 Christopher Aillon <caillon@redhat.com>
14979 * gnome/applet/vpn-connection.c:
14980 * gnome/applet/vpn-connection.h:
14981 Add nmwa_vpn_connection_is_activating ()
14983 * gnome/applet/applet.c:
14984 * gnome/applet/applet.h:
14985 * gnome/applet/icons/nm-vpn-connecting*.png:
14986 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
14987 the user know something's happening between clicking the VPN item and it
14988 actually being connected.
14990 2005-09-07 Christopher Aillon <caillon@redhat.com>
14992 * gnome/applet/applet-dbus-info.c: need to free attributes in the
14993 failure case as well.
14995 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
14997 * gnome/panel/eggtrayicon.[ch]:
14998 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15000 2005-09-07 Dan Williams <dcbw@redhat.com>
15002 Patch from Bill Moss <bmoss@clemson.edu>
15003 * src/applet-dbus.c
15004 - (nmwa_dbus_filter): strip whitespace from beginning
15005 and end of VPN login banner
15007 2005-09-07 Dan Williams <dcbw@redhat.com>
15009 * The great VPN Manager rewrite of 2005
15011 2005-09-07 Christopher Aillon <caillon@redhat.com>
15013 * gnome/applet/menu-items.c:
15014 * gnome/applet/nm-device.c:
15015 * gnome/applet/wireless-network.c:
15016 * gnome/libnm_glib/libnm_glib.c:
15017 * src/NetworkManagerDbusUtils.c:
15018 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15019 g_malloc0 doesn't return NULL
15021 2005-09-06 Dan Williams <dcbw@redhat.com>
15023 Patch from Tomislav Vujec <tvujec@redhat.com>
15024 * src/NetworkManagerDevice.c
15025 - (nm_get_device_by_udi): don't return a device when we
15026 actually didn't find what we were looking for
15028 2005-09-06 Christopher Aillon <caillon@redhat.com>
15030 * gnome/applet/applet-dbus-devices.c:
15031 * gnome/applet/applet-dbus-devices.h:
15032 * gnome/applet/applet-dbus.c:
15033 * src/NetworkManagerDbus.c:
15034 * src/NetworkManagerDbus.h:
15035 * src/NetworkManagerDevice.c:
15036 * src/nm-dbus-device.c:
15037 Make NM push updates about active device strength when it changes,
15038 rather than having the applet poll every 2s.
15040 2005-09-05 Christopher Aillon <caillon@redhat.com>
15042 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15043 network_device_set_strength
15045 2005-09-04 Dan Williams <dcbw@redhat.com>
15047 Patch from Bill Nottingham <notting@redhat.com>
15048 * src/NetworkManagerDevice.c
15049 - (nm_device_activation_cancel): reset the quit_activation flag
15051 2005-09-04 Dan Williams <dcbw@redhat.com>
15053 * src/nm-activation-request.c
15054 - (nm_act_request_unref): actually free the structure,
15055 which we didn't seem to be doing before
15057 2005-09-04 Dan Williams <dcbw@redhat.com>
15059 Patch from John Palmieri <johnp@redhat.com>
15060 * gnome/applet/applet-dbus-devices.c
15061 - Fix up unreffing of DBusMessage objects
15063 2005-09-04 Dan Williams <dcbw@redhat.com>
15065 Patch from John Palmieri <johnp@redhat.com>
15066 * gnome/applet/nm-device.c
15067 - (nm_device_unref): clear network_device's memory _before_ freeing it
15069 2005-09-02 Christopher Aillon <caillon@redhat.com>
15071 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15073 2005-09-02 Bill Nottingham <notting@redhat.com>
15075 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15077 2005-09-01 Dan Williams <dcbw@redhat.com>
15079 * src/NetworkManager.c
15080 - (nm_remove_device_from_list): rename to nm_remove_device
15081 - (nm_hal_device_removed): call nm_remove_device()
15083 * src/NetworkManagerDevice.c
15084 - Change the NMWirelessScanCB member 'reschedule' which
15085 wasn't used to 'force' to indicate that we need to
15086 force a scan when adding a device
15089 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15090 from the device list
15091 - (nm_dbus_nm_wake): Re-add all devices to the device list
15093 2005-09-01 Robert Love <rml@novell.com>
15095 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15096 and the check "!iface" in the error case is probably never true.
15098 2005-09-01 Dan Williams <dcbw@redhat.com>
15100 Patch from Bill Nottingham <notting@redhat.com>
15101 * src/backends/NetworkManagerRedHat.c
15102 - Add initial dialup support to Red Hat/Fedora backend
15104 2005-09-01 Dan Williams <dcbw@redhat.com>
15106 * gnome/applet/applet-dbus-devices.c
15107 - Sort both wireless networks and devices again, which got
15108 broken when removing threading
15110 2005-09-01 Christopher Aillon <caillon@redhat.com>
15112 * gnome/applet/applet.c:
15113 Only show the "Stop/Start All Wireless Devices" menuitem
15114 if we actually have wireless devices.
15116 * gnome/applet/applet-dbus-info.c:
15117 * gnome/applet/applet.c:
15118 * gnome/applet/other-network-dialog.c:
15119 * gnome/applet/vpn-password-dialog.c:
15120 Drop the gtk_dialog_run () calls in favor of connecting to
15121 "response" signals, needed now that the applet is not threaded.
15123 2005-08-31 Dan Williams <dcbw@redhat.com>
15125 Patch from Bill Moss <bmoss@clemson.edu>
15126 * src/NetworkManagerDevice.c
15127 - (nm_device_wireless_scan): fix scan timeout values
15129 2005-08-30 Dan Williams <dcbw@redhat.com>
15131 * gnome/applet/wireless-applet.glade
15132 - HIG-ify the Other Wireless Networks dialog a bit more
15133 - Fix some potential segfaults in the info dialog
15135 2005-08-30 Dan Williams <dcbw@redhat.com>
15137 * gnome/applet/applet-dbus-devices.c
15138 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15140 2005-08-30 Dan Williams <dcbw@redhat.com>
15142 * gnome/applet/applet-dbus.[ch]
15143 - Remove all the nmwa_dbus_call_method_xxxx functions since
15144 they weren't being used anyway
15146 2005-08-30 Bastien Nocera <hadess@hadess.net>
15148 * test/nmtestdevices.c: (print_usage), (main):
15149 Check the number of arguments, and fix a typo
15151 2005-08-29 Dan Williams <dcbw@redhat.com>
15153 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15154 * gnome/applet/applet.c
15155 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15157 2005-08-29 Dan Williams <dcbw@redhat.com>
15160 - Don't use threads any more. Anything that blocks
15161 (like gtk_dialog_run()) will have to get fixed up which
15162 should happen quickly. We really only had threads to make
15163 the animation smooth, and when everything got converted over
15164 to DBus Pending Calls, the need for threads kind of went away
15166 2005-08-29 Christopher Aillon <caillon@redhat.com>
15168 * gnome/applet/applet.c: Draw VPN connections as radio items
15169 since we don't yet support multiple VPNs.
15170 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15171 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15173 2005-08-29 Dan Williams <dcbw@redhat.com>
15175 Patch from j@bootlab.org
15176 - Make --without-named work
15177 - Make --with-dhcdbd work correctly
15179 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
15181 * configure.in: Added "ca" to ALL_LINGUAS.
15183 2005-08-26 Christopher Aillon <caillon@redhat.com>
15185 * Fix up VPN state handling between the applet and NetworkManager,
15186 so that the applet doesn't show a VPN as connected when one
15188 - The applet no longer has a pointer to the active VPN's
15189 name, but tracks each VPNs state individually
15190 - NM no longer has a "getActiveVPNConnection" method
15191 - NM no longer broadcasts the "VPNConnectionChange" signal
15192 - NM now broadcasts a "VPNConnectionStateChange" signal
15193 whenever the state of a VPN changes
15195 2005-08-26 Dan Williams <dcbw@redhat.com>
15197 * gnome/applet/applet-dbus-devices.c
15198 gnome/applet/applet-dbus-vpn.c
15199 - Remove calls to dbus_pending_call_ref() because we already
15200 "own" the pending call
15201 - Remove calls to dbus_pending_call_get_completed() because
15202 when we are in the callback, the pending call is completed
15205 2005-08-22 Dan Williams <dcbw@redhat.com>
15207 Patch by Bill Moss <bmoss@clemson.edu>
15208 * src/dhcp-manager/nm-dhcp-manager.c
15209 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15210 some time to send out a RELEASE if they like
15212 2005-08-22 Dan Williams <dcbw@redhat.com>
15214 Noticed by Bill Moss <bmoss@clemson.edu>
15215 * src/NetworkManagerDbus.c
15216 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15217 instead of just cancelling its activation
15219 * src/NetworkManagerDevice.c
15220 - (nm_device_deactivate): some small cleanups
15221 - (nm_device_set_user_key_for_network): deactivate the device
15222 instead of just cancelling its activation
15224 2005-08-22 Dan Williams <dcbw@redhat.com>
15226 Noticed by Bill Moss <bmoss@clemson.edu>
15227 * src/NetworkManagerDevice.c
15228 - (nm_device_wireless_scan): fix scan timeout, we were
15229 waiting way too long for scans to complete
15231 2005-08-22 Dan Williams <dcbw@redhat.com>
15233 Patch from j@bootlab.org:
15234 * src/backends/NetworkManagerDebian.c
15235 - Make the Debian backend work for static IP again
15237 2005-08-20 Christopher Aillon <caillon@redhat.com>
15239 * gnome/applet/other-network-dialog.c:
15240 The "Create New Network" and "Connect to Other Network"
15241 dialogs share alot of code, but shouldn't share a window
15242 title. Give them different ones.
15244 * gnome/applet/wireless-applet.glade:
15245 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15246 Some more minor UI tweaks.
15248 2005-08-19 Christopher Aillon <caillon@redhat.com>
15250 * gnome/applet/other-network-dialog.c:
15251 * gnome/applet/wireless-applet.glade:
15252 Also need mnemonic widgets, and underline enabled.
15254 2005-08-19 Dan Williams <dcbw@redhat.com>
15256 * vpn-daemons/vpnc/nm-vpnc-service.c
15257 - (vpnc_watch_cb): remove no-longer-relevant comment
15258 - (write_config_option): new function, helper to write
15259 config options to vpnc's stdin
15260 - (nm_vpnc_config_write): use the new helper, make the
15263 2005-08-19 Christopher Aillon <caillon@redhat.com>
15265 * gnome/applet/passphrase-dialog.c:
15266 * gnome/applet/wireless-applet.glade:
15267 Make the passphrase dialog response based, and treat
15268 responses other than OK (such as Esc, [X]) as a cancel.
15270 2005-08-18 Christopher Aillon <caillon@redhat.com>
15272 * initscript/Gentoo/NetworkManager:
15273 * initscript/RedHat/NetworkManager:
15274 * initscript/RedHat/NetworkManagerDispatcher:
15275 * initscript/SUSE/networkmanager:
15276 CVS remove these in place of .in replacements
15279 * initscript/Gentoo/NetworkManager.in:
15280 * initscript/RedHat/NetworkManager.in:
15281 * initscript/RedHat/NetworkManagerDispatcher.in:
15282 * initscript/SUSE/networkmanager.in:
15283 These scripts now are generated so they work still when
15284 NM is built using a bindir other than /usr/bin
15286 2005-08-18 Dan Williams <dcbw@redhat.com>
15288 * gnome/applet/main.c
15289 - Revert previous change for --no-session since
15290 --sm-disable does the same thing
15292 2005-08-18 Dan Williams <dcbw@redhat.com>
15294 * gnome/applet/applet-dbus-info.c
15295 - (nmi_dbus_create_error_message): new function
15296 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15297 functions. Also don't check for both device _and_ network before
15298 asking for a user's key, because we may not have gotten all our
15299 networks back from NM quite yet (due to the dbus pending calls
15300 coming in later). Fixes a hang in NM/nm-applet.
15302 * src/NetworkManagerDbus.c
15303 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15304 slightly more sane manner, even though we are still broken for
15305 certain other error conditions.
15306 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15307 to the info-daemon too
15309 * src/NetworkManagerDevice.c
15310 - Fix some debug messages to be info messages instead
15312 2005-08-18 Dan Williams <dcbw@redhat.com>
15314 * gnome/applet/main.c
15315 - Add new "--no-session" parameter that disables applet
15316 session management, ie for testing
15318 2005-08-18 Christopher Aillon <caillon@redhat.com>
15320 * gnome/applet/other-network-dialog.c:
15321 * gnome/applet/wireless-applet.glade: More mnemonics
15323 2005-08-17 Robert Love <rml@novell.com>
15325 * initscript/SUSE/networkmanager: update
15327 2005-08-17 Dan Williams <dcbw@redhat.com>
15329 * Tag NM_0_4_1_RELEASE
15331 2005-08-17 Christopher Aillon <caillon@redhat.com>
15333 * gnome/applet/applet.c: More translatable string cleanup
15336 2005-08-17 Dan Williams <dcbw@redhat.com>
15338 * gnome/applet/applet-dbus-info.c
15339 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15340 from the dbus message, which tells us to unconditionally
15341 ask the user for a new key. Otherwise, we pull the key from
15342 the keyring and return it. If we fail to get the key from the
15343 keyring, we ask the user for a new key.
15344 - (nmi_dbus_get_network_key): new function to grab the key for
15345 an essid from the keyring.
15346 - (nmi_dbus_get_network_properties): don't access the keyring here.
15347 Also, don't return any key in the dbus message.
15349 * src/NetworkManagerDbus.[ch]
15350 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15351 indicate that we unconditionally want a new key. This function
15352 is now also used to get keys from the info-daemon which are
15353 pre-stored, not just for asking the user for a new key. The
15354 "new_key" parameter indicates whether or not we wish to ask the
15355 user for a new key.
15356 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15357 info-daemon in the return message, so use NULL instead. The
15358 key will be filled in at connect time by calling
15359 nm_dbus_get_user_key_for_network()
15361 * src/NetworkManagerDevice.c
15362 - (nm_device_wireless_configure): update for "new_key" param to
15363 nm_dbus_get_user_key_for_network(). We initially set new_key
15364 to FALSE to see if we have a stored key in the info-daemon, but
15365 if the connection is unsuccessful at this stage we request a
15368 2005-08-17 Dan Williams <dcbw@redhat.com>
15370 * gnome/applet/icons/nm-no-connection.png
15371 gnome/applet/icons/nm-device-wired.png
15372 - Use Diana's new RJ45 connector icons
15374 2005-08-17 Dan Williams <dcbw@redhat.com>
15376 * src/NetworkManagerPolicy.c
15377 - (nm_policy_device_change_check): clarify switching rules if
15378 both new and old devices are valid; mainly, don't switch
15379 away from user-requested wireless connection back to a wired
15382 2005-08-17 Dan Williams <dcbw@redhat.com>
15384 * gnome/applet/Makefile.am
15385 - Relocate the applet to /usr/bin since it is no longer
15386 executed by anything, but directly by the user
15388 2005-08-17 Dan Williams <dcbw@redhat.com>
15390 Patch from Bill Moss <bmoss@clemson.edu>
15392 * gnome/applet/applet-dbus-info.[ch]
15393 - (nmi_save_network_info): save timestamp for network if it
15394 was a change requested by the user
15395 - (nmi_dbus_update_network_info): get user_requested from dbus
15396 message and pass to nmi_save_network_info()
15398 * gnome/applet/applet.c
15399 - (nmwa_update_network_timestamp): remove
15400 - (nmwa_menu_item_activate): don't set timestamp on networks
15401 here, only after a successful connect in nmi_save_network_info()
15403 * src/NetworkManagerDbus.[ch]
15404 - (nm_dbus_update_network_info): pass user_requested into the
15407 * src/NetworkManagerPolicy.c
15408 - (nm_policy_activation_finish): pass user_requested to
15409 nm_dbus_update_network_info()
15411 2005-08-16 Robert Love <rml@novell.com>
15413 * gnome/applet/applet.c: Better "Dial Up" menu item.
15415 2005-08-16 Robert Love <rml@novell.com>
15417 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15418 "Connection Information" menu item.
15420 2005-08-16 Dan Williams <dcbw@redhat.com>
15422 Patch from j@bootlab.org
15423 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
15425 * configure.in: allow specifying the path to dhcdbd
15427 2005-08-16 Robert Love <rml@novell.com>
15429 Patch from j@bootlab.org
15430 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
15431 src/backends/interface_parser.h: Debian dialup support.
15433 2005-08-16 Christopher Aillon <caillon@redhat.com>
15435 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
15436 * gnome/applet/applet.c: Add some mnemonics for VPNC
15438 * vpn-daemons/.cvsignore: fix this up a little bit
15440 2005-08-16 Robert Love <rml@novell.com>
15442 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
15445 2005-08-16 Christopher Aillon <caillon@redhat.com>
15447 * gnome/applet/applet.c: Split markup out of translatable strings
15448 and clean up logic a little bit. (fixes #309012)
15450 2005-08-15 Christopher Aillon <caillon@redhat.com>
15452 * gnome/vpn-properties/nm-vpn-properties.c:
15453 * gnome/vpn-properties/nm-vpn-ui-interface.h:
15454 * vpn-daemons/vpnc/properties/nm-vpnc.c:
15455 Makeshift fix to remove newlines from translatable strings.
15456 Note that we now return an allocated string, so callers of
15457 get_confirmation_details () must now call g_free () on the
15458 result. (fixes #309033).
15460 2005-08-12 Robert Love <rml@novell.com>
15462 * gnome/applet/applet-dbus.c: remove newlines from translatable
15463 strings--not needed here anyway. (fix b.g.o #309011)
15464 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
15466 2005-08-11 Robert Love <rml@novell.com>
15468 * gnome/applet/applet.c: mark string as translatable.
15470 2005-08-11 Robert Love <rml@novell.com>
15472 * initscript/SUSE/networkmanager: update.
15474 2005-08-11 Dan Williams <dcbw@redhat.com>
15476 * src/nm-dhcp-manager.c
15477 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
15478 an gateway returned from DHCP, try to use the address of the DHCP
15479 server as the gateway instead. Found by Ralf Ertzinger.
15481 2005-08-10 Robert Love <rml@novell.com>
15483 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
15484 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
15486 2005-08-10 Dan Williams <dcbw@redhat.com>
15488 Patch from Bill Moss <bmoss@clemson.edu>
15489 * Consolidate writes of access point information updates to the info daemon
15490 so that we only do it when the connection to the access point was
15491 successful. Also consolidates updates to GConf in the Gnome applet.
15493 * src/nm-netlink-monitor.c
15494 - Silence compile warning when calling g_object_new()
15496 2005-08-08 Dan Williams <dcbw@redhat.com>
15498 Patch from Steev <steev@steev.net>:
15499 * src/backends/NetworkManagerGentoo.c
15500 - Stub new dialup backend functions
15502 2005-08-08 Dan Williams <dcbw@redhat.com>
15504 Patch from Colin Slater:
15505 * src/backends/NetworkManagerGentoo.c
15506 - (nm_system_update_dns): Fix exit status check for restarting
15509 2005-08-05 Robert Love <rml@novell.com>
15511 * NetworkManager.h,
15512 gnome/applet/applet-dbus-devices.c,
15513 gnome/applet/applet-dbus-devices.h,
15514 gnome/applet/applet-dbus.c,
15515 gnome/applet/applet.c,
15516 gnome/applet/applet.h,
15517 src/NetworkManager.c,
15518 src/NetworkManagerMain.h,
15519 src/NetworkManagerSystem.h,
15520 src/backends/NetworkManagerRedHat.c,
15521 src/backends/NetworkManagerSuSE.c,
15522 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
15524 2005-08-05 Robert Love <rml@novell.com>
15526 * gnome/applet/other-network-dialog.c: default the adhoc network to the
15527 machine's hostname to make adhoc creation idiot-proof.
15529 2005-08-04 Robert Love <rml@novell.com>
15531 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
15534 2005-08-04 Dan Williams <dcbw@redhat.com>
15536 * gnome/applet/applet-dbus-info.c
15537 gnome/applet/applet-dbus-info.h
15538 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
15539 to store key, key type, and auth method rather than just auth method
15540 - (nmi_dbus_update_network_info): new function
15541 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
15543 * gnome/applet/passphrase-dialog.c
15544 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
15545 of saving the info ourselves
15547 * gnome/libnm_glib/libnm_glib.c
15548 - Remove the stupid version check for dbus
15550 * src/NetworkManagerAP.c
15551 src/NetworkManagerAP.h
15552 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
15554 * src/NetworkManagerDbus.c
15555 src/NetworkManagerDbus.h
15556 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
15557 more than just the auth method
15559 * src/NetworkManagerDevice.c
15560 - Update network info at the appropriate times
15562 2005-07-29 Ray Strode <rstrode@redhat.com>
15564 * src/NetworkManager.c (nm_info_handler): don't use input as format
15565 string (Spotted by Ian Jackson).
15567 2005-07-27 Dan Williams <dcbw@redhat.com>
15571 - Random cleanups of spacing
15573 * gnome/applet/applet.h
15574 gnome/applet/other-network-dialog.c
15575 gnome/applet/passphrase-dialog.c
15576 - Conslidate usage of NMWAEncryptionKeyTypes enum
15578 Patch from Bill Moss:
15579 - Make Other Wireless Networks work again with encryption keys
15581 2005-07-26 Dan Williams <dcbw@redhat.com>
15583 Patch from Steev <steev@steev.net>:
15584 * src/backends/NetworkManagerGentoo.c
15585 src/backends/Makefile.am
15586 - Fix up Gentoo backend
15588 2005-07-26 Robert Love <rml@novell.com>
15590 * src/backends/NetworkManagerSuSE.c: misc. cleanup
15592 2005-07-25 Robert Love <rml@novell.com>
15594 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
15595 in the same group as the wireless networks, since they are all
15596 mutually exclusive.
15598 2005-07-24 Ray Strode <rstrode@redhat.com>
15600 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
15601 remove unneeded NULL arg from g_object_new(). Any
15602 warnings caused by not having the extra NULL are just a
15603 result of a bug in glib 2.7.0 - 2.7.2.
15605 2005-07-22 Robert Love <rml@novell.com>
15607 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
15609 2005-07-22 Robert Love <rml@novell.com>
15611 * src/nm-netlink-monitor.c: g_object_new() needs at least three
15612 parameters (gcc 4.0.2 warning fix).
15614 2005-07-18 Robert Love <rml@novell.com>
15616 Suggested by Aaron Bockover (abockover@novell.com)
15617 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
15619 * gnome/applet/passphrase-dialog.c: ditto
15620 * gnome/applet/wireless-applet.glade: ditto
15622 2005-07-13 Dan Williams <dcbw@redhat.com>
15624 Patch from Ray Strode <halfline@gmail.com>
15625 * vpn-daemons/vpnc/nm-vpnc-service.c
15626 - Don't let vpnc daemonize, fixes some races with PID file reading
15628 2005-07-13 Dan Williams <dcbw@redhat.com>
15630 Patch from Ray Strode <halfline@gmail.com>
15631 * Random cleanups for strict CFLAGS
15633 2005-07-07 Dan Williams <dcbw@redhat.com>
15635 Patch from Derek Atkins <warlord@MIT.EDU>
15636 * src/nm-dbus-net.c:
15637 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
15639 2005-07-07 Dan Williams <dcbw@redhat.com>
15641 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
15642 * src/backends/NetworkManagerGentoo.c
15643 - Gentoo backend Static IP nameserver fixes
15644 - General Gentoo backend goodness
15646 2005-07-07 Dan Williams <dcbw@redhat.com>
15648 Patch from Bastien Nocera:
15649 * gnome/applet/applet.c
15650 - Fix up error reporting when icons or glade files are missing
15652 2005-07-07 Robert Love <rml@novell.com>
15654 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
15655 are not any VPN connections above it.
15657 2005-07-07 Robert Love <rml@novell.com>
15659 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
15661 2005-07-05 Robert Love <rml@novell.com>
15663 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
15666 2005-07-05 Robert Love <rml@novell.com>
15668 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
15669 on wired or unencrypted wireless.
15671 2005-07-01 Robert Love <rml@novell.com>
15673 * src/NetworkManagerSystem.c: Print the error via strerror().
15675 2005-06-30 Robert Love <rml@novell.com>
15677 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
15678 then exit if the glade file is not found. currently the application
15681 2005-06-30 Robert Love <rml@novell.com>
15683 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
15684 explicitly up all interfaces on wake from sleep.
15686 2005-06-30 Robert Love <rml@novell.com>
15688 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
15689 with information about the currently active connection.
15690 * gnome/applet/applet.h: (ditto)
15691 * gnome/applet/wireless-applet.glade: (ditto), new file
15693 2005-06-30 Robert Love <rml@novell.com>
15695 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
15696 * src/nm-dbus-nm.c: print when we sleep and wake up.
15697 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
15698 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
15699 in /sbin unless D-BUS is, folks).
15700 * README: update to reflect nm-applet replacing NetworkManagerInfo.
15702 2005-06-27 Robert Love <rml@novell.com>
15704 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
15707 2005-06-27 Robert Love <rml@novell.com>
15709 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
15712 2005-06-26 Robert Love <rml@novell.com>
15714 * src/NetworkManagerDevice.c: be specific about which device in
15717 2005-06-23 Adam Weinberger <adamw@gnome.org>
15719 * src/nm-netlink-monitor.c: correct spelling error.
15721 2005-06-23 Robert Love <rml@novell.com>
15723 * gnome/applet/applet-dbus-info.c: gnome keyring support!
15724 * gnome/applet/passphrase-dialog.c: more of that keyring!
15726 2005-06-23 Robert Love <rml@novell.com>
15728 * configure.in: remove extraneous GNOMEKEYRING directives.
15729 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
15730 * gnome/applet/applet.c: nmwa_icons_init: make style local.
15731 * gnome/applet/passphrase-dialog.c: whitespace.
15733 2005-06-23 Robert Love <rml@novell.com>
15735 * src/NetworkManagerDevice.c: division in assignment was flipped.
15737 2005-06-23 David Zeuthen <david@fubar.dk>
15739 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
15740 signal to the child to indicate that we got what we wanted when we
15741 see two new-lines right after each other.
15742 (nmwa_vpn_request_password): Pass a structure with several members
15743 instead of just the passwords
15745 2005-06-23 Dan Williams <dcbw@redhat.com>
15747 * src/NetworkManager.c
15748 src/NetworkManagerMain.h
15749 - (nm_get_hal_ctx): new function, move Hal initialization code here
15750 - (nm_hal_init): new function, init libhal context then add devices
15751 - (nm_hal_deinit): new function, clean up libhal context
15752 - (nm_data_free): Move Hal cleanup here
15753 - (main): check whether Hal is running, and if so, get a list of
15754 network devices from it
15756 * src/NetworkManagerDbus.c
15757 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
15758 and when it appears, get a list of network devices from it. If
15759 Hal goes away, clean up the libhal context
15761 2005-06-22 Robert Love <rml@novell.com>
15763 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
15764 permissions of scripts before executing.
15766 2005-06-21 Robert Love <rml@novell.com>
15768 * initscript/SUSE/networkmanager: update.
15769 * src/backends/NetworkManagerSuSE.c: cleanup.
15771 2005-06-21 Robert Love <rml@novell.com>
15773 * gnome/applet/applet.c: use menu mnemonics.
15774 * gnome/applet/menu-items.c: (ditto)
15776 2005-06-21 Robert Love <rml@novell.com>
15778 * applet/applet-dbus-devices.c: mark non-static functions static.
15779 * applet/applet-dbus-vpn.c: (ditto)
15780 * applet/applet.c: (ditto)
15781 * applet/nm-device.h: (ditto)
15782 * applet/other-network-dialog.c: (ditto)
15783 * applet/passphrase-dialog.c: (ditto)
15784 * NetworkManager.c: (ditto)
15785 * NetworkManagerDbus.c: (ditto)
15786 * NetworkManagerDevice.c: (ditto)
15787 * NetworkManagerPolicy.c: (ditto)
15788 * NetworkManagerUtils.c: (ditto)
15789 * NetworkManagerWireless.c: (ditto)
15790 * NetworkManagerWireless.h: (ditto)
15791 * nm-netlink-monitor.c: (ditto)
15792 * applet/applet-dbus-info.c: (ditto), add FIXME's.
15793 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
15794 * autoip.c: include autoip.h.
15795 * autoip.h: new file. define get_autoip().
15796 * nm-netlink-monitor.h: define nm_netlink_close_connection().
15797 * NetworkManagerDbus.h: remove duplicate definitions.
15799 2005-06-20 Robert Love <rml@novell.com>
15801 * Makefile.am: Add missing intltool-foo.in generated files to
15802 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
15803 with the start of stuff to cleanup on 'distclea'.
15804 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
15805 stuff right and 'distcheck' works.
15806 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
15807 we keep it, we need to add all of examples/* to EXTRA_DIST and do
15808 Makefile.am for each. And systray/Makefile needs to be redone.
15810 2005-06-19 Dan Williams <dcbw@redhat.com>
15812 * src/NetworkManagerDevice.c
15813 - (nm_device_wireless_process_scan_results): scan every 20s when
15814 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
15816 2005-06-19 Dan Williams <dcbw@redhat.com>
15818 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
15820 2005-06-18 Ray Strode <rstrode@redhat.com>
15822 * src/nm-netlink-monitor.c
15823 (nm_netlink_monitor_event_handler): check for the presence
15824 of either error condition not both.
15826 (nm_netlink_monitor_error_handler): emit error signal if
15829 (nm_netlink_monitor_event_handler),
15830 (nm_netlink_monitor_error_handler),
15831 (nm_netlink_monitor_disconnect_handler): if an
15832 assertion fails disconnect the event handler to prevent
15835 * src/nm-netlink-monitor.h: add new error condition
15836 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
15838 2005-06-18 Ray Strode <rstrode@redhat.com>
15840 * src/nm-netlink-monitor.c
15841 (nm_netlink_monitor_event_handler): remove bogus < 0
15842 check on unsigned value and return early if the kernel
15843 didn't send any bytes.
15845 2005-06-17 Robert Love <rml@novell.com>
15847 * initscript/SUSE/networkmanager: Change the Provides and default
15850 2005-06-16 Dan Williams <dcbw@redhat.com>
15852 Patch from Robert Love:
15853 * gnome/applet/applet.c
15854 - Beautify some applet menu item names
15856 2005-06-17 David Zeuthen <davidz@redhat.com>
15858 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
15859 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
15860 Also add new methods can_export, import_file and export.
15862 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
15865 * gnome/vpn-properties/nm-vpn-properties.c:
15866 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
15867 nm-vpn-ui-interface.h.
15868 (update_edit_del_sensitivity): Also update "Export" sensitivity
15869 (add_vpn_connection): Also add new SVC_NAME column
15870 (import_settings): New function
15871 (retrieve_data_from_selected_connection): New function
15872 (edit_cb): Use retrieve_data_from_selected_connection to simplify
15874 (export_cb): New function
15875 (init_app): Also setup the "export" widget
15876 (main): Support the --import-service and --import-file commandline
15879 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
15882 2005-06-16 Dan Williams <dcbw@redhat.com>
15884 Patch from Robert Love:
15885 * gnome/applet/menu-items.c
15886 - (network_menu_item_new): pass -1 as wireless network
15887 menu items height size request rather than ascent / 2
15889 2005-06-16 Dan Williams <dcbw@redhat.com>
15891 * Clean up wording in Wireless Scan Methods menu items and constants
15893 2005-06-16 Robert Love <rml@novell.com>
15896 - remove gtkcell* files
15898 2005-06-15 Dan Williams <dcbw@redhat.com>
15900 Patch from Robert Love: make the applet stetic
15902 * gnome/applet/Makefile.am
15903 - Don't compile the gtkcellview and gtkcellrendererprogress files
15905 * gnome/applet/gtkcellview.h
15906 gnome/applet/gtkcellview.c
15907 gnome/applet/gtkcellrendererprogress.h
15908 gnome/applet/gtkcellrendererprogress.c
15911 * gnome/applet/menu-items.c
15912 - Progress bars are 5:1 size ratio
15913 - Use GTK progress bars rather than internal ones
15915 2005-06-15 Dan Williams <dcbw@redhat.com>
15917 Patch from Robert Love:
15918 * initscript/SUSE/networkmanager
15921 2005-06-15 Dan Williams <dcbw@redhat.com>
15923 * src/backends/NetworkManagerSuSE.c
15924 src/backends/NetworkManagerRedHat.c
15925 src/backends/NetworkManagerDebian.c
15926 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
15928 2005-06-15 Dan Williams <dcbw@redhat.com>
15930 * src/backends/NetworkManagerDebian.c
15931 - Add nm_system_device_get_use_dhcp() to debian backend
15933 Patch from Kay Sievers:
15934 * src/backends/NetworkManagerSuSE.c
15935 - Update debian backend for static IP nameservers
15937 * src/NetworkManagerDevice.c
15938 - Actually set the device to use static IP or DHCP rather
15941 2005-06-15 Dan Williams <dcbw@redhat.com>
15943 Patch from Thom May:
15944 * src/backends/NetworkManagerDebian.c
15945 - Update debian backend for static IP nameservers
15947 2005-06-15 Dan Williams <dcbw@redhat.com>
15949 Patches from Robert Love:
15950 * gnome/applet/wireless-applet.glade
15951 - Tighten up wording
15953 * src/NetworkManagerDevice.c
15954 - Remove misplaced ';'
15957 initscript/Makefile.am
15958 initscript/SUSE/Makefile.am
15959 initscript/SUSE/networkmanager
15960 - Add SUSE initscript
15962 2005-06-12 David Zeuthen <davidz@redhat.com>
15964 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
15966 * gnome/vpn-properties/nm-vpn-properties.glade: New file
15968 * gnome/vpn-properties/nm-vpn-properties.c: New file
15970 * gnome/vpn-properties/Makefile.am: New file
15972 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
15975 * src/vpn-manager/nm-vpn-manager.c
15976 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
15977 instead of just a single one
15979 * src/vpn-manager/nm-dbus-vpn.c:
15980 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
15982 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
15984 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
15985 Change the interface here to give a list of passwords. Also, don't
15986 require username, but do require service
15988 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
15989 the binary for the auth-dialog and use that instead of putting up a
15990 dialog asking for a single password
15992 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
15993 however do remember the service
15995 * gnome/applet/main.c (main): Setup i18n
15997 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
15998 connection to '%s'" to the tooltip if we are connected using VPN
15999 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16000 key to determine whether we the auth-dialog needs to
16001 reprompt. Also cope with the fact that the auth-dialog now returns
16002 an array of passwords.
16003 (nmwa_menu_configure_vpn_item_activate): New handler for
16004 "Configure VPN..." menu item
16005 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16006 (is_vpn_available): New function to determine if we got any
16007 NM-compatible VPN software installed
16008 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16009 items only if we have NM-compatible VPN software installed
16010 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16011 logic for detecting when VPN connections are removed
16013 * gnome/applet/applet-dbus.h: Removed the prototypes for
16014 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16015 since these are defined elsewhere
16017 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16018 function used to keep track of whether the last attempt succeded
16019 (nmwa_dbus_filter): Update last_attempt according to whether the
16020 VPN connection could be established or not
16022 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
16023 Change prototype to take an array of passwords, not just a single
16026 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16027 update service, not user
16028 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16029 dbus_active_vpn_name is not NULL before using it
16030 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16031 string array instead of assuming a single password
16033 * gnome/applet/applet-dbus-info.c:
16034 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16035 user name; don't read from gconf
16037 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
16040 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16042 * configure.in: Add checks for gmodule-2.0.
16043 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16044 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16045 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
16048 * vpn-daemons/Makefile.am: Removed
16050 * vpn-daemons/README: New file to describe extensions points for VPN
16053 2005-06-10 Dan Williams <dcbw@redhat.com>
16055 * src/backends/NetworkManagerRedHat.c
16056 - (get_current_profile_name): new function, grab current network profile name from
16057 /etc/sysconfig/network
16058 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16059 update an IP4 Config structure's settings from it
16060 - (nm_system_device_get_system_config): if we're using static IP on this device,
16061 get DNS info from current network profile
16063 2005-06-09 Dan Williams <dcbw@redhat.com>
16065 Patch from Robert Love:
16066 * src/NetworkManagerDevice.c
16067 src/NetworkManagerUtils.c
16068 - 64-bit build fixes
16070 2005-06-09 Dan Williams <dcbw@redhat.com>
16072 Patch from Kay Sievers and Robert Love:
16074 src/backends/Makefile.am
16075 src/backends/NetworkManagerSuSE.c
16078 2005-06-09 Dan Williams <dcbw@redhat.com>
16081 - Add NMWirelessScanMethod enum for scan methods
16083 * gnome/applet/applet-dbus-devices.c
16084 - (nmwa_dbus_update_scanning_enabled_cb): remove
16085 - (nmwa_dbus_update_scanning_enabled): remove
16086 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16087 since it got removed
16088 - (nmwa_dbus_enable_scanning): remove
16090 * gnome/applet/applet-dbus-info.c
16091 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16092 update the wireless scanning method from NMI
16093 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16094 method value to NetworkManager
16095 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16097 * gnome/applet/applet-dbus-info.h
16098 - Add prototype for nmi_dbus_signal_update_scan_method
16100 * gnome/applet/applet.c
16101 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16102 Wireless Scanning menu based on current wireless scan method
16103 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16104 signal for Wireless Scanning menu items, tell NetworkManager the new method
16105 and update our menu items to make sure the right one is checked
16106 - (nmwa_set_scanning_enabled_cb): remove
16107 - (nmwa_context_menu_update): remove references to pause_scanning_item
16108 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16110 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16112 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16113 so we get notified of preference values too
16114 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16116 * gnome/applet/applet.h
16117 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16118 - Add wireless scan method member to applet data
16119 - Remove pause_scanning_item, add Wireless Scanning submenu
16121 * src/NetworkManager.c
16122 - (nm_data_new): default to NM_SCAN_METHOD_ON
16123 - (main): grab scanning method from NMI if we can
16125 * src/NetworkManagerDbus.c
16126 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16127 nm_dbus_update_wireless_scan_method()
16128 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16130 - (nm_dbus_nmi_is_running): redundant function, removed
16131 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16132 when NMI comes back
16134 * src/NetworkManagerDevice.c
16135 - (nm_device_is_activated): return TRUE if the device is activated
16136 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16137 and we are activated
16140 - (nm_dbus_nm_set_scanning_enabled): removed
16141 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16142 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16144 2005-06-09 Dan Williams <dcbw@redhat.com>
16147 src/vpn-manager/nm-vpn-service.c
16148 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16150 2005-05-27 Dan Williams <dcbw@redhat.com>
16152 * vpn-daemons/vpnc/nm-vpnc-service.c
16153 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16154 Should fix the bug where the VPN connection terminates the first time.
16156 2005-05-20 Dan Williams <dcbw@redhat.com>
16159 - Differentiate VPN config signals between bad VPN config options
16162 * gnome/applet/applet-dbus-info.h
16163 - Add prototypes for wireless network and vpn connection update functions
16165 * gnome/applet/applet-dbus.c
16166 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16168 * gnome/applet/applet.c
16169 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16171 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16172 propogation to NetworkManager
16173 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16174 notify propogation to NetworkManager
16176 * src/NetworkManagerDbus.c
16177 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16178 are updating so a network can be removed from it if necessary
16180 * src/vpn-manager/nm-vpn-manager.c
16181 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16183 * vpn-daemons/vpnc/nm-vpnc-service.c
16184 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16185 - (nm_vpnc_dbus_signal_launch_failed): remove
16186 - (nm_vpnc_dbus_signal_connect_failed): remove
16187 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16188 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16189 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16190 for new generalized error signal function, remove config file stuff
16191 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16192 we can write configuration options to it
16193 - (nm_vpnc_config_file_generate): removed
16194 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16195 - (nm_vpnc_config_options_validate): validate the config options we receive
16196 from NetworkManager to block potential exploits
16197 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16199 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16202 2005-05-16 Dan Williams <dcbw@redhat.com>
16204 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16205 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16208 2005-05-16 Dan Williams <dcbw@redhat.com>
16210 Patch from Tomislav Vujec <tvujec@redhat.com>
16211 * gnome/applet/applet-dbus-info.c
16212 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16213 GConf and pass them to NetworkManager. New key is 'routes' under
16214 the VPN connection, and should be a string list
16216 * src/NetworkManagerSystem.c
16217 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16218 set them on the device when we set the rest of the VPN config. Ensure
16219 they are in the correct format since they are passed directly to the
16222 * src/backends/NetworkManagerRedHat.c
16223 src/backends/NetworkManagerDebian.c
16224 - (nm_system_device_add_route_via_device_with_iface): new function
16226 * src/vpn-manager/nm-dbus-vpn.c
16227 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16229 * src/vpn-manager/nm-vpn-manager.c
16230 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16231 them into the IP4 config functions
16233 2005-05-15 Dan Williams <dcbw@redhat.com>
16235 From Filip Miletic:
16239 - Serbian translation added
16241 2005-05-15 Dan Williams <dcbw@redhat.com>
16243 * dispatcher-daemon/NetworkManagerDispatcher.c
16244 - (main): sync arguments with NetworkManager and the applet, now use
16245 "--no-daemon" rather than "daemon=no"
16246 - (nmd_print_usage): Fix script path in usage message
16248 2005-05-15 Dan Williams <dcbw@redhat.com>
16250 * src/NetworkManagerDevice.[ch]
16251 src/NetworkManagerPolicy.c
16252 src/NetworkManager.c
16254 - Remove the "just_added" parameter from nm_device_deactivate(). We no
16255 longer send the DeviceNoLongerActive signal unconditionally, but only
16256 when the device is actually active.
16258 * dispatcher-daemon/NetworkManagerDispatcher.c
16259 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16260 and simplify the logic
16261 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16262 we free it later on
16264 * initscript/RedHat/Makefile.am
16265 initscript/RedHat/NetworkManagerDispatcher
16266 - Add initscript for NetworkManagerDispatcher
16269 Patch from Bill Moss:
16270 * dispatcher-daemon/NetworkManagerDispatcher.c
16271 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16273 * src/NetworkManagerDbus.c
16274 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
16275 and DeviceNowActive gets signaled, then the device has a new IP address
16276 anyway. There's no need for a separate signal.
16278 * src/NetworkManagerDevice.c
16279 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16281 * src/NetworkManagerPolicy.c
16282 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16283 activates successfully. This kind of went missing when I reworked the
16286 2005-05-15 Dan Williams <dcbw@redhat.com>
16289 - Check for dhcdbd and error if its not found
16291 * src/dhcp-manager/Makefile.am
16292 src/dhcp-manager/nm-dhcp-manager.c
16293 - Use path to dhcdbd that configure found
16295 2005-05-14 Dan Williams <dcbw@redhat.com>
16297 * gnome/applet/nm-device.c
16298 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16299 sort wireless networks alphabetically
16301 * gnome/applet/applet-dbus-devices.c
16302 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16303 before copying them over to the GUI
16305 2005-05-14 Dan Williams <dcbw@redhat.com>
16307 * src/NetworkManager.c
16308 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16309 fixes a deadlock on shutdown with a VPN connection active. This function locks
16310 the device list, as does nm_get_active_device() which is called from
16311 nm_vpn_manager_deactivate_vpn_connection().
16313 2005-05-14 Dan Williams <dcbw@redhat.com>
16316 - Add signals for VPN Launch and Connect failures
16318 * gnome/applet/applet-dbus.c
16319 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16321 * gnome/applet/applet.c
16322 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16323 function to handle all VPN failure messages
16324 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
16325 function to hanlde all VPN failure messages
16326 - (show_warning_dialog): work around focus-stealing prevention
16328 * gnome/applet/other-network-dialog.c
16329 gnome/applet/passphrase-dialog.c
16330 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16331 problem where it never enabled for ASCII Key and Hex Key types
16333 * gnome/applet/wireless-applet.glade
16334 - Add window title to Other Wireless Network Dialog
16336 * src/vpn-manager/nm-dbus-vpn.c
16337 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16338 function to handle all VPN failure messages
16340 * src/vpn-manager/nm-vpn-manager.c
16341 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16343 * vpn-daemons/vpnc/nm-vpnc-service.c
16344 - (nm_vpnc_dbus_signal_launch_failed): new function
16345 - (nm_vpnc_dbus_signal_connect_failed): new function
16346 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16347 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16348 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16349 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16351 2005-05-11 Dan Williams <dcbw@redhat.com>
16353 * vpn-daemons/vpnc/nm-vpnc-service.c
16354 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16355 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16356 file exists before trying to write it out.
16358 2005-05-10 Dan Williams <dcbw@redhat.com>
16360 * gnome/applet/applet-dbus-device.c
16361 - (nmwa_dbus_set_device): remove check for valid key and key type, which
16362 prevented just entering ESSID and leaving key and key type up to
16363 NetworkManager (which should have them already cached)
16365 2005-05-08 Dan Williams <dcbw@redhat.com>
16367 * src/NetworkManagerPolicy.c
16368 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16369 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16370 fix a situation where NM is told to terminate and the device stops activation,
16371 but the main thread isn't aware of that because it would never have run
16372 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16375 * src/NetworkManagerDevice.c
16376 - (nm_device_probe_wired_link_state): cosmetic fixes
16377 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16378 we've failed to activate or been canceled.
16379 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16381 2005-05-08 Dan Williams <dcbw@redhat.com>
16383 * src/NetworkManagerWireless.c
16384 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16385 value of WEXT quality structures, and add a debug message when we cannot
16386 determine any quality % at all
16388 2005-05-08 Dan Williams <dcbw@redhat.com>
16390 * src/dhcp-manager/nm-dhcp-manager.c
16391 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16394 2005-05-06 Dan Williams <dcbw@redhat.com>
16396 * gnome/applet/applet-dbus-device.c
16397 gnome/applet/applet-dbus-info.c
16398 gnome/applet/applet-dbus.c
16399 gnome/applet/applet.c
16400 gnome/applet/applet.h
16401 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16403 * gnome/applet/applet-dbus.c
16404 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16405 so we notice when wired device's carriers come back on. Should
16406 fix issue with wired devices being grayed out even if the cable
16407 is in, for devices that support carrier detection.
16409 * gnome/applet/applet.c
16410 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16411 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16413 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16414 Fix situation where applet wouldn't respond to menu selections
16416 * src/NetworkManager.c
16417 src/NetworkManagerDevice.c
16418 src/NetworkManagerDbus.c
16419 src/NetworkManagerDbus.h
16420 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
16422 * src/NetworkManagerDbus.c
16423 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
16424 Remove, no longer used or relevant
16425 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
16426 - (nm_dbus_schedule_device_status_change_signal): add
16428 * src/NetworkManagerDevice.c
16429 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
16430 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
16431 ie don't deactivate them unless explicitly told to by the user. Also send
16432 CARRIER_OFF / CARRIER_ON signals when link changes
16433 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
16434 Don't print error message when device is no longer around
16435 - (nm_device_deactivate): kill any current DHCP process attached to this device,
16436 not just during activation
16438 * src/NetworkManagerPolicy.c
16439 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
16440 auto-device-selection.
16441 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
16443 * src/NetworkManagerSystem.c
16444 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
16445 is no longer present (Bill Moss)
16447 * src/backends/shvar.c
16448 - (svOpenFile): Open read-only to make SELinux happy
16450 * src/backends/NetworkManagerRedHat.c
16451 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
16452 the path to the ifcfg-* files
16454 2005-05-05 Dan Williams <dcbw@redhat.com>
16456 * Expose activation stages to NetworkManager clients, like the applet
16457 * Add Diana's progress icons to the applet, cued off NM activation stage
16458 * Use more descriptive tooltips, cued off NM activation stage
16460 2005-05-05 Ray Strode <rstrode@redhat.com>
16462 * src/nm-netlink-monitor.c:
16463 - Use clear_event_source instead of g_nullify_pointer() again.
16465 2005-05-05 Dan Williams <dcbw@redhat.com>
16467 * gnome/applet/main.c
16468 - Fix session management so the applet is actually managed now
16470 * gnome/applet/passphrase-dialog.c
16471 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
16473 2005-05-05 Dan Williams <dcbw@redhat.com>
16475 Patch from Bill Moss:
16476 * gnome/libnm_glib/libnm_glib.c
16477 - Fix for dbus-0.33
16479 2005-05-05 Dan Williams <dcbw@redhat.com>
16481 Suggestion from Bill Moss:
16482 * src/NetworkManagerSystem.c
16483 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
16486 * src/NetworkManager.c
16487 - (nm_data_free): move destruction of the various managers after
16488 release of device list, because deactivating and freeing a device
16489 requires at least the named manager
16490 - (nm_poll_and_update_wireless_link_state):
16491 (nm_device_link_activated):
16492 (nm_device_link_deactivated):
16493 don't grab the device list lock when actually updating device
16494 link status or strength, since nm_device_set_link_active()
16495 needs to call nm_get_active_device(), which also locks the device list.
16497 * src/NetworkManagerDevice.c
16498 - (nm_device_set_link_active): if a device's link switches from off->on,
16499 and it's wired, and the active device is wireless (or there is no
16500 active device), activate the new device whose link just came on
16501 - (link_to_specific_ap): try to smooth over intermittency in wireless links
16502 my only calling the link to the current ap "failed" when more than 2
16503 consecutive link checks have failed
16505 2005-05-04 Dan Williams <dcbw@redhat.com>
16507 * src/NetworkManagerDevice.c
16508 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
16509 but let link_to_specific_ap() do the locking where it needs
16511 Patch from Bill Moss:
16512 * src/NetworkManagerSystem.c
16513 - Set MTU of VPN devices to 1412
16515 2005-05-04 Dan Williams <dcbw@redhat.com>
16517 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
16519 * Fix some holes in device activation and retaining the currently connected
16522 2005-05-03 Dan Williams <dcbw@redhat.com>
16524 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
16525 This means that NetworkManager shouldn't have DHCP issues anymore. It also
16526 means you need dhcdbd, which you can get here (get the latest one):
16528 http://people.redhat.com/jvdias/dhcdbd/
16530 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
16531 interface as dhcdbd.
16533 * Rewrite device activation to facilitate the new DHCP infrastructure and
16534 future improvements. Its now "activation request" based, ie there is a single
16535 activation request composed of the device, access point, and other info which
16536 follows the entire activation process. There are 5 stages of the activation
16537 process which correspond to:
16539 1) Device preparation
16540 2) Device configuration (bring it up, set ESSID/Key/etc)
16541 3) IP Config Start (fire off DHCP if we're using it)
16542 4) IP Config Get (grab config from DHCP or static config files)
16543 5) IP Config Commit (set device's IP address, DNS, etc)
16545 Note that there is no longer a "scanning" step, since the access point must
16546 be known _before_ activation starts. If the access point drops out or does
16547 not exist for some reason, the entire activation process fails and must be
16548 restarted for a different access point or device.
16550 Patch from Bill Moss:
16551 * gnome/applet/applet.c
16552 - Fix type of vpn_failure dialog -> vpn_banner dialog
16554 2005-04-27 Dan Williams <dcbw@redhat.com>
16556 * gnome/applet/applet-dbus-vpn.c
16557 gnome/applet/applet.c
16558 gnome/applet/applet.h
16559 - Fix up active VPN handling so that we reliably know when a VPN
16560 connection has been deactivated
16562 * src/vpn-manager/nm-vpn-manager.c
16563 - Remove duplicate VPNConnectionChange signal
16565 2005-04-27 Dan Williams <dcbw@redhat.com>
16567 Patch from Peter Jones:
16568 * Remove usage of varargs to fix crashes on PPC (RH #154336)
16570 Patch from Bill Moss:
16571 * src/NetworkManagerSystem.c
16572 - Fix checking of return value from ioctl()
16574 2005-04-27 Dan Williams <dcbw@redhat.com>
16576 * Fix choosing of wireless networks and "Other wireless network..." from the applet
16577 * Warn and exit if icons cannot be found
16579 2005-04-27 Dan Williams <dcbw@redhat.com>
16581 Patch from Tom Parker:
16582 * Update debian backend
16584 2005-04-27 Dan Williams <dcbw@redhat.com>
16586 * Merge the applet and the info-daemon, and move the converged
16587 applet under gnome/applet
16588 * Move libnm_glib to gnome/libnm_glib
16589 * Convert most dbus calls between the applet, info-daemon, and NM
16591 * Fix a few things valgrind noticed
16592 * Make NM broadcast state more reliably
16594 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
16596 * configure.in: Added ne in ALL_LINGUAS
16598 2005-04-15 Dan Williams <dcbw@redhat.com>
16600 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
16601 code for dbus 0.2x versions
16603 2005-04-15 Dan Williams <dcbw@redhat.com>
16605 Patches from Tom Parker:
16607 - Join with worker thread rather than polling for its exit
16609 Patch from Bill Moss:
16610 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
16612 2005-04-15 Dan Williams <dcbw@redhat.com>
16614 - Fixes to pass 'make distcheck'
16616 2005-04-15 Dan Williams <dcbw@redhat.com>
16618 Initial VPN Support
16620 - reworks device IP configuration, backend files have changed and will need
16621 to be updated for all distributions. I will try to do what I can for
16622 them, but I cannot test them.
16624 - Move named directory to src/named-manager
16625 - Make backends directory self-contained
16627 2005-04-06 Dan Williams <dcbw@redhat.com>
16629 Add debug code for socket/file descriptor leaks. We register every socket
16630 that we open (except for stuff in dhcpcd/) for tracking, and print out the
16631 list of sockets that we forgot to close on shutdown. This also consolidates
16632 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
16634 2005-04-06 Dan Williams <dcbw@redhat.com>
16637 - (dhcp_interface_free): fix a file descriptor leak that may have
16638 caused network drivers to not unload due to refcounts > 0
16640 2005-04-04 Dan Williams <dcbw@redhat.com>
16642 * panel-applet/NMWirelessAppletDbus.c
16643 - (nmwa_dbus_call_nm_method): remove some commented code
16645 * src/NetworkManagerAPList.[ch]
16646 - (nm_ap_list_remove_ap_by_essid): new function
16648 * src/NetworkManagerDevice.c
16649 - (nm_device_wireless_force_use): remove access points from the ignore list
16650 when the user forces them
16652 * src/nm-dbus-device.c
16653 - (nm_dbus_device_get_active_network): fix up escaping of object paths
16655 2005-04-04 Dan Williams <dcbw@redhat.com>
16657 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
16659 2005-04-04 Dan Williams <dcbw@redhat.com>
16661 * src/NetworkManagerDevice.c:
16662 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
16663 of only erroring after the second consecutive scan times out. Also
16664 don't exit when the card requires more time than we can give it, just
16665 log the event and continue.
16667 2005-04-01 Steve Murphy <murf@e-tools.com>
16669 * configure.in: Added "rw" to ALL_LINGUAS.
16671 2005-04-01 Dan Williams <dcbw@redhat.com>
16673 Perform scans during device activation, if needed. Both activation
16674 and scans run in the same GMainContext. Therefore, if an access point
16675 is not found by the time the device starts activation, it will not
16676 be available until after activation. We now try to scan during
16677 activation (in nm_wa_test) every 15s so that all available access
16678 points are more likely to be found and available for the activation
16681 Also change nm_wireless_link_state_handle() to only update the "best"
16682 AP if we are not forcing a device and if we are not about to change
16683 state. This attempts to work around a race when forcing a device,
16684 where the forced AP would get cleared out too soon by the link state
16685 checking timeout in the main thread, and the activation attempt with
16686 that AP would fail.
16688 2005-04-01 Dan Williams <dcbw@redhat.com>
16691 - Update with new translatables
16693 2005-03-31 Dan Williams <dcbw@redhat.com>
16695 * panel-applet/NMWirelessAppletDbus.c
16696 - Fix device names now that hal has changed device parenting for
16699 2005-03-31 Dan Williams <dcbw@redhat.com>
16701 Tighten up handling of wireless devices that don't support wireless
16702 scanning (ie, Orinoco). Due to restructuring of code, these devices
16703 hadn't been doing pseudo-scanning for a while either and would just
16704 spin waiting for an access point. They are now manual devices where
16705 the user must choose the access point from the menu every time. All
16706 "allowed" access points are listed in the applet's menu regardless
16707 of whether or not they can be seen by the card, since it can't scan
16710 * src/NetworkManager.c
16711 - (nm_wireless_link_state_handle): new function, but only update
16712 the "best" ap for non-scanning devices when its not activating,
16713 and when no device is being forced on the card
16714 - (nm_link_state_monitor): split wireless link state handling out
16715 into separate function
16717 * src/NetworkManagerDevice.c
16718 - (nm_device_copy_allowed_to_dev_list): new function
16719 - (nm_device_new): populate non-scanning cards' AP lists with
16720 access points from the "allowed" list
16721 - (nm_device_new): don't start a scanning timeout for devices that
16723 - (nm_device_activation_schedule_finish): new parameter, should be
16724 the AP that failed to be connected to, pass it on to the
16725 activation finish function in NetworkManagerPolicy.c
16726 - (nm_device_activate_wireless): don't ever try to get a new AP
16727 for non-scanning devices, just fail. The user must choose
16728 a new access point manually.
16729 - (nm_device_activate): grab the AP that failed connection and
16731 - (nm_device_update_best_ap): Clear the best AP if we don't have
16732 a link to it, user must manually choose a new one
16733 - (nm_device_do_pseudo_scan): remove function
16734 - (nm_device_wireless_process_scan_results): remove bits for non-
16735 scanning cards since they never get here
16736 - (nm_device_wireless_scan): remove bits for non-scanning devices,
16737 and fake the scan list for test devices a bit earlier
16739 * src/NetworkManagerPolicy.c
16740 - (nm_policy_activation_finish): use the failed_ap that we get
16741 passed rather than getting the best_ap from the card, which
16742 may have changed since we were scheduled
16743 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
16744 update their scan list directly from the allowed list when
16745 we get updates to the allowed list from NetworkManagerInfo
16747 * src/NetworkManagerPolicy.h
16748 - New member for failed access point in NMActivationResult
16750 -------------------------------------
16752 Driver Notification patch: notifies the user when their driver
16753 sucks. Gives them the option to ignore further insertions
16754 of the card that has the sucky driver.
16757 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
16758 enum and replace it with NO_CARRIER_DETECT and
16761 * panel-applet/NMWirelessApplet.[ch]
16762 - Merge essid.glade -> wireless-applet.glade
16763 - Implement the "Your driver sucks" notification dialog
16765 * panel-applet/NMWirelessAppletDbus.c
16766 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
16767 - Grab hardware address for each device from NM too
16768 - Check whether the driver for each device sucks or not whenever
16769 a new device is noticed
16771 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
16772 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
16774 * src/NetworkManager.c
16775 - Fix a double-unref on device removal
16777 * src/NetworkManagerUtils.c
16778 - Set appropriate driver support level on a device that doesn't
16779 support scanning or carrier detection
16781 * src/nm-dbus-device.c
16782 - New "getHWAddress" dbus method on devices
16783 - getSupportsCarrierDetect -> getDriverSupportLevel
16785 2005-03-31 Dan Williams <dcbw@redhat.com>
16787 * src/NetworkManagerDevice.c
16788 - (nm_device_wireless_scan): Fix leak of scan results in some
16791 2005-03-29 Dan Williams <dcbw@redhat.com>
16793 * src/NetworkManager.c
16794 - (nm_poll_and_update_wireless_link_state): make code less indented
16796 Patch from Bill Moss:
16797 * src/NetworkManager.c
16798 - (nm_device_update_link_state): Update signal strength on wireless
16799 devices every time we update link state too.
16801 2005-03-29 Dan Williams <dcbw@redhat.com>
16803 * src/NetworkManagerDevice.c
16804 - (nm_device_set_essid): Work around Orinoco cards which need
16805 extra time after setting the ESSID
16807 2005-03-29 Dan Williams <dcbw@redhat.com>
16809 * src/NetworkManagerDevice.c
16810 - Merge one more bit of Peter Jones' completion patch
16812 2005-03-29 Dan Williams <dcbw@redhat.com>
16814 * src/NetworkManagerDevice.c
16815 - (nm_device_force_use): Fix possible segfault
16817 2005-03-29 Dan Williams <dcbw@redhat.com>
16819 * src/NetworkManagerDevice.c
16820 - Use iw_get_ext() where we should rather than iw_set_ext()
16822 2005-03-29 Dan Williams <dcbw@redhat.com>
16824 * src/NetworkManagerDevice.c
16825 - (nm_device_set_up_down): remove check for unsupported devices
16826 that caused NM to not bring devices up when they were
16827 added to the device list.
16829 2005-03-28 Dan Williams <dcbw@redhat.com>
16831 * src/NetworkManagerDevice.c
16832 - (mdio_read): Fix two bugs that caused all devices to fail
16833 the MII carrier detection support checks
16835 2005-03-26 Dan Williams <dcbw@redhat.com>
16837 * src/NetworkManagerDevice.c
16838 - (nm_device_wireless_scan): Remove duplicated scanning code
16840 2005-03-25 Dan Williams <dcbw@redhat.com>
16842 * panel-applet/NMWirelessApplet.c
16843 - (nmwa_about_cb): Add some more contributors
16844 - (nmwa_update_state): show the applet when there's no connection
16845 - Enable the "Stop/Resume all wireless devices" option in the
16847 - New "no connection" icon
16849 * src/NetworkManager.c
16850 - (nm_poll_and_update_wireless_link_state): don't do anything if
16851 wireless is disabled or we're asleep
16853 * src/NetworkManagerDHCP.c
16854 - Remove trailing "\n" on debug messages
16856 * src/NetworkManagerDbus.c
16857 - (nm_dbus_network_status_from_data): new state "asleep"
16859 * src/NetworkManagerDevice.c
16860 - Merge most of Peter Jones' "completion" patch that greatly reduces
16861 latency and wait times for most operations
16862 - (nm_device_wireless_scan): Don't scan when asleep
16864 * src/NetworkManagerPolicy.c
16865 - (nm_policy_get_best_device): return no device when asleep
16866 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
16867 for all wireless devices on update, not just active device
16869 * src/NetworkManagerUtils.c
16870 - Merge Peter Jones' "completion" patch
16873 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
16874 we're told to disable them
16875 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
16878 - New variants of the warn/info/error/debug print functions that can take
16879 variables rather than static strings
16881 2005-03-24 Dan Williams <dcbw@redhat.com>
16883 * src/NetworkManagerUtils.c
16884 - (nm_get_device_driver_name): driver names are now on the parents of
16885 "Network Interface" objects, so look for them there
16887 2005-03-24 Dan Williams <dcbw@redhat.com>
16890 - Escape some forgotten object paths before we shove them through dbus
16892 2005-03-24 Dan Williams <dcbw@redhat.com>
16894 * dhcpcd/dhcpcd.[ch]
16895 src/NetworkManagerDHCP.c
16896 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
16897 (ie, dhcp_option_record_len -> dhcp_option_element_len)
16899 * src/NetworkManagerDbus.c
16902 * src/nm-dbus-dhcp.c
16903 - Make the API suck less. There is now only 1 type of each function,
16904 ie only "getInteger" and no longer also "getIntegerv". All types
16905 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
16906 that will never have more than 1 element. This should simplify
16909 * test/nm-dhcp-opt-test.c
16910 - Make the tool not segfault
16911 - adapt to new DHCP Options API
16913 2005-03-22 Dan Williams <dcbw@redhat.com>
16915 * src/NetworkManager.c
16916 - (nm_wired_link_deactivated): actually ignore netlink events from
16919 2005-03-22 Dan Williams <dcbw@redhat.com>
16921 * src/NetworkManager.c
16922 - (nm_wired_link_activated): actually ignore netlink events from
16925 2005-03-17 Dan Williams <dcbw@redhat.com>
16927 Patch from Tom Parker:
16928 * src/nm-netlink-monitor.c
16930 * info-daemon/NetworkManagerInfoDbus.c
16931 - (nmi_dbus_update_network_auth_method): free GConf values
16933 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
16934 * src/NetworkManagerDevice.c
16935 - (nm_device_set_wireless_config): wait for successful
16936 association longer for some cards (Atheros a/b/g)
16938 2005-03-15 Ray Strode <rstrode@redhat.com>
16940 * src/NetworkManager.c:
16941 (sigterm_pipe_handler):
16944 2005-03-15 Ray Strode <rstrode@redhat.com>
16946 * src/NetworkManagerDbus.c:
16947 Fix some sign weirdness that gcc4 doesn't like,
16948 and add a header file so PPC can hopefully find
16951 2005-03-14 Ray Strode <rstrode@redhat.com>
16953 Fourth (probably working) cut at porting to
16954 dbus 0.30 api and new hal. This cut adds
16955 some new logging macros to make debugging
16958 * dispatcher-daemon/NetworkManagerDispatcher.c:
16959 * info-daemon/NetworkmanagerInfo.c:
16960 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
16961 * info-daemon/NetworkManagerInfoVPN.c:
16962 * src/NetworkManager.c:
16963 * src/NetworkManagerAP.c:
16964 * src/NetworkManagerAPList.c:
16965 * src/NetworkManagerDHCP.c:
16966 * src/NetworkManagerDbus.c:
16967 * src/NetworkManagerDevice.c:
16968 * src/NetworkManagerPolicy.c:
16969 * src/NetworkManagerSystem.c:
16970 * src/NetworkManagerUtils.c:
16971 * src/NetworkManagerWireless.c:
16973 * src/nm-dbus-nm.c:
16974 * src/backends/NetworkManagerDebian.c:
16975 * src/backends/NetworkManagerGentoo.c:
16976 * src/backends/NetworkManagerRedHat.c:
16977 * src/backends/NetworkManagerSlackware.c:
16978 use new logging macros.
16980 * dispatcher-daemon/NetworkManagerDispatcher.c:
16981 (nmd_dbus_filter): s/dbus_free/g_free/
16983 * info-daemon/Makefile.am: link in utils library.
16984 * info-daemon/NetworkmanagerInfo.c: use new logging
16986 (nmi_dbus_get_network): don't assume enumerations
16988 (nmi_dbus_nmi_message_handler): don't free what
16989 doesn't belong to us.
16991 * libnm_glib/libnm_glib.c:
16992 (libnm_glib_get_nm_status):
16993 (libnm_glib_init): don't free what doesn't
16995 (libnm_glib_dbus): strdup result, so it doesn't get
16996 lost when message is unref'd.
16998 * panel-applet/NMWirelessAppletDbus.c:
16999 (nmwa_dbus_update_devices): s/dbus_free/g_free/
17001 * src/NetworkManager.c:
17002 (nm_monitor_wired_link_state): request initial status
17003 dump of all cards when we start up, instead of relying
17004 on /sys/.../carrier.
17005 (nm_info_handler), (nm_set_up_log_handlers):
17006 log handlers to specify what syslog priorites
17007 the logging macros default to.
17009 * src/NetworkManagerAPList.c:
17010 (nm_ap_list_populate_from_nmi):
17011 s/dbus_free_string_array/g_strfreev/
17013 * src/NetworkManagerDbus.c:
17014 (nm_dbus_get_network_object):
17015 validate d-bus message argument types.
17016 Advance message iterator after reading argument,
17017 prepend instead of append to GSList.
17019 * src/NetworkManagerDevice.c:
17020 (nm_device_probe_wired_link_status):
17021 remove redundant /sys in /sys path. remove wrong
17022 contents == NULL means has carrier assumption.
17024 * src/nm-netlink-monitor.c
17025 (nm_netlink_monitor_request_status): implement
17026 function to ask kernel to dump interface link
17027 status over netlink socket.
17029 * test/*.c: s/dbus_free/g_free/
17031 * utils/nm-utils.h:
17032 (nm_print_backtrace): new macro to print backtrace.
17033 (nm_get_timestamp): new macro to get sub-second precise
17035 (nm_info), (nm_debug), (nm_warning), (nm_error):
17036 new logging functions. nm_info just prints,
17037 nm_debug includes timestamp and function,
17038 nm_warning includes function, nm_error includes
17039 backtrace and sigtrap.
17041 2005-03-11 Ray Strode <rstrode@redhat.com>
17043 Third (unfinished, partially working) cut at porting to
17044 dbus 0.30 api and new hal.
17046 * info-daemon/NetworkManagerInfoDbus.c:
17047 don't free null arrays.
17049 * panel-applet/NMWirelessAppletDbus.c:
17050 * src/nm-dbus-device.c:
17051 * src/nm-dbus-net.c:
17052 * src/NetworkManagerDbus.c: more
17053 STRING -> OBJECT_PATH fun
17054 * src/NetworkManagerDevice.c:
17055 * src/NetworkManagerDevice.h:
17056 (rename nm_device_get_link_active): rename to
17057 nm_device_has_active_link
17058 (nm_device_wireless_link_active): rename to
17059 nm_device_probe_wireless_link_state
17060 (nm_device_wired_link_active): rename to
17061 nm_device_probe_wired_link_state. Rewrite to
17062 use carrier file since hal doesn't maintain
17063 link state anymore.
17064 (nm_device_update_link_active): rename to
17065 nm_device_update_link_state
17066 * src/NetworkManagerPolicy.c
17067 (nm_policy_activation_finish): check for NULL
17071 * src/NetworkManagerMain.h:
17072 * src/NetworkManager.c:
17073 * src/nm-netlink-monitor.c:
17074 * src/nm-netlink-monitor.h: New class to support
17075 monitoring wired ethernet link status, since HAL
17076 doesn't export that information anymore.
17078 2005-03-09 Ray Strode <rstrode@redhat.com>
17080 Second (unfinished, unworking) cut at porting to
17083 * dispatcher-daemon/NetworkManagerDispatcher.c:
17084 * info-daemon/NetworkManagerInfoDbus.c:
17085 * panel-applet/NMWirelessAppletDbus.c:
17086 * src/NetworkManagerDbusUtils.c:
17087 * src/NetworkManagerDbusUtils.h:
17088 * src/nm-dbus-device.c:
17089 * src/nm-dbus-nm.c:
17090 * test/nmtest.c: support dbus "object path" type
17094 * info-daemon/Makefile.am:
17095 * libnm_glib/Makefile.am:
17096 * panel-applet/Makefile.am:
17097 * dispatcher-daemon/Makefile.am
17099 * test/Makefile.am:
17100 * utils/Makefile.am:
17101 * utils/nm-utils.c:
17102 * utils/nm-utils.h: new utils static lib
17104 2005-03-07 Ray Strode <rstrode@redhat.com>
17106 * info-daemon/NetworkManagerInfoDbus.c:
17107 * libnm_glib/libnm_glib.c:
17108 * panel-applet/NMWirelessAppletDbus.c:
17109 * src/NetworkManager.c:
17110 * src/NetworkManagerDbus.c:
17111 * src/NetworkManagerDevice.c:
17112 * src/NetworkManagerUtils.c:
17113 * src/nm-dbus-device.c:
17114 * src/nm-dbus-dhcp.c:
17115 * src/nm-dbus-net.c:
17116 * src/nm-dbus-nm.c:
17117 * test/nminfotest.c:
17118 First (unfinished, unworking) cut at porting to dbus 0.30 api.
17120 2005-03-04 Dan Williams <dcbw@redhat.com>
17125 2005-03-04 Dan Williams <dcbw@redhat.com>
17127 Patch from Peter Jones:
17128 - Make stuff work with gcc 4.0
17130 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
17132 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17134 2005-02-27 Jim Huang <jserv@kaffe.org>
17136 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17138 2005-02-27 Dan Williams <dcbw@redhat.com>
17140 Patch from Bill Moss:
17141 * panel-applet/NMWirelessAppletDbus.c
17142 - Make sure strength for current access point is up-to-date when we
17143 update the gui data model
17145 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
17147 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17149 2005-02-27 Dan Williams <dcbw@redhat.com>
17151 * src/backends/NetworkManagerRedHat.c
17152 - (nm_system_init): Kill any dhclient processes lying around as well
17153 as stopping 'nifd' if its already been started. NetworkManager
17154 subsumes the functions of nifd (kicking mDNSResponder, autoip)
17156 2005-02-27 Dan Williams <dcbw@redhat.com>
17158 * panel-applet/NMWirelessApplet.c
17159 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17160 dbus data model, not the GUI data model twice.
17162 2005-02-27 Dan Williams <dcbw@redhat.com>
17164 * panel-applet/NMWirelessApplet.[ch]
17165 panel-applet/NMWirelessAppletDbus.[ch]
17166 - Move to incremental network updates. Instead of blowing away our list
17167 of devices every time we get a signal from NetworkManager, we now
17168 incrementally add/remove networks when NetworkManager notifies us that
17169 a new network has appeared or disappered. Strength updates now happen
17170 on-the-fly for each access point as well. There are now two copies of
17171 data from NetworkManager: one for the dbus side, and one for the gui side.
17172 When the dbus side data is modified, it is copied over to the gui side
17173 so we don't have to hold the data_mutex for long periods of time (and
17174 therefore block animation of the applet's icon).
17175 - Clean up some memleaks too
17177 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17178 - Minor code beautification
17180 * src/NetworkManagerAPList.c
17181 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17182 completely new and whether or not an existing one's strength was updated.
17183 Try to fix multiple access points and signal strength by using the highest
17184 signal strength in each scan for any given ESSID.
17186 * src/NetworkManagerDbus.[ch]
17187 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17188 wireless networks; now we have only WirelessNetworkUpdate which includes
17189 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17190 - Kill usage of DbusMessageIter
17192 * src/NetworkManagerDevice.c
17193 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17194 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
17195 AP rather than all-at-once. Also don't ever remove the AP a card is
17196 currently associated with from the network list.
17197 - Update for new signals during scan, send out Appeared, Disappeared, or
17198 StrengthChanged when necessary.
17200 2005-02-25 Dan Williams <dcbw@redhat.com>
17203 - Line break the README
17205 2005-02-25 Dan Williams <dcbw@redhat.com>
17207 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17208 - Remove usage of gtk_window_set_default_size()
17210 * panel-applet/essid.glade
17211 - Stick default size here
17212 - Add in random crap that current glade wants to add in now
17214 2005-02-25 Dan Williams <dcbw@redhat.com>
17216 * src/backends/NetworkManagerRedHat.c
17217 - For non-caching-nameserver/non-named case, ensure that nscd is running
17218 and that we actually tell nscd to reload the hosts cache when it changes
17220 2005-02-25 Dan Williams <dcbw@redhat.com>
17222 * info-daemon/NetworkManagerInfoDbus.c
17223 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17225 * test/nminfotest.c
17226 - Whack usage of DbusMessageIter
17227 - Clean up DbusError and DbusMessage handling and freeing
17228 - Remove unused unregister handler
17231 - Whack usage of DbusMessageIter
17233 * test/nmtestdevices.c
17234 - Whack usage of DbusMessageIter
17236 2005-02-25 Dan Williams <dcbw@redhat.com>
17239 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17242 2005-02-25 Dan Williams <dcbw@redhat.com>
17244 * named/nm-named-manager.c
17245 - Ensure that pid and watch variables for child named process get cleared out
17246 when the child goes away.
17248 2005-02-22 Dan Williams <dcbw@redhat.com>
17250 * src/NetworkManagerPolicy.c
17251 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17252 and NULL out data->active_device so that we have to choose another one.
17253 This may make NetworkManager keep attempting to connect to a wired network
17254 if it fails, but if it keeps failing the wired network has more problems than
17255 just NetworkManager.
17257 * src/backends/NetworkManagerRedHat.c
17258 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17261 * named/nm-named-manager.c
17262 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17263 named so that the distro can flush whatever name service caching
17266 2005-02-21 Dan Williams <dcbw@redhat.com>
17268 * src/NetworkManagerDHCP.[ch]
17269 - (nm_device_dhcp_remove_timeouts): new function
17271 * src/NetworkManagerDevice.c
17272 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17273 remove the DHCP timeouts.
17275 2005-02-21 Dan Williams <dcbw@redhat.com>
17277 * panel-applet/NMWirelessApplet.[ch]
17278 panel-applet/menu-info.[ch]
17279 - Give the panel applet some major love: menu items are no longer
17280 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17281 This allows the applet to actually reflect theme changes correctly,
17282 since themeing of subclassed items in GTK _sucks_.
17284 2005-02-18 Dan Williams <dcbw@redhat.com>
17286 * libnm_glib/libnm_glib.[ch]
17287 test/libnm_glib_test.c
17288 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17289 and its data, and doesn't have to free the callback data anymore
17291 2005-02-18 Dan Williams <dcbw@redhat.com>
17293 * panel-applet/NMWirelessApplet.c
17294 - Revert 2005-02-18 William Jon McCann fix for standard
17295 copyright string until it passes 'make distcheck'.
17296 With standard copyright string, xgettext complains
17297 about "Non-ASCII string at ...".
17299 2005-02-18 Dan Williams <dcbw@redhat.com>
17301 * panel-applet/essid.glade
17302 panel-applet/NMWirelessAppletOtherNetworksDialog.c
17303 - Correct spelling of "adaptor"->"adapter"
17305 2005-02-18 William Jon McCann <mccann@jhu.edu>
17307 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17308 (nmwa_about_cb): Use standard copyright string. Update comment
17309 text to reflect that it is a notification area applet. Remove
17310 leading newline in authors list.
17311 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17312 instead of on parent menu item activation. Fixes #167550.
17314 2005-02-18 William Jon McCann <mccann@jhu.edu>
17316 * panel-applet/essid.glade: Capitalize items as per HIG.
17319 2005-02-16 William Jon McCann <mccann@jhu.edu>
17321 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17322 files for GTK 2.4 or lower, since now public in GTK 2.6.
17324 * panel-applet/essid.glade: Don't specify window size.
17326 2005-02-17 Dan Williams <dcbw@redhat.com>
17328 Caught by Bill Moss:
17330 - Time remaining for DHCP transaction calculation was incorrectly
17331 inside a #ifdef DEBUG
17333 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
17335 * configure.in: Added fr (French) to ALL_LINGUAS.
17337 2005-02-14 Dan Williams <dcbw@redhat.com>
17339 * src/NetworkManagerDHCP.c
17340 - (set_domain_searches): Fix free of invalid pointer
17342 2005-02-14 Dan Williams <dcbw@redhat.com>
17344 Patch from Peter Jones:
17346 - Ensure we return RET_DHCP_CEASED everywhere we should
17347 * dhcpcd/udpipgen.c
17348 - Use faster TOS for IP packets
17349 - Don't set ip_id since we're UDP
17351 Patch from Tomislav Vujec:
17352 * src/nm-dbus-dhcp.c
17353 test/nm-dhcp-opt-test.c
17354 - Clean up warnings to enable cvs tree compilation.
17356 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
17360 - Add the Croatian locale.
17362 2005-02-14 Colin Walters <walters@verbum.org>
17364 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17365 list of domains to search.
17367 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17369 2005-02-13 Dan Williams <dcbw@redhat.com>
17372 - Debug output cleanups of DHCP option printing and parsing.
17374 2005-02-13 Dan Williams <dcbw@redhat.com>
17376 Patch from Dan Reed: DHCP options D-BUS API
17377 Exposes the DHCP options that a device receives to clients over D-BUS.
17383 - Correct names, option length, and types for DHCP options
17385 * dhcpcd/dhcpcd.[ch]
17386 - Clarify function names that access DHCP options & data
17388 * src/NetworkManagerDHCP.c
17389 - Use new DHCP data access functions
17391 * src/NetworkManagerDbus.c
17392 - Message handler for DHCP functions
17394 * src/nm-dbus-dhcp.[ch] (new)
17395 - DHCP dbus methods
17397 * test/nm-dhcp-opt-test.c
17398 - Test DHCP D-BUS API and return all present DHCP options
17400 2005-02-12 Dan Williams <dcbw@redhat.com>
17403 test/nmclienttest.c
17405 - Move nmclienttest.c -> nmtest.c
17407 2005-02-12 Dan Williams <dcbw@redhat.com>
17409 * dhcpcd/buildmsg.c
17410 - Pad DHCP packets until they are at least 300 bytes in size.
17412 2005-02-11 Dan Williams <dcbw@redhat.com>
17415 - (dhcp_init): only print out client ID and class ID if they are specified
17417 * src/NetworkManagerDbus.[ch]
17418 src/nm-dbus-nm.[ch]
17419 src/nm-dbus-device.[ch]
17420 src/nm-dbus-net.[ch]
17421 - Move NM, Device, and Net functions to separate files and use the
17422 dbus method list stuff in NetworkManagerDbusUtils.c to do
17425 * src/NetworkManagerDbusUtils.c
17426 - Add new validate_method called before each dispatch (if present)
17427 that can validate the method call
17429 * src/NetworkManagerWireless.c
17430 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
17431 levels never to be evaluated
17433 Patch from j@bootlab.org
17434 * src/NetworkManagerDevice.c
17435 - Add typedef for "u64"
17437 * src/backends/NetworkManagerDebian.c
17438 - Copy in Dave Woodhouse's fixes for IPv6
17440 2005-02-11 Dan Williams <dcbw@redhat.com>
17442 Patch from Dave Woodhouse for IPv6:
17443 * src/NetworkManagerUtils.c
17444 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
17445 and multicast addresses
17447 * src/NetworkManagerDevice.c
17448 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
17449 after bringing up a card.
17451 2005-02-10 Dan Williams <dcbw@redhat.com>
17453 Patch from Dave Woodhouse:
17454 * src/NetworkManagerSystem.h
17455 src/backends/NetworkManagerDebian.c
17456 src/backends/NetworkManagerGentoo.c
17457 src/backends/NetworkManagerSlackware.c
17458 - New nm_system_device_add_ip6_link_address() function to add link-local
17459 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
17461 * src/backends/NetworkManagerRedHat.c
17462 - (nm_system_device_add_ip6_link_address): implement
17463 - (nm_system_device_flush_addresses): revert to previous behavior of
17464 flushing all addresses
17466 2005-02-10 Dan Williams <dcbw@redhat.com>
17468 Patch from Tom Parker:
17469 * src/NetworkManagerDevice.c
17470 - Remove the "#include <pci/types.h>" since both the ethtool.h and
17471 mii.h headers are broken, and instead use our own typedefs
17473 2005-02-10 Dan Williams <dcbw@redhat.com>
17475 * dhcpcd/buildmsg.c
17476 - (fill_host_and_class_id): only fill in client and class IDs if
17477 they are set by callers.
17480 - (class_id_setup): don't autogenerate a class ID, only use one
17481 we're given, if any.
17482 - (client_id_setup): don't autogenerate a client ID, only use one
17483 we're given, if any.
17486 - (dhcp_interface_init): ensure that client options are correctly
17489 * src/NetworkManagerDHCP.c
17490 - (nm_device_dhcp_request): pass hostname to dhcp library
17492 2005-02-10 Dan Williams <dcbw@redhat.com>
17495 - #rh147661# Don't send kernel version in DHCP requests
17497 * src/NetworkManagerSystem.h
17498 src/backends/NetworkManagerDebian.c
17499 src/backends/NetworkManagerGentoo.c
17500 src/backends/NetworkManagerRedHat.c
17501 src/backends/NetworkManagerSlackware.c
17502 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
17503 functions, they are no longer used anyway
17505 * src/backends/NetworkManagerRedHat.c
17506 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
17507 addresses in an attempt to keep IPv6 local-scope addresses around
17509 2005-02-10 Dan Williams <dcbw@redhat.com>
17511 * src/NetworkManager.c
17512 - (nm_create_device_and_add_to_list): change the add message slightly
17514 * src/NetworkManagerUtils.c
17515 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
17516 Return driver name to calling function
17517 - (nm_get_driver_support_level): print out the driver a device is using
17518 during the support check
17520 Patch from Dave Woodhouse:
17521 * dhcpcd/udpipgen.c
17522 - (in_cksum): copy last byte of odd-sized packets into a
17523 'u_short' rather than a 'u_char', should fix wrong checksums
17524 on big-endian platforms
17526 2005-02-09 Dan Williams <dcbw@redhat.com>
17528 * Clean up usage of GSList objects and looping through their members
17529 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
17531 * Fix problem where even if scanning was turned off, card would still
17532 cycle through frequencies.
17534 2005-02-08 Dan Williams <dcbw@redhat.com>
17536 * panel-applet/NMWirelessApplet.c
17539 2005-02-08 Dan Williams <dcbw@redhat.com>
17541 Patch from Bill Moss
17542 * panel-applet/NMWirelessApplet.c
17543 - Restore correct ESSID in tooltips
17545 2005-02-07 Dan Williams <dcbw@redhat.com>
17547 * panel-applet/NMWirelessApplet.[ch]
17548 - Add a context menu that contains:
17549 Pause/Resume Wireless Scanning
17550 Stop/Start All Wireless Devices
17552 - Grab active device strength off active device,
17555 * panel-applet/NMWirelessAppletDbus.[ch]
17556 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
17557 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
17558 - Update active device strength every 2 seconds, not every 1 second
17560 * panel-applet/menu-info.c
17561 - Only disable wired devices in the menu when they support carrier detection,
17562 and don't currently have a link. Non-carrier-detect devices will always
17566 src/NetworkManagerDbusUtils.[ch]
17567 - Add new new dbus utils sources
17569 * src/NetworkManager.c
17570 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
17571 with the boolean parameter
17572 - Set scanning_enabled & wireless_enabled to TRUE
17574 * src/NetworkManagerDbus.c
17575 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
17576 - Implement scanning & wireless enable/disable calls
17577 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
17579 * src/NetworkManagerDevice.c
17580 - New link detection stuff again...
17581 o Create device's mainloop earlier (but don't run it earlier)
17582 o Hook up new carrier-detect support stuff
17583 o Add in the ethtool & mii support detection code
17584 - Don't scan if scanning is disabled
17586 * src/NetworkManagerPolicy.c
17587 - Never automatically choose a device that doesn't support carrier detection
17588 - Don't automatically choose a wireless device if wireless is disabled
17590 2005-02-07 Dan Williams <dcbw@redhat.com>
17592 * libnm_glib/libnm_glib.c
17593 - Small cleanup in element list iteration
17595 2005-02-07 Dan Williams <dcbw@redhat.com>
17597 * src/NetworkManagerWireless.c
17598 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
17599 to be in line with the WEXT quality specification
17601 2005-02-02 Dan Williams <dcbw@redhat.com>
17603 Patch from Nathan Fredrickson <nathan@silverorange.com>
17604 * Fix up compile for deprecation of libgnomeui
17605 - Switch to <glib/gi18n.h> from <libintl.h>
17606 - Remove <libgnomeui/libgnomeui.h> includes
17607 - Use gtk_window_set_default_icon_from_file() rather than
17608 gnome_window_set_default_icon_from_file()
17610 * named/nm-named-manager.c
17611 - (generate_named_conf): Fix return-nothing in non-void
17614 2005-02-02 Dan Williams <dcbw@redhat.com>
17616 * Clean up unused variables and the like
17618 2005-02-02 Dan Williams <dcbw@redhat.com>
17620 * src/NetworkManagerAPList.c
17621 - (nm_ap_list_merge_scanned_ap): merge strength too
17623 * src/NetworkManagerUtils.c
17624 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
17625 of locking issues by printing out prettier information than g_mutex_lock
17626 - Print out names of mutexes registered with nm_register_mutex_desc()
17627 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
17628 us to seemingly block here for too long
17630 * src/NetworkManager.c
17631 src/NetworkManagerAPList.c
17632 src/NetworkManagerDevice.c
17633 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
17634 so we get better debug information printed
17636 * src/NetworkManagerDbus.c
17637 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
17638 since it sometimes has locking side effects
17639 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
17641 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
17642 we don't need a switch. This gets called often enough that we can't block
17643 until the scan mutex is acquired, because we'll block on device activation
17644 and a few other things, which hangs main thread for too long.
17646 * src/NetworkManagerPolicy.c
17647 - (nm_policy_auto_get_best_device): reduce the possiblity that
17648 nm_device_need_ap_switch() will be called
17650 2005-02-02 Dan Williams <dcbw@redhat.com>
17652 * panel-applet/NMWirelessApplet.c
17653 - Display name of wireless network we are connecting to or connected to
17654 in the tooltip of the applet
17656 2005-02-02 Dan Williams <dcbw@redhat.com>
17658 * src/NetworkManagerDHCP.c
17659 - Hopefully fix double-default-route problem by cleaning up the default
17660 route added by DHCP code right before the DHCP transaction begins
17662 2005-02-02 Dan Williams <dcbw@redhat.com>
17664 * named/nm-named-manager.c
17665 - Write out valid resolv.conf when we exit
17667 2005-02-01 Dan Williams <dcbw@redhat.com>
17669 Patch from Colin Walters:
17670 * named/nm-named-manager.c
17671 - Make multi-domain search options work
17673 2005-01-31 Dan Williams <dcbw@redhat.com>
17675 * info-daemon/NetworkManagerInfoDbus.c
17676 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
17678 * src/NetworkManagerDevice.c
17679 - (nm_device_new): Don't store the entire range struct, use only what we need
17680 (which is currently avg_quality, max_quality, and frequencies). Also
17681 zero device structure when we've free'd it to maybe expose errors down
17683 - (nm_device_update_signal_strength): grab the scan mutex before getting
17684 quality data from the card since quality will be useless during a scan.
17685 Call updated wireless qual-to-percent function with values stored in
17686 nm_device_new() earlier.
17687 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
17688 nm_device_get_bad_crypt_packets())
17689 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
17691 - (get_initial_auth_method): always use the Auth method that's in the allowed
17692 list if available. Problem was this: when the WEP key is wrong, NM will
17693 try OS then SK modes, and then get stuck in SK mode after that. This
17695 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
17698 * src/NetworkManagerWireless.c
17699 - (nm_wireless_qual_to_percent): try to make this function actually work and
17700 mimic iwlib behavior. Use card's idea of quality divided by max_qual
17701 if that's all present, otherwise fall back to signal-to-noise ratios.
17703 2005-01-29 Dan Williams <dcbw@redhat.com>
17705 * initscript/RedHat/NetworkManager
17706 - Don't spit out sysctl stuff to console
17708 * libnm_glib/libnm_glib.c
17709 - (libnm_glib_init): call dbus_g_thread_init()
17711 * panel-applet/NMWirelessAppletDbus.c
17712 - (nmwa_dbus_worker): call dbus_g_thread_init()
17714 * src/NetworkManager.c
17715 - (main): call dbus_g_thread_init()
17717 * src/NetworkManagerAPList.c
17718 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
17719 so we can actually see what's there in a normal syslog
17721 * src/NetworkManagerDevice.c
17722 - (nm_device_activate_wireless): print out the "waiting for access point"
17723 message only once, then say what access point we actually got after
17725 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
17726 function, wait until the scan is done. Scans may change the ESSID of
17727 the card, making this function think we need to switch access points
17728 - (nm_device_wireless_process_scan_results): for artificial access points
17729 don't check against the card's ESSID, but the best_ap's ESSID. This
17730 prevents collisions with the scanning code, which may change the card's
17731 ESSID and cause the access point to get dropped from the device's AP
17732 list. Also increase the keep-around time to 2m from 60s since the max
17733 scan interval could be 60s in some cases.
17735 * src/NetworkManagerPolicy.c
17736 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
17737 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
17738 the new properties and ESSIDs to the device's AP list. Fixes some races
17739 between NM and NMI.
17741 2005-01-27 Dan Williams <dcbw@redhat.com>
17743 * info-daemon/NetworkManagerInfoDbus.c
17744 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
17745 GConf, make a minimal entry for it (essid & timestamp)
17747 * src/NetworkManagerAPList.c
17748 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
17749 NetworkManagerInfo isn't running
17751 * src/NetworkManagerDbus.[ch]
17752 - (nm_dbus_nmi_is_running): new function
17754 * src/NetworkManagerDevice.c
17755 - (nm_device_wireless_force_use): Don't set the created AP's MAC
17756 address to garbage.
17758 * src/NetworkManagerPolicy.c
17759 - (nm_policy_activation_finish): On successful activation, make sure
17760 the "best" AP has a MAC address, and don't tell NMI to add the
17761 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
17762 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
17763 access point after refreshing our allowed list if it doesn't already
17764 have a "best" access point.
17766 2005-01-25 Dan Williams <dcbw@redhat.com>
17768 * panel-applet/NMWirelessAppletDbus.c
17769 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
17770 so we check for NM_DBUS_SERVICE rather than not for it
17772 * libnm_glib/libnm_glib.c
17773 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
17774 ServiceOwnerChanged signal
17776 2005-01-25 Dan Williams <dcbw@redhat.com>
17779 - Check DBUS version in configure, and set the C macros
17780 DBUS_VERSION_[MAJOR,MINOR,MICRO]
17782 * info-daemon/NetworkManagerInfoDbus.c
17783 - Remove #if 0-d section of code that quit NMI if NM went away.
17785 * panel-applet/NMWirelessAppletDbus.c
17786 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
17788 * src/NetworkManager.c
17789 src/NetworkManagerMain.h
17790 src/NetworkManagerDbus.c
17791 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
17792 - Make updating of our Allowed Wireless Network lists from NMI
17793 an idle function in the main thread now, with a high priority.
17795 2005-01-24 Dan Williams <dcbw@redhat.com>
17797 * panel-applet/gtkcellview.[ch]
17798 panel-applet/menu-info.c
17799 - Fix GTK version checks to be <= rather than <
17802 - Include the libtool archive of libnm_glib rather than
17803 trying to pull in the .so
17805 2005-01-24 Dan Williams <dcbw@redhat.com>
17807 * src/NetworkManagerDevice.c
17808 src/NetworkManagerDevicePrivate.h
17809 - Block nm_device_new() until our device's worker thread has had a
17810 chance to start up. Fixes a race between main thread and worker
17811 thread starting that caused activation requests to get lost.
17813 2005-01-24 Dan Williams <dcbw@redhat.com>
17815 * initscript/RedHat/NetworkManager
17816 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
17817 to add the NM startup script at priority 50, which was
17820 2005-01-24 Colin Walters <walters@redhat.com>
17822 * named/named.conf: Use any port for query source instead of
17823 restricting to port 53.
17825 2005-01-24 Dan Williams <dcbw@redhat.com>
17827 * initscript/RedHat/NetworkManager
17828 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
17829 to add the NM startup script at priority 50, which was
17832 2005-01-24 Dan Williams <dcbw@redhat.com>
17834 Patch from Tom Parker <palfrey@tevp.net>
17835 * Fix up compile warnings & errors in the wireless applet
17837 2005-01-24 Dan Williams <dcbw@redhat.com>
17839 * panel-applet/NMWirelessApplet.c
17840 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
17842 2005-01-24 Dan Williams <dcbw@redhat.com>
17844 * panel-applet/gtkcellview.[ch]
17845 - Only compile these files for GTK 2.4 or lower, since
17846 GtkCellView is now public in GTK 2.6. Fixes crasher
17847 when choosing "Other Wireless Networks" from the panel
17850 2005-01-21 Dan Williams <dcbw@redhat.com>
17852 * src/NetworkManager.c
17853 - Daemonize earlier so that glib doesn't get confused (?)
17855 2005-01-21 Dan Williams <dcbw@redhat.com>
17857 * panel-applet/NMWirelessApplet.[ch]
17858 panel-applet/NMWirelessAppletDbus.c
17859 panel-applet/menu-info.c
17860 src/NetworkManagerDevice.c
17861 - Disable wired devices in the menu when they have no link.
17863 2005-01-21 Dan Williams <dcbw@redhat.com>
17865 * Cache last-known-good wireless authentication method in
17866 NetworkManagerInfo, and use that method first during
17867 wireless device activation. Should speed up devices that
17868 need Shared Key authentication method since Open System is
17871 * Remove the hack to not do full activation on wired connections
17872 that are active when we launch, it causes too many problems
17873 with name resolution and was a hack in the first place.
17875 * Re-work wireless device activation again somewhat to have a
17876 clearer chain of events and to use last-known-good
17877 authentication method of the access point. Also provide
17878 better status throughout activation to ensure the applet
17879 can tell the user exactly what's going on.
17881 * Remove the "find wireless network" code and now simply attempt
17882 to activate with that access point. This reduces the delay
17883 between selecting "Other wireless Network" and actually
17884 connecting to that network.
17886 * Correctly stop the device's worker thread when its removed.
17888 2005-01-21 Dan Williams <dcbw@redhat.com>
17891 - Clean up some of the debug messages
17893 2005-01-21 Dan Williams <dcbw@redhat.com>
17895 * Add new icons, more frames of animation
17896 * Remove some hacks to get the panel applet to display correct
17897 status, an NM update will soon follow that will fix the
17900 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
17902 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
17903 the first include for working i18n. Also, don't include it in .h files
17904 * panel-applet/NMWirelessApplet.h: Same
17905 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
17906 * panel-applet/menu-info.c: Same
17908 2005-01-18 Dan Williams <dcbw@redhat.com>
17911 - Remove some debug messages
17912 - Wrap others in #ifdef DEBUG/#endif
17914 * src/NetworkManager.c
17915 - Remove some debug messages
17916 - Clarify some debug messages
17917 - Remove code related to old single-thread wireless scanning
17919 * src/NetworkManagerAP.[ch]
17920 - New AP property "last_seen" to track how recently an AP was
17922 - Start using 'const' more in function arguments
17924 * src/NetworkManagerAPList.[ch]
17925 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
17926 of an AP found in an AP list from a source AP, or if not found
17927 in the list add the source AP
17928 - (nm_ap_list_combine): remove, no longer needed
17930 * src/NetworkManagerDevice.c
17931 - Each device now has a "worker" thread from start to end of its life.
17932 Scanning for wireless devices now happens in that thread,
17933 not in a single "wireless scanning thread" for all devices as
17934 previously. Activation consists of adding an idle handler to the
17935 thread's main loop/context, which gets run at the next available
17937 - Wireless scanning is also simplified, there is now only one list of
17938 access points per wireless device, and APs older than 60s are
17939 removed from the list. Previously, we kept results for the last
17940 3 scans and merged whole lists, which was complicated.
17941 - Cleaned up activation debug messages.
17942 - Wireless activation and access-point search routines now use Open System
17943 authentication before trying Shared Key.
17944 - Removed some code in nm_device_update_best_ap() that could cause cards
17945 to loose their link to the access point.
17946 - Scanning now uses a backoff algorithm, where the inverval becomes
17947 progressively longer between scans when the list of scanned access
17948 points doesn't change. A change will revert to the shortest scan
17951 * src/NetworkManagerWireless.[ch]
17952 - Remove code related to old single-thread wireless scanning
17954 2005-01-18 Colin Walters <walters@redhat.com>
17956 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
17957 of older nameservers.
17959 2005-01-18 Colin Walters <walters@redhat.com>
17961 * named/nm-named-manager.c (generate_named_conf): Many fixes
17962 to config file generation.
17963 (safer_kill): Remove, was too much trouble for little gain.
17964 (nm_named_manager_start): Run named as NM_NAMED_USER.
17966 * configure.in: Add option --with-named-user.
17968 2005-01-14 Colin Walters <walters@redhat.com>
17970 Patch from ed@catmur.co.uk (Ed Catmur)
17972 * named/nm-named-manager.c: Add "context" property.
17973 Use it to add child watch source in specific GMainContext.
17975 * src/NetworkManager.c (nm_data_new): Initialize
17976 named with correct main context. Start named only
17979 2005-01-14 Colin Walters <walters@redhat.com>
17981 * named/nm-named-manager.c (generate_named_conf): Write config
17982 and pid files into NM_NAMED_DATA_DIR; this allows things to
17983 work better with FC3 named SELinux policy. Also fix up silly
17986 * configure.in: Add --with-named-dir option.
17988 2005-01-14 Colin Walters <walters@redhat.com>
17990 * configure.in: Make named support require passing --with-named.
17992 * named/nm-named-manager.c: Support writing resolv.conf directly
17993 without running named.
17995 2005-01-13 Dan Williams <dcbw@redhat.com>
17997 * named/nm-named-manager.c
17998 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18000 * src/NetworkManagerDevice.c
18001 - Rework wireless link detection code to be more reliable
18003 2005-01-12 Dan Williams <dcbw@redhat.com>
18005 * initscripts/RedHat/NetworkManager
18006 - Change initial level to "-" rather than "345" so that
18007 we don't activate ourselves by default on install
18009 2005-01-12 Dan Williams <dcbw@redhat.com>
18012 - Client library for applications using glib
18016 - Split NM_CFLAGS and NM_LIBS into separate variables
18017 like DBUS_*, HAL_* and GLIB_*
18019 * src/NetworkManager.c
18020 src/NetworkManagerMain.h
18021 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18022 broadcast a status changed signal over DBUS from the main thread.
18023 Still unused anywhere for the moment.
18025 Patch from j@bootlab.org
18026 * panel_applet/NMWirelessAppletDbus.c
18027 src/NetworkManagerDbus.c
18028 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18029 for the "getMode" method call
18031 2005-01-10 Dan Williams <dcbw@redhat.com>
18033 * src/NetworkManagerDevice.c
18034 - Minor fixups & corrections to "auto" frequency mode, make it
18035 less chatty with syslog
18037 2005-01-10 Dan Williams <dcbw@redhat.com>
18039 * src/NetworkManagerDevice.c
18040 - Implement "auto" frequency/channel support, since cards like Atheros
18041 can't use other frequencies at all when you've told it to use a
18042 specific one, even for scanning.
18043 - Grab the scan mutex around places where we can't tolerate wireless
18044 settings changing underneath us, like nm_device_wireless_network_exists()
18045 and nm_device_activate_wireless()
18047 * src/NetworkManagerWireless.c
18048 - Back scan interval off to 20s instead of 14s
18050 2005-01-09 Dan Williams <dcbw@redhat.com>
18052 * src/NetworkManagerDevice.c
18053 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18054 already set. Stops some drivers like Atmel from continually
18055 reloading the firmware, which they do upon every configuration
18058 2005-01-09 Dan Williams <dcbw@redhat.com>
18061 - Use correct timeout value
18063 * info-daemon/NetworkManagerInfoDbus.c
18064 src/NetworkManagerDbus.c
18065 - Consolidate communication between NM and NMI by doing only 1 dbus
18066 method call to get Wireless Network info from NMI instead of 6
18068 * src/NetworkManager.c
18069 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18070 when we didn't have an AP to use, we'd wait for one forever without
18073 * src/NetworkManagerDevice.c
18074 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18075 activation, dhcp might not have started yet but we don't quit activation
18076 before starting it, so the quit signal gets lost
18078 2005-01-07 Dan Williams <dcbw@redhat.com>
18081 - Rework the DHCP client code to be much less chatty when
18082 it receives non-DHCP UDP packets during the DHCP run
18083 (reported by and preliminary patches from Bill Moss)
18085 * Move wireless scanning to a separate thread. This thread forwards the
18086 results to the main thread when done where they are integrated into
18087 the device's access point lists. This keeps the main thread (which
18088 does all the DBUS communication) from being blocked for long periods
18089 of time by wireless scanning.
18091 * Make state modification an idle routine in the main loop, and trigger
18092 state changes rather than polling for them.
18094 * src/backends/NetworkManagerGentoo.c
18095 - Fix up invalid C90 code (reported by Christoph Ruessler)
18097 * src/NetworkManagerDevice.c
18098 - Revert IPv6 patch for wired devices from 2004-12-22 for
18099 router advertisements, causing problems and infinite loop
18100 during "best" device determination due to link going up/down
18101 (reported by Bill Moss)
18103 Apply patch from Peter Jones
18104 * src/NetworkManagerDevice.c
18105 - Shortcut for link-checking for ipw2x00 cards
18106 - Split out association check into separate routine
18108 2004-01-05 Colin Walters <walters@redhat.com>
18110 * named/named.conf: Add PID_FILE.
18112 * named/nm-named-manager.c: Always generate a pid
18113 file, since older BIND versions don't support
18116 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
18118 * configure.in (ALL_LINGUAS): Added ja (Japanese).
18120 2004-12-22 Dan Williams <dcbw@redhat.com>
18122 * src/NetworkManagerDevice.c
18123 - Silently fail when setting bitrate doesn't work
18126 Patches from j@bootlab.org:
18127 * src/backends/NetworkManagerDebian
18128 - Update backend to match functionality in RedHat backend
18129 * src/NetworkManagerDevice.c
18130 - Take down then bring up wired devices after connection so
18131 they send out ipv6 router advertisements
18133 2004-12-21 Colin Walters <walters@verbum.org>
18135 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18136 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18138 2004-12-21 Colin Walters <walters@redhat.com>
18140 * configure.in: Correct named detection.
18142 2004-12-21 Colin Walters <walters@redhat.com>
18144 * src/NetworkManager.c (nm_data_new): Initialize named.
18145 Also, set up a signal handler for SIGINT/SIGTERM, and exit
18146 the mainloop when these signals are received.
18147 (nm_data_free): Unref named.
18148 (sigterm_handler, sigterm_pipe_handler): New functions for
18151 * src/NetworkManagerMain.h (NMData): Add signal handling and
18154 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18157 * src/NetworkManagerDHCP.c (set_nameservers): New function;
18158 set nameservers from DHCP response data.
18159 (set_domain_search): Set domain search from DHCP response.
18160 (nm_device_dhcp_configure): Invoke them.
18162 * src/NetworkManagerSystem.c
18163 (nm_system_device_update_resolv_conf): Delete. Deleting
18164 code is totally sweet.
18166 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18168 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18169 implements an object which controls a nameserver. Currently
18172 * configure.in: Check for named.
18174 * Makefile.am (SUBDIRS): Add named dir.
18176 * named/named.conf: New template config file.
18178 2004-12-20 Colin Walters <walters@redhat.com>
18180 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18183 2004-12-17 Dan Williams <dcbw@redhat.com>
18185 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
18186 link-local addresses instead of doing DHCP.
18188 * In the panel applet, there's a new "Create new Wireless Network..." item
18190 * The panel applet also sticks around now even if NetworkManager dies, but
18191 it doesn't hide its icon when NM isn't around. Not hiding the icon is
18192 a bug, I'll fix that later.
18194 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18195 lookups after a switch rather than actually doing them.
18197 * Clean up some of those warnings in nm_ap_list_* functions
18199 * Delay between scans changed to 15s instead of 10s
18201 2004-12-15 Dan Williams <dcbw@redhat.com>
18203 Patch from Tom Parker
18204 * Add autoip/Link Local Addressing support when we fail to get a DHCP
18207 * Longer pause after setting ESSID on cards that support a larger number
18208 of channels to give the card time to find the right channel
18210 * Add system hook to restart mDNSResponder (or whatever the local implementation
18211 of Multicast DNS is) when we activate interfaces
18213 2004-12-15 Dan Williams <dcbw@redhat.com>
18215 * Rework the DHCP code again to revert to sending full ethernet frames
18216 rather then relying on the kernel to do the right thing with our
18219 2004-12-06 Dan Williams <dcbw@redhat.com>
18222 - Fix some minor errors in dhcp_handle_transaction() that caused
18223 unexpected early timeouts of DHCP transactions
18226 - DHCP retransmit time from 4s -> 5s
18228 2004-12-05 Dan Williams <dcbw@redhat.com>
18230 * Major rework of the DHCP code, taking some cues from pump. We don't
18231 write raw Ethernet packets anymore, which simplifies the code quite
18232 a bit. The new code should be more robust, not hang in recvfrom()
18233 as much, and generally work better. This also means that we need
18234 to force HAL/dbus to use a created GMainContext rather than the
18235 default context, since having the DHCP renew/rebind thread using
18236 its own GMainContext seemed to give dbus a fit. There is also more
18237 debugging information printed from the DHCP loop to help with future
18240 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18241 assume that the default gateway should be the DHCP server.
18243 Patch from Matthew Schick <matt oss-institute org>
18244 * src/backends/NetworkManagerGentoo.c
18245 - Fix compilation error due to missing "ip4_broadcast"
18247 2004-12-03 Dan Williams <dcbw@redhat.com>
18249 * initscript/Makefile.am
18250 * initscript/Debian/NetworkManager
18251 * initscript/Gentoo/NetworkManager
18252 * initscript/RedHat/NetworkManager
18253 * initscript/NMLaunchHelper.c
18254 - Remove NMLaunchHelper, if you need to wait until the network
18255 comes up, use the dead code from CVS.
18257 2004-12-01 Colin Walters <walters@redhat.com>
18259 * configure.in: Suck in gcc warnings code from Rhythmbox,
18260 but use fewer default flags, and in particular add -Wno-unused,
18261 since the codebase has a lot of unused variables.
18263 * test/nmtestdevices.c (create_device):
18264 * test/nminfotest.c (get_network_string_property)
18265 (get_networks_of_type):
18266 * test/nmclienttest.c (main):
18267 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
18268 * initscript/NMLaunchHelper.c (get_nm_status):
18269 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
18270 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
18271 Fix declarations after statements.
18273 2004-12-01 Colin Walters <walters@redhat.com>
18275 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18276 (nmi_dbus_get_vpn_userpass): New method.
18277 (nmi_dbus_nmi_message_handler): Invoke it.
18279 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18281 * info-daemon/NetworkManagerInfoVPN.h,
18282 info-daemon/NetworkManagerInfoVPN.c: New files; responds
18283 to requests for VPN passwords.
18285 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18287 2004-12-01 Colin Walters <walters@redhat.com>
18289 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18292 2004-12-01 Colin Walters <walters@redhat.com>
18294 * panel-applet/NMWirelessAppletDbus.c
18295 (nmwa_dbus_update_active_device_strength): Fix missing
18298 2004-12-01 Colin Walters <walters@redhat.com>
18300 * panel-applet/NMWirelessApplet.c: Add missing include.
18302 2004-12-01 Colin Walters <walters@redhat.com>
18304 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18305 Remove useless CLAMP (); the value is unsigned, and the case tests
18306 qual->qual < 100, so the value must always be between 0 and 100.
18308 2004-12-01 Colin Walters <walters@redhat.com>
18310 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18312 2004-11-22 Colin Walters <walters@verbum.org>
18314 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18315 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18316 which is essentially a noop since nscd caches hosts on disk too.
18318 2004-11-22 Colin Walters <walters@redhat.com>
18320 * src/Makefile.am (NetworkManager_SOURCES): Add
18321 NetworkManagerDevicePrivate.h.
18323 2004-11-22 Dan Williams <dcbw@redhat.com>
18325 * src/NetworkManagerDevicePrivate.h
18326 - Split out the NMDevice struct to a different file so that stuff like
18327 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18331 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18332 need to cancel the dhcp request during the send and recv
18335 - Move the DHCP option enum to dhcpcd.h
18337 * src/NetworkManagerDHCP.c
18338 - Split out the actual IP/netmask/etc setting code
18339 - New Renew/Rebind functions
18340 - New timer setup function for renew/rebind operations
18342 * src/NetworkManagerDevice.c
18343 - For device activation, if we are using DHCP then keep the activation thread
18344 alive until device deactivation. We need to renew/rebind the DHCP address
18345 after the T1 (renew) and T2 (rebind) times have expired.
18346 - Increase some timeouts after bringing wireless cards up/down
18348 2004-11-17 Dan Williams <dcbw@redhat.com>
18350 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18351 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
18352 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
18353 show known access points that don't broadcast their ESSID in the menus without
18354 any user intervention whatsoever.
18356 * info-daemon/NetworkManagerInfoDbus.c
18357 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18358 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18360 * src/NetworkManagerAP.[ch]
18361 - Add a "user_addresses" data member to the NMAccessPoint structure
18362 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18363 the user_addresses data member
18365 * src/NetworkManagerAPList.c
18366 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18367 the AP's reported address
18368 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18370 * src/NetworkManagerDHCP.c
18371 - Increase DHCP timeout from 25s -> 30s
18373 * src/NetworkManagerDbus.[ch]
18374 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18377 * src/NetworkManagerDevice.c
18378 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18379 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
18380 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18381 So, we take the card down to clear it out.
18382 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18383 too, since that's where the user_addresses are
18385 * src/NetworkManagerPolicy.c
18386 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18387 that wireless networks' user_addresses list upon successful activation
18389 2004-11-16 Dan Williams <dcbw@redhat.com>
18391 * src/NetworkManagerDevice.[ch]
18392 - (nm_device_clear_activation_fail): new function
18394 * src/NetworkManagerPolicy.c
18395 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18396 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18398 2004-11-16 Dan Williams <dcbw@redhat.com>
18400 * src/NetworkManagerDevice.c
18401 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18402 leak the structure, better updating of now_scanning status
18403 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18405 2004-11-15 Dan Williams <dcbw@redhat.com>
18407 Major rework of link detection code. We now use DHCP
18408 as part of the link detection which proves to be much more robust,
18409 and also supports Open System authentication for wireless networks.
18411 We no longer use external DHCP client programs. Instead, we use
18412 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18413 which was written by:
18414 Yoichi Hariguchi <yoichi@fore.com>
18415 Sergei Viznyuk <sv@phystech.com>
18416 http://www.phystech.com/download/
18417 It resides in the "dhcpcd" directory and was refactored into a general
18418 purpose DHCP client library by me.
18420 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
18421 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
18423 2004-11-15 Dan Williams <dcbw@redhat.com>
18425 Patch from Tom Parker <palfrey@tevp.net>:
18427 * src/NetworkManagerDevice.c
18428 - Less output to console when no access
18429 points are found during a scan
18431 2004-11-15 Dan Williams <dcbw@redhat.com>
18433 Patch from Tom Parker <palfrey@tevp.net>:
18435 * src/backends/interface_parser.c
18437 - Check for inp == NULL
18440 2004-11-13 Colin Walters <walters@redhat.com>
18442 Patch from Tom Parker <palfrey@tevp.net>:
18444 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
18446 * src/backends/NetworkManagerRedHat.c: Switch to
18447 including shvar.h instead of shvar.c.
18449 * src/backends/NetworkManagerDebian.c: Don't include
18450 interface_parser.c in source file.
18452 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
18453 and interface_parser.[ch].
18454 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
18455 Include shvar.c and shvar.h here.
18456 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
18457 interface_parser.c and interface_parser.h here.
18459 2004-11-12 Colin Walters <walters@redhat.com>
18461 * configure.in: Strip out TARGET_DISTRO and
18462 SYSTEM_BACKEND_FILE variables. Switch to Automake
18465 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
18466 (libnmbackend_la_SOURCES): Use Automake conditionals
18467 to add distro-specific files.
18469 * initscript/Makefile.am (SUBDIRS): Update to
18472 2004-11-12 Colin Walters <walters@redhat.com>
18474 Patches from j bootlab org
18476 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
18477 Add interface_parser.[ch].
18479 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
18480 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
18482 2004-11-12 Colin Walters <walters@redhat.com>
18484 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
18485 call to nmi_dbus_is_running too, not necessary anymore.
18486 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
18489 2004-11-11 Colin Walters <walters@verbum.org>
18491 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
18493 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
18494 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
18495 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
18496 This avoids a race condition that made it pretty easily
18497 possible to get two NetworkManagerInfo daemons running.
18499 2004-11-11 Colin Walters <walters@verbum.org>
18501 * src/NetworkManager.c (main): Use daemon(3).
18503 * info-daemon/NetworkManagerInfo.c (main): Ditto.
18505 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
18507 2004-11-10 Dan Williams <dcbw@redhat.com>
18509 Patches from j bootlab org
18510 * src/NetworkManagerDevice.c
18511 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
18512 whether the card has a link or not, some cards are slow
18513 - (nm_device_activation_configure_ip): make ipv6 work a bit better
18515 * info-daemon/NetworkManagerInfoPassphraseDialog.c
18516 - Disable the "Login" button on the passphrase dialog until the user
18517 enters a valid passphrase or key
18519 Patches from Tom Parker <palfrey tevp net>
18520 * src/backends/NetworkManagerDebian.c
18521 - Add static IP support to the debian backend
18523 * src/backends/interface_parser.[ch]
18524 - Parse debian interface config files
18526 2004-11-08 Dan Williams <dcbw@redhat.com>
18528 * src/NetworkManagerDevice.c
18529 - Some random fprintf->syslog conversions
18530 - (nm_device_wireless_network_exists): double-check for network
18531 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
18533 * src/NetworkManagerWireless.[ch]
18534 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
18535 so that the binary->ascii conversion works (if unsigned, the bitshift
18536 will fill with zeros, which is what's required). Also mask bitshift
18537 result with 0xF for futher assurance.
18539 2004-11-06 Dan Williams <dcbw@redhat.com>
18541 * src/NetworkManagerUtils.c
18542 - (nm_get_wireless_driver_support_level): default to
18543 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
18544 flip this when changing from whitelist->blacklist of
18547 2004-11-05 Dan Williams <dcbw@redhat.com>
18549 Patch from Robert Paskowitz:
18550 * src/backends/NetworkManagerGentoo.c
18551 - Update static IP config code
18553 2004-11-05 Dan Williams <dcbw@redhat.com>
18555 * info-daemon/NetworkManagerInfoDbus.c
18556 src/NetworkManagerDbus.[ch]
18557 src/NetworkManagerDevice.c
18558 - Keep track of the # of attempts to get the WEP key
18559 from the user and pass that along to the info daemon
18561 2004-11-05 Dan Williams <dcbw@redhat.com>
18563 * src/NetworkManagerUtils.c
18564 - Blacklist wireless cards rather than whitelisting them.
18565 - Grab driver name from HAL rather than trying to find it
18568 2004-11-03 Dan Williams <dcbw@redhat.com>
18570 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
18571 - Disable OK button until valid data is entered
18572 for encryption stuff too
18574 * panel-applet/NMWirelessApplet.c
18575 - Report card strength for current AP if the card
18576 doesn't report strength data for scanned access
18579 * src/NetworkManagerDevice.c
18580 - Smooth out cards reported quality, Atmel card was
18581 intermittently reporting no quality data but soon
18584 * src/NetworkManagerWireless.c
18585 - Better quality data percentage calculation. Atmel
18586 cards (mine at least) seem to report the quality
18587 in percentage format already, so honor that
18589 Patch from <j@bootlab.org>
18591 info-daemon/NetworkManagerInfoPassphraseDialog.c
18592 info-daemon/passphrase.glade
18593 panel-applet/NMWirelessAppletOtherNetworkDialog.c
18594 panel-applet/essid.glade
18595 src/NetworkManagerAP.c
18596 src/NetworkManagerDevice.c
18597 src/NetworkManagerWireless.[ch]
18598 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
18600 2004-11-03 Dan Williams <dcbw@redhat.com>
18602 * src/NetworkManagerDevice.[ch]
18603 - (nm_device_set_enc_key): Add parameter to set Authentication
18604 Mode (Open System, Shared Key, or None). We're still using
18605 Shared Key for now though.
18607 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
18609 * panel-applet/menu-info.c: change from bold text to light
18610 colored, may cause problems with some themes, i've tested a lot
18611 and they seem fine.
18613 * panel-applet/NMWirelessApplet.c: fix strength tooltip
18615 2004-11-01 Colin Walters <walters@verbum.org>
18617 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
18618 (nm_wireless_128bit_key_from_passphrase): Add const.
18620 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
18621 (nm_ap_set_enc_key_source): Add const.
18623 2004-11-01 Colin Walters <walters@verbum.org>
18625 * .cvsignore: Update.
18627 2004-10-29 Dan Williams <dcbw@redhat.com>
18629 * src/NetworkManagerDevice.c
18630 - (nm_device_wireless_network_exists): Actually use the encryption
18631 key we got from the applet when attempting to find a wireless network
18632 - Don't bring devices down so much since on some cards it triggers
18633 firmware hotplugs each time
18635 * src/NetworkManagerDbus.c
18636 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
18639 2004-10-29 Dan Williams <dcbw@redhat.com>
18641 * src/NetworkManager.c
18642 - (nm_hal_device_property_modified): unlock a locked active
18643 wireless device when a wired connection gets a link.
18644 (Means you'll switch to wired whenever you plug in no
18647 2004-10-29 Dan Williams <dcbw@redhat.com>
18649 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
18650 - New files, implement the "Other wireless network" dialog
18652 * panel-applet/NMWirelessApplet.c
18653 - Move "other wireless network" dialog to separate file
18655 * panel-applet/NMWirelessAppletDbus.[ch]
18656 - Take key and key_type paramaters for the set_device function
18658 * panel-applet/essid.glade
18659 - Add UI bits for encryption settings
18661 * src/NetworkManagerDbus.c
18662 - Retrieve key and key_type params for "setActiveDevice" method call
18664 - unref AP returned from nm_device_get_best_ap() when needed
18666 * src/NetworkManagerDevice.c
18667 - (nm_device_get_best_ap): ref the ap before returning it
18668 - unref AP returned from nm_device_get_best_ap() when needed
18669 - (nm_device_activate_wireless): add "ap" parameter so we don't
18670 need to call nm_device_get_best_ap() here, it was pretty much
18672 - (AP_NEED_KEY): break second link check condition out into separate
18673 function, and fix segfault when ap->enc_key_source was NULL
18674 - (nm_device_find_and_use_essid): take key and key_type parameters and
18675 pass them along to nm_device_wireless_network_exists(). If the
18676 network does exist, set the passed-in key+key_type on the AP
18678 * src/NetworkManagerPolicy.c
18679 - unref AP returned from nm_device_get_best_ap() when needed
18681 2004-10-28 Dan Williams <dcbw@redhat.com>
18683 * src/NetworkManagerUtils.c
18684 - (nm_spawn_process): Fix a potential dereference of NULL
18686 Patches from Peter Jones:
18688 * src/NetworkManagerDevice.c
18689 - (nm_device_test_wireless_extensions): Better check for
18692 * src/NetworkManagerUtils.c
18693 - (nm_spawn_process): Pass in valid stdout and stderr so
18694 executed programs don't randomly SIGPIPE and fail
18695 - (nm_get_wired_driver_support_level): quash hal warning
18696 when checking for USB ethernet device
18698 2004-10-27 Dan Williams <dcbw@redhat.com>
18700 * info-daemon/NetworkManagerInfo.c
18701 info-daemon/NetworkManagerInfoDbus.c
18702 info-daemon/NetworkManagerInfoPassphraseDialog.c
18703 panel-applet/NMWirelessApplet.c
18704 - Properly escape gconf keys
18706 * src/NetworkManager.c
18707 - remove unused variables
18709 * src/NetworkManagerAP.c
18710 - (nm_ap_new_from_ap): Don't redundantly set new APs
18711 refcount since it got set in nm_ap_new()
18713 * src/NetworkManagerAPList.c
18714 - (nm_ap_list_combine): Give up ownership of newly created
18715 access points to the ap list, fixes memleak
18717 * src/NetworkManagerDevice.c
18718 - Remove cached_ap_list4 member since its not really needed
18719 - (nm_device_wireless_network_exists): Try to get correct
18720 encryption status of a found AP if its already in our
18722 - (nm_device_do_normal_scan): Clean up scanning a bit, make
18723 memory allocs/deallocs a bit clearer and shorter-lived
18725 2004-10-26 Ray Strode <rstrode@redhat.com>
18727 * panel-applet/NMWirelessApplet.c:
18728 (custom_essid_item_selected): kill some compiler
18731 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
18733 * info-daemon/NetworkManagerInfoDbus.c
18734 - (nmi_dbus_is_running): New function for determining if nmi is already running
18735 - (nmi_dbus_service_init): exit if another instance of nmi is already running
18737 2004-10-23 Dan Williams <dcbw@redhat.com>
18739 * info-daemon/NetworkManagerInfoDbus.c
18740 - Trap the "DeviceActivationFailed" signal
18742 * docs/NetworkManager DBUS API.txt
18743 - Add "DeviceActivationFailed" signal
18745 * panel-applet/NMWirelessAppletDbus.c
18746 - Quash the "NetworkManager service not available" message
18748 * src/NetworkManagerDbus.[ch]
18749 - Add the "DeviceActivationFailed" signal
18751 * src/NetworkManagerDevice.c
18752 - Add support for activation_failed flag
18753 - Fix deadlock where activation thread didn't clean itself up, making
18754 main thread still believe it was alive forever (didn't reset activation
18755 flags like activating, just_activated, etc when IP configuration
18758 * src/NetworkManagerPolicy.c
18759 - Implement logic for DeviceActivationFailed signal, and when activation fails
18760 for wireless networks, try to fall back to some other access point
18762 2004-10-23 Dan Williams <dcbw@redhat.com>
18764 * panel-applet/NMWirelessApplet.[ch]
18765 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
18766 to the applet object, so we can get tooltips
18767 - Add tooltips (RH #136866)
18769 * src/NetworkManagerDevice.c
18770 - When trying to find a wireless network, try to connect with encryption
18771 turned on first, so that we can more accurately detect whether or not
18772 we need to use encryption for the actual association later on
18774 2004-10-21 Dan Williams <dcbw@redhat.com>
18776 * Add some support for telling NetworkManagerInfo to tell the user
18777 that they are using a device that's not fully supported
18779 * Fix some assertions in debug messages due to null access point args
18781 2004-10-21 Dan Williams <dcbw@redhat.com>
18783 * src/NetworkManagerDevice.c
18784 - Don't try to activate/bring up/down unsupported
18787 * src/NetworkManagerUtils.c
18788 - Fix case of PCI ID checks for driver support levels
18790 2004-10-21 Dan Williams <dcbw@redhat.com>
18793 - New file, now contains commonly used structures and bits
18794 for the dbus API of NetworkManager
18797 - Deliver NetworkManager.h to ${includedir}/NetworkManager
18799 * src/NetworkManager.h
18800 - Rename -> src/NetworkManagerMain.c
18802 * Various fixups all around to use NetworkManager.h and new
18803 src/NetworkManagerMain.h, remove redundant bits that got
18804 moved into NetworkManager.h
18806 * src/NetworkManagerDevice.[ch]
18807 src/NetworkManagerUtils.[ch]
18808 src/NetworkManagerPolicy.c
18809 src/NetworkManagerDbus.c
18810 - Whitelist wireless drivers, and blacklist some wired
18811 drivers. Also blacklist cipsec and ethernet-over-usb
18812 devices at this time (RH #135722, RH #135648)
18813 - Don't leak unsupported devices out over dbus, or allow
18814 them to be set as the active device. Skip over them
18815 during automatic device picking
18817 * test/nmclienttest.c
18818 - Clean up the dbus code a lot
18820 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
18822 * configure.in: post release bump.
18824 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
18827 * NEWS: Released NetworkManager-0.3.1
18829 2004-10-18 Dan Williams <dcbw@redhat.com>
18831 Patches from Thom May:
18832 * test/nmtestdevices.c
18833 - Include <string.h>
18834 * src/backends/NetworkManagerDebian.c:
18835 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
18836 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
18837 Move to using g_strdup_printf rather than arbitrary buffers
18838 - (nm_system_device_setup_static_ip4_config) Implement function.
18839 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
18841 2004-10-17 Dan Williams <dcbw@redhat.com>
18843 * info-daemon/NetworkManagerInfoDbus.c
18844 - Display name of network in the "network not found" dialog
18846 * panel-applet/NMWirelessAppletDbus.c
18847 - (nmwa_dbus_call_nm_method): new function replaces all other
18848 nmwa_dbus_get_[string|string_array|int|boolean] methods
18849 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
18850 consolidated into nmwa_dbus_get_object_name()
18852 2004-10-15 Dan Williams <dcbw@redhat.com>
18854 * src/NetworkManagerDbus.c
18855 info-daemon/NetworkManagerInfoDbus.c
18856 - Display an error dialog when the user tries to use an
18857 "Other wireless network" that's not found.
18859 2004-10-15 Dan Williams <dcbw@redhat.com>
18861 * panel-applet/NMWirelessApplet.[ch]
18862 - Fix up corner cases in applet state, making it
18863 look more responsive. Change state to "connecting" when
18864 the user is forcing a device too.
18866 2004-10-15 Dan Williams <dcbw@redhat.com>
18868 * src/NetworkManagerAPList.c
18869 - (nm_ap_list_update_network): Disown AP after the list takes ownership
18871 * src/NetworkManagerDbus.c
18872 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
18874 * src/NetworkManagerDevice.c
18875 - Disown APs after the device's AP list takes ownership
18877 2004-10-15 Dan Williams <dcbw@redhat.com>
18879 * panel-applet/NMWirelessApplet.c
18880 - Update our applet state from the GUI thread
18882 * panel-applet/NMWirelessAppletDbus.c
18883 - Greatly simplify the locking to make the GUI thread
18884 smoother. Update a private copy of the device list
18885 and active device and only when done talking to
18886 NetworkManager turn it over to the GUI thread.
18888 2004-10-15 Dan Williams <dcbw@redhat.com>
18890 * src/NetworkManagerAP.[ch]
18891 - Add "artificial" get/set functions, set for APs that
18892 aren't discovered as part of a scan but instead
18893 discovered by force-setting the ESSID
18895 * src/NetworkManagerDevice.[ch]
18896 - (nm_device_wireless_network_exists): pass back whether
18897 or not the discovered AP was encrypted. Also, try
18898 falling back to encrypted mode on the card if unencrypted
18899 association doesn't work
18900 - (nm_device_find_and_use_essid): If the network requested
18901 did in fact exists, but it wasn't in our scan list, add
18902 an "artificial" entry for it. Some Cisco cards don't
18903 see non-ESSID-broadcasting APs in their scan but can still
18904 associate with them if you know the ESSID, this works around
18906 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
18907 to scan if the card is currently associated with that AP
18909 2004-10-15 Dan Williams <dcbw@redhat.com>
18911 ---- We have a website ----
18912 http://people.redhat.com/dcbw/NetworkManager
18914 Patch from Robert Paskowitz:
18915 * src/NetworkManager.c
18916 - (main): Make sure we are run as root
18917 * src/NetworkManagerDevice.c
18918 - Fix type in ad-hoc setting function
18920 Patch from Thom May:
18921 * src/backends/NetworkManagerDebian.c
18922 - Make Debian backend compile again
18924 2004-10-14 Dan Williams <dcbw@redhat.com>
18926 * Tagged NetworkManager-0_3
18928 2004-10-14 Dan Williams <dcbw@redhat.com>
18930 Patch from Robert Paskowitz:
18932 src/NetworkManagerDevice.[ch]
18933 src/backends/NetworkManagerDebian.c
18934 src/backends/NetworkManagerGentoo.c
18935 src/backends/NetworkManagerRedHat.c
18936 src/backends/NetworkManagerSlackware.c
18937 - Add support for grabbing and using a broadcast address
18938 from system config files
18939 - Some Gentoo backend fixes for grabbing network config
18940 - Fix LOG_WARN->LOG_WARNING
18942 2004-10-14 Dan Williams <dcbw@redhat.com>
18944 * NEWS: a few small fixes in the credits
18946 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
18948 * NEWS: prep for release.
18950 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
18952 * panel-applet/NMWirelessAppletDbus.c
18953 (nmwa_dbus_update_device_wireless_networks): remove warnings.
18955 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
18957 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
18958 applet->state == APPLET_STATE_NO_NM animation.
18960 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
18961 set the text correctly.
18963 2004-10-14 Dan Williams <dcbw@redhat.com>
18965 * src/NetworkManager.c
18966 - Only accept and manager 802.3 and 802.11 devices
18968 * src/NetworkManagerDbus.[ch]
18969 - (nm_dbus_nm_set_active_device): move most of the actual activation
18970 logic into NetworkManagerDevice.c
18971 - (nm_dbus_network_status_from_data): new function
18972 - (nm_dbus_signal_network_status_change): new function, unused for now
18973 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
18975 * src/NetworkManagerDevice.[ch]
18976 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
18979 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
18981 * info-daemon/NetworkManagerInfo.c
18982 - (main): Added session management
18984 2004-10-14 Dan Williams <dcbw@redhat.com>
18986 * panel-applet/NMWirelessAppletDbus.[ch]
18987 - Expose network_device_[un]ref()
18988 - Expose wireless_network_[un]ref()
18989 - (wireless_network_new_with_essid): new function, create and return
18990 a wireless network with a particular essid
18992 * panel-applet/NMWirelessApplet.c
18993 - Hook up the "other network" dialog to do something
18995 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
18997 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
18998 doesn't work yet, but it looks okay.
19000 * panel-applet/icons/*png: Resize to 22x22 and install in the
19003 2004-10-13 Dan Williams <dcbw@redhat.com>
19005 * panel-applet/NMWirelessApplet.c
19006 - Add function to print out applet_state in a readable
19009 * src/NetworkManager.c
19010 - (main): Don't segfault when nm_dbus_init() fails, we had
19011 a left-over call to hal_shutdown() into which we passed NULL
19013 * src/NetworkManagerAP.c
19014 - (nm_ap_set_essid): Allow NULL essids
19016 * src/NetworkManagerAPList.[ch]
19017 - More use of nm_ap_list_[un]lock ()
19018 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19019 network/essid, just return nothing. Also skip over NULL
19020 essid access points in the list when searching
19021 - (nm_ap_list_get_ap_by_address): new function
19022 - (nm_ap_list_update_network): set the access point's key source to
19023 NULL when the key returned from NetworkManagerInfo is NULL or
19025 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19026 copy timestamp over too
19027 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19028 find the correct ESSID for a blank-essid access point by searching
19029 through another list and matching access point MAC addresses
19030 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19032 * src/NetworkManagerDbus.c
19033 - (nm_dbus_nm_set_active_device): deal with random networks the user
19034 may specify. This is mainly for access points that don't
19035 broadcast their essid. So if the user tells us to associate with
19036 some random ESSID that's not in our access point list, we find
19037 out if the access point does in fact exist (by attempting association
19038 and then matching that access point's MAC address with the essid the
19039 user gave us) and then we switch to it.
19040 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19041 to the returned list of networks for the "getNetworks" method
19043 * src/NetworkManagerDevice.[ch]
19044 - Extra debugging info for link detection
19045 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19046 based on MAC address
19047 - (nm_device_get_path_for_ap): ignore blank-essid access points
19048 - (nm_device_wireless_network_exists): new function, find out whether
19049 a random ESSID exists by attempting to associate with it
19050 - (nm_device_do_normal_scan): allow blank-essid access points in our
19051 device list as long as they have an AP MAC address we can use.
19052 Also send WirelessNetwork[Dis]Appeared signals for non-active
19053 devices too. Lets the applet update more frequently.
19055 * src/backends/NetworkManagerGentoo.c
19056 - Patch from: Robert Paskowitz
19057 - Update backend code for Gentoo
19058 - Implement nm_system_device_update_config_info ()
19060 * test/nmclienttest.c
19061 - (set_network_device): new function, takes a command-line argument
19062 and tells NetworkManager to use that wireless network
19064 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19066 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19067 if the notification icon crashes 5 times within 5 seconds of each respawn
19069 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
19071 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19074 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
19076 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19078 * panel-applet/NMWirelessApplet.c: (animation_timeout),
19079 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19080 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19081 Change the name of the icons.
19083 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19084 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19085 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19086 (nm_menu_wireless_expose_event): Really bad hack to get the style
19087 to draw in the right color.
19089 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19091 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
19092 Notification if it crashes
19094 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
19096 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
19097 (nmwa_dbus_get_string): remove unused functions
19099 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19100 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19101 remove unused functions
19103 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19105 2004-10-12 Dan Williams <dcbw@redhat.com>
19107 * panel-applet/NMWirelessAppletDbus.c
19109 wireless_network_new
19110 wireless_network_copy
19112 network_device_copy
19114 * src/NetworkManagerDevice.[ch]
19116 nm_device_set_mode_managed
19117 nm_device_set_mode_adhoc
19118 - Use these functions where appropriate
19119 - When creating a new wireless device, force the card
19120 to managed/Infrastructure mode as soon as possible
19122 2004-10-12 Dan Williams <dcbw@redhat.com>
19124 * src/NetworkManagerDevice.c
19125 - Force wireless cards into Infrastructure mode before we use them
19127 2004-10-12 Dan Williams <dcbw@redhat.com>
19130 - Remove bit about static IP address support
19132 * src/NetworkManagerUtils.c
19133 - (nm_spawn_process): Add some error reporting
19135 * src/NetworkManagerDevice.c
19136 - (nm_device_activation_configure_ip): hook up to the static config
19137 routines in the backends
19139 * src/backends/NetworkManagerRedHat.c
19140 - (nm_system_device_update_config_info): use shvar.c routines to
19141 parse the config file iformation, not our own
19142 - (nm_system_device_setup_static_ip4_config): new function, based
19143 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
19144 with a static IP address and gateway
19146 * src/backends/shvar.[ch]
19147 - Parser (filched from initscripts package) for ifcfg-* files
19149 * src/backends/NetworkManagerSystem.h
19150 src/backends/NetworkManagerGentoo.c
19151 src/backends/NetworkManagerDebian.c
19152 src/backends/NetworkManagerSlackware.c
19153 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19155 2004-10-11 Dan Williams <dcbw@redhat.com>
19158 - Remove bit about more robust AP diffing since I just implemented it
19160 2004-10-11 Dan Williams <dcbw@redhat.com>
19162 * src/NetworkManagerAP.c
19163 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19164 enough RAM to allocate new AP structures, but return NULL instead
19166 * src/NetworkManagerAPList.[ch]
19167 - (nm_ap_list_is_empty): new function
19168 - (nm_ap_list_combine): new function, combine two access point lists
19169 - (nm_ap_list_copy_keys): new function, copy keys from one list
19172 * src/NetworkManagerDevice.[ch]
19173 - Rename some functions to be clearer:
19174 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19175 nm_device_just_activated -> nm_device_is_just_activated
19176 nm_device_activating -> nm_device_is_activating
19177 nm_device_now_scanning -> nm_device_is_scanning
19178 - Cache the last 4 scans so that the access point list is more stable.
19179 We combine the lastest two scans and use that as the AP list,
19180 and diff that combined list against the combination of the earliest
19181 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19183 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19185 * info-daemon/NWManagerInfo.h
19186 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19188 * info-daemon/NWManagerInfoDbus.c
19189 - (shutdown_callback): new function
19190 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19191 if NetworkManager goes away. Kill the timeout
19192 if NetworkManager restarts before the 30 seconds
19194 - (nmi_dbus_service_init):
19195 - call gtk_main_quit if NetworkManager is not running
19196 - add filters to monitor dbus service creations and
19199 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19201 * panel-applet/NMWirelessApplet.c
19202 - (nmwa_update_state): Hide notification icon if we are only
19203 showing one wired card and no wireless interfaces
19204 (Red Hat Bug #134895)
19206 * panel-applet/NMWirelessAppletDbus.c
19207 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19209 * info-daemon/NWManagerInfo.c
19210 - (main): Terminated the notification_icon_cmd array with a NULL
19212 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
19214 * configure.in (ALL_LINGUAS): Added de (German).
19216 2004-10-08 Dan Williams <dcbw@redaht.com>
19218 * src/NetworkManagerDevice.c
19219 - Be a bit more robust about link checking, ie make sure that
19220 the WEP key we were given actually has some data in it
19222 2004-10-08 Dan Williams <dcbw@redhat.com>
19224 * info-daemon/NetworkManagerInfo.c (main):
19225 - Initialize GError object to NULL
19227 2004-10-08 Dan Williams <dcbw@redhat.com>
19229 * panel-applet/NMWirelessAppletDbus.c
19230 - Die if NetworkManagerInfo dies, since it manages our lifetime
19232 2004-10-08 Dan Williams <dcbw@redhat.com>
19234 * info-daemon/NetworkManagerInfo.[ch]
19235 info-dameon/NetworkManagerInfoDbus.[ch]
19236 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19237 - Preserve original label text in the passphrase dialog so that
19238 it actually gets updated with the new network name the next
19239 time around. Previously, we were overwriting it so you'd get
19240 the wrong network name to enter a key for
19241 - Add a "Key Type" combo to the passphrase dialog, user selects
19242 encryption key type now, type is stored in GConf too
19243 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19245 * src/NetworkManagerAP.[ch]
19246 - Remove all the encyption method magic. It's now set by the user
19247 and NetworkManager retrieves the type of encryption key from
19250 * src/NetworkManagerAPList.[ch]
19251 src/NetworkManagerDbus.[ch]
19252 - Adjust to new way of setting encryption key and method
19253 - Pull encryption method down from NMI along with key
19255 * src/NetworkManagerDevice.[ch]
19256 - Removed encryption method fallback magic as the method is now
19257 determined by the user. This greatly simplifies the connection
19259 - More robust connection/link logic. Besides removing the encryption
19260 method fallback magic, check whether or not the card is receiving
19261 invalidly encrypted packets, which usually indicates that we have
19263 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19265 * test/nminfotest.c
19266 - Test out new "Key Type" stuff in the NMI passphrase dialog
19268 2004-10-07 Dan Williams <dcbw@redhat.com>
19270 * info-daemon/NetworkManagerInfo.conf
19271 - Allow root user to run NMI too
19273 2004-10-06 Dan Williams <dcbw@redhat.com>
19275 * src/NetworkManagerDevice.[ch]
19276 src/NetworkManagerDbus.c
19277 doc/NetworkManager DBUS API.txt
19278 - Add a new status tag "scanning", which is set when there
19279 is no active network connection, but NetworkManager is
19280 looking for an access point to associate with
19282 * panel-applet/main.c
19283 - Cast the applet appropriately for gtk_widget_show_all ()
19285 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
19287 * panel-applet/eggtrayicon.[ch]:
19288 * panel-applet/main.c: Add missing file
19290 2004-10-04 Dan Williams <dcbw@redhat.com>
19292 * src/NetworkManagerDevice.[ch]
19293 - Add a slightly more robust method of determining if the WEP key
19294 is correct or not, by checking the WEP-discarded packet count
19297 * info-daemon/NetworkManagerInfo.c
19298 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19299 un-escape values we pull out rather than escaping them
19301 2004-10-03 Marcel Telka <marcel@telka.sk>
19303 * configure.in (ALL_LINGUAS): Added sk.
19305 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
19307 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19308 and feel. We should be back to working, and have a good, clean
19311 2004-09-30 Dan Williams <dcbw@redhat.com>
19313 * info-daemon/NetworkManagerInfo.c
19314 info-daemon/NetworkManagerInfoDbus.c
19316 - Escape ESSIDs in gconf
19318 * src/NetworkManagerDevice.c
19319 - Fix pseudo-scanning to use netowrk list from info daemon
19321 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
19323 * configure.in: Add a temporary --enable-notification-icon. This
19324 will prolly go away.
19326 * info-daemon/Makefile.am:
19327 * info-daemon/NetworkManagerInfo.c:
19328 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19330 * panel-applet/Makefile.am:
19331 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19332 * panel-applet/NMWirelessApplet.h:
19334 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
19336 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
19337 before 'select custom ESSID'.
19339 * panel-applet/menu-info.c: Start rewrite for better headers. Not
19340 fully complete, but syncing in prep for merge.
19342 * panel-applet/icons/*png: New images
19344 2004-09-28 Dan Williams <dcbw@redhat.com>
19346 * src/NetworkManager.c
19347 src/NetworkManagerDevice.c
19348 src/NetworkManagerPolicy.c
19349 - Don't blow away an active wired connection on startup
19351 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
19355 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19357 * info-daemon/NetworkManagerInfoDbus.c: added service name to
19360 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
19362 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19363 have a wireless card.
19365 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
19367 * panel-applet/NMWirelessApplet.c: move the custom essid item.
19368 Also, get the right device strings.
19370 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
19372 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19373 the logic to make this right.
19375 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19376 devices so that wired networks are always first.
19378 2004-09-22 <clarkbw@cvs.gnome.org>
19380 * initscript/Debian/.cvsignore:
19381 * initscript/Slackware/.cvsignore:
19382 Added new cvsignores for Makefile, Makefile.in
19385 Added nmtestdevices
19387 * src/NetworkManagerDevice.c:
19388 * src/NetworkManager.c:
19389 Updated the wireless/wired HAL device strings from net.ethernet to
19390 net.80203 or net.80211 depending on wired or wireless respectively
19392 * examples/python/NetworkManager.py:
19393 s/Quality/Strength/
19395 * examples/python/systray/network_tray.py:
19396 Lots of little changes and fixes. been rotting for a while so I
19397 figured I'd finally sync them all with CVS
19399 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
19401 * configure.in: Add graphics
19403 * panel-applet/Makefile.am: Add graphics
19405 * panel-applet/icons/*: Add graphics
19407 * panel-applet/NMWirelessApplet.c: Use new menu times to display
19408 the icons fully lined up.
19410 * panel-applet/menu-info.c:
19411 * panel-applet/menu-info.h: Add another menu type.
19413 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
19415 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19417 * panel-applet/menu-item.[ch]: Wireless menu item.
19419 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
19421 * info-daemon/NetworkManagerInfo.conf
19422 - Created a more robust security policy for the DBus service
19423 - everything is denied by default
19424 - root can own and send to the service
19425 - users logged in at the console can send to the service
19427 2004-09-13 Dan Williams <dcbw@redhat.com>
19429 * src/NetworkManagerDevice.c
19430 - (nm_device_get_essid): use iw_get_basic_config() rather than
19431 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
19434 2004-09-13 Dan Williams <dcbw@redhat.com>
19438 * docs/NetworkManager DBUS API.txt
19439 - Update for new signal strength changes
19441 * panel-applet/NMWirelessApplet.c
19442 - Make panel icon show strength of the current connection
19443 - Cleanups and memleak fixes
19445 * panel-applet/NMWirelessApplet.h
19446 - Add data members for signal strength on devices and networks
19448 * panel-applet/NMWirelessAppletDbus.c
19449 - Free more DBusErrors
19450 - Update for new signal strength changes
19451 - Make devices and networks more like real objects, use ref/unref methods
19452 - Actually unlock the mutex when updating the active device
19454 * src/NetworkManagerAP.c
19455 - Change AP functions and data members from "quality"->"strength"
19457 * src/NetworkManagerDbus.c
19458 - Kill "getMaxQuality" and "getQuality" methods
19459 - Add "getStrength" methods for Networks and Devices
19461 * src/NetworkManagerDevice.[ch]
19462 - Add accessors for device strength
19463 - Add functions to update strength for a device. Note that not all drivers
19464 actually support signal strength for scanned access points (Atmel drivers
19466 - Calculate signal strength for each AP during scan
19468 * src/NetworkManagerWireless.[ch]
19469 - Add function to return signal strength % from a device and a raw quality struct
19471 * test/nmclienttest.c
19472 - Update for new signal strength changes
19474 2004-09-11 Dan Williams <dcbw@redhat.com>
19476 * src/NetworkManager.c
19477 - Fix race condition between initscripts and NM on card insertion
19478 which could cause a card to keep an IP address and routes around
19479 even when it was not the active device
19481 * src/NetworkManagerDbus.c
19482 - Fix compile errors, free more DBusErrors
19484 2004-09-11 Dan Williams <dcbw@redhat.com>
19486 * docs/NetworkManager DBUS API.txt
19487 - Add an explanation of NM's API
19489 * src/NetworkManagerDbus.c
19490 - Free some more DBusErrors if needed
19492 2004-09-11 Dan Williams <dcbw@redhat.com>
19494 * panel-applet/NMWirelessApplet.c
19495 panel-applet/NMWirelessAppletDbus.c
19496 - Start using NetworkDevice/WirelessNetwork structures in more places
19497 - Update for unified device/network forcing in NetworkManager
19499 * src/NetworkManager.c
19500 - some code consolidation
19502 * src/NetworkManagerDbus.c
19503 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
19504 or two arguments: the first is the NM ID of the device to switch to,
19505 and the second (optional) argument is the ESSID of a wireless network
19507 - Get rid of "setNetwork" method due to above change
19509 * src/NetworkManagerDevice.c
19510 - (nm_device_new): perform scan and update best AP on device creation
19511 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
19512 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
19513 spin waiting for cancellation to finish before returning
19515 * src/NetworkManagerPolicy.c
19516 - Changes here clarify the situations in which a device switch occurs, and
19517 make sure to keep using a forced device and network if the user gives
19519 - Remove old unused code
19521 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
19523 * configure.in: Added Danish (da) to ALL_LINGUAS.
19525 2004-09-09 Dan Williams <dcbw@redhat.com>
19527 * panel-applet/NMWirelessAppletDbus.c
19528 - Pull fresh devices and networks from NM when wireless networks
19529 change. Provides faster feedback of a forced wireless network
19531 * src/NetworkManagerDbus.c
19532 - Return error when "getMaxQuality" is called on a wired device
19533 - Make best_ap freezing actually work again, and signal cancellation
19534 of activation if there's already a device activation when the user
19535 freezes the best_ap
19537 * src/NetworkManagerDevice.c
19538 - Don't clear out the best_ap for wireless devices when the link goes
19539 down, that's done elsewhere
19540 - Kill any dhcp daemons when cancelling device activation since they
19541 may be stuck waiting for a DHCP address, and since we're cancelling
19542 activation we don't care about that anymore
19544 * src/NetworkManagerPolicy.c
19545 - Make sure to unref the device we ref earlier (we refed it to make sure
19546 it stuck around during device activation and such)
19547 - If we were going to change the best device, but its activating currently
19548 (and therefore the change didn't occur due to the check earlier)
19549 we mark the state changed to we come back to it later when device
19550 activation has canceled and its no longer activating
19552 * src/backends/NetworkManagerRedHat.c
19553 - SIGKILL dhcp daemons rather than SIGTERM-ing them
19555 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
19557 * info-daemon/passphrase.glade:
19558 set passphrase input to activates_default : True
19560 * examples/python/systray/network_tray.py
19561 (network_tray.sort_networks):
19563 Added support for having wireless always scanning
19565 2004-09-09 Dan Williams <dcbw@redhat.com>
19567 NOTE: this commit changes the behavior of wireless devices in
19568 NetworkManager. They are now up all the time, scanning all
19569 the time. Only the active device has an IP address and routing
19570 information set up however. Also, NetworkManager will no longer
19571 opportunistically switch wireless networks when a better one
19572 comes in range, it will remain associated with one wireless network
19573 until that one drops out.
19575 * panel-applet/NMWirelessApplet.c
19576 panel-applet/NMWirelessAppletDbus.c
19577 - List all wireless cards and their respective networks
19579 * src/NMLoadModules
19580 - Use full path to /sbin/ip
19582 * src/NetworkManager.c
19583 - Keep wireless devices up all the time so they can scan
19585 * src/NetworkManagerDbus.c
19586 - On a WirelessNetworkUpdate signal from NMI, don't update
19589 * src/NetworkManagerDevice.c
19590 - (nm_device_set_link_active): clear out the best ap for
19591 wireless devices when the link is set to FALSE
19592 - Scan on all wireless cards, all the time
19593 - (nm_device_activation_worker): split out the wireless card
19594 link-waiting code to a separate function
19595 - Keep wireless cards up even if device activation fails
19596 - Don't update the "best" ap as much
19598 * src/NetworkManagerPolicy.c
19599 - Don't update the best ap when checking if its frozen,
19600 let link checking clear out a frozen best ap for us
19602 * src/NetworkManagerWireless.c
19603 - Scan on all wireless cards, all the time
19605 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
19607 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
19609 2004-09-09 Ankit Patel <ankit@redhat.com>
19611 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
19613 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
19615 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
19617 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
19619 * examples/python/NetworkManager.py:
19620 added CONNECTED, CONNECTING, and DISCONNECTED states
19621 added methods to return number of devices of a single type
19623 * examples/python/systray/network_tray.py:
19624 did some tweaks to get the menu looking near what it is supposed
19625 to look like. Also did a Airo card hack to make it show the
19628 2004-09-08 Dan Williams <dcbw@redhat.com>
19630 * panel-applet/no-networkmanager.png
19631 panel-applet/Makefile.am
19632 panel-applet/NMWirelessApplet.c
19633 - Add a "NetworkManager not running" icon and use it
19634 - Use new consolidated GConf keys rather than Preferred/Trusted
19638 * info-daemon/NetworkManagerInfo.c
19639 info-daemon/NetworkManagerInfoDbus.[ch]
19640 info-daemon/NetworkManagerInfoPassphraseDialog.c
19641 - There are now no longer two separate lists of wireless networks,
19642 but one list where each network is "trusted" or not trusted
19643 - Add a "getNetworkTrusted" dbus method
19644 - "WirelessNetworkUpdate" signal now sent rather than
19645 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
19646 - Start freeing some dbus errors (not completed yet)
19648 * info-daemon/passphrase.glade
19649 - Remove the "don't show" hints for pager and taskbar
19650 - Add a title since its going to be in the taskbar
19652 * src/NetworkManager.[ch]
19653 src/NetworkManagerAPList.[ch]
19654 - There are now no longer two separate lists of wireless networks,
19655 but one list where each network is "trusted" or not trusted
19657 * src/NetworkManagerAP.[ch]
19658 - Add get/set "trusted" accessors and data bit
19660 * src/NetworkManagerDbus.[ch]
19661 - Add function to get "trusted" status of a network from NetworkManagerInfo
19662 - Trap new WirelessNetworkUpdate signal rather than old separate signals
19664 * src/NetworkManagerDevice.[ch]
19665 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
19666 - (nm_device_new): Get device config from backend when initializing devices
19667 - (nm_device_activation_worker): Split out device configuration on
19668 activation to deal with static/dynamic IP differences, and try encryption
19669 fallbacks on a device if the encryption method for the best AP is not good
19670 - (nm_device_update_best_ap): convert to new consolidated access point lists from
19671 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
19673 * src/NetworkManagerWireless.c
19674 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
19676 * src/backends/NetworkManagerRedHat.c
19677 src/backends/NetworkManagerSystem.h
19678 - (nm_system_device_update_config_info): Add function to get device configuration
19679 from system data in ifcfg-* files
19681 * src/backends/NetworkManagerDebian.c
19682 src/backends/NetworkManagerGentoo.c
19683 src/backends/NetworkManagerSlackware.c
19684 - Add stub functions for getting device configuration
19686 2004-09-07 Dan Williams <dcbw@redhat.com>
19688 * src/backends/NetworkManagerRedhat.c
19689 src/backends/NetworkManagerSlackware.c
19690 - Use full path to /sbin/ip everywhere
19692 2004-09-07 Dan Williams <dcbw@redhat.com>
19694 Patch from: Narayan Newton <narayan_newton@yahoo.com>
19697 initscript/Makefile.am
19698 initscript/Slackware/Makfile.am
19699 initscript/Slackware/rc.networkmanager
19701 src/backends/NetworkManagerSlackware.c
19702 - Add Slackware support
19704 2004-09-07 Dan Williams <dcbw@redhat.com>
19706 Patches below from:
19708 Mark Roach <mrroach@okmaybe.com>
19709 Thom May <thom@debian.org>
19712 initscript/Debian/NetworkManager
19713 initscript/Debian/Makefile.am
19714 - Initscript for Debian
19716 * src/backends/NetworkManagerDebian.c
19717 - Add missing system init function to allow compilation
19720 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
19722 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
19724 2004-09-03 Akagic Amila <bono@linux.org.ba>
19726 * configure.in: Added 'bs' to ALL_LINGUAS.
19728 2004-09-02 Colin Walters <walters@verbum.org>
19730 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
19731 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
19732 g_strdup_printf instead of arbitrarily sized buffers.
19734 2004-09-01 Colin Walters <walters@verbum.org>
19736 * NetworkManager.pc.in: New file.
19738 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
19740 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
19742 * configure.in: Punjabi(pa) is added to po/.
19744 2004-08-31 Dan Williams <dcbw@redhat.com>
19746 * Remove 'debug' extern global from all files since we now
19749 * src/NetworkManager.[ch]
19750 - Break out routine that get the net.interface property from HAL,
19751 removing that logic from nm_create_device_and_add_to_list()
19752 - (nm_create_device_and_add_to_list): make this a bit more general so
19753 it doesn't do the talking to HAL. Also add arguments to facilitate
19754 the create of test devices.
19755 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
19756 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
19757 which makes NetworkManager listen for dbus commands to create test
19758 devices, which have no backing hardware. Use when you're on a plane
19759 for example, and/or forgot your wireless card at home. Test devices
19760 _cannot_ be created unless NM is started with --enable-test-devices.
19762 * src/NetworkManagerDbus.[ch]
19763 - New "getLinkActive" method for devices
19764 - New "setLinkActive" method for devices (only works on test devices)
19765 - New "createTestDevice" method on NetworkManager object to create a test
19766 device of a specified type (ie wired, wireless). UDI is created from
19767 scratch, as is the interface name. Only works when NM is started with
19768 --enable-test-devices switch.
19769 - New "removeTestDevice" method on NetworkManager object which removes a
19770 test device. Only works when NM is started with --enable-test-devices
19772 * src/NetworkManagerDevice.[ch]
19773 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
19774 whether a device is a test device or not, and what its link status is.
19775 - Deal with test devices in most functions. For those that work directly on hardware
19776 special-case test devices.
19777 - (nm_device_new): don't create a test device if test devices weren't enabled on the
19779 - (nm_device_update_link_active): split out logic for wired and wireless device link
19780 checking to separate functions to facilitate test device link checking.
19781 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
19782 don't make a distinction between System Authentication and Encryption
19783 (namely Cisco aironet), we use Open System auth when setting a WEP key
19784 on the card. We don't deal with Shared Key auth yet.
19785 - (nm_device_activation_worker): split the activation cancel check logic out into
19786 a separate routine nm_device_activation_cancel_if_needed()
19787 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
19788 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
19789 a list of fake access points that they can "see"
19790 - (nm_device_is_test_device): return whether or not a device is a test device
19792 * src/NetworkManagerPolicy.c
19793 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
19794 previously if you "locked"/forced NM to use a wireless device but then
19795 selected a wireless network for NM to use, it would switch to a wired device.
19796 So, if the active device is wireless and it has a "forced" best AP, use it
19797 if the "forced" best AP is still valid
19798 - (nm_state_modification_monitor): deal with NULL best devices, for example
19799 there were no usable network devices, or the last one was removed
19801 * src/backends/NetworkManager*.c
19802 - Deal with test devices, mostly just return success for operations like getting
19805 * test/nmtestdevices.c
19806 - Test tool to create/remove/link-switch test devices
19808 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
19810 * examples/python/NetworkManager.py:
19811 added convience functions has_wired_device and has_wireless_device
19813 * examples/python/systray/network_tray.py:
19814 cleaned up a bunch of cruft, added support for listing wireless
19815 networks just like the real applet. This is probably all I'm
19816 going to work on this applet from now on.
19817 TODO: add support for actually changing networks and devices
19819 * examples/python/NetworkManager.py (NetworkManager.get_device):
19820 changed "nm.networks" into a dict from a list so I can store all
19821 the cool information about networks in there
19823 * examples/python/systray/network_tray.py:
19824 Added nice message when you try to run without running make first
19826 * examples/python/NetworkManager.py:
19827 Bug fixes to the code so we get all the device information
19828 that we need in get_device()
19830 * examples/python/NMTester.py:
19831 Fixed _print_device_list to print_device_list
19833 2004-08-29 Seth Nickell <seth@gnome.org>
19837 Actually properly setup the Debian backend in configure.
19839 2004-08-29 Colin Walters <walters@verbum.org>
19841 * test/nminfotest.c: Include string.h and stdlib.h.
19842 (get_network_string_property, get_networks_of_type): Return NULL.
19844 * test/nmclienttest.c (get_device_name, get_active_device): Return
19847 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
19848 use strlen, fgets always NULL-terminates the string.
19850 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
19851 dbus_message_get_member): Remove /* in comment.
19853 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
19855 * src/NetworkManager.c (quit): Unused, delete.
19856 (nm_data_free): Cast arg to GFunc.
19858 * panel-applet/NMWirelessAppletDbus.c: Need to include
19859 string.h, and dbus-glib-lowlevel.h (the latter is needed
19860 for dbus_connection_setup_with_g_main at present).
19861 (nmwa_dbus_update_wireless_network_list): Parenthesize
19862 assignment in conditional.
19863 (nmwa_dbus_worker): Return NULL.
19865 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
19866 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
19867 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
19868 (nmwa_populate_menu): Return NULL on failure, instead of just
19871 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
19873 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
19876 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
19879 2004-08-29 Colin Walters <walters@verbum.org>
19881 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
19882 a GTimeVal instead of time_t. This is easier to work with,
19883 since time_t may be a long or double, we don't know.
19885 * src/NetworkManagerDbus.h: Update prototype.
19887 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
19889 (nm_ap_get_timestamp): Update to return GTimeVal.
19890 (nm_ap_set_timestamp): Update to take GTimeVal.
19892 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
19893 to handle GTimeVal.
19895 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
19897 (nm_ap_list_print_members): Fix warnings in printf format.
19899 2004-08-29 Colin Walters <walters@verbum.org>
19901 * panel-applet/NMWirelessApplet.c: Include config.h.
19903 2004-08-29 Colin Walters <walters@verbum.org>
19905 * configure.in: Generate config.h.
19907 * configure.in: Dump dependency on OpenSSL; we can't
19908 use it since this package is GPL:
19909 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
19910 Instead, check for libgcrypt, use it if available,
19911 otherwise use included MD5 code.
19913 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
19914 Suck in from gnome-keyring, munge a bit.
19916 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
19917 gnome-keyring-md5.h gnome-keyring-md5.c.
19918 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
19920 * src/NetworkManagerWireless.c (nm_md5): New function, uses
19921 libgcrypt or included gnome-keyring md5 bits.
19922 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
19924 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
19926 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
19928 2004-08-27 Bryan Clark <bclark@redhat.com>
19930 * examples/python/systray/Makefile:
19932 Updated the clean section
19934 * examples/python/systray/trayiconmodule.c:
19935 * examples/python/systray/trayicon.override:
19936 * examples/python/systray/network_tray.py:
19937 * examples/python/systray/eggtrayicon.h:
19938 * examples/python/systray/eggtrayicon.c:
19939 * examples/python/systray/Makefile:
19940 * examples/python/README:
19941 * examples/python/NetworkManager.py:
19942 * examples/python/NMTester.py:
19944 Initial commit of these python example files
19946 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
19948 * panel-applet/NMWirelessApplet.c
19949 - Make current device bold
19950 - Show more user-friendly device name if we got one from hal
19952 * panel-applet/NMWirelessAppletDbus.c
19953 - Grab "info.product" key from hal for network devices
19954 - Cache the current active device
19956 2004-08-27 Adam Weinberger <adamw@gnome.org>
19958 * configure.in: Added en_CA to ALL_LINGUAS.
19960 2004-08-27 Christian Rose <menthos@menthos.com>
19962 * configure.in: Added "sv" to ALL_LINGUAS.
19964 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
19966 * Tag NetworkManager-0.2
19968 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
19970 * initscripts/Makefile.am
19971 * configure.in: Make pass distcheck
19973 * po/ChangeLog: added
19975 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
19977 * panel-applet/NMWirelessApplet.c
19978 - Remove debugging code
19979 - Enable device switching from menus
19981 * panel-applet/NMWirelessAppletDbus.[ch]
19982 - Method for asking NM to switch devices
19984 * src/NetworkManagerDevice.c
19985 - Set dev->activating earlier, avoids race between
19986 the dbus signal of "DeviceActivating" and setting
19987 dev->activating (which is what NM's "status" method call
19990 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
19992 * panel-applet/NMWirelessApplet.[ch]
19993 - Rework menu code to add devices to menu, and to show
19994 signal strength for each access point. Code cleanups
19997 * panel-applet/NMWirelessAppletDbus.c
19998 - Grab network devices from NetworkManager too
19999 - Grab quality information from NM for wireless networks
20001 * src/NetworkManagerDbus.[ch]
20002 - Add dbus methods for getting the HAL UDI from a device and
20003 for getting its base quality, if its wireless
20004 - Consolidate some functions (wireless network notifications,
20005 device notifications)
20006 - Add method for requesting NM to use a particular device
20008 * src/NetworkManager.c
20009 - Change for function consolidations from NetworkManagerDbus.c
20010 - Implement active device locking and user-requested devices
20011 (ie, tell NM to use a particular device instead of the one
20014 * src/NetworkManagerDevice.c
20015 - Add method for getting the base quality of a device, if its
20017 - Grab device base quailty info from iwlib during scans
20019 * src/NetworkManagerPolicy.c
20020 - Use a user-requested device rather than the auto-chosen device
20023 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
20025 * Makefile.am: add po as a supdir
20027 * autogen.sh: use gnome-autogen.sh
20029 * initscript/Gentoo/.cvsignore:
20030 * initscript/RedHat/.cvsignore: Shut up cvs
20032 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20034 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20035 (nmwa_fill): Use gettext.
20037 * configure.in: add gettext support
20039 * po/NetworkManager.pot:
20042 2004-08-26 Seth Nickell <seth@gnome.org>
20044 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20045 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20046 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20047 (nmwa_dispose_menu_items), (nmwa_populate_menu),
20048 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20049 * panel-applet/NMWirelessApplet.h:
20051 Use a menu bar instead of a button for the main clickable
20054 2004-08-25 Dan Williams <dcbw@redhat.com>
20056 * src/NetworkManagerDevice.c
20057 - (nm_device_set_enc_key): always set device to "open" mode instead of
20058 turning encryption off, because the Cisco driver doesn't associate
20059 with WEP-enabled access points unless we are in "open"
20061 2004-08-25 Dan Williams <dcbw@redhat.com>
20063 * src/NetworkManagerWireless.c
20064 - Don't try to defererence blank passphrases
20066 2004-08-25 Dan Williams <dcbw@redhat.com>
20068 * panel-applet/NMWirelessApplet.c
20069 - Rebuild the menu whenever a user clicks
20071 2004-08-25 Dan Williams <dcbw@redhat.com>
20073 * panel-applet/NMWirelessApplet.c
20074 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20075 when NM isn't around or when its not connected
20077 * src/NetworkManagerDevice.c
20078 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20081 2004-08-25 Dan Williams <dcbw@redhat.com>
20083 * panel-applet/NMWirelessAppletDbus.c
20084 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20085 for getting encryption, and don't stop on "val" once we've gotten it
20086 from NetworkManager. Short form: encryption should now show up.
20088 2004-08-25 Dan Williams <dcbw@redhat.com>
20090 * panel-applet/NMWirelessApplet.c
20091 - Set ESSID on a gconf trusted network too when force-setting the wireless
20092 network to associate with
20094 2004-08-25 Dan Williams <dcbw@redhat.com>
20097 - Rework the panel applet to do all DBUS communication in a separate
20100 2004-08-25 Dan Williams <dcbw@redhat.com>
20102 * info-daemon/NetworkManagerInfo.[ch]
20103 - Remove "get_next_priority" function
20105 * info-daemon/NetworkManagerInfoDbus.[ch]
20106 - Convert "priority" functions to "timestamp"
20108 2004-08-25 Dan Williams <dcbw@redhat.com>
20110 * src/NetworkManagerAP.[ch]
20111 - Add a "enc_method_good" member and accessors to an Access Point
20112 to signal when we've found the correct encryption method
20113 for an access point
20114 - Add a "timestamp" member and accessors, remove "priority" member
20115 and accessors (use timestamps instead)
20116 - Rename "wep_key"->"enc_key"
20117 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20118 for a specified encryption method using the access points
20119 source encryption key/passphrase
20121 * src/NetworkManagerAPList.c
20122 - When updating a network with dbus, grab timestamp now instead of
20125 * src/NetworkManagerDBus.[ch]
20126 - Add signal for "DeviceActivating"
20127 - Switch priority->timestamp
20129 * src/NetworkManagerDevice.c
20130 - Change references of "wep_key" -> "enc_key" or "key"
20131 - Signal DeviceActivating when starting activation
20132 - When activating a wireless device, if the access point we are connecting
20133 to is encrypted, and we have a source key, try to generate a mangled
20134 key and use that (ie, generate real WEP key from a passphrase)
20135 - Rework device activation to fallback to other encryption methods if
20136 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20137 first, then if that doesn't work fall back to direct hex key).
20138 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20139 priority. We now prefer the latest access point used, rather than using
20141 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20142 points we've just discovered, and merge in correct info from the global
20145 2004-08-25 Seth Nickell <seth@gnome.org>
20147 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20151 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20152 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20153 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20154 (nm_system_delete_default_route),
20155 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20156 (nm_system_load_device_modules):
20158 2004-08-24 Dan Willemsen <dan@willemsen.us>
20160 * src/NetworkManager.c
20161 src/backends/NetworkManagerGentoo.c
20162 src/backends/NetworkManagerRedHat.c
20163 src/backends/NetworkManagerSystem.h
20164 - Implement preliminary Gentoo support, adding a
20165 nm_system_init function to the backend specification
20168 - Distribution auto-detection, lowercase any user-fed
20171 * initscript/.cvsignore
20172 initscript/Makefile.am
20173 initscript/RedHat/Makefile.am
20174 initscript/RedHat/NetworkManager
20175 initscript/Gentoo/Makefile.am
20176 initscript/Gentoo/NetworkManager
20177 - Refactored initscript code separately for each
20180 2004-08-23 Dan Williams <dcbw@redhat.com>
20184 src/NetworkManagerDevice.c
20185 src/NetworkManager.c
20186 src/NetworkManagerUtils.[ch]
20187 src/backends/NetworkManagerSystem.h
20188 src/backends/NetworkManagerRedHat.c
20189 src/backends/NetworkManagerGentoo.c
20190 - Refactor system-specific code into separate backends for
20193 2004-08-23 Dan Willemsen <dan@willemsen.us>
20195 * dispatcher-daemon/NetworkManagerDispatcher.c
20196 info-daemon/NetworkManagerInfo.[ch]
20197 info-daemon/NetworkManagerInfoDbus.c
20198 info-daemon/NetworkManagerInfoPassphraseDialog.c
20199 src/NetworkManager.c
20200 src/NetworkManagerAP.c
20201 src/NetworkManagerAPList.c
20202 src/NetworkManagerDbus.c
20203 src/NetworkManagerDevice.c
20204 src/NetworkManagerPolicy.c
20205 src/NetworkManagerUtils.[ch]
20206 src/NetworkManagerWireless.c
20207 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20209 * src/NetworkManager.c
20210 - Fixed usage wording for --no-daemon
20212 2004-08-23 Dan Williams <dcbw@redhat.com>
20214 * panel-applet/NMWirelessApplet.c
20215 - Update our state every second to get more responsive panel icon
20216 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20217 was causing our marching ants status blips to never move when
20218 looking for a wireless network
20220 * src/NetworkManagerDevice.c
20221 - (nm_device_activation_begin): return if activation has already begun
20222 - (nm_device_do_normal_scan): merge WEP key and priority from the
20223 trusted/preferred network into the device's access point when the
20224 scan list is processed
20226 2004-08-23 Dan Williams <dcbw@redhat.com>
20228 * initscript/NetworkManager
20229 - Use NMLaunchHelper rather than sleeping
20231 * initscript/NMLaunchHelper.c
20233 - Add helper program that exits only when NM activates a device,
20234 or 10 seconds have passed, whichever happens first. This
20235 stops the boot processes until we have a network connection,
20236 which NM can't do because it daemonizes and brings the connection
20237 up in the background. Allows stuff like NFS to not die.
20239 2004-08-20 Dan Williams <dcbw@redhat.com>
20241 * info-daemon/NetworkManagerInfoPassphraseDialog.c
20242 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20243 for a network, set the essid as well since it may not exist yet
20244 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20245 since WEP keys/passphrases are long and prone to entry-error
20247 * panel-applet/Makefile.am
20248 panel-applet/wired.png
20249 - Add (pulled from system-config-network temporarily)
20251 * panel-applet/NMWirelessApplet.[ch]
20252 - Show wired picture when a wired connection is used
20253 - Rename wireless icon enums, adding WIRELESS
20255 * src/NetworkManagerDevice.c
20256 - (nm_device_activate_wireless): unset encryption before bringing
20257 down the card and setting the essid
20258 - (nm_device_activatin_worker): request a key from the user if the
20259 AP we are connecting to is encrypted but we don't have a key
20261 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20262 strcmp() that prevented a user-entered key from actually getting
20265 2004-08-16 Dan Williams <dcbw@redhat.com>
20267 * initscript/NetworkManager
20268 - Check for /sbin/ip
20269 - Do sysctl magic that network service does
20270 - sleep 4s after start to allow network time to come up [hack]
20274 - Load all network device kernel modules (hal doesn't know devices
20275 are ethernet until the module is loaded, and therefore we don't know)
20277 * src/NetworkManager.c
20278 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20279 network devices, and bring up the loopback device explicitly
20281 * src/NetworkManagerUtils.[ch]
20282 - (nm_enable_loopback): new function
20284 2004-08-13 Dan Williams <dcbw@redhat.com>
20287 panel-applet/Makefile.am
20288 - Fix up cleanfiles and server_DATA/server_in_files
20291 - Update with some comments on theory of operation
20297 2004-08-12 Dan Williams <dcbw@redhat.com>
20299 * info-daemon/passphrase.glade
20300 - Set window title to " "
20302 * panel-applet/Makefile.am
20303 panel-applet/keyring.png
20304 - Deliver to correct place
20306 * panel-applet/NMWirelessApplet.[ch]
20308 - Remove applet->have_active_device as its no longer used
20309 - (nmwa_load_theme): load keyring.png too
20310 - (error_dialog): remove
20311 - (show_warning_dialog): subsume functionality of error dialog too
20312 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20313 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20315 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20316 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20317 and when we get broadcasts of changed wireless access points only, not when the
20318 user clicks on the button to display the menu (too long of a wait)
20319 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20320 networks that are encrypted
20321 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20322 menu item with g_object_set_data()
20324 * panel-applet/NMWirelessAppletDbus.[ch]
20325 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20326 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20327 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20328 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20329 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20330 activation/deactivation signals and rebuild the menu when they happen
20332 * src/NetworkManager.c
20333 - (main): use new nm_spawn_process() rather than system()
20335 * src/NetworkManagerDbus.c
20336 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20337 instead. Since we can now force best_aps to stick around, the AP structure to which
20338 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20339 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
20340 to freeze the best_ap.
20342 * src/NetworkManagerDevice.[ch]
20343 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20344 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20345 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20348 * src/NetworkManagerUtils.[ch]
20349 - (nm_spawn_process): add replacement for system() usage
20351 2004-08-11 Dan Williams <dcbw@redhat.com>
20353 * panel-applet/NMWirelessApplet.[ch]
20354 - Fix up copyright and credits to include Bastien and Eskil,
20355 who created the gnome-applets wireless applet, from whose
20356 skeleton this one was created
20357 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20358 pixmap to draw is computed during nmwa_update_state()
20359 - Applet now shows itself all the time due to panel packing issues
20360 which caused the applet to previously never come back after hiding.
20361 When a wired device is the active device, the applet shows "not connected"
20363 * panel-applet/NMWirelessAppletDbus.[ch]
20364 - Clean up error messages and show what function they are from
20365 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20366 - Add new device type getters, and a status getter
20368 * src/NetworkManagerDbus.c
20369 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20370 network is actually in the device's ap list
20371 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20373 * src/NetworkManagerDevice.c
20374 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20377 * test/nmclienttest.c
20378 - Report status of NetworkManager too
20380 2004-08-11 Dan Williams <dcbw@redhat.com>
20382 * info-daemon/NetworkManagerInfo.c:
20383 - (main): clean up Seth's code style
20385 * info-daemon/NetworkManagerInfoDbus.c:
20386 - Use the more aptly-named path/service/interface constants from NetworkManager
20387 - Don't return empty strings ("") as object paths ever, instead return errors
20389 * panel-applet/NMWirelessApplet.c:
20390 - Clean up Seth's code style
20392 * src/NetworkManager.[ch]
20393 - (nm_remove_device_from_list): remove anything having to do with pending_device
20394 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20396 * src/NetworkManagerAPList.[ch]
20397 - Move Iter struct right above the iter functions to preserve opacity
20398 - (nm_ap_list_remove_ap): implement
20399 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20400 remove AP if NetworkManagerInfo doesn't know anything about it
20401 - (nm_ap_list_diff): user NMAPList iterators
20402 - (nm_ap_list_print_members): implement debugging function
20404 * src/NetworkManagerDbus.[ch]
20405 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20406 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20407 and move the actual key setting stuff into NetworkManagerDevice.c
20408 - (nm_dbus_get_network_priority): return -1 now on errors
20409 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20410 get lost, and force the active device to update its "best" ap when AP lists change
20411 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20412 method call due to pending_device member removal
20414 * src/NetworkManagerDevice.[ch]
20415 - Move NMDevice structure to the top
20416 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20417 - Remove Pending Action stuff from everywhere
20418 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
20419 activation for us. This thread blocks until all conditions for activation have
20420 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
20421 then setup up the interface and runs dhclient. We have to do this because there
20422 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
20423 run our main loop and respond to dbus method calls or HAL device removals/inserts
20424 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
20425 can tell nm_device_activation_worker() that we've got a key
20426 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
20427 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
20428 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
20429 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
20431 * src/NetworkManagerPolicy.c
20432 - Remove anything to do with pending_device
20433 - Adjust device activation to deal with activation-in-worker-thread
20435 * src/NetworkManagerUtils.c
20436 - Clean up locking debugging a bit
20438 * src/NetworkManagerWireless.[ch]
20439 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
20440 was badly named and is better as a device function
20442 * panel-applet/.cvsignore: add
20444 2004-08-09 Seth Nickell <seth@gnome.org>
20446 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
20447 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
20449 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
20451 Don't load the menus until clicked on (also removes a call outside
20452 normal code paths at first load).
20454 Hide applet when NM is not present.
20456 Improve printf debugging stuff.
20458 2004-08-09 Dan Williams <dcbw@redhat.com>
20460 * dispatcher-daemon/NetworkManagerDispatcher.c:
20461 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
20462 - Use constants for NetworkManager interface, service, and path
20464 2004-08-09 Dan Williams <dcbw@redhat.com>
20466 * src/NetworkManagerDbus.c:
20467 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
20468 instead return an error message
20469 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
20470 on a wired device. Also never return an empty object path, instead return an error message
20472 2004-08-06 Seth Nickell <seth@gnome.org>
20474 * panel-applet/NMWirelessApplet.c: (nmwa_new):
20476 Check the error code when getting a connection.
20478 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
20480 Check if the NM service exists when initializing (rather than
20481 assuming it does not).
20483 * src/NetworkManagerDbus.c: (nm_dbus_init):
20485 Don't acquire the well-known service name until we have
20486 registered object/path handlers and can actually receive
20489 2004-08-06 Dan Williams <dcbw@redhat.com>
20494 * src/NetworkManagerPolicy.c
20495 src/NetworkManager.c
20496 - Get access point lists from NetworkManagerInfo on-demand,
20497 and look for ServiceCreate/ServiceDeleted signals to see when
20498 we should query NMI for lists
20499 * src/NetworkManagerAPList.c
20500 - Make sure to init the list's mutex
20501 - Convert traversals of the list over to the list iter functions
20503 * src/NetworkManagerDbus.[ch]
20504 - Use more aptly-named path/service/interface constants
20505 - Treat both active and pending devices the same for "getActiveDevice"
20506 - Add a "status" method returning "connected", "connecting", or "disconnected"
20508 * src/NetworkManagerDevice.c
20509 - Honor "ignored" network list when picking best ap to use
20511 2004-08-06 Seth Nickell <seth@gnome.org>
20515 Autogenerated, remove from CVS.
20519 Don't hardcode automake version.
20522 * info-daemon/Makefile.am:
20523 * info-daemon/NetworkManagerInfo.c: (main):
20525 Use GnomeProgram et al. for doing session management.
20526 Use popt stuff for argument parsing rather than doing
20529 2004-08-05 Dan Williams <dcbw@redhat.com>
20531 * test/nminfotest.c
20532 - Update to new NMI dbus API, check different network types
20534 * info-daemon/NetworkManagerInfoDbus.c
20535 - Update to new NM dbus API, ie network type sent in query message
20537 2004-08-05 Dan Williams <dcbw@redhat.com>
20539 * An assload of changes
20541 2004-08-02 Dan Williams <dcbw@redhat.com>
20544 - new task: proper logging support
20546 * info-daemon/NetworkManagerInfo.c
20547 - Correct spelling of "canceled"
20548 - Correct casting of objects for g_signal_connect()
20550 * info-daemon/NetworkManagerInfoDbus.c
20551 - Add defines for NetworkManager namespace and object path, and use them
20552 - Add filter function to trap new signals from NetworkManager:
20553 WirelessNetworkAppeared, WirelessNetworkDisappeared
20555 * info-daemon/passphrase.glade
20556 - Change name of "ok" button to "Login to Network..."
20559 * src/NetworkManager.c
20560 - Code and debug message cleanups
20561 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
20562 - (nm_add_initial_devices) Check returned string array of devices
20563 and don't try to add devices if array is NULL
20564 - (main) Initialize libhal a bit later, make code a bit clearer
20566 * src/NetworkManagerAP.[ch]
20567 - New accessor and data member "matched": used to speed up AP list
20569 - New accessor and data member "enc_method": will be used during key
20570 fallback to cache which passphrase->key conversion actually works
20571 so we don't have to do it every time
20573 * src/NetworkManagerAPList.[ch]
20574 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
20575 - (nm_ap_list_diff) New: given two lists of access points, find the differences
20576 between them, and send WirelessNetworkAppeared/Disappeared signals over
20577 dbus in response to those differences
20579 * src/NetworkManagerDbus.[ch]
20580 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
20581 make an object path for that access point (NOTE that we don't yet check to
20582 make sure that access point is actually in the device's AP list yet)
20583 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
20584 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
20585 New: signal appearance/disappearance of wireless networks
20586 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
20589 * src/NetworkManagerDevice.[ch]
20590 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
20591 - (nm_device_ap_list_get) New: return the AP list (static function)
20592 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
20593 new one resulting from the scan with the old one
20595 * src/NetworkManagerWireless.c
20596 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
20598 * test/nminfotest.c
20599 - #define object paths and namespaces and use the #defines rather than static strings
20600 - Test out user-key functionality of NetworkManagerInfo too
20602 2004-07-29 Dan Williams <dcbw@redhat.com>
20604 * info-daemon/NetworkManagerInfoDbus.c
20605 src/NetworkManagerDbus.c
20606 - Update to current DBus (ie don't use decomposed paths when registering
20607 object paths/fallbacks)
20609 2004-07-27 Dan Williams <dcbw@redhat.com>
20611 * Remove various Makefile.in files
20614 - Add some more items
20617 - Add checks for OpenSSL/md5 headers and libs
20620 - Use OpenSSL CFLAGS
20622 * src/NetworkManagerAP.[ch]
20623 - Remove 'stamp' functions, replace with 'invalid' functions
20624 to support user cancelling WEP key entry
20626 * src/NetworkManagerDbus.c
20627 - Remove 'stamp' return functions
20628 - Treat returned user key as a passphrase and convert to a WEP key,
20629 but don't actually use the WEP key yet. We use the returned user
20630 key as a hexadecimal WEP key until we can figure out a UI for
20631 passphrase-vs-hex key
20633 * src/NetworkManagerWireless.[ch]
20634 - Add passphrase-to-128bit-key function
20636 2004-07-27 Dan Williams <dcbw@redhat.com>
20639 - Add a couple of items
20641 2004-07-27 Dan Williams <dcbw@redhat.com>
20643 * info-daemon/NetworkManagerInfo.c
20644 - Update allowed network's GConf key when user enters a WEP key explicitly
20646 * info-daemon/NetworkManagerDbus.c
20647 - Fix some comments
20648 - nmi_dbus_get_allowed_networks(): kill warning
20650 2004-07-27 Dan Williams <dcbw@redhat.com>
20652 * initscript/Makefile.in
20655 * initscript/Makefile.am
20656 - Add correct rules to install the init.d initscript
20658 * info-daemon/NetworkManagerInfoDbus.c
20659 - Remove debug fprintf
20661 * src/NetworkManagerDbus.[ch]
20662 - Remove debug fprintfs
20663 - Add macros for NetworkManagerInfo object path/namespace
20664 - Use said macros instead of constant strings
20666 2004-07-27 Dan Williams <dcbw@redhat.com>
20668 * initscript/.cvsignore
20671 * info-daemon/Makefile.am
20672 - Install .glade files and keyring.png
20673 - Fix stupid omission of a \ that caused half the flags not to be
20676 * info-daemon/NetworkManagerInfo.c
20677 - gtk_signal_connect->g_signal_connect
20678 - Alert NetworkManagerInfo to new glade file location
20680 2004-07-27 Dan Williams <dcbw@redhat.com>
20682 * test/nmclienttest.c
20684 - Add missing <dbus/dbus.h> headers
20685 - Add GPL message at top
20687 2004-07-27 Dan Williams <dcbw@redhat.com>
20689 * src/NetworkManagerAPList.[ch]
20691 - Add. Deal with allowed network list additions, deletions, and updates
20693 * dispatcher-daemon/NetworkManagerDispatcher.c
20694 - Add missing <dbus/dbus.h> header
20696 * info-daemon/NetworkManagerInfo.[ch]
20697 - Add missing <dbus/dbus.h> header
20698 - Implement the GConf notify callback to signal NetworkManager of an allowed
20700 - Better error checking
20702 * info-daemon/NetworkManagerInfoDbus.[ch]
20703 - Add missing <dbus/dbus.h> header
20704 - Convert to using dbus_message_append_args/dbus_message_get_args
20705 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
20706 that an allowed network changed. We don't want to signal on individual
20707 keys _inside_ an allowed network really, just want NM to query the info
20708 daemon for updated info on all keys.
20709 - Better error checking
20711 * src/NetworkManager.[ch]
20712 - Add missing <dbus/dbus.h> header
20713 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
20714 - Zero out NMData structure on free
20715 - No longer use a thread for allowed_ap_list updating, instead its now done
20716 through dbus queries against NetworkManagerInfo
20717 - Populate allowed_ap_list initially before adding existing network devices
20718 to the device list, so wireless devices can get their "best" AP
20720 * src/NetworkManagerDbus.[ch]
20721 - Convert to using dbus_message_append_args/dbus_message_get_args
20722 - Better error checking
20723 - Implement Allowed Network info functions to request allowed network
20724 info from NetworkManagerInfo
20725 - Implement the filter function to process signals from NetworkManagerInfo
20726 about changing allowed networks
20728 * src/NetworkManagerDevice.c
20729 - Fix file descriptor leak in nm_device_update_ip4_address()
20731 2004-07-27 Dan Williams <dcbw@redhat.com>
20736 dispatcher-daemon/.cvsignore
20737 info-daemon/.cvsignore
20738 - Add .cvsignore files to reduce noise when diffing
20740 2004-07-24 Dan Williams <dcbw@redhat.com>
20742 * src/NetworkManager.[ch]
20743 src/NetworkManagerDbus.[ch]
20744 src/NetworkManagerDevice.[ch]
20745 src/NetworkManagerPolicy.c
20746 src/NetworkManagerWireless.[ch]
20747 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
20748 - Pass the NMData application data structure through all calls
20749 that need it so we can get rid of nm_get_global_data()
20750 - Change deallocation of the allowed_ap_list GSList in preparation
20751 for not completely clearing it every time we get an update,
20752 but instead getting incremental updates via GConf/dbus
20754 2004-07-22 Dan Williams <dcbw@redhat.com>
20757 - Add checks for GConf libs & headers & flags
20759 * info-daemon/Makefile.am
20760 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
20762 * info-daemon/NetworkManagerInfo.[ch]
20763 - Don't use gquarks for data storage, just use normal data storage
20764 - Add gconf bits to watch /system/networking/wireless/allowed_networks
20766 * info-daemon/NetworkManagerDbus.[ch]
20767 - Add method call for getting allowed networks
20768 - Add method calls for getting an allowed network's essid, priority, and key
20769 - Hook the method calls up to GConf
20770 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
20771 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
20773 * src/NetworkManagerDbus.[ch]
20774 - Switch for enumeration of networks to using essid instead
20778 - Add test program for NetworkManagerInfo
20780 2004-07-19 Dan Williams <dcbw@redhat.com>
20782 * src/NetworkManagerDbus.c
20783 - Switch from indexed device paths to names. Less code, more efficient.
20784 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
20786 2004-07-19 Dan Williams <dcbw@redhat.com>
20788 * dispatcher-daemon/NetworkManagerDispatcher.c
20789 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
20791 2004-07-19 Dan Williams <dcbw@redhat.com>
20794 - Add info-daemon directory
20797 - Check for glade libs and headers
20798 - Add info-daemon directory
20800 * src/NetworkManagerAP.c
20801 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
20802 copied over to the new AP.
20804 * src/NetworkManagerDbus.c
20805 src/NetworkManagerDbus.h
20806 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
20807 - Remove nm_dbus_signal_need_key_for_network()
20808 - Add disabled code for asynchronous user wep key callbacks
20809 - Add functions for getting, setting, and cancelling user key operations
20810 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
20811 - Add "setKeyForNetwork" dbus method call on NetworkManager object
20813 * src/NetworkManagerDevice.c
20814 src/NetworkManagerDevice.h
20815 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
20816 logic is in device activation now
20817 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
20818 key is wrong) trigger get-user-key pending action
20819 - Implement get-user-key pending action stuff, tie to dbus messages
20820 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
20821 - Add nm_device_ap_list_get_ap_by_essid()
20822 - Instead of copying "best" access points, ref them instead so that the key we set
20825 * src/NetworkManagerPolicy.c
20826 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
20827 - Don't cancel pending actions on a device if its the same device as last iteration
20828 - Only promote pending_device->active_device if activation was successfull
20831 - Rename nmclienttest->nmtest
20833 * info-daemon/Makefile.am
20834 info-daemon/NetworkManagerInfo.c
20835 info-daemon/NetworkManagerInfo.h
20836 info-daemon/NetworkManagerInfoDbus.c
20837 info-daemon/NetworkManagerInfoDbus.h
20838 info-daemon/passphrase.glade
20839 info-daemon/NetworkManagerInfo.conf
20840 info-daemon/keyring.png
20841 - Import sources for info-daemon, which pops up dialog for passphrase/key when
20842 NetworkManager asks for it, and also will (soon) provide "allowed" access point
20843 lists to NetworkManager by proxying user's GConf
20846 2004-07-15 Dan Williams <dcbw@redhat.com>
20851 * src/NetworkManager.c
20852 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
20853 that doing the deactivation ourselves
20854 - Cancel an pending actions on a device if its being removed
20855 - Break up link state checking a bit, make non-active wireless cards
20856 deactivated to save power
20857 - Remove unused variables
20859 * src/NetworkManager.h
20860 - Add support for "pending" device
20862 * src/NetworkManagerAP.h
20863 src/NetworkManagerAP.c
20864 - Add support for determining whether and AP has encryption enabled or not
20865 - AP address is now "struct ether_addr" rather than a string
20867 * src/NetworkManagerDbus.h
20868 src/NetworkManagerDbus.c
20869 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
20870 - Changes for AP address from struct ether_addr->string
20872 * src/NetworkManagerDevice.h
20873 src/NetworkManagerDevice.c
20874 - Remove unused variables, fix warnings
20875 - Add support for Pending Actions (things that block a device from being "active"
20876 until they are completed).
20877 - First pending action: Get a WEP key from the user
20878 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
20879 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
20880 - Update wireless link checking to try to determine if the AP we are associated
20881 with is correct, but the WEP key we are using is just wrong. If its wrong,
20882 trigger the GetUserKey pending action on the device
20883 - If dhclient can't get an IP address, it brings the device down. Bring it back
20884 up in that case, otherwise we can't scan or link-check on it
20885 - Add IP address change notifications at appropriate points (still needs some work)
20886 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
20888 * src/NetworkManagerPolicy.h
20889 src/NetworkManagerPolicy.c
20890 - Split out "best" access point determiniation into separate function
20891 - Make device activation 2-stage: first the device is pending, then
20892 in the next iteration through it becomes "active" unless it has
20895 * src/NetworkManagerUtils.h
20896 src/NetworkManagerUtils.c
20897 - Clean up unused variables and warnings
20898 - Wrap our debug macros in {} to prevent possible confusion
20900 * src/NetworkManagerWireless.c
20901 - Forgot to return current best priority, which lead to last available AP always
20902 being chosen no matter what its priority was. Corrected.
20904 2004-07-15 Dan Williams <dcbw@redhat.com>
20906 * dispatcher-daemon/Makefile.am
20909 * dispatcher-daemon/NetworkManagerDispatcher.c
20910 - Remove unused variables due to warnings
20911 - Fix some comments
20912 - Print message on receipt of NeedKeyForNetwork signal (testing only)
20914 2004-07-06 Dan Williams <dcbw@redhat.com>
20916 * src/NetworkManager.c
20917 - Add IPv4 address update for active device during link state check
20918 - Don't allow wireless cards to be powered up when they are not the
20921 * src/NetworkManagerDbus.c
20922 src/NetworkManagerDbus.h
20923 - Add DBUS IPv4 address change signal
20924 - Add DBUS IPv4 address get method for devices
20926 * src/NetworkManagerDevice.c
20927 - Make setting the WEP key actually work
20928 - Move IP address get/set/update stuff here, per-device
20929 - Power down/bring down wireless device when deactivated
20930 - For scanning wireless devices, if first scan returned ENODATA, try again
20932 * src/NetworkManagerPolicy.c
20933 - Only set the WEP key for an allowed access point if there is one.
20934 We were setting it to be blank if one wasn't specified.
20936 * src/NetworkManagerUtils.h
20937 src/NetworkManagerUtils.c
20938 - Move the IP address stuff to NetworkManagerDevice.c
20940 * dispatcher-daemon/NetworkManagerDispatcher.c
20941 - Add device IPv4 address change notification stuff
20943 2004-07-05 Dan Williams <dcbw@redhat.com>
20945 * dispatcher-daemon/NetworkManagerDispatcher.c
20946 - A bit more descriptive state message
20947 - Don't segfault when reading directory
20949 * src/NetworkManager.h
20950 - Remove NMData desired_ap member, its now
20951 per-device rather than global
20953 * src/NetworkManager.c
20954 - Remove references to desired_ap
20955 - Move the allowed AP list refresh stuff into a thread
20957 * src/NetworkManagerDevice.c
20958 src/NetworkManagerDevice.h
20959 - Each wireless device now has a "best ap"
20960 - Make device activate/deactivate functions per-device
20961 - Make wireless scanning per-device
20962 - Add IPv4 address discover functions, stub IPv6 ones
20963 - Move ethernet address validation functions to NetworkManagerUtils.c
20964 - Add wireless access point accessor function
20965 - Get/Set functions for "best ap"
20967 * src/NetworkManagerPolicy.c
20968 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
20969 - Deal with per-device "best ap" rather than data->desired_apa
20970 - Implement allowed access point worker thread
20971 - Add nm_policy_essid_is_allowed() function
20973 * src/NetworkManagerUtils.c
20974 src/NetworkManagerUtils.h
20975 - Add nm_ethernet_address_is_valid() function
20976 - Add IPv4/IPv6 address get functions
20978 * src/NetworkManagerWireless.c
20979 src/NetworkManagerWireless.h
20980 - Move scanning stuff into NetworkManagerDevice.c, per-device
20982 2004-06-29 Dan Williams <dcbw@redhat.com>
20984 * dispatcher-daemon/NetworkManagerDispatcher.c
20985 - Implement script callout functionality
20987 2004-06-24 Dan Williams <dcbw@redhat.com>
20991 - Flush device routes and ip addresses when added to the device list
20993 * NetworkManagerDbus.c
20995 - Add missing returns in the two signal functions
20997 * NetworkManagerPolicy.c
20998 - Spacing and variable cleanups
21000 2004-06-24 Dan Williams <dcbw@redhat.com>
21005 dispatcher-daemon/Makefile.am
21006 dispatcher-daemon/Makefile.in
21007 dispatcher-daemon/NetworkManagerDispatcher.c
21008 - Add a daemon that receives signals from NetworkManager
21009 and will (eventually) call scripts in /etc/somewhere
21010 when devices go up or down.
21014 - Flush device routes and ip addresses when added to the device list
21016 * NetworkManagerDbus.c
21018 - Add missing returns in the two signal functions
21020 * NetworkManagerPolicy.c
21021 - Spacing and variable cleanups
21022 - Rename nm_policy_switch_interface->nm_policy_switch_device
21023 - nm_policy_switch_device():
21024 Use kill (pid) instead of system ("kill <pid>")
21025 - nm_state_modification_monitor():
21026 Add wireless essid to output of debug statements
21027 Correct typo in device compare to switch or not (should be !=)
21028 Don't sleep after sending "no longer active" signal, was useless
21030 2004-06-24 Dan Williams <dcbw@redhat.com>