1 2008-10-26 Dan Williams <dcbw@redhat.com>
3 * src/supplicant-manager/nm-supplicant-interface.c
4 src/supplicant-manager/nm-supplicant-interface.h
5 src/supplicant-manager/nm-supplicant-manager.c
6 src/supplicant-manager/nm-supplicant-manager.h
7 - Add state-to-string conversion functions
10 src/nm-device-ethernet.c
11 - Normalize state info logging and use strings instead of numbers
13 2008-10-26 Dan Williams <dcbw@redhat.com>
15 * src/NetworkManagerPolicy.c
16 - (update_routing_and_dns): ignore host routes when determining whether
17 a VPN connection should own the default route (bgo #552594)
19 2008-10-24 Dan Williams <dcbw@redhat.com>
22 - (set_apn): remove erroneous spaces in AT+CGDCONT command (Jerone Young)
24 2008-10-23 Dan Williams <dcbw@redhat.com>
26 * src/ppp-manager/nm-ppp-manager.c
27 - (create_pppd_cmd_line): pppd always parses /etc/ppp/options, so always
28 add really important stuff to the command line to ensure that NM
29 overrides /etc/ppp/options (bgo #556781)
31 2008-10-22 Dan Williams <dcbw@redhat.com>
33 * src/NetworkManagerSystem.c
35 - Use the device's IP interface where appropriate (Per Hallsmark)
37 2008-10-22 Dan Williams <dcbw@redhat.com>
40 - (schedule_automatic_registration_again): use a short timeout here
41 instead of an idle handler to avoid using too much CPU polling for
42 something we should be waiting a bit for anyway
44 2008-10-22 Dan Williams <dcbw@redhat.com>
46 * include/NetworkManager.h
47 introspection/nm-device.xml
48 - Add device state change reason for carrier changes
50 * src/nm-device-ethernet.c
51 - (set_carrier): use the carrier change reason when changing device
52 state in response to carrier changes
54 2008-10-21 Dan Williams <dcbw@redhat.com>
56 * src/NetworkManagerPolicy.c
57 - (update_etc_hosts): don't leak errors, and ensure that
58 g_file_set_contents() gets a valid error placeholder (rh #461933)
60 2008-10-21 Dan Williams <dcbw@redhat.com>
63 - (free_get_settings_info): don't use the DBusGProxy which could be
64 disposed of by the time the function is called
65 - (internal_new_connection_cb): save connection scope
66 - (connection_get_settings_cb): don't replace a connection unless it's
67 actually different from the existing one; fixes an issue where
68 killing the settings service wouldn't deactivate an active connection
69 provided by that settings service, because it was using a connection
70 that had already been replaced in the system or user hash
72 2008-10-21 Dan Williams <dcbw@redhat.com>
74 * src/NetworkManager.c
75 - (main): keep the DHCP manager around since it's a singleton; fixes
76 a use-after-free exposed by r4196 since the DHCP manager singleton
77 variable isn't cleared when the DHCP manager object is finalized
79 2008-10-20 Dan Williams <dcbw@redhat.com>
81 * libnm-util/nm-setting-wireless-security.c
82 - (verify): accept 'none' as a pairwise cipher with Ad-Hoc WPA connections
84 2008-10-20 Dan Williams <dcbw@redhat.com>
86 * src/supplicant-manager/nm-supplicant-config.c
87 - (ADD_STRING_LIST_VAL): don't add empty values to the supplicant config
89 2008-10-20 Dan Williams <dcbw@redhat.com>
91 * src/dhcp-manager/nm-dhcp-manager.c
92 - (nm_dhcp_manager_get): fix mismatched refcount; creating the dhcp
93 manager object already refs it once
94 - (nm_dhcp_manager_cancel_transaction_real): clear freed variables that
95 also get cleaned up by nm_dhcp_device_destroy() to prevent
98 2008-10-20 Dan Williams <dcbw@redhat.com>
101 - (initial_get_connections): use private dbus manager, don't keep
102 ref-ing the singleton. Fixes mismatched refcounts of the dbus
105 2008-10-18 Dan Williams <dcbw@redhat.com>
107 * libnm-glib/nm-settings.c
108 libnm-glib/nm-settings.h
109 - Rename the "get_secrets" virtual function "service_get_secrets" to
110 clarify when it's used; NMExportedConnetion is a base-class for both
111 the client and service side, which is sort of confusing, and
112 get_secrets only makes sense on the service side.
114 * libnm-glib/nm-dbus-connection.c
115 - (get_secrets): remove, unused, and clients need to do extra work to
116 get secrets anyway since the call can block on the remote side
118 * system-settings/plugins/ifupdown/nm-ifupdown-connection.c
119 system-settings/plugins/keyfile/nm-keyfile-connection.c
120 - Fix up for get_secrets -> service_get_secrets
122 2008-10-16 Dan Williams <dcbw@redhat.com>
124 * src/nm-device-wifi.c
125 - (constructor): correctly determine encryption capabilities
127 2008-10-15 Dan Williams <dcbw@redhat.com>
129 * src/nm-device-wifi.c
130 - (wireless_qual_to_percent): fix quality calculation in a fallback case
133 2008-10-15 Dan Williams <dcbw@redhat.com>
135 * src/NetworkManagerSystem.c
136 - (ip4_dest_in_same_subnet): tighter checks on subnet matching,
137 if the ip4_dest is in a smaller subnet contained within a subnet
138 the machine is currently on, the destination is in the same subnet
139 - (nm_system_device_set_ip4_route): move subnet checks to callers
140 - (add_vpn_gateway_route): check if the VPN gateway is in the same
141 subnet as the parent device, and if so, don't add the direct
142 host route via the parent device's gateway (bgo #481620)
143 - (nm_system_apply_ip4_config): check whether the route to be added
144 is contained within a subnet the device is already on
146 2008-10-11 Dan Williams <dcbw@redhat.com>
148 * include/NetworkManager.h
149 introspection/nm-device.xml
150 include/NetworkManagerVPN.h
151 - Add a few more state reasons for the device deactivated state
153 * src/nm-device-interface.c
154 src/nm-device-interface.h
155 - (nm_device_interface_deactivate): add a 'reason' argument
159 - (nm_device_deactivate, nm_device_take_down): add a 'reason' argument
160 - (nm_device_state_changed): pass the state change reason to
161 nm_device_take_down()
162 - (nm_device_set_managed): take a 'reason' argument, and pass it along
163 to the state change function
167 - (remove_one_device, handle_unmanaged_devices, sync_devices,
168 impl_manager_sleep): pass a reason code to nm_device_set_managed()
169 - (nm_manager_deactivate_connection): add a 'reason' argument and pass
170 something reasonable along to VPN deactivation
172 * src/vpn-manager/nm-vpn-manager.c
173 src/vpn-manager/nm-vpn-manager.h
174 - (nm_vpn_manager_deactivate_connection): add a 'reason' argument and
175 pass that along to nm_vpn_connection_disconnect()
177 2008-10-11 Dan Williams <dcbw@redhat.com>
179 * src/nm-device-wifi.c
180 - (can_scan): remove old madwifi hack for not scanning while connected
182 2008-10-11 Dan Williams <dcbw@redhat.com>
184 Add support for VPN subnet gateways (bgo #549196)
186 * include/NetworkManager.h
187 - Add key for internal VPN subnet gateway
189 * src/vpn-manager/nm-vpn-connection.c
190 - (ip_address_to_string): return a const from a static buffer so we
191 don't leak a lot of strings
192 - (print_vpn_config): print internal VPN gateway as well
193 - (nm_vpn_connection_ip4_config_get): grab internal VPN gateway from
195 - (nm_vpn_connection_get_ip4_internal_gateway): new function
197 * src/NetworkManagerSystem.c
198 src/NetworkManagerSystem.h
199 - (nm_system_device_replace_default_ip4_route): split into two, one for
200 VPN connections and one for normal devices
201 - (replace_default_ip4_route): break out route stuff into its own function
202 - (nm_system_replace_default_ip4_route_vpn,
203 nm_system_replace_default_ip4_route): simplify by having two cases,
204 one for VPNs and one for normal devices
206 * src/NetworkManagerPolicy.c
207 - (update_routing_and_dns): simplify, use split default route replacement
210 2008-10-10 Dan Williams <dcbw@redhat.com>
212 Rework default route handling to consolidate decisions in the policy,
213 and to take active VPN connections into account when changing the default
216 * src/NetworkManager.c
217 - (main): pass the vpn_manager to the policy so it knows about active
218 VPN connections; clean up the named manager which wasn't done before
220 * src/NetworkManagerPolicy.c
221 src/NetworkManagerPolicy.h
222 - (nm_policy_new): get a clue about the vpn_manager
223 - (update_default_route): remove, fold into update_routing_and_dns()
224 - (update_routing_and_dns): handle active VPN connections too; an
225 active VPN connection becomes the default route if it does not have
226 server-specified or user-specified custom routes. Otherwise, the
227 best active device gets the default route
228 - (vpn_connection_activated, vpn_connection_deactivated, nm_policy_new,
229 nm_policy_destroy): track VPN connection activation and deactivation
230 and update the default route when appropriate
232 * src/NetworkManagerSystem.c
233 src/NetworkManagerSystem.h
234 - (nm_system_vpn_device_unset_from_ip4_config): remove, put functionality
235 in the VPN connection itself
236 - (nm_system_vpn_device_set_from_ip4_config,
237 nm_system_device_set_from_ip4_config): merge together to make
238 nm_system_apply_ip4_config()
239 - (add_vpn_gateway_route): add a route to the VPN's external gateway
240 via the parent device
241 - (nm_system_apply_ip4_config): simplify
242 - (add_ip4_route_to_gateway): new function; add a direct route to the
244 - (nm_system_device_replace_default_ip4_route): simplify, break gateway
245 route stuff out into add_ip4_route_to_gateway() for clarity
248 - (nm_device_set_ip4_config): update for nm_system_apply_ip4_config()
250 * src/vpn-manager/nm-vpn-connection.c
251 src/vpn-manager/nm-vpn-connection.h
252 - (nm_vpn_connection_get_ip4_config, nm_vpn_connection_get_ip_iface,
253 nm_vpn_connection_get_parent_device): add
254 - (nm_vpn_connection_ip4_config_get): make the requirement of a tunnel
256 - (connection_state_changed): update the named manager now that
257 nm_system_vpn_device_unset_from_ip4_config() is gone; do something
260 * src/vpn-manager/nm-vpn-manager.c
261 src/vpn-manager/nm-vpn-manager.h
262 - Add a 'connection-activated' signal
263 - (nm_vpn_manager_get_active_connections): new function; mainly for the
264 policy to find out about active VPN connections
266 2008-10-10 Tambet Ingo <tambet@gmail.com>
268 * src/nm-logging.c (nm_logging_setup): Don't use LOG_CONS when running as
269 a daemon to prevent NM logging spew on console on startup and shutdown (due
270 to dependency loop between NM and syslog).
272 2008-10-10 Alexander Sack <asac@ubuntu.com>
274 Implement managed mode. We bind devices configured in /etc/network/interfaces
275 to their connections by updating wired/wireless setting with the
276 mac address of the device.
278 * system-settings/plugins/ifupdown/plugin.c
279 - (get_net_address_for_udi): implement function to retrieve MAC
280 address of udi from hal in GByteArray format
281 - (bind_device_to_connection): bind mac address of device to
282 wired/wireless system connection
283 - (hal_device_added_cb): call bind_device_to_connection for
284 system connections with a matching interface.name
285 - (hal_device_added_cb): ensure that all code paths
286 properly free the "iface" string.
288 2008-10-10 Alexander Sack <asac@ubuntu.com>
290 Parse nm-system-settings.conf and allow admins to either use managed and unmanaged
291 mode of the ifupdown system config plugin.
293 * system-settings/plugins/ifupdown/plugin.c
294 - (SCPluginIfupdown_init): parse nm-system-settings.conf keyfile and set
295 private unmanage_well_known state field accordingly
297 2008-10-10 Alexander Sack <asac@ubuntu.com>
299 Implement unmanaged mode that will prevent all devices in the
300 well_known_udis set from being touched by NetworkManager
302 * system-settings/plugins/ifupdown/plugin.c
303 - (typedef struct SCPluginIfupdownPrivate): add gboolean
304 unmanage_well_known field used to turn on/off unmanaged
306 - (hal_device_added_cb,hal_device_remove_cb): emit |unmanaged-devices-changed|
307 signal when well_known_udis get added/removed
308 - (SCPluginIfupdown_get_unmanaged_devices): return all well_known_udis
309 if we are in unmanaged mode
311 2008-10-10 Alexander Sack <asac@ubuntu.com>
313 Add support to track network devices that have a configuration
314 with a matching interface.name in /etc/network/interfaces
316 * system-settings/plugins/ifupdown/plugin.c
317 - (typedef struct SCPluginIfupdownPrivate): add hash table
318 to track |well_known_udis|
319 - (get_iface_for_udi): helper function to get interface.name
321 - (hal_device_added_cb, hal_device_removed_cb): callbacks
322 that add and remove devices to and from the well_known_udis
323 set depending on whether their |interface.name| matches
324 any interface definition in /etc/network/interfaces
325 - (SCPluginIfupdown_init): connect callbacks from above with
326 hal_mgr and setup well_known_udis hashtable
327 - (GObject__dispose): destroy well_known_udis hashtable
328 - (hal_device_added_cb2): implement wrapper callback with GFunc
329 signature. user_data is supposed to be a triple (hal_mgr,
331 - (SCPluginIfupdown_init): bootstrap wired and wifi devices for
332 startup and call hal_device_added_cb2
334 2008-10-10 Alexander Sack <asac@ubuntu.com>
336 Remove implementation for not used NMSystemConfigInterface callback functions
339 * system-settings/plugins/ifupdown/plugin.c
340 - (SCPluginIfupdown_unmanaged_devices_changed): removed
341 - (SCPluginIfupdown_connection_added): removed
343 2008-10-08 Dan Williams <dcbw@redhat.com>
345 Add a 'hostname' dispatcher action triggered on hostname changes (bgo #552983)
347 * src/NetworkManagerUtils.c
348 - (nm_utils_call_dispatcher): add a 'hostname' action
350 * src/NetworkManagerPolicy.c
351 - (set_system_hostname): dispatch hostname changes
353 * callouts/nm-dispatcher-action.c
354 - (nm_dispatcher_action): handle 'hostname' actions
356 2008-10-08 Dan Williams <dcbw@redhat.com>
358 * src/NetworkManagerSystem.c
359 - (find_route): ref the route so it doesn't get destroyed when the cache
361 - (nm_system_device_set_priority): unref the route here after it's done
364 2008-10-08 Dan Williams <dcbw@redhat.com>
366 * src/nm-serial-device.c
367 - Turn on serial debugging when NM_SERIAL_DEBUG is set in the environment
369 2008-10-08 Tambet Ingo <tambet@gmail.com>
371 * system-settings/plugins/keyfile/nm-keyfile-connection.c (update): Update the
372 connection with new settings before saving it.
374 2008-10-06 Dan Williams <dcbw@redhat.com>
376 * src/nm-ip4-config.c
378 - nm_ip4_config_is_exported -> nm_ip4_config_get_dbus_path
380 * src/nm-device-interface.c
381 - (nm_device_interface_init): make 'ip4-config' a boxed property of type
382 DBUS_TYPE_G_OBJECT_PATH so that we can make it NULL when we need to
383 by using '/' for the object path
386 - (src/nm-device.c): marshal missing/unexported ip4-config through
387 dbus as '/' since dbus-glib can't handle NULL objects nor can
388 dbus handle NULL object paths
390 2008-10-03 Alexander Sack <asac@ubuntu.com>
392 Implement system hostname support for debian/ubuntu
394 * system-settings/plugins/ifupdown/plugin.c
395 - (GObject__get_property): extend announced capabilities; add
396 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME support
397 - (GObject__set_property,write_system_hostname): implement
398 NM_SYSTEM_CONFIG_INTERFACE_CAP_MODIFY_HOSTNAME capability.
399 - (GObject__set_property, GObject__get_property, SCPluginIfupdown_init,
400 update_system_hostname, get_hostname):
401 implement hostname property that watches and
404 2008-10-03 Alexander Sack <asac@ubuntu.com>
406 * system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
407 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
408 system-settings/plugins/ifcfg-fedora/Makefile.am
409 system-settings/src/nm-inotify-helper.c
410 system-settings/src/nm-inotify-helper.h
412 - Move ifcfg-fedora inotify helpers to the system settings service so
413 they are available to all plugins
415 2008-10-03 Alexander Sack <asac@ubuntu.com>
417 Implement support for wep-tx-keyidx in ifupdown system
420 * system-settings/plugins/ifupdown/parser.c
421 - (update_wireless_security_setting_from_if_block): introduce
422 free_type_mapping func table; rename a few local
423 variables to improve readability; add wpa security mapping
424 for wep-tx-keyidx property
425 - (string_to_gpointerint): new function used for the auto_type_mapping
426 of new wep-tx-keyidx property
427 - (slist_free_all): free func used for mapped slist types
429 2008-10-03 Alexander Sack <asac@ubuntu.com>
431 * system-settings/src/main.c:
432 - (add_default_dhcp_connection, device_removed_cb): ensure the UDI is
433 always used as the hash key; fixes a crash when removing wired
436 2008-10-02 Dan Williams <dcbw@redhat.com>
438 * src/nm-gsm-device.c
439 - (enter_pin_done, enter_pin, check_pin_done, real_act_stage1_prepare):
440 pass the required GSM secret along via user_data rather than keeping
441 it around in the private data where it sometimes didn't get cleared
442 - (real_get_ppp_name): implement using the GSM username
444 2008-10-02 Dan Williams <dcbw@redhat.com>
446 * src/ppp-manager/nm-ppp-manager.c
447 src/ppp-manager/nm-ppp-manager.h
448 - (impl_ppp_manager_need_secrets): tries secrets twice before asking
449 the settings daemon for completely new ones
450 - (create_pppd_cmd_line): new parameter 'ppp_name' used to set the
451 local PPP peer name; allow PPP debuging by launching NM with
452 the environment variable NM_PPP_DEBUG defined
453 - (nm_ppp_manager_start): new parameter 'ppp_name' passed to
454 create_pppd_cmd_line()
456 * src/nm-serial-device.c
457 src/nm-serial-device.h
458 - New 'get_ppp_name' function for subclasses to implement to return the
460 - (real_act_stage2_config): call 'get_ppp_name' function of subclasses
461 and pass that name to the PPP manager
463 * src/nm-device-ethernet.c
464 - (pppoe_stage2_config): pass the PPPoE username to the PPP manager as
467 * src/nm-cdma-device.c
468 - (real_get_ppp_name): implement using the CDMA username
470 2008-10-02 Dan Williams <dcbw@redhat.com>
472 Patch from Alexander Sack <asac ubuntu com>
474 * system-settings/plugins/ifupdown/parser.c
475 - Implement more graceful ip4 config parsing for cases where
476 /etc/network/interfaces omits basic ip4 settings, such as gateway etc
477 by using default values
479 2008-10-02 Dan Williams <dcbw@redhat.com>
481 * src/NetworkManagerPolicy.c
482 - (device_state_changed): when marking a connection invalid, clear its
483 secrets too so that fresh secrets get requested the next time
485 2008-10-01 Dan Williams <dcbw@redhat.com>
487 * system-settings/src/dbus-settings.c
488 - (nm_sysconfig_settings_init): cache system hostname on startup as
489 a fallback if no plugin provides a hostname
490 - (get_property): fall back to cached hostname if no plugin provides
493 2008-10-01 Dan Williams <dcbw@redhat.com>
495 Fix setting value comparison issue that caused some settings to look the
496 same when they were really different (rh #464417)
498 * libnm-util/nm-param-spec-specialized.c
499 - (type_is_fixed_size): return fundamental size of the fixed type too
500 - (nm_gvalues_compare_collection): use the fundamental fixed type size
501 in the comparison so that the _entire_ fixed type collection gets
502 compared rather than just the first 'len1' bytes
504 2008-09-30 Dan Williams <dcbw@redhat.com>
506 * src/NetworkManagerPolicy.c
507 - (lookup_thread_worker): don't store the idle handler ID becuase the
508 idle handler could have already run and freed the LookupThread
511 2008-09-30 Tambet Ingo <tambet@gmail.com>
513 * src/nm-device.c (nm_device_get_priority): Implement.
514 (nm_device_set_ip4_config): Send the device priority to system ip4
517 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config):
518 Add priority argument and if it's >= 0, set the priority of the network
519 route added automatically by netlink (or kernel?).
520 (nm_system_device_set_priority): Implement.
522 * src/NetworkManagerPolicy.c (get_best_device): Use
523 nm_device_get_priority() instead of home-grown version. Revert the
524 meaning, best priority is the lowest one.
526 2008-09-29 Dan Williams <dcbw@redhat.com>
528 Handle ipw3945 suspend/resume by retrying the GIWRANGE request a few times
529 when it returns EAGAIN (rh #362421)
531 * src/nm-device-wifi.c
532 - (wireless_get_range): try GIWRANGE a few times until the card responds
533 - (real_get_generic_capabilities, constructor): use wireless_get_range()
535 2008-09-28 Dan Williams <dcbw@redhat.com>
537 * src/nm-serial-device.c
538 src/nm-serial-device.h
539 - (nm_serial_device_close): stop PPP manager here so that PPP gets
540 cleaned at the right times when subclasses close the serial port too
541 - (nm_serial_device_send_command): use a default send delay; don't
542 spin forever on EAGAIN
543 - (get_reply_done, get_reply_got_data, nm_serial_device_get_reply):
544 remove, no longer used
545 - (find_response): return the matched response if any
546 - (nm_serial_device_wait_reply_blocking): wait for a reply but block
548 - (wait_for_reply_done): pass the matched response to the callback
549 - (wait_for_reply_got_data): save the matched response; simplify timeout
551 - (nm_serial_device_wait_for_reply): make 'responses' and 'terminators'
552 const since they never get modified
553 - (cleanup_device): split out common cleanup stuff to a new function
554 - (real_deactivate_quickly, finalize): use cleanup_device()
556 * src/nm-gsm-device.c
557 - (modem_get_reply): remove, unused
558 - (set_apn): give the card a bit more time to respond
559 - (manual_registration_again, schedule_manual_registration_again,
560 manual_registration_response, manual_registration): handle manual
561 registration timeouts better by retrying registration a few times
562 because cards are a bit slow after CFUN=1
563 - (automatic_registration_get_network, get_network_response): use
564 modem_wait_for_reply() because it interacts better with the serial
565 buffer and does more intelligent matching; need to wait for 'OK'
566 rather than just matching terminators
567 - (schedule_automatic_registration_again,
568 automatic_registration_response, automatic_registration): retry
569 registration a few times on timeout or "searching" because cards
570 take a bit to find a network after being powered up with CFUN=1
571 - (power_up_response, power_up, init_full_done, enter_pin,
572 check_pin_done): power up the card with CFUN=1 before trying to
573 register with the network
574 - (init_modem_full, init_modem): use more standard 3G init strings
576 * src/nm-hso-gsm-device.c
577 - (modem_get_reply): remove, unused
578 - (hso_ip4_config_response, real_act_stage3_ip_config_start): use
579 modem_wait_for_reply() to match actual responses instead of single
580 termination characters; it doesn't leave stuff in the serial buffer
581 that might confuse later calls
582 - (real_deactivate_quickly): use nm_serial_device_wait_reply_blocking()
583 to ensure that the call is really disconnected and not leave extra
584 stuff in the serial buffer
586 * src/nm-cdma-device.c
587 - (power_up_response, power_up, init_done): try Sierra-style modem
588 power up before attempting to connect
590 2008-09-27 Dan Williams <dcbw@redhat.com>
592 * libnm-util/nm-setting-gsm.c
593 - (verify): verify GSM network ID
595 2008-09-25 Dan Williams <dcbw@redhat.com>
597 * libnm-util/nm-setting-gsm.c
598 libnm-util/nm-setting-gsm.h
599 - Fix up NM_GSM_NETWORK_* constants to accurately reflect the network
600 technology terms (bgo #551361)
602 2008-09-25 Dan Williams <dcbw@redhat.com>
604 Fix bgo #549401 (inspired by patch from Alexander Sack)
606 * src/nm-device-ethernet.c
607 - (finish_supplicant_task): clean up scheduled tasks and free memory
608 - (remove_supplicant_interface_error_handler): remove the supplicant
609 error idle callback too
610 - (supplicant_interface_release): rename from supplicant_interface_clean
611 to match nm-device-wifi.c; clean up supplicant interface-related
612 state tasks when the supplicant interface is disposed of
613 - (schedule_state_handler): add scheduled tasks to a list so they can
615 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
616 supplicant_iface_connection_state_cb_handler): use
617 finish_supplicant_task() to clean up each completed task
618 - (supplicant_iface_connection_error_cb_handler,
619 supplicant_connection_timeout_cb): clear source id when the task is
621 - (supplicant_iface_connection_error_cb): save scheduled task id for
623 - (nm_device_ethernet_dispose): clean up any pending supplicant state
626 * src/nm-device-wifi.c
627 - (finish_supplicant_task): clean up scheduled tasks and free memory
628 - (remove_supplicant_interface_error_handler): remove the supplicant
629 error idle callback too
630 - (supplicant_interface_release): clean up supplicant interface-related
631 state tasks when the supplicant interface is disposed of
632 - (schedule_state_handler): add scheduled tasks to a list so they can
634 - (supplicant_mgr_state_cb_handler, supplicant_iface_state_cb_handler,
635 supplicant_iface_connection_state_cb_handler): use
636 finish_supplicant_task() to clean up each completed task
637 - (supplicant_iface_connection_error_cb_handler): clear source id when
639 - (supplicant_iface_connection_error_cb): save scheduled task id for
641 - (nm_device_wifi_dispose): clean up any pending supplicant state tasks
643 2008-09-24 Tambet Ingo <tambet@gmail.com>
645 * system-settings/plugins/keyfile/plugin.c: Implement unmanaged_devices
646 method and get/set hostname property.
648 2008-09-24 Tambet Ingo <tambet@gmail.com>
650 * src/supplicant-manager/nm-supplicant-interface.c
651 (nm_supplicant_interface_disconnect): Don't increment the reference
652 count when disconnecting. The problem is on shutdown, when the replies
653 to these commands do not arrive before NM exits, resulting on never
654 calling supplicant interface's dispose(), which removes the interface
657 2008-09-24 Tambet Ingo <tambet@gmail.com>
659 * libnm-glib/nm-vpn-plugin-ui-interface.c: Add type checking to
660 all the public function arguments.
662 2008-09-22 Tambet Ingo <tambet@gmail.com>
664 * src/vpn-manager/nm-vpn-connection.c: Add a signal handler for the
665 "Failure" signal from VPN plugins, store the failure reason, and
666 use it when the state is changed to failure.
668 * introspection/nm-vpn-plugin.xml: Fix the "Failure" signal's type
671 * include/NetworkManagerVPN.h (NMVPNConnectionStateReason): Add a new
672 reason to the end of the list to not break the API.
673 (NMVPNPluginFailure): Move it here (from libnm-glib/nm-vpn-plugin.h)
674 so it can be shared by plugins and daemon.
676 2008-09-18 Dan Williams <dcbw@redhat.com>
678 Patch from Alexander Sack <asac@ubuntu.com>
681 system-settings/plugins/Makefile.am
682 system-settings/plugins/ifupdown/Makefile.am
683 system-settings/plugins/ifupdown/interface_parser.c
684 system-settings/plugins/ifupdown/interface_parser.h
685 system-settings/plugins/ifupdown/nm-ifupdown-connection.c
686 system-settings/plugins/ifupdown/nm-ifupdown-connection.h
687 system-settings/plugins/ifupdown/parser.c
688 system-settings/plugins/ifupdown/parser.h
689 system-settings/plugins/ifupdown/plugin.c
690 system-settings/plugins/ifupdown/plugin.h
691 - Implement a Debian/Ubuntu legacy network configuration plugin
694 2008-09-18 Dan Williams <dcbw@redhat.com>
696 Implement support for honoring configured and automatic hostnames, and for
697 setting the configured hostname.
699 * introspection/nm-ip4-config.xml
702 src/dhcp-manager/nm-dhcp-manager.c
703 - Remove useless hostname property; it's not really part of the IPv4
706 * introspection/nm-settings-system.xml
707 libnm-glib/nm-dbus-settings-system.c
708 libnm-glib/nm-dbus-settings-system.h
709 - Add SetHostname() call to system settings D-Bus interface
710 - Add Hostname property to system settings D-Bus interface
711 - (nm_dbus_settings_system_save_hostname,
712 nm_dbus_settings_system_get_hostname): implement
716 - (nm_device_get_dhcp4_config): implement
720 - Fetch and track system settings service hostname changes, and proxy
721 the changes via a GObject property of the manager
723 * system-settings/src/nm-system-config-interface.c
724 system-settings/src/nm-system-config-interface.h
725 - Replace nm_system_config_interface_supports_add() with a capabilities
728 * system-settings/src/nm-system-config-error.c
729 system-settings/src/nm-system-config-error.h
730 - Add additional errors
732 * system-settings/src/dbus-settings.c
733 system-settings/src/dbus-settings.h
734 - (get_property, nm_sysconfig_settings_class_init): add hostname
735 property; first plugin returning a hostname wins
736 - (impl_settings_add_connection): use plugin capabilities instead of
737 nm_system_config_interface_supports_add()
738 - (impl_settings_save_hostname): implement hostname saving
740 * src/NetworkManagerPolicy.c
741 - (lookup_thread_run_cb, lookup_thread_worker, lookup_thread_new,
742 lookup_thread_die): implement an asynchronous hostname lookup thread
743 which given an IPv4 address tries to look up the hostname for that
744 address with reverse DNS
745 - (get_best_device): split out best device code from
746 update_routing_and_dns()
747 - (update_etc_hosts): update /etc/hosts with the machine's new hostname
748 to preserve the 127.0.0.1 reverse mapping that so many things require
749 - (set_system_hostname): set a given hostname
750 - (update_system_hostname): implement hostname policy; a configured
751 hostname (from the system settings service) is used if available,
752 otherwise an automatically determined hostname from DHCP, VPN, etc.
753 If there was no automatically determined hostname, reverse DNS of
754 the best device's IP address will be used, and as a last resort the
755 hostname 'localhost.localdomain' is set.
756 - (update_routing_and_dns): use get_best_device(); update the system
757 hostname when the network config changes
758 - (hostname_changed): update system hostname if the system settings
759 service signals a hostname change
760 - (nm_policy_new): list for system settings service hostname changes
761 - (nm_policy_destroy): ensure that an in-progress hostname lookup thread
764 * system-settings/plugins/keyfile/plugin.c
765 system-settings/plugins/ifcfg-suse/plugin.c
766 - (get_property, sc_plugin_ifcfg_class_init): implement hostname and
767 capabilities properties
769 * system-settings/plugins/ifcfg-fedora/shvar.c
770 - (svOpenFile): re-enable R/W access of ifcfg files since the plugin
771 writes out /etc/sysconfig/network now
773 * system-settings/plugins/ifcfg-fedora/plugin.c
774 - (plugin_get_hostname): get hostname from /etc/sysconfig/network
775 - (plugin_set_hostname): save hostname to /etc/sysconfig/network
776 - (sc_network_changed_cb): handle changes to /etc/sysconfig/network
777 - (sc_plugin_ifcfg_init): monitor /etc/sysconfig/network for changes
778 - (get_property, set_property, sc_plugin_ifcfg_class_init): implement
779 hostname get/set and capabilities get
781 2008-09-18 Dan Williams <dcbw@redhat.com>
783 * libnm-util/nm-setting-wireless.c
784 - (nm_setting_wireless_ap_security_compatible): only verify pairwise and
785 group ciphers if the wireless-security setting explicitly specified
786 them, effectively making the default be "all ciphers" (idea from
789 2008-09-15 Dan Williams <dcbw@redhat.com>
791 Patch from Alexander Sack <asac@ubuntu.com>
793 * src/named-manager/nm-named-manager.c
794 - (dispatch_resolvconf): respect resolvconf exit code
796 2008-09-12 Tambet Ingo <tambet@gmail.com>
798 * src/named-manager/nm-named-manager.c (dispatch_netconfig): Make it compile
799 again. Add some debugging.
801 2008-09-11 Dan Williams <dcbw@redhat.com>
803 * system-settings/plugins/keyfile/plugin.c
804 - (update_connection_settings): update connection manually, since
805 nm_exported_connection_update() does authentication
806 - (dir_changed): update_connection_settings() doesn't need to return
809 2008-09-09 Dan Williams <dcbw@redhat.com>
811 * libnm-glib/nm-vpn-plugin-ui-interface.c
812 libnm-glib/nm-vpn-plugin-ui-interface.h
813 libnm-glib/libnm_glib_vpn.ver
814 - (nm_vpn_plugin_ui_interface_delete_connection): called when the plugin
815 should clean up resources related to the connection (like keyring
817 - (nm_vpn_plugin_ui_widget_interface_save_secrets): called when the plugin
818 should save user-scope secrets (like to the keyring)
820 2008-09-08 Dan Williams <dcbw@redhat.com>
822 Patch from Alexander Sack <asac@ubuntu.com>
824 * libnm-util/crypto_gnutls.c
825 libnm-util/crypto_nss.c
826 - (crypto_init, crypto_deinit): just use a boolean instead of a refcount
828 * libnm-util/nm-utils.c
829 libnm-util/nm-utils.h
830 libnm-util/libnm-util.ver
831 - (nm_utils_init): initialize libnm-util
832 - (nm_utils_deinit): de-initialize libnm-util and clean up resources
834 * libnm-util/nm-setting-8021x.c
835 - (nm_setting_802_1x_class_init): init libnm-util when needed
837 2008-09-05 Dan Williams <dcbw@redhat.com>
839 Patch from Roy Marples <roy@marples.name> and others
842 src/named-manager/nm-named-manager.c
843 - Add support for resolvconf; use --with-resolvconf at configure time
846 2008-09-05 Dan Williams <dcbw@redhat.com>
848 * libnm-util/crypto_nss.c
849 libnm-util/crypto_gnutls.c
851 - (crypto_init): return error when init fails
853 2008-09-05 Dan Williams <dcbw@redhat.com>
855 * libnm-glib/nm-device-wifi.c
856 - (access_point_removed_proxy): clean up the active access point too
857 just in case the active ap changed signal didn't come through yet
858 - (clean_up_aps): be sure to set priv->active_ap to NULL when cleaning up
860 2008-09-05 Dan Williams <dcbw@redhat.com>
862 * libnm-glib/nm-client.c
863 - (constructor): get initial state after we know whether NM is running
866 2008-09-05 Dan Williams <dcbw@redhat.com>
868 * libnm-glib/nm-ip4-config.c
869 libnm-glib/nm-dhcp4-config.c
870 - (finalize): clean up the DBusGProxy
872 2008-09-04 Dan Williams <dcbw@redhat.com>
874 * src/nm-ip4-config.c
876 - (nm_ip4_config_new): don't export over D-Bus here
877 - (nm_ip4_config_export): new function; export the config over D-Bus
878 - (nm_ip4_config_is_exported): new function
881 - (nm_device_activate_stage5_ip_config_commit): fix leak of IP4Config
882 objects by balancing the IP4Config constructor; the device holds
883 a reference to the IP4Config already
884 - (nm_device_set_ip4_config): export the IP4Config when needed
886 2008-09-04 Dan Williams <dcbw@redhat.com>
888 * src/supplicant-manager/nm-supplicant-settings-verify.c
889 - Allow WPA-NONE key management for Ad-Hoc WPA connections
891 2008-09-04 Dan Williams <dcbw@redhat.com>
893 * libnm-util/nm-setting-vpn.c
894 libnm-util/nm-setting-vpn.h
895 - Split VPN secrets from VPN data so that settings services can actually
896 figure out that they are secrets and store them accordingly
898 * system-settings/plugins/keyfile/nm-keyfile-connection.c
899 system-settings/plugins/keyfile/reader.c
900 system-settings/plugins/keyfile/reader.h
901 system-settings/plugins/keyfile/writer.c
902 - Store VPN secrets separately from VPN data so that they can be fetched
904 - Implement the get_secrets() call so that (a) secrets don't leak out
905 to unprivileged callers, and (b) secrets can be sent to privileged
908 * vpn-daemons/vpnc/src/nm-vpnc-service.c
909 - Handle split VPN secrets
911 2008-08-27 Dan Williams <dcbw@redhat.com>
913 * system-settings/plugins/ifcfg-fedora/reader.c
914 - (make_ip4_setting): use DOMAIN not SEARCH (rh #459370)
916 2008-08-27 Dan Williams <dcbw@redhat.com>
918 Ensure zombie children get cleaned up. To get notifications when children
919 die abnormally, g_spawn_async() requires G_SPAWN_DO_NOT_REAP_CHILD, but
920 that requires calling waitpid() yourself if you've removed the child watch
921 handler before the process has actually died, which NM needs to do in a few
922 places. So ensure that everything uses G_SPAWN_DO_NOT_REAP_CHILD and also
923 cleans up after the child when required. Should fix problems trying to
924 activate mobile broadband connections after a previous failure.
926 * src/dhcp-manager/nm-dhcp-dhclient.c
927 src/dhcp-manager/nm-dhcp-dhcpcd.c
928 - Use G_SPAWN_DO_NOT_REAP_CHILD
930 * src/dhcp-manager/nm-dhcp-manager.c
931 - (nm_dhcp_device_destroy): ensure child is cleaned up
932 - (nm_dhcp_client_stop, nm_dhcp_manager_cancel_transaction_real): always
933 block on child quitting, since the non-blocking functionality was
936 * src/dnsmasq-manager/nm-dnsmasq-manager.c
937 - (dm_watch_cb): child is already reaped here
938 - (ensure_killed, nm_dnsmasq_manager_stop): block until child is dead
941 - (aipd_cleanup): block until child is dead
943 * src/named-manager/nm-named-manager.c
944 - (run_netconfig): don't use G_SPAWN_DO_NOT_REAP_CHILD if we aren't
945 event bothering to watch the child
947 * src/ppp-manager/nm-ppp-manager.c
948 - (ppp_watch_cb): child is already reaped here
949 - (ensure_killed, nm_ppp_manager_stop): block until child is dead
951 * src/vpn-manager/nm-vpn-service.c
952 - (vpn_service_watch_cb): child is already reaped here
953 - (nm_vpn_service_daemon_exec): use G_SPAWN_DO_NOT_REAP_CHILD so that
954 status of the child is actually tracked
955 - (ensure_killed, finalize): block until child is dead
957 2008-08-26 Dan Williams <dcbw@redhat.com>
959 * system-settings/plugins/keyfile/nm-keyfile-connection.c
960 - (update): Update filename of the connection if the connection id
963 * system-settings/plugins/keyfile/plugin.c
964 - (dir_changed): first pass at handling connection renames correctly
966 * system-settings/plugins/keyfile/writer.c
967 system-settings/plugins/keyfile/writer.h
968 - (write_connection): replace '/' with '*' when writing out the filename
969 from the connection id
971 2008-08-26 Dan Williams <dcbw@redhat.com>
973 Add connection UUIDs, since connection names can be changed, and since
974 old-style connection IDs could change over the life of the connection. The
975 UUID should be assigned at connection creation time, be stable for a given
976 connection, and should be unique among all connections for a given settings
980 libnm-util/Makefile.am
983 * introspection/nm-exported-connection.xml
984 - Remove "GetID" method
986 * libnm-glib/nm-dbus-connection.c
987 libnm-glib/nm-settings.c
988 libnm-glib/nm-settings.h
989 - Remove id-related stuff
991 * libnm-util/nm-utils.c
992 libnm-util/nm-utils.h
993 libnm-util/libnm-util.ver
994 - (nm_utils_uuid_generate, nm_utils_uuid_generate_from_string): Add
995 utility functions to generate UUIDs
997 * libnm-util/nm-setting-connection.c
998 libnm-util/nm-setting-connection.h
999 - Add 'uuid' member to the connection setting
1000 - (verify): require valid 'uuid' for a valid connection
1002 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
1003 system-settings/plugins/ifcfg-fedora/reader.c
1004 system-settings/plugins/ifcfg-suse/nm-suse-connection.c
1005 system-settings/plugins/ifcfg-suse/parser.c
1006 system-settings/plugins/keyfile/nm-keyfile-connection.c
1007 system-settings/src/main.c
1008 - Remove id-related stuff
1009 - Give connections UUIDs where needed
1011 2008-08-25 Dan Williams <dcbw@redhat.com>
1013 * libnm-util/crypto_gnutls.c
1014 libnm-util/crypto_nss.c
1015 - (crypto_init, crypto_deinit): refcount init/deinit
1016 - (crypto_md5_hash): allow NULL salt
1018 2008-08-22 Michael Biebl <mbiebl@gmail.com>
1020 * libnm-glib/Makefile.am
1021 libnm-util/Makefile.am
1022 libnm-glib/libnm_glib.ver
1023 libnm-glib/libnm_glib_vpn.ver
1024 libnm-util/libnm-util.ver
1025 - Use linker version scripts to control the list of exported
1026 symbols. List each exported symbol explicitely.
1027 * libnm-util/Makefile.am
1028 - Fix compilation of the test-crypto binary. The crypto
1029 functions are no longer part of the libnm-util API. Add
1030 crypto_*.c to test_crypto_SOURCES and link against the correct
1033 2008-08-19 Dan Williams <dcbw@redhat.com>
1037 - Don't build test/test-common
1038 - Remove unused stuff
1040 * test/nm-set-fallback
1041 test/nmtestdevices.c
1042 test/test-common/.cvsignore
1043 test/test-common/Makefile.am
1044 test/test-common/test-common.c
1045 test/test-common/test-common.h
1048 2008-08-18 Dan Williams <dcbw@redhat.com>
1050 * libnm-util/nm-utils.c
1051 libnm-util/nm-utils.h
1052 - (nm_utils_garray_to_string): remove; NM was the only user and doesn't
1053 export anything that needs to be converted with this function
1055 * src/dhcp-manager/nm-dhcp-manager.c
1056 - (garray_to_string): convert a byte array to a UTF-8 string with
1057 minimal validation; the DHCP client sends it in ASCII anyway
1058 - (get_option, copy_option): use garray_to_string()
1060 2008-08-18 Dan Williams <dcbw@redhat.com>
1062 * include/NetworkManager.h
1063 introspection/nm-device.xml
1064 - Add a "missing firmware" device state reason
1066 * src/NetworkManagerSystem.c
1067 src/NetworkManagerSystem.h
1068 - (nm_system_device_set_up_down): add a no_firmware argument
1069 - (nm_system_device_set_up_down_with_iface): if the result of setting
1070 IFF_UP is ENOENT, that almost always means missing firmware
1072 * src/backends/NetworkManagerGeneric.c
1073 src/nm-device-ethernet.c
1074 src/nm-device-private.h
1075 src/nm-device-wifi.c
1078 src/nm-hso-gsm-device.c
1079 src/vpn-manager/nm-vpn-connection.c
1080 - Pass no_firmware along; check it where appropriate
1082 2008-08-18 Dan Williams <dcbw@redhat.com>
1084 Patch from Robert Buchholz <rbu@gentoo.org>
1088 - Change to automake 1.9 and 'ustar' tar format defined by POSIX
1089 1003.1-1988, allowing for file names longer than 99 characters
1091 2008-08-17 Dan Williams <dcbw@redhat.com>
1093 * include/NetworkManager.h
1094 introspection/nm-device.xml
1096 - Finer-grained GSM registration failure error codes
1098 2008-08-17 Dan Williams <dcbw@redhat.com>
1100 * callouts/Makefile.am
1102 - Move dispatcher directory creation to callouts/Makefile.am
1104 * system-settings/plugins/keyfile/Makefile.am
1105 - Create keyfile connections directory in DESTDIR (bgo #546833)
1107 2008-08-15 Dan Williams <dcbw@redhat.com>
1109 Do connection sharing in a cleaner manner; all required iptables rules
1110 are now stored in the activation request and pertain only to the device
1111 which is being shared to other computers. (rh #458625)
1113 * src/nm-activation-request.c
1114 src/nm-activation-request.h
1115 - (nm_act_request_add_share_rule): new function; add a sharing rule to
1116 the activation request which will get torn down automatically when
1117 the activation request dies
1118 - (nm_act_request_set_shared): push sharing rules to iptables when sharing
1119 is started, and tear them down when sharing is stopped
1122 - (start_sharing): start up sharing by doing the required iptables magic
1123 - (share_init): poke the right bits of the kernel and load the right
1125 - (nm_device_activate_stage5_ip_config_commit): start NAT-ing this
1126 connection if it's a 'shared' connection
1128 * src/NetworkManagerPolicy.c
1129 - Remove all sharing stuff; done in the device code itself
1131 2008-08-15 Dan Williams <dcbw@redhat.com>
1133 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1134 - (create_dm_cmd_line): send the right router address
1136 2008-08-15 Dan Williams <dcbw@redhat.com>
1138 * src/ppp-manager/nm-ppp-manager.c
1139 - (pppd_timed_out): ensure timeouts fail the connection
1141 2008-08-14 Dan Williams <dcbw@redhat.com>
1143 * src/nm-properties-changed-signal.c
1144 src/nm-properties-changed-signal.h
1145 - Add a property spec flag for "don't export this property" in
1146 property changed signals
1148 * src/nm-hso-gsm-device.c
1150 src/nm-cdma-device.c
1151 - Don't export monitor interface or netdev interface properties
1153 2008-08-14 Dan Williams <dcbw@redhat.com>
1155 * src/NetworkManagerPolicy.c
1156 - (update_routing_and_dns): 'hso' devices can be default even if they
1157 don't have a gateway
1159 2008-08-14 Dan Williams <dcbw@redhat.com>
1162 - (nm_device_deactivate_quickly): tear down activation request after
1163 calling device-specific deactivation
1165 * src/nm-hso-gsm-device.c
1166 - (real_deactivate_quickly): terminate connection when deactivating
1168 2008-08-14 Dan Williams <dcbw@redhat.com>
1170 * src/nm-activation-request.h
1171 - Add HSO secrets caller
1173 * src/nm-gsm-device.c
1175 - (modem_wait_for_reply): add a 'user_data' argument so callers can pass
1176 something to the callback function
1177 - (set_apn, set_apn_done): call class dial function, not a static one
1178 - (nm_gsm_device_class_init): add a class 'dial' function
1180 * src/nm-hal-manager.c
1181 - (get_hso_netdev): find the hso-driven hardware's net device
1182 - (modem_device_creator): recognize hso-driven hardware and create the
1183 right type of device object for it
1186 src/nm-hso-gsm-device.c
1187 src/nm-hso-gsm-device.h
1188 - Implement support for devices driven by the 'hso' driver as a subclass
1191 2008-08-14 Dan Williams <dcbw@redhat.com>
1193 * src/NetworkManagerSystem.c
1194 - (nm_system_device_is_up_with_iface): ensure ifreq is cleared before using
1195 - (nm_system_device_set_up_down_with_iface): cleanups; only return
1196 success if the operation really was successful
1198 2008-08-14 Dan Williams <dcbw@redhat.com>
1200 * src/nm-netlink-monitor.c
1201 src/nm-netlink-monitor.h
1202 src/nm-device-ethernet.c
1203 - (nm_netlink_monitor_request_status): return an error on failure
1204 - (constructor): don't segfault on missing error
1206 2008-08-13 Dan Williams <dcbw@redhat.com>
1208 * callouts/nm-dispatcher-action.c
1209 - Add IP4 config info to script environment
1211 2008-08-12 Dan Williams <dcbw@redhat.com>
1214 - (nm_device_set_ip4_config): don't touch hostnames here; distros
1215 that want to use DHCP hostnames should use dispatcher scripts
1218 * src/NetworkManagerSystem.h
1219 src/backends/NetworkManagerArch.c
1220 src/backends/NetworkManagerDebian.c
1221 src/backends/NetworkManagerFrugalware.c
1222 src/backends/NetworkManagerGeneric.c
1223 src/backends/NetworkManagerGeneric.h
1224 src/backends/NetworkManagerGentoo.c
1225 src/backends/NetworkManagerMandriva.c
1226 src/backends/NetworkManagerPaldo.c
1227 src/backends/NetworkManagerRedHat.c
1228 src/backends/NetworkManagerSlackware.c
1229 src/backends/NetworkManagerSuSE.c
1230 - Remove nm_system_set_hostname(), no longer used
1232 * src/backends/Makefile.am
1233 src/backends/shvar.c
1234 src/backends/shvar.h
1235 - Remove shvar.*; no longer used
1237 2008-08-12 Dan Williams <dcbw@redhat.com>
1239 Revert most of the 'hostname' patch. Too much stuff still breaks when
1240 hostname is updated at runtime. Distros or users who want hostname updates
1241 can use dispatcher scripts to update the hostname if they need it.
1243 2008-08-12 Dan Williams <dcbw@redhat.com>
1245 * introspection/nm-settings-system.xml
1246 system-settings/src/dbus-settings.c
1247 system-settings/src/dbus-settings.h
1248 - Add a 'Hostname' property (rw) which represents the configured
1249 hostname and domain of the system, if any
1251 * system-settings/src/nm-system-config-error.c
1252 system-settings/src/nm-system-config-error.h
1253 system-settings/src/nm-system-config-interface.c
1254 system-settings/src/nm-system-config-interface.h
1255 - Add a 'hostname' property to the plugin interface
1256 - Add a method to send updated hostname to plugins to save in their
1257 backing configuration store
1259 * system-settings/plugins/keyfile/nm-keyfile-connection.c
1260 system-settings/plugins/keyfile/plugin.c
1261 system-settings/plugins/keyfile/writer.c
1262 system-settings/plugins/keyfile/writer.h
1263 system-settings/plugins/ifcfg-suse/plugin.c
1264 - Add minimal hostname support
1266 * system-settings/plugins/ifcfg-fedora/plugin.c
1267 - Add support for updating system hostname in /etc/sysconfig/network
1269 2008-08-12 Dan Williams <dcbw@redhat.com>
1271 * system-settings/plugins/ifcfg-fedora/shvar.c
1272 system-settings/plugins/ifcfg-fedora/shvar.c
1273 - Fix double-free caused by svSetValue() followed by svCloseFile()
1275 2008-08-12 Tambet Ingo <tambet@gmail.com>
1277 * Makefile.am: Fix distcheck.
1279 2008-08-12 Tambet Ingo <tambet@gmail.com>
1281 * libnm-glib/*.c. Document some more.
1283 2008-08-12 Tambet Ingo <tambet@gmail.com>
1285 Start documenting libnm-glib public API using gtk-doc.
1287 * libnm-glib/nm-serial-device.c:
1288 * libnm-glib/nm-object.c:
1289 * libnm-glib/nm-gsm-device.c:
1290 * libnm-glib/nm-device.c:
1291 * libnm-glib/nm-device-wifi.c:
1292 * libnm-glib/nm-device-ethernet.c:
1293 * libnm-glib/nm-client.c:
1294 * libnm-glib/nm-cdma-device.c: Document the public API.
1296 * docs/libnm-glib/libnm-glib.types: Implement.
1298 * docs/libnm-glib/Makefile.am: Implement.
1302 * Makefile.am: Add gtk-doc support.
1304 2008-08-12 Tambet Ingo <tambet@gmail.com>
1306 * src/backends/*: Get rid of nm_system_should_modify_resolv_conf().
1308 * src/named-manager/nm-named-manager.c (rewrite_resolv_conf): Calculate
1309 the composite result of all the IP4 configurations and call a distro
1310 specific update_resolv_conf().
1311 (update_resolv_conf): Implement one for directly writing to
1312 /etc/resolv.conf and one for opensuse to call netconfig.
1314 2008-08-11 Dan Williams <dcbw@redhat.com>
1316 * src/ppp-manager/nm-ppp-manager.c
1317 - (impl_ppp_manager_need_secrets): pass interface as required
1319 2008-08-11 Dan Williams <dcbw@redhat.com>
1321 Merge the vpn-properties setting with the vpn setting since it was pointless
1322 to keep both of them around. Convert the vpn 'data' hash table to a hash
1323 of string:string (instead of string:variant) so that system settings plugins
1324 can have an easier time dealing with the arbitrary key/value pairs.
1326 2008-08-11 Dan Williams <dcbw@redhat.com>
1328 * libnm-util/nm-utils.c
1329 - (nm_utils_register_value_transformations): add value transform for
1330 a hash table of string:string
1332 2008-08-10 Dan Williams <dcbw@redhat.com>
1334 * libnm-glib/nm-vpn-plugin.c
1335 - (nm_vpn_plugin_connect): stop plugin after connection failure from
1336 an idle handler so the Connect reply gets delivered before the
1337 stop StateChanged signal
1339 2008-08-10 Dan Williams <dcbw@redhat.com>
1341 * src/nm-ip4-config.c
1342 - (get_property): use common ip4 address/route conversion functions
1343 - (nm_ip4_config_replace_address, nm_ip4_config_replace_route): should
1344 copy the new route here, not take ownership
1346 2008-08-08 Tambet Ingo <tambet@gmail.com>
1348 * system-settings/plugins/ifcfg-suse/parser.c (make_ip4_setting):
1349 Update the IP4 setting's method name.
1351 2008-08-07 Dan Williams <dcbw@redhat.com>
1353 * introspection/nm-ip4-config.xml
1354 libnm-glib/libnm-glib-test.c
1355 libnm-glib/nm-ip4-config.c
1356 libnm-glib/nm-ip4-config.h
1357 src/NetworkManagerSystem.h
1358 src/backends/NetworkManagerArch.c
1359 src/backends/NetworkManagerDebian.c
1360 src/backends/NetworkManagerFrugalware.c
1361 src/backends/NetworkManagerGeneric.c
1362 src/backends/NetworkManagerGeneric.h
1363 src/backends/NetworkManagerGentoo.c
1364 src/backends/NetworkManagerMandriva.c
1365 src/backends/NetworkManagerPaldo.c
1366 src/backends/NetworkManagerRedHat.c
1367 src/backends/NetworkManagerSlackware.c
1368 src/backends/NetworkManagerSuSE.c
1369 src/dhcp-manager/nm-dhcp-manager.c
1373 - Remove NIS logic; should be done from dispatcher scripts instead
1375 2008-08-07 Dan Williams <dcbw@redhat.com>
1377 * src/dhcp-manager/nm-dhcp-manager.c
1378 - (nm_dhcp_manager_get_ip4_config): fix regression which caused
1379 mis-handling of DHCP responses that returned more than one router
1380 (found by Grant Williamson)
1382 2008-08-07 Dan Williams <dcbw@redhat.com>
1384 * callouts/nm-dispatcher-action.c
1385 - (nm_dispatcher_action): grab device path and create the device; pass
1386 the device's DHCP4 config to script caller
1387 - (dispatch_scripts): dump the DHCP4 config to the environment of called
1390 * libnm-glib/nm-dhcp4-config.c
1391 libnm-glib/nm-dhcp4-config.h
1392 - (nm_dhcp4_config_get_options): expose
1393 - (nm_dhcp4_config_get_one_option): renamed from nm_dhcp4_config_get_option
1395 2008-08-07 Dan Williams <dcbw@redhat.com>
1397 * include/NetworkManager.h
1398 - Add the DHCP4Config D-Bus interface
1400 * libnm-glib/Makefile.am
1401 libnm-glib/nm-dhcp4-config.c
1402 libnm-glib/nm-dhcp4-config.h
1403 - Handle DHCP4 config objects exported by NM over D-Bus
1405 * libnm-glib/nm-device.c
1406 libnm-glib/nm-device.h
1407 - Add a 'dhcp4-config' property
1409 * libnm-glib/libnm-glib-test.c
1410 - Print out DHCP4 config for devices
1411 - Fix some crashes when no connections are active
1413 * src/nm-device-interface.c
1415 src/nm-dhcp4-config.c
1416 src/nm-dhcp4-config.h
1417 - Treat dhcp4-config object as an object path at the D-Bus interface so
1418 that when it doesn't exist we can proxy it as "/" which dbus-glib
1419 doesn't let us do when the property type is G_TYPE_OBJECT
1421 2008-08-07 Dan Williams <dcbw@redhat.com>
1423 * src/NetworkManager.c
1424 src/NetworkManagerSystem.h
1425 src/backends/NetworkManagerArch.c
1426 src/backends/NetworkManagerDebian.c
1427 src/backends/NetworkManagerFrugalware.c
1428 src/backends/NetworkManagerGeneric.c
1429 src/backends/NetworkManagerGeneric.h
1430 src/backends/NetworkManagerGentoo.c
1431 src/backends/NetworkManagerMandriva.c
1432 src/backends/NetworkManagerPaldo.c
1433 src/backends/NetworkManagerRedHat.c
1434 src/backends/NetworkManagerSlackware.c
1435 src/backends/NetworkManagerSuSE.c
1436 - (nm_system_init, nm_system_kill_all_dhcp_daemons): remove, unused
1438 2008-08-06 Dan Williams <dcbw@redhat.com>
1440 * libnm-glib/nm-ip4-config.c
1441 libnm-glib/nm-ip4-config.h
1442 - Add 'routes' property
1444 * libnm-util/nm-setting-vpn.c
1445 libnm-util/nm-setting-vpn.h
1446 - Remove 'routes' property
1448 * libnm-util/nm-setting-ip4-config.c
1449 libnm-util/nm-setting-ip4-config.h
1450 - 'ignore-dhcp-dns' renamed to 'ignore-auto-dns'
1451 - Add 'ignore-auto-routes' property
1452 - 'routes' exposed over D-Bus is now an array of array of uint (4) to
1453 accomodate route metrics
1454 - 'routes' exposed in C is now a list of NMSettingIP4Route structures
1456 * libnm-util/nm-utils.c
1457 libnm-util/nm-utils.h
1458 - Add helpers for marshalling IP4 routes
1460 * src/NetworkManagerUtils.c
1461 - (nm_utils_merge_ip4_config): handle property renames and new route
1464 * src/NetworkManagerSystem.c
1465 - (nm_system_device_set_ip4_route, nm_system_device_set_from_ip4_config,
1466 nm_system_vpn_device_set_from_ip4_config): respect route metrics
1468 * src/dhcp-manager/nm-dhcp-manager.c
1469 - (nm_dhcp_manager_get_ip4_config): handle new route structure
1471 * system-settings/plugins/ifcfg-fedora/reader.c
1472 system-settings/plugins/ifcfg-fedora/writer.c
1473 - Handle routes separately from addresses now that routes have a different
1476 * introspection/nm-ip4-config.xml
1479 - Rename internal routing functions
1480 - 'static-routes' renamed to 'routes'
1482 2008-08-04 Dan Williams <dcbw@redhat.com>
1484 Patch from Sjoerd Simons <sjoerd.simons@collabora.co.uk>
1486 * src/NetworkManager.c
1489 - More explicitly make the NMManager a singleton
1491 2008-08-04 Dan Williams <dcbw@redhat.com>
1493 * libnm-util/nm-connection.c
1494 libnm-util/nm-connection.h
1495 - (nm_connection_verify): return error on missing 'connection' setting
1496 (found by Sjoerd Simons)
1498 2008-08-04 Dan Williams <dcbw@redhat.com>
1500 Handle multiple concurrent PPP connections.
1502 * src/ppp-manager/nm-ppp-manager.c
1503 src/ppp-manager/nm-ppp-manager.h
1504 - (constructor): only PPP Manager request bus name once; each
1505 NMPPPManager object gets a unique object path
1506 - (nm_ppp_manager_class_init, get_property, set_property,
1507 nm_ppp_manager_new, nm_ppp_manager_start): pass parent interface in
1509 - (impl_ppp_manager_need_secrets, impl_ppp_manager_set_state): don't
1510 remove timeout until PPP manager gets an IP4 config
1511 - (create_pppd_cmd_line): pass dbus object path as 'ipparam' so that
1512 the plugin can call back to this specific PPP manager instance
1514 * src/nm-device-ethernet.c
1515 src/nm-serial-device.c
1516 - Pass parent device in nm_ppp_manager_new()
1518 * src/nm-gsm-device.c
1519 src/nm-cdma-device.c
1520 - (device_state_changed): don't close serial device on NEED_AUTH
1521 state changed, that's not a failure case like the rest are
1523 * src/ppp-manager/nm-pppd-plugin.c
1524 - (nm_ip_up): always use index 0 into the ipcp options, because NM always
1525 binds one interface to any pppd process, thus the correct index
1526 is always 0; send PHASE_DEAD on error to alert NM immediately of
1527 problems; try harder to get a peer address in spite of pppd
1528 - (plugin_init): use 'ipparam' as the object path back to our specific
1529 PPP manager instance
1531 2008-08-04 Dan Williams <dcbw@redhat.com>
1533 * src/ppp-manager/nm-ppp-manager.c
1534 - (impl_ppp_manager_need_secrets): rework to handle secrets better;
1535 since the GSM and CDMA settings now implement need_secrets, we can
1536 rely on them to do the right thing. Where secrets are not required,
1537 just pass empty strings back to the pppd plugin.
1538 - (nm_ppp_manager_update_secrets): leak fix; don't need to dup the strings
1539 - (impl_ppp_manager_set_ip4_config): clear the secrets tries counter
1540 on successful IP4 config receipt
1542 2008-08-04 Dan Williams <dcbw@redhat.com>
1544 * libnm-util/nm-setting-cdma.c
1545 libnm-util/nm-setting-gsm.c
1546 - (verify): validate username & password if they exist
1547 - (need_secrets): if username given, require a password too
1549 2008-08-04 Dan Williams <dcbw@redhat.com>
1551 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1552 - (create_dm_cmd_line): really don't listen on lo, despite what the
1553 manpage says about --listen-address without --interface
1556 2008-08-01 Dan Williams <dcbw@redhat.com>
1558 * libnm-glib/nm-device.c
1559 - (proxy_get_string): util function for querying a HAL property
1560 - (get_ancestor_device): split out from get_product_and_vendor()
1561 - (get_product_and_vendor): simplify; get more accurate pid & vid info
1562 from PCI devices by querying subsys properties
1563 - (nm_device_update_description): simplify
1565 2008-08-01 Dan Williams <dcbw@redhat.com>
1567 * libnm-util/nm-setting-ip4-config.c
1568 libnm-util/nm-setting-ip4-config.h
1569 - Make IPv4 methods reflect their usage; 'dhcp' -> 'auto' and
1570 'autoip' -> 'link-local'. VPN & PPP connections can also have IPv4
1571 settings, and they don't necessarily use DHCP.
1573 * src/NetworkManagerPolicy.c
1575 system-settings/plugins/ifcfg-fedora/reader.c
1576 system-settings/plugins/ifcfg-suse/parser.c
1577 - Fixup for method changes
1579 2008-07-31 Dan Williams <dcbw@redhat.com>
1581 * src/nm-activation-request.c
1582 src/vpn-manager/nm-vpn-connection.c
1583 - Correct GetSecrets D-Bus pending call usage; the GetSecrets call
1584 itself should be attached to the activation request or the VPN
1585 connection, not the NMConnection object, since the call is not
1586 expected to live as long as the NMConnection itself
1588 2008-07-31 Dan Williams <dcbw@redhat.com>
1590 * src/nm-device-wifi.c
1591 - (real_act_stage2_config): fix issue where association would continue
1592 even though secrets were needed; 'goto out' was in wrong scope and
1593 result of handle_auth_or_fail() should have been dumped directly to
1594 'ret' to ensure that the association was postponed until secrets
1597 2008-07-31 Dan Williams <dcbw@redhat.com>
1599 * system-settings/plugins/ifcfg-fedora/plugin.c
1600 system-settings/plugins/ifcfg-fedora/reader.c
1601 - Don't ignore unmanaged devices if their ifcfg file doesn't make a
1604 2008-07-29 Dan Williams <dcbw@redhat.com>
1606 * src/nm-gsm-device.c
1607 - (automatic_registration_response, automatic_registration): recognize
1608 denied registration and reorder responses
1610 2008-07-29 Dan Williams <dcbw@redhat.com>
1612 * src/nm-serial-device.c
1613 - (nm_serial_device_wait_for_reply): fix timeout calculation. Since
1614 time(2) is used for current time, which returns seconds, we shouldn't
1615 be multiplying by 1000.
1617 2008-07-28 Dan Williams <dcbw@redhat.com>
1619 Patch from Fabrice Bellet <fabrice@bellet.info>
1621 * src/NetworkManagerSystem.c
1622 - (route_in_same_subnet): mask addresses and compare them so that the
1623 function actually does what it says it's going to do (rh #456685)
1625 2008-07-27 Dan Williams <dcbw@redhat.com>
1627 * libnm-util/nm-setting-ip6-config.c
1628 - (set_property): add missing break that caused routes to be overwritten
1631 * libnm-util/nm-setting-ip6-config.c
1632 - (verify): validate routes and return GError everywhere on invalid setting
1633 - (finalize): don't leak routes
1634 - (set_property): add missing break that caused routes to be overwritten
1637 2008-07-27 Dan Williams <dcbw@redhat.com>
1640 - Relicense to LGPLv2+
1642 2008-07-27 Dan Williams <dcbw@redhat.com>
1644 * system-settings/plugins/ifcfg-fedora/reader.c
1645 - (make_ip4_setting): fix parsing automatic configs
1647 2008-07-27 Dan Williams <dcbw@redhat.com>
1649 * src/dnsmasq-manager/nm-dnsmasq-manager.c
1651 src/ppp-manager/nm-ppp-manager.c
1652 - Ensure child process gets reaped. The child watch function may be
1653 removed from the mainloop before the child gets killed, so we have
1654 to make sure the child is reaped when it's told to die intentionally
1656 2008-07-27 Dan Williams <dcbw@redhat.com>
1658 Patch from Roy Marples <roy@marples.name>
1660 * src/dhcp-manager/nm-dhcp-dhcpcd.c
1661 - (nm_dhcp_client_start): fixup for latest dhcpcd 4.0 RC
1663 2008-07-27 Dan Williams <dcbw@redhat.com>
1665 * src/nm-gsm-device.c
1666 - (init_modem_full): send "ATZ E0" after CPIN, because apparently some
1667 Huawei devices turn echo back on after CPIN (rh #456770)
1669 2008-07-24 Tambet Ingo <tambet@gmail.com>
1671 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Add
1672 format argument to g_set_error() call.
1674 * src/backends/interface_parser.[ch]: Remove.
1676 * src/backends/Makefile.am: Remove unused files interface_parser.[ch].
1678 2008-07-21 Dan Williams <dcbw@redhat.com>
1680 * src/ppp-manager/nm-ppp-manager.c
1681 - (create_pppd_cmd_line): send 'noipdefault' on non-PPPoE connections
1682 to prevent pppd from picking up some random local address from an
1683 interface that doesn't have anything to do with the one we're
1684 interested in (rh #455348)
1686 2008-07-17 Dan Williams <dcbw@redhat.com>
1688 * libnm-util/nm-utils.c
1689 - (string_to_utf8): general function for conversion to UTF-8 assisted
1691 - (nm_utils_ssid_to_utf8): use string_to_utf8()
1692 - (nm_utils_garray_to_string): ensure returned string is UTF-8 safe
1694 2008-07-17 Dan Williams <dcbw@redhat.com>
1696 * introspection/Makefile.am
1697 introspection/nm-device.xml
1698 introspection/nm-dhcp4-config.xml
1699 - Add bits for the DHCP4Config property of the device, and the DHCP4Config
1701 * src/nm-device-interface.c
1702 src/nm-device-interface.h
1703 - Add the DHCP4Config property
1706 - Keep track of DHCP4 options via a new DHCP4Config property and notify
1707 D-Bus clients when it changes
1709 * src/nm-dhcp4-config.c
1710 src/nm-dhcp4-config.h
1711 - Simple object to store DHCP4 options, export them over D-Bus, and
1712 notify when they change
1714 * src/dhcp-manager/nm-dhcp-manager.c
1715 src/dhcp-manager/nm-dhcp-manager.h
1716 - (nm_dhcp_manager_set_dhcp4_config, copy_dhcp4_config_option): copy and
1717 filter server-returned DHCP options into an NMDHCP4Config object
1719 2008-07-16 Dan Williams <dcbw@redhat.com>
1721 * introspection/nm-device.xml
1722 - Add device state reasons
1724 2008-07-16 Dan Williams <dcbw@redhat.com>
1726 Patch from Roy Marples <roy@marples.name>
1729 - Add --with-dhcp-client option
1731 * src/dhcp-manager/Makefile.am
1732 - pass DHCP_CLIENT_PATH on compile line
1734 * src/dhcp-manager/nm-dhcp-manager.c
1735 src/dhcp-manager/nm-dhcp-manager.h
1736 - Genericize for both dhcpcd and dhclient
1738 * src/dhcp-manager/nm-dhcp-dhclient.c
1739 - Move dhclient stuff out to it's own file from nm-dhcp-manager.c
1741 * src/dhcp-manager/nm-dhcp-dhcpcd.c
1742 - Implement support for dhcpcd too
1744 2008-07-16 Tambet Ingo <tambet@gmail.com>
1746 * system-settings/src/nm-system-config-interface.c
1747 (nm_system_config_interface_supports_add): Implement.
1748 (nm_system_config_interface_add_connection): Return a boolean to notify
1751 * system-settings/src/nm-polkit-helpers.c:
1752 * system-settings/src/nm-polkit-helpers.h: Move error declarations to
1755 * system-settings/src/dbus-settings.c (impl_settings_add_connection):
1756 Return an error when none of the plugins support add or if addition
1757 failed for some reason.
1759 * system-settings/src/nm-system-config-error.h:
1760 * system-settings/src/nm-system-config-error.c: New files, mostly moved
1761 here from nm-polkit-helpers.[ch].
1763 * system-settings/src/Makefile.am: Build new files.
1765 * system-settings/plugins/keyfile/reader.c
1766 (read_array_of_array_of_uint): Make it more general so that it would
1767 work for routes as well.
1769 * system-settings/plugins/keyfile/writer.c
1770 (write_array_of_array_of_uint): Ditto.
1771 Fix the netmask/prefix writing.
1773 * system-settings/plugins/keyfile/plugin.c (add_connection): Return
1774 boolean to notify errors.
1776 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c (update):
1777 Return more specific error.
1780 2008-07-11 Dan Williams <dcbw@redhat.com>
1782 Modify the NMDevice::state-changed signal to include the previous state
1783 and reason. Enables the applet to provide more information why device
1786 2008-07-09 Dan Williams <dcbw@redhat.com>
1788 * callouts/Makefile.am
1789 callouts/nm-avahi-autoipd-action.c
1790 callouts/nm-avahi-autoipd.conf
1791 - avahi-autoipd callout to send options back to NM
1798 src/nm-device-private.h
1800 - Use avahi-autoipd for IPv4LL functionality rather than really crappy
1803 2008-07-07 Dan Williams <dcbw@redhat.com>
1805 * system-settings/plugins/ifcfg-fedora/reader.c
1806 - (make_ip4_setting): handle DHCP_HOSTNAME; fix up prefix support to
1807 handle PREFIX too; clean up
1809 2008-07-07 Dan Williams <dcbw@redhat.com>
1811 Convert to using IPv4 prefixes instead of netmasks.
1813 2008-07-03 Dan Williams <dcbw@redhat.com>
1815 * libnm-util/nm-setting-ip4-config.c
1816 libnm-util/nm-setting-ip4-config.h
1817 - Add properties for DHCP Client Identifier and DHCP Hostname
1819 * src/dhcp-manager/nm-dhcp-manager.c
1820 src/dhcp-manager/nm-dhcp-manager.h
1821 - (nm_dhcp_manager_begin_transaction): take the connection's ip4-config
1822 setting as an argument to pass on to the dhclient config file
1824 - (nm_dhcp_manager_cancel_transaction_real): remove dhclient config when
1826 - (dhclient_run): punt config file handling to create_dhclient_config()
1827 - (create_dhclient_config): create an interface-specific dhclient
1828 config file since there may need to be interface-specific options
1830 - (merge_dhclient_config): merge normal distro dhclient config file and
1831 add options from the connection
1832 - (nm_dhcp_device_new): generate the interface specific dhclient
1833 config file path once
1834 - (nm_dhcp_device_destroy): handle partially initialized objects; free
1835 dhclient config file path
1838 - (real_act_stage3_ip_config_start): pass ip4-config, if any, to the
1839 DHCP manager when starting DHCP
1841 2008-07-02 Dan Williams <dcbw@redhat.com>
1843 * libnm-util/nm-setting-8021x.c
1844 - (verify): allow forcing the PEAP label to 0
1846 2008-07-02 Dan Williams <dcbw@redhat.com>
1848 * introspection/nm-active-connection.xml
1849 introspection/nm-vpn-connection.xml
1850 libnm-glib/nm-active-connection.c
1851 src/nm-activation-request.c
1852 src/nm-active-connection.h
1853 src/vpn-manager/nm-vpn-connection.c
1854 - Remove "SharedServiceName" and "SharedConnection" bits from the D-Bus
1855 and libnm-glib API since sharing didn't get implemented that way
1857 2008-07-02 Dan Williams <dcbw@redhat.com>
1859 * src/nm-device-wifi.c
1860 - (can_scan): don't scan when a shared connection is activated since
1861 that makes drivers mad (causing disconnects); also NM doesn't need
1862 to hedge against disconnects by keeping up-to-date network topology
1863 because the connection originates from the local machine, and thus
1864 there should be no disconnects
1866 2008-07-01 Dan Williams <dcbw@redhat.com>
1868 Fix mobile broadband username/password issues. NM was never requesting
1869 mobile broadband secrets, nor was it passing back the username and password
1872 * marshallers/nm-marshal.list
1873 - Add some new types for activation request objects
1875 * src/nm-activation-request.c
1876 src/nm-activation-request.h
1877 - (get_secrets_cb): pass the caller type in the signal
1878 - (nm_act_request_request_connection_secrets): take a caller type, so
1879 that GetSecrets() reply handlers know who asked for the secrets in
1880 the first place; use secret hints too so the settings service can
1881 figure out exactly what NM wants (ie, PIN or the PPP password)
1883 * src/ppp-manager/nm-ppp-manager.c
1884 src/ppp-manager/nm-ppp-manager.h
1885 - (impl_ppp_manager_need_secrets): nm_connection_need_secrets() won't
1886 detect needed secrets when the secret could be blank, like GSM/CDMA
1887 passwords. So always ask for secrets, and send a hint as to what
1888 secret we really want.
1889 - (nm_ppp_manager_update_secrets): make function more generic by making
1890 the device specific class figure out the username and password, and
1891 accept an error argument to return back over D-Bus
1893 * src/nm-device-wifi.c
1894 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1895 nm_act_request_request_connection_secrets()
1896 - (real_connection_secrets_updated): update for 'caller' changes
1900 - (connection_secrets_updated_cb, connection_secrets_failed_cb): update
1901 for 'caller' changes
1903 * src/nm-device-ethernet.c
1904 - (real_connection_secrets_updated): update for 'caller' changes and
1905 move logic for getting PPPoE username and password here before
1906 calling nm_ppp_manager_update_secrets()
1907 - (link_timeout_cb, handle_auth_or_fail): update for changes to
1908 nm_act_request_request_connection_secrets()
1910 * src/nm-cdma-device.c
1911 - (real_connection_secrets_updated): pass username and password back
1912 to the PPP manager when required
1914 * src/nm-gsm-device.c
1915 - (enter_pin): send the required secret name to the settings service
1916 - (real_connection_secrets_updated): pass username and password back
1917 to the PPP manager when required
1919 2008-06-30 Dan Williams <dcbw@redhat.com>
1921 * src/nm-device-wifi.c
1922 - Consistently use NM_DEVICE_WIFI_GET_PRIVATE instead of self->priv
1924 2008-06-30 Dan Williams <dcbw@redhat.com>
1926 Attempt to fix various issues causing rh #448889. Mainly, to qualify for
1927 the DISCONNECTED state, the device must not be rfkilled _and_ have a valid
1928 priv->supplicant.iface. When either condition is false, the device should
1929 transition back to UNAVAILABLE because it cannot be used.
1931 * src/nm-device-wifi.c
1932 - (constructor): cleanup; connect to supplicant manager here since the
1933 supplicant manager is always around
1934 - (supplicant_interface_acquire): rename from init_supplicant_interface,
1935 ensure the supplicant manager is in the IDLE state
1936 - (supplicant_interface_release): rename from cleanup_supplicant_interface,
1937 cancel any pending scans too
1938 - (real_bring_up): don't set up the supplicnat interface here, because
1939 we need the supplicant interface at times when the device may not
1941 - (real_take_down): just remove the periodic source
1942 - (schedule_scan): ensure a state that would peg the CPU doesn't happen
1943 - (remove_supplicant_interface_connection_error_handler): cleanup; don't
1944 do anything if there's no supplicant interface
1945 - (cleanup_association_attempt): cleanup
1946 - (supplicant_iface_state_cb_handler): request an immediate scan when
1947 the interface enters the READY state; transition to UNAVAILABLE
1948 state when the interface goes down because the device can't be used
1949 without a supplicant interface
1950 - (supplicant_mgr_state_cb_handler): if the supplicant goes away, clean
1951 up and transition to UNAVAILABLE; if the supplicant becomes ready,
1952 acquire the supplicant interface and transition to DISCONNECTED
1953 if the radio isn't killed
1954 - (nm_device_wifi_dispose): move most of device_cleanup() here
1955 - (state_changed_cb): release any existing supplicant interface; if the
1956 radio is enabled then try to acquire a new supplicant interface;
1957 if the radio is enabled and a supplicant interface has been acquired,
1958 we can transition to DISCONNECTED
1959 - (nm_device_wifi_set_enabled): if bringing the hardware up failed,
1960 don't enable the radio, because HAL probably lied to us about the
1961 killswitch being off. If bringing the hardware up worked, then
1962 try to grab a supplicant interface, and if that was successful,
1963 transition to DISCONNECTED
1965 2008-06-30 Dan Williams <dcbw@redhat.com>
1967 * src/supplicant-manager/nm-supplicant-interface.c
1968 - (request_scan_results, nm_supplicant_interface_dispose,
1969 wpas_iface_query_scan_results): cleanup; scan_results_timeout is now
1970 the id of the timeout, not a GSource
1972 2008-06-30 Tambet Ingo <tambet@gmail.com>
1974 * src/backends/NetworkManagerSuSE.c (nm_system_activate_nis): Fix a
1975 bunch of typoes introduced by "Patch from David Cantrell
1976 <dcantrell@redhat.com> and me".
1978 2008-06-30 Tambet Ingo <tambet@gmail.com>
1980 * src/nm-serial-device.c:
1981 * src/nm-gsm-device.c:
1982 * src/nm-cdma-device.c: Move the pending call handling to a common location
1983 in serial device. Handle setting device state to failed in one place as well.
1985 2008-06-29 Dan Williams <dcbw@redhat.com>
1987 * src/nm-hal-manager.c
1988 - Rework killswitch handling to query killswitch status immediately
1989 when the first killswitch is added, so that rfkill state is
1990 known as early as possible
1991 - Also treat failure of GetPower() as rfkill when the dbus method
1992 call times out (but not when the HAL callout returns an error)
1994 2008-06-26 Dan Williams <dcbw@redhat.com>
1996 Patch from David Cantrell <dcantrell@redhat.com> and me
1998 * include/nm-dbus-glib-types.h
1999 - Add IP6 address types
2001 * libnm-util/Makefile.am
2002 libnm-util/nm-setting-ip6-config.c
2003 libnm-util/nm-setting-ip6-config.h
2004 - Add IP6 settings object
2006 * libnm-util/nm-connection.c
2007 - (register_default_settings): register ip6 settings object
2009 * libnm-util/nm-utils.c
2010 libnm-util/nm-utils.h
2011 - (nm_utils_ip6_addresses_from_gvalue, nm_utils_ip6_addresses_to_gvalue,
2012 nm_utils_ip6_dns_from_gvalue, nm_utils_ip6_dns_to_gvalue): add
2013 ip6 address conversion functions
2015 2008-06-26 Dan Williams <dcbw@redhat.com>
2017 Patch from David Cantrell <dcantrell@redhat.com>
2019 * Use inet_ntop() and inet_pton() everwhere and check for errors
2021 2008-06-26 Dan Williams <dcbw@redhat.com>
2023 * Update FSF address in license headers (Michael Biebl <biebl@debian.org>)
2025 2008-06-26 Dan Williams <dcbw@redhat.com>
2027 Patch from Adel Gadllah <adel.gadllah@gmail.com>
2029 * src/nm-device-wifi.c
2030 - (link_timeout_cb): don't ignore disconnects due to scanning
2031 - (supplicant_iface_connection_state_cb_handler): instead, schedule
2032 a longer timeout when scanning; avoids case where supplicant can't
2033 find the AP and just keeps scanning forever but isn't connected
2035 2008-06-26 Dan Williams <dcbw@redhat.com>
2037 Patch from Michael Biebl <biebl@debian.org>
2039 * Clean up build system stuff
2041 2008-06-23 Christian Persch <chpe@gnome.org>
2043 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.c:
2044 * vpn-daemons/openvpn/auth-dialog/gnome-two-password-dialog.h:
2045 * vpn-daemons/pptp/auth-dialog-general/anonymous-auth-module.c:
2047 * vpn-daemons/pptp/auth-dialog-general/chap-auth-module.c:
2049 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.c:
2050 * vpn-daemons/pptp/auth-dialog-general/gnome-generic-auth-dialog.h:
2051 * vpn-daemons/pptp/auth-dialog-general/mschapv2-auth-module.c:
2053 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.c:
2054 * vpn-daemons/pptp/auth-dialog/gnome-two-password-dialog.h:
2055 * vpn-daemons/pptp/properties/nm-ppp-properties.c: (impl_setup):
2056 * vpn-daemons/pptp/properties/vpnui_impl.c: (impl_get_object):
2057 * vpn-daemons/pptp/properties/vpnui_opt.c:
2058 (vpnui_opt_connect_signals):
2059 * vpn-daemons/pptp/properties/vpnui_opt.h:
2060 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
2061 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.h: Don't use
2062 deprecated gtk type macros. Bug #539325.
2064 2008-06-20 Dan Williams <dcbw@redhat.com>
2066 * libnm-glib/nm-vpn-plugin-ui-interface.c
2067 libnm-glib/nm-vpn-plugin-ui-interface.h
2068 - 'validity-changed' -> 'changed' to work better with the connection
2069 editor. Plugin UI widgets should emit 'changed' whenever their
2070 UI values change in a meaningful way.
2071 - (nm_vpn_plugin_ui_widget_interface_update_connection): the
2072 update_connection member now returns validity of the UI widget
2074 2008-06-20 Tambet Ingo <tambet@gmail.com>
2076 * libnm-util/nm-connection.c (nm_connection_duplicate): Implement.
2078 2008-06-17 Dan Williams <dcbw@redhat.com>
2080 * libnm-glib/nm-vpn-plugin-ui-interface.c
2081 libnm-glib/nm-vpn-plugin-ui-interface.h
2082 - Add "desc" property for longer descriptions of the VPN plugin
2084 2008-06-16 Dan Williams <dcbw@redhat.com>
2087 libnm-glib/libnm_glib_vpn.pc.in
2088 - add a .pc file for libnm_glib_vpn
2090 * libnm-glib/nm-vpn-plugin-ui-interface.c
2091 libnm-glib/nm-vpn-plugin-ui-interface.h
2092 - Move the glib/GNOME VPN UI plugin interface into libnm-glib and
2093 rework it substantially
2095 2008-06-12 Dan Williams <dcbw@redhat.com>
2097 Add a GError argument to nm_connection_verify() and nm_setting_verify(),
2098 and add error enums to each NMSetting subclass. Each NMSetting subclass now
2099 returns a descriptive GError when verification fails.
2101 2008-06-11 Dan Williams <dcbw@redhat.com>
2103 Patch from Tambet Ingo <tambet@gmail.com>
2105 * libnm-util/nm-setting-gsm.c
2106 - (verify): validate APN
2108 * src/nm-gsm-device.c
2109 - (manual_registration_done): start setting APN if needed
2110 - (set_apn, set_apn_done): set the APN
2111 - (do_dial): use the APN when dialing
2113 2008-06-11 Dan Williams <dcbw@redhat.com>
2115 * src/NetworkManagerSystem.c
2116 - (nm_system_device_set_ip4_route,
2117 nm_system_device_replace_default_ip4_route): check for the right
2118 return value from rtnl_route_add() to know when to add a gateway
2121 2008-06-11 Dan Williams <dcbw@redhat.com>
2123 * src/NetworkManagerPolicy.c
2124 - do_ipt_cmd -> do_cmd
2125 - (sharing_init): use do_cmd() instead of system()
2127 2008-06-10 Dan Williams <dcbw@redhat.com>
2129 The grand 802-11-wireless rename. Get rid of the 802-11/80211/802_11 bits
2130 and use "wifi" everwhere instead.
2132 2008-06-10 Dan Williams <dcbw@redhat.com>
2134 The grand 802-3-ethernet rename. Get rid of the 802-3/8023/802_3 bits.
2136 2008-06-10 Dan Williams <dcbw@redhat.com>
2138 Patch from Tambet Ingo <tambet@gmail.com>
2140 * src/ppp-manager/nm-ppp-manager.c: Add ppp stats monitoring, signal the
2143 * src/nm-serial-device.c: Monitor "ppp-stats" signals from NMPPPManager. Add
2144 a signal to emit these changes over dbus.
2146 * src/Makefile.am: Genereate nm-serial-device-glue.
2148 * libnm-glib/nm-serial-device.[ch]: Implement.
2150 * libnm-glib/nm-cdma-device.[ch]
2151 libnm-glib/nm-gsm-device.[ch]: Inherit from NMSerialDevice.
2153 * libnm-glib/Makefile.am: Add nm-serial-device.[ch].
2155 * introspection/nm-device-serial.xml: Implement.
2157 * introspection/all.xml: Fix a couple of typos, add nm-device-serial.xml.
2159 * introspection/Makefile.am: Add nm-device-serial.xml.
2161 * include/NetworkManager.h: Add a DBus interface for serial device.
2163 2008-06-10 Dan Williams <dcbw@redhat.com>
2166 - Add TARGET_* define to config.h to distinguish distros
2168 * src/dhcp-manager/nm-dhcp-manager.c
2169 - (dhclient_run): use distro-specific path for dhclient config file
2171 2008-06-09 Dan Williams <dcbw@redhat.com>
2173 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2174 src/dnsmasq-manager/nm-dnsmasq-manager.h
2175 - (create_dm_cmd_line): use the IP4 address of the ip4-config to
2176 calculate the addresses passed to dnsmasq instead of hard-coding
2180 - (nm_device_new_ip4_shared_config): be somewhat dynamic when choosing
2181 IP addresses for shared connections to guard against shared
2182 connection address collisions
2183 - (real_act_stage4_get_ip4_config): handle possible NULL ip4-configs on
2185 - (nm_device_activate_stage5_ip_config_commit): pass ip4-config to
2188 2008-06-09 Dan Williams <dcbw@redhat.com>
2190 * src/NetworkManagerPolicy.c
2191 - (update_routing_and_dns): set the default connection _after_ unsetting
2192 default on all non-default connections so that two connections can
2193 never be default at the same time
2194 - (device_state_changed): start and stop connection sharing when
2196 - (active_connection_default_changed): restart or stop sharing when
2197 the default connection changes to keep shared connections always
2198 NAT-ed through the default connection
2199 - (check_sharing): handle activation/deactivation of shared connections
2200 - (sharing_restart): atom-bomb approach to connection sharing until we
2201 can use libnl; reinit all sharing when the default connection or
2202 shared connections change
2203 - (sharing_init, sharing_stop): evil functions that init and deinit
2206 2008-06-09 Dan Williams <dcbw@redhat.com>
2208 * src/nm-activation-request.c
2209 src/nm-activation-request.h
2210 - (nm_act_request_set_shared, nm_act_request_get_shared,
2211 nm_act_request_get_device): new functions to facilitate connection
2214 2008-06-09 Dan Williams <dcbw@redhat.com>
2217 - (clear_act_request): unset the 'default' property of the activation
2218 request when clearing it to ensure the property changed signal gets
2219 delivered and handled
2221 2008-06-09 Dan Williams <dcbw@redhat.com>
2223 * libnm-glib/nm-device-802-11-wireless.c
2224 - (access_point_removed_proxy): actually unref the AP after removing
2225 it from the device's AP list. Fixes refcounting bug for APs that
2226 caused them to get mixed up in the applet's menu.
2228 2008-06-09 Tambet Ingo <tambet@gmail.com>
2230 * src/dhcp-manager/nm-dhcp-manager.c (finalize): Free private members.
2231 (nm_dhcp_device_destroy): Destroy the device options hash table.
2233 2008-06-06 Dan Williams <dcbw@redhat.com>
2235 * system-settings/src/nm-polkit-helpers.c
2236 - (create_polkit_context): in PolicyKit 0.6, polkit_context_init() will
2237 unref the context if the initialization fails; also avoid spew when
2240 2008-06-06 Dan Williams <dcbw@redhat.com>
2242 Patch from Tambet Ingo <tambet@gmail.com>
2244 * src/NetworkManagerSystem.c
2245 src/NetworkManagerSystem.h
2246 - (nm_system_device_add_ip4_route_via_device_with_iface): remove
2247 - (nm_system_device_set_from_ip4_config): remove unused route_to_iface
2248 - (nm_system_device_set_ip4_route): clean up
2249 - (nm_system_vpn_device_set_from_ip4_config): clean up, add VPN routes
2252 - (nm_device_set_ip4_config): remove unused route_to_iface bits
2254 * src/vpn-manager/nm-vpn-connection.c
2255 - (ip_address_to_string): new function
2256 - (print_vpn_config): use ip_address_to_string
2257 - (merge_vpn_routes): add user-defined routes to the ip4 config
2258 - (nm_vpn_connection_ip4_config_get): add routes the VPN server sent
2260 * include/NetworkManagerVPN.h
2263 2008-06-05 Dan Williams <dcbw@redhat.com>
2265 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2268 - Show which device is the default device
2270 2008-06-05 Tambet Ingo <tambet@gmail.com>
2274 * system-settings/src/nm-system-config-hal-manager.c (get_type_for_udi):
2275 Free data returned from dbus method call.
2277 * system-settings/src/nm-polkit-helpers.c (check_polkit_privileges):
2278 dbus_g_method_get_sender() returns a duplicated string, free it
2280 (check_polkit_privileges): Looks like policykit sometimes returns
2281 error and non-null return value, don't leak errors in that case.
2283 * system-settings/src/main.c (find_plugin): Don't leak existing
2285 (load_stuff): Don't leak device list and list items.
2286 (have_connection_for_device): Don't leak connection list.
2288 * system-settings/plugins/keyfile/reader.c (read_one_setting_value):
2289 Free the data received from g_keyfile_get_*.
2291 * system-settings/plugins/ifcfg-suse/parser.c (READ_WEP_KEY): Free
2292 the key when the security object is updated.
2294 * src/supplicant-manager/nm-supplicant-interface.c (scan_results_cb):
2295 Free data returned from dbus method call.
2296 (iface_state_cb): Ditto.
2297 (add_network_cb): Ditto.
2298 (nm_supplicant_interface_add_cb): Don't make another copy of already
2299 duplicated object path.
2300 (nm_supplicant_interface_add_to_supplicant): Free the driver GValue
2303 * src/supplicant-manager/nm-supplicant-config.c
2304 (ADD_STRING_LIST_VAL): Fix a memory leak.
2306 * src/nm-manager.c (free_get_settings_info): Free the allocated
2308 (list_connections_cb): Free data returned from dbus method call.
2309 (system_settings_get_unmanaged_devices_cb): Ditto.
2311 * src/nm-device-802-11-wireless.c (device_cleanup): Free ssid.
2313 * system-settings/plugins/ifcfg-suse/shvar.c (svCloseFile):
2314 * system-settings/plugins/ifcfg-fedora/shvar.c (svCloseFile):
2315 * src/backends/shvar.c (svCloseFile): Free the duplicated content
2318 * libnm-util/nm-setting.c (nm_setting_from_hash): Free the constructor
2319 arguments after the object is created.
2321 2008-06-04 Dan Williams <dcbw@redhat.com>
2323 * libnm-util/Makefile.am
2324 - Don't distribute nm-param-spec-specialized.h
2326 2008-06-02 Tambet Ingo <tambet@gmail.com>
2328 * libnm-util/nm-setting-ip4-config.[ch]: Add static routes property.
2330 * src/nm-ip4-config.[ch]: Store the static routes as a list of
2331 NMIP4Address, update the getters and setters.
2333 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2334 Use the updated NMIP4Config routes api.
2336 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Merge
2337 static routes as well.
2339 * src/NetworkManagerSystem.c (netmask_to_prefix): Implement.
2340 (nm_system_device_set_from_ip4_config): Use the updated NMIP4Config
2343 2008-05-30 Dan Williams <dcbw@redhat.com>
2345 * src/named-manager/nm-named-manager.c
2346 src/named-manager/nm-named-manager.h
2347 - Remove stale/obsolete bits for controlling bind over DBus
2349 2008-05-29 Dan Williams <dcbw@redhat.com>
2351 * src/dnsmasq-manager/nm-dnsmasq-manager.c
2352 src/dnsmasq-manager/nm-dnsmasq-manager.h
2353 - (nm_dnsmasq_manager_new): move iface argument here
2354 - (constructor): remove, not needed
2355 - (get_pidfile_for_iface, create_dm_cmd_line, kill_existing_for_iface,
2356 nm_dnsmasq_manager_start, nm_dnsmasq_manager_stop): use priv->pidfile
2359 - (real_act_stage4_get_ip4_config,
2360 nm_device_activate_stage5_ip_config_commit): fix for dnsmasq manager
2363 2008-05-29 Dan Williams <dcbw@redhat.com>
2366 - (dnsmasq_state_changed_cb): new function; fail the connection if
2367 something happens to dnsmasq
2368 - (nm_device_new_ip4_shared_config): new function; create a new
2369 ip4-config for shared connections. Shared connections always use a
2370 fixed static IP address.
2371 - (real_act_stage4_get_ip4_config): handle shared connections; fix
2372 autoip connections by actually using the returned ip4-config and
2374 - (nm_device_activate_stage5_ip_config_commit): start dnsmasq for shared
2376 - (nm_device_deactivate_quickly, nm_device_dispose): terminate dnsmasq
2379 2008-05-29 Dan Williams <dcbw@redhat.com>
2381 * src/nm-device-802-11-wireless.c
2382 - (real_get_best_auto_connection): auto-activate 'shared' method
2385 2008-05-29 Dan Williams <dcbw@redhat.com>
2387 * libnm-util/nm-setting-ip4-config.c
2388 libnm-util/nm-setting-ip4-config.h
2389 - Add a 'shared' method to indicate that this connection should be
2390 brought up with a DHCP and proxy DNS server to facilitate
2392 - (verify): 'shared' method doesn't allow DNS or searches either
2394 2008-05-29 Dan Williams <dcbw@redhat.com>
2398 src/dnsmasq-manager/Makefile.am
2399 src/dnsmasq-manager/nm-dnsmasq-manager.c
2400 src/dnsmasq-manager/nm-dnsmasq-manager.h
2401 - Add a dnsmasq daemon manager to facilitate connection sharing
2403 2008-05-29 Dan Williams <dcbw@redhat.com>
2405 * src/nm-device-private.h
2406 - Remove unused prototypes and clean up
2409 - Remove anything related to system_config_data, which is no longer used
2410 - (nm_device_new_ip4_autoip_config): make static
2412 2008-05-29 Tambet Ingo <tambet@gmail.com>
2414 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c
2415 (file_changed): Fix a bug where suse system settings plugin didn't
2416 update the connections automatically when the files changed.
2418 2008-05-28 Dan Williams <dcbw@redhat.com>
2420 Revert r3697 (adhoc-create property patch); it's the wrong way to do this.
2422 2008-05-28 Dan Williams <dcbw@redhat.com>
2424 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2426 * src/NetworkManagerSystem.c
2427 - (nm_system_device_flush_ip4_routes_with_iface): implement with libnl
2428 - (nm_system_vpn_device_set_from_ip4_config): don't flush routes here,
2429 was causing -EINVAL errors since the libnl code actually does flush
2430 the routes on VPN interfaces now
2432 * src/backends/NetworkManagerArch.c
2433 src/backends/NetworkManagerDebian.c
2434 src/backends/NetworkManagerFrugalware.c
2435 src/backends/NetworkManagerGeneric.c
2436 src/backends/NetworkManagerGentoo.c
2437 src/backends/NetworkManagerMandriva.c
2438 src/backends/NetworkManagerPaldo.c
2439 src/backends/NetworkManagerRedHat.c
2440 src/backends/NetworkManagerSlackware.c
2441 src/backends/NetworkManagerSuSE.c
2442 - (nm_system_device_flush_ip4_routes,
2443 nm_system_device_flush_ip4_routes_with_iface): remove
2445 2008-05-28 Dan Williams <dcbw@redhat.com>
2447 * libnm-util/nm-setting-wireless.c
2448 libnm-util/nm-setting-wireless.h
2449 - (set_property, get_property, nm_setting_wireless_class_init): add the
2450 'adhoc-create' property, which when TRUE indicates that NM should
2451 create this connection as an adhoc wifi network if it's not found
2452 as an adhoc network during scanning. Can be used to auto-create
2453 adhoc networks when used in combination with autoconnect.
2455 2008-05-28 Tambet Ingo <tambet@gmail.com>
2457 Patch from Dennis Noordsij <dennis.noordsij@helsinki.fi>.
2459 * src/nm-gsm-device.c: Don't try to reset the modem before PIN is
2460 checked, it doesn't work on some devices.
2462 2008-05-28 Tambet Ingo <tambet@gmail.com>
2464 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Make sure
2465 pppd gets killed, if SIGTERM doesn't do it's job, SIGKILL it.
2467 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get_ip4_config):
2468 Use inet_aton() everywhere to improve error detection.
2469 Don't fall back to 'dhcp_server_identifier' if the gateway is not
2472 2008-05-26 Tambet Ingo <tambet@gmail.com>
2474 * system-settings/plugins/ifcfg-suse/plugin.c (get_unamanged_devices_cb):
2477 2008-05-26 Tambet Ingo <tambet@gmail.com>
2479 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_get_service): Fix a
2480 reference counting issue.
2482 2008-05-23 Dan Williams <dcbw@redhat.com>
2484 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2486 * src/backends/NetworkManagerGeneric.c
2487 - (nm_generic_enable_loopback): use libnl
2489 2008-05-23 Dan Williams <dcbw@redhat.com>
2491 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2493 * src/NetworkManagerSystem.h
2494 src/backends/NetworkManagerArch.c
2495 src/backends/NetworkManagerDebian.c
2496 src/backends/NetworkManagerFrugalware.c
2497 src/backends/NetworkManagerGentoo.c
2498 src/backends/NetworkManagerMandriva.c
2499 src/backends/NetworkManagerPaldo.c
2500 src/backends/NetworkManagerRedHat.c
2501 src/backends/NetworkManagerSlackware.c
2502 src/backends/NetworkManagerSuSE.c
2503 - (nm_system_device_has_active_routes, nm_system_flush_loopback_routes,
2504 nm_system_flush_arp_cache): remove, unused
2506 * src/backends/NetworkManagerGeneric.c
2507 src/backends/NetworkManagerGeneric.h
2508 - (nm_generic_device_has_active_routes, nm_generic_flush_loopback_routes,
2509 nm_generic_flush_arp_cache): remove, unused
2511 2008-05-23 Dan Williams <dcbw@redhat.com>
2513 * system-settings/plugins/ifcfg-fedora/reader.c
2514 - (make_ip4_setting): honor PEERDNS setting
2516 2008-05-23 Dan Williams <dcbw@redhat.com>
2518 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
2520 * src/NetworkManagerSystem.c
2521 - (nm_system_device_flush_ip4_addresses_with_iface): implement with
2524 * src/backends/NetworkManagerArch.c
2525 src/backends/NetworkManagerDebian.c
2526 src/backends/NetworkManagerFrugalware.c
2527 src/backends/NetworkManagerGentoo.c
2528 src/backends/NetworkManagerMandriva.c
2529 src/backends/NetworkManagerPaldo.c
2530 src/backends/NetworkManagerRedHat.c
2531 src/backends/NetworkManagerSlackware.c
2532 src/backends/NetworkManagerSuSE.c
2533 - (nm_system_device_flush_ip4_addresses,
2534 nm_system_device_flush_ip4_addresses_with_iface): remove
2536 * src/backends/NetworkManagerGeneric.c
2537 - (nm_generic_device_flush_ip4_addresses,
2538 nm_generic_device_flush_ip4_addresses_with_iface): remove
2540 2008-05-23 Dan Williams <dcbw@redhat.com>
2542 * src/supplicant-manager/nm-supplicant-settings-verify.c
2543 - Switch 'bssid' from bytes to keyword type
2544 - (validate_type_keyword): allow NULL keyword lists
2546 * src/supplicant-manager/nm-supplicant-config.c
2547 - (nm_supplicant_config_add_setting_wireless): convert the bssid from
2548 a byte array to string form, which is what the supplicant expects
2550 2008-05-23 Tambet Ingo <tambet@gmail.com>
2552 Add a flag to NMSettingIP4Config to make it possible to ignore the DNS
2553 information received from DHCP.
2555 * libnm-util/nm-setting-ip4-config.c: Add a new membet "ignore_dhcp_dns"
2556 to make it possible to ignore the DNS information (both servers and
2557 searches) returned by DHCP server.
2559 * src/NetworkManagerUtils.c (nm_utils_merge_ip4_config): Reset the
2560 name servers and searches if "ignore_dhcp_dns" is set.
2562 * src/nm-ip4-config.c (nm_ip4_config_reset_nameservers)
2563 (nm_ip4_config_reset_searches): Implement.
2565 2008-05-22 Dan Williams <dcbw@redhat.com>
2567 Remove anything mDNS related. This is better done from a distro-specific
2568 dispatcher script. Plus, any distro using avahi doesn't need to restart
2569 avahi, since avahi can handle interface changes just fine using netlink.
2572 - Remove --with-mdns-provider
2574 * src/NetworkManagerPolicy.c
2575 - (global_state_changed): don't restart the mdns provider
2577 * src/NetworkManagerSystem.h
2578 src/backends/NetworkManagerArch.c
2579 src/backends/NetworkManagerDebian.c
2580 src/backends/NetworkManagerFrugalware.c
2581 src/backends/NetworkManagerGentoo.c
2582 src/backends/NetworkManagerMandriva.c
2583 src/backends/NetworkManagerPaldo.c
2584 src/backends/NetworkManagerRedHat.c
2585 src/backends/NetworkManagerSlackware.c
2586 src/backends/NetworkManagerSuSE.c
2587 - (nm_system_restart_mdns_responder): remove
2589 * src/backends/NetworkManagerGeneric.c
2590 src/backends/NetworkManagerGeneric.h
2591 - (nm_generic_restart_mdns_responder): remove
2593 2008-05-22 Dan Williams <dcbw@redhat.com>
2596 - clean up crypto options; just use --with-crypto=nss or
2597 --with-crypto=gnutls
2599 2008-05-22 Tambet Ingo <tambet@gmail.com>
2601 * src/nm-manager.c (impl_manager_sleep): No need to schedule the sync
2602 anymore, do it right away.
2604 2008-05-22 Tambet Ingo <tambet@gmail.com>
2606 * src/nm-gsm-device.c (device_state_changed): Make sure we don't leave the
2607 serial device open when we're not connecting or connected.
2609 * src/nm-cdma-device.c (device_state_changed): Ditto.
2611 2008-05-22 Tambet Ingo <tambet@gmail.com>
2613 Don't remove all devices on waking up, sync with HAL.
2615 * src/nm-manager.c (nm_manager_udi_is_managed): Implement.
2616 (sync_devices): Implement, based on hal_manager_hal_reappeared_cb.
2617 (hal_manager_hal_reappeared_cb): Just call sync_devices.
2619 2008-05-21 Tambet Ingo <tambet@gmail.com>
2621 * src/NetworkManagerSystem.c (nm_system_device_replace_default_ip4_route):
2622 If the default gateway is unreachable, add a route to gateway and try
2625 2008-05-20 Dan Williams <dcbw@redhat.com>
2627 * system-settings/plugins/ifcfg-fedora/reader.c
2628 - (add_one_wep_key): handle ASCII WEP keys too (rh #293111)
2630 2008-05-19 Dan Williams <dcbw@redhat.com>
2632 * system-settings/plugins/ifcfg-fedora/reader.c
2633 - (make_ip4_setting): get a fallback gateway from /etc/sysconfig/network
2634 if the ifcfg doesn't specify one (rh #446527)
2636 2008-05-19 Dan Williams <dcbw@redhat.com>
2638 Make the system settings service exit when the bus goes away. Since it's
2639 a bus-activated service, it's lifetime is limited to the bus that activated
2642 * system-settings/src/Makefile.am
2643 system-settings/src/nm-system-config-hal-manager-private.h
2644 - Remove nm-system-config-hal-manager-private.h
2646 * system-settings/src/nm-system-config-hal-manager.c
2647 - (nm_system_config_hal_manager_reinit_dbus,
2648 nm_system_config_hal_manager_deinit_dbus): remove
2650 * system-settings/src/main.c
2651 - (dbus_reconnect): remove
2652 - (dbus_cleanup): don't tell the HAL manager to deinit dbus
2653 - (destroy_cb): just quit when the bus goes away
2654 - (start_dbus_service, dbus_init): simplify
2655 - (main): destroy the wired devices hash table after destroying
2656 the HAL manager so we don't have to disconnect signals from the
2659 2008-05-15 Tambet Ingo <tambet@gmail.com>
2661 Move crypto functions from nm-applet to libnm-util.
2663 * libnm-util/nm-setting-8021x.c (nm_setting_802_1x_set_ca_cert)
2664 (nm_setting_802_1x_set_client_cert)
2665 (nm_setting_802_1x_set_phase2_ca_cert)
2666 (nm_setting_802_1x_set_phase2_client_cert)
2667 (nm_setting_802_1x_set_private_key)
2668 (nm_setting_802_1x_set_phase2_private_key): Implement. Given a certificate
2669 file (or private key and it's password), read the certificate data.
2671 * libnm-util/crypto_nss.c:
2672 * libnm-util/crypto_gnutls.c:
2673 * libnm-util/crypto.[ch]: Move here from nm-applet.
2675 * configure.in: Check for NSS and gnutls here (moved here from nm-applet).
2677 * system-settings/plugins/ifcfg-suse/parser.c (read_wpa_eap_settings):
2678 Imlement WPA-EAP configuration reading from sysconfig.
2680 2008-05-16 Dan Williams <dcbw@redhat.com>
2682 * src/nm-device-802-11-wireless.c
2683 - (nm_device_802_11_wireless_set_enabled): request a scan after enabling
2686 2008-05-14 Dan Williams <dcbw@redhat.com>
2688 Fix Linus' bug in rh #134886
2690 * src/nm-device-802-3-ethernet.c
2691 - (constructor): request initial carrier state
2693 * src/nm-netlink-monitor.c
2694 - (nm_netlink_monitor_request_status): schedule emission of carrier
2695 signals after refilling the link cache. Because the refill is a
2696 synchronous operation, the normal message hander won't get called
2697 since libnl has already consumed the messages.
2698 - (deferred_emit_carrier_state): emit carrier states from an idle handler
2700 2008-05-14 Dan Williams <dcbw@redhat.com>
2702 * src/NetworkManagerSystem.c
2703 - (nm_system_device_is_up_with_iface): clean up
2705 2008-05-13 Dan Williams <dcbw@redhat.com>
2707 Fix refcounting issues over sleep/wake when a VPN connection was active that
2708 caused NM to try registering an object path for a device upon wake that was
2709 the same as an already registered object path.
2712 - (nm_device_take_down): properly handle cases where the device is
2713 no longer active but was just active, and therefore must be
2714 deactivated. When a device moves to unmanaged mode, this function
2715 previously would not deactivate the device, because the state was
2716 already unmanaged by the time this function was called.
2718 * src/vpn-manager/nm-vpn-connection.c
2719 - (device_state_changed): properly handle multiple devices states in
2720 which the device is now deactivated. Code previously didn't handle
2721 transitions to the UNAVAILABLE (like rfkill or carrier off) and
2724 2008-05-13 Dan Williams <dcbw@redhat.com>
2726 * src/nm-device-private.h
2728 - (nm_device_hw_bring_up, nm_device_hw_take_down): export
2730 * src/nm-device-802-11-wireless.c
2731 - (nm_device_802_11_wireless_set_enabled): take devices up
2732 and down as appropriate for the rfkill state
2734 2008-05-13 Dan Williams <dcbw@redhat.com>
2736 * marshallers/nm-marshal.list
2737 - Add VOID:POINTER,STRING marshaller for ifcfg-fedora plugin
2739 * system-settings/plugins/ifcfg-fedora/Makefile.am
2740 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.c
2741 system-settings/plugins/ifcfg-fedora/nm-inotify-helper.h
2742 - Implement a minimal inotify helper for watch paths for IN_CLOSE_WRITE
2743 events. Solely for use watching ifcfg files to pick up changes
2744 to their hardlinks, since GIO doesn't support this yet (bgo #532815)
2746 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2747 - (nm_ifcfg_connection_class_init): new 'ifcfg-changed' signal when the
2748 file contents change
2749 - (finalize): clean up inotify watches
2750 - (nm_ifcfg_connection_new): store keyfile; inotify watch the keyfile
2751 and the connection ifcfg for changes on their hardlinks
2752 - (files_changed_cb): proxy the changed signal back out to listeners
2754 * system-settings/plugins/ifcfg-fedora/plugin.c
2756 - (connection_ifcfg_changed): re-read the connection when the ifcfg
2758 - (read_one_connection): connect to change signals on the new connection
2759 - (dir_changed, connection_changed_handler,
2760 handle_connection_remove_or_new): break out connection change
2761 handling and connection new/remove handling so it can be used from
2762 both the GFileMonitor callback and the NMIfcfgConnection changed
2765 * system-settings/plugins/ifcfg-fedora/reader.c
2766 system-settings/plugins/ifcfg-fedora/reader.h
2767 - (connection_from_file): return the keyfile path the connection would use
2769 2008-05-13 Tambet Ingo <tambet@gmail.com>
2771 * system-settings/src/nm-polkit-helpers.c (create_polkit_context): Use a
2772 single PolKitContext which is shared by all. PolKitContext::unref leaks
2773 just about everything, including all open file descriptiors and results
2774 in 99% cpu usage when data arrives to any of the fds that don't belong
2775 to any context anymore.
2777 2008-05-12 Dan Williams <dcbw@redhat.com>
2779 * gfilemonitor/glocaldirectorymonitor.c
2780 gfilemonitor/glocaldirectorymonitor.h
2781 - (g_local_directory_monitor_constructor): actually subscribe to the
2783 - (_g_local_directory_monitor_new): ensure that inotify is started up
2785 * gfilemonitor/glocalfilemonitor.c
2786 gfilemonitor/glocalfilemonitor.h
2787 - (g_local_file_monitor_constructor): actually subscribe to the watch
2788 - (_g_local_file_monitor_new): ensure that inotify is started up
2790 2008-05-11 Dan Williams <dcbw@redhat.com>
2793 - record PolicyKit version
2795 * system-settings/src/nm-polkit-helpers.c
2796 - (check_polkit_privileges): use polkit_context_can_caller_do_action()
2797 with PolicyKit <= 0.6
2799 2008-05-11 Dan Williams <dcbw@redhat.com>
2801 Update Fedora system-settings plugin to support latest API and use
2802 GFileMonitor rather than home-rolled inotify code.
2804 * system-settings/plugins/ifcfg-fedora/Makefile.am
2805 system-settings/plugins/ifcfg-fedora/common.h
2806 system-settings/plugins/ifcfg-fedora/plugin.c
2807 - Update to latest system settings plugin API; use GIO instead of
2808 custom inotify code; use NMIfcfgConnection objects instead of
2809 ConnectionData structures tacked onto NMConnection objects
2811 * system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.c
2812 system-settings/plugins/ifcfg-fedora/nm-ifcfg-connection.h
2813 - Implement an NMExportedConnection subclass mapping ifcfg files to
2816 * system-settings/plugins/ifcfg-fedora/reader.c
2817 system-settings/plugins/ifcfg-fedora/reader.h
2818 - Move ifcfg parsing bits here from parser.c
2820 * system-settings/plugins/ifcfg-fedora/parser.c
2821 system-settings/plugins/ifcfg-fedora/parser.h
2822 - Remove; most code moved to reader.c
2824 2008-05-11 Dan Williams <dcbw@redhat.com>
2829 - Add a private copy of the GIO GFileMonitor code, with a custom GFile
2830 implementation, so that the same change monitoring code can be used
2831 on systems without glib-2.14 (like Fedora 8)
2833 * system-settings/plugins/keyfile/Makefile.am
2834 system-settings/plugins/keyfile/plugin.c
2835 system-settings/plugins/ifcfg-suse/Makefile.am
2836 system-settings/plugins/ifcfg-suse/plugin.c
2837 - Use private gfilemonitor code if GIO is not present
2839 2008-05-09 Tambet Ingo <tambet@gmail.com>
2841 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c: Implement
2842 NMExportedConnection's 'update' and 'delete' and return error with
2843 descriptive message.
2845 2008-05-08 Dan Williams <dcbw@redhat.com>
2847 Patch from Markus Becker <mab@comnets.uni-bremen.de>
2849 * src/nm-gsm-device.c
2850 src/nm-cdma-device.c
2851 - (real_get_best_auto_connection): implement; allow autoconnection
2852 to GSM & CDMA devices
2854 2008-05-08 Tambet Ingo <tambet@gmail.com>
2856 Use PolicyKit to authorize the system settings' AddConnection method
2857 and the system settings connections' Update and Delete methods.
2859 * libnm-glib/nm-settings.c (impl_exported_connection_update)
2860 (impl_exported_connection_delete, nm_exported_connection_update)
2861 (nm_exported_connection_delete): Return boolean and fill GError
2862 to notify the callers of the reasons why it might have failed.
2864 * libnm-glib/nm-dbus-settings-system.c
2865 (nm_dbus_settings_system_add_connection): Return the error from dbus
2866 call so that the callers can see why it failed.
2868 * libnm-glib/nm-dbus-connection.c (update, delete): Update the
2871 * system-settings/src/nm-polkit-helpers.[ch]: Implement.
2873 * system-settings/src/nm-sysconfig-connection.[ch]: Implement. New
2874 abstract base class that checks PolicyKit permissions.
2876 * system-settings/src/dbus-settings.c:
2877 (impl_settings_add_connection): Check the policy before carring out
2880 * system-settings/plugins/keyfile/nm-keyfile-connection.c:
2881 Inherit from NMSysconfigConnection, check the policies before
2882 allowing updating or removing.
2884 * system-settings/plugins/ifcfg-suse/nm-suse-connection.c:
2885 Inherit from NMSysconfigConnection.
2887 * introspection/nm-exported-connection.xml: Annotate "Update" and
2888 "Delete" methods with async flag so that the implementations can get
2889 access to DBusGMethodInvocation.
2891 * system-settings/src/dbus-settings.c
2892 (settings_add_connection_check_privileges): Implement.
2893 (impl_settings_add_connection): Check the privileges before adding a new
2894 connection. Improve error reporting.
2896 * introspection/nm-settings-system.xml: Make the 'AddConnection' method
2897 async so that the implementation can access DBusGMethodInvocation.
2899 * configure.in: Check for PolicyKit.
2901 * policy/org.freedesktop.network-manager-settings.system.policy:
2904 * policy/Makefile.am: Install the policy file.
2906 * configure.in: Add 'policy' subdir.
2908 2008-05-08 Tambet Ingo <tambet@gmail.com>
2910 Rewrite the suse system settings plugin.
2912 * system-settings/plugins/ifcfg-suse/plugin.c: Rewrite.
2914 * system-settings/plugins/ifcfg-suse/parser.c: Rewrite.
2916 * system-settings/plugins/ifcfg-suse/nm-suse-connection.[ch]: Implement.
2918 * system-settings/plugins/ifcfg-suse/Makefile.am: Add new files to build.
2920 * system-settings/src/dbus-settings.c: Fix connection reference counting.
2922 * system-settings/src/main.c (load_plugins): Improve error reporting.
2924 * system-settings/src/sha1.[ch] Add.
2926 * system-settings/src/Makefile.am: Add sha1[ch] to build.
2928 2008-05-07 Dan Williams <dcbw@redhat.com>
2930 * system-settings/plugins/keyfile/reader.c
2931 - (read_one_setting_value): handle IP address items separately
2932 - (read_array_of_uint): read IPv4 DNS option as a string array
2933 - (read_array_of_array_of_uint): read IPv4 address tuples as a string
2936 * system-settings/plugins/keyfile/writer.c
2937 - (write_setting_value): handle IP address items separately
2938 - (write_array_of_uint): handle IPv4 DNS option as a string array,
2939 not an array of uint, so that it's user-editable
2940 - (write_array_of_array_of_uint): handle IPv4 address tuples as string
2941 arrays, so they are user-editable
2943 2008-05-07 Dan Williams <dcbw@redhat.com>
2945 * system-settings/plugins/keyfile/Makefile.am
2946 - Change location of the keyfile plugin settings to
2947 /etc/NetworkManager/system-connections
2949 2008-05-05 Tambet Ingo <tambet@gmail.com>
2951 * system-settings/plugins/keyfile/nm-keyfile-connection.[ch]: Implement.
2953 * system-settings/plugins/keyfile/plugin.c: Work with
2954 NMKeyfileConnections.
2956 * system-settings/src/dbus-settings.c: Remove NMSysconfigExportedConnection.
2957 Plugins are supposed to return NMExportedConnections now and handle the
2958 updated(), removed(), and GetSecrets().
2959 Store the internal list of connections in hash table to make it easier
2962 2008-05-07 Tambet Ingo <tambet@gmail.com>
2964 * src/backends/NetworkManagerSuSE.c (nm_system_set_hostname): Update
2965 for multiple IP addresses.
2967 2008-05-07 Tambet Ingo <tambet@gmail.com>
2969 Patch from André Lemos.
2971 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Fix a memory
2974 2008-05-06 Dan Williams <dcbw@redhat.com>
2976 * src/dhcp-manager/nm-dhcp-manager.c
2977 - (nm_dhcp_manager_get_ip4_config): clean up; update for changes to
2978 NMIP4Config to support multiple IP addresses
2980 * src/NetworkManagerUtils.c
2981 - (nm_utils_merge_ip4_config): update for multiple IP addresses
2983 * src/nm-ip4-config.c
2985 - Store a list of IPv4 address/netmask/gateway tuples
2986 - (nm_ip4_config_get_gateway, nm_ip4_config_set_gateway,
2987 nm_ip4_config_get_netmask, nm_ip4_config_set_netmask,
2988 nm_ip4_config_get_broadcast, nm_ip4_config_set_broadcast,
2989 nm_ip4_config_set_address): remove
2990 - (nm_ip4_config_take_address, nm_ip4_config_add_address,
2991 nm_ip4_config_replace_address, nm_ip4_config_get_num_addresses):
2992 new functions; handle multiple IPv4 addresses
2995 src/ppp-manager/nm-ppp-manager.c
2996 src/vpn-manager/nm-vpn-connection.c
2997 src/NetworkManagerPolicy.c
2999 libnm-glib/libnm-glib-test.c
3000 - update for changes to NMIP4Config for multiple IPv4 addresses
3002 * src/NetworkManagerSystem.c
3003 - (nm_system_device_set_ip4_route): don't add the route if any address
3004 is on the same subnet as the destination
3005 - (check_one_address): ignore the exact match, just match family and
3007 - (add_ip4_addresses): add all IPv4 addresses in an NMIP4Config to
3009 - (nm_system_device_set_from_ip4_config): use add_ip4_addresses()
3010 - (nm_system_vpn_device_set_from_ip4_config): use add_ip4_addresses()
3012 * introspection/nm-ip4-config.xml
3013 - Remove 'address', 'gateway', 'netmask', and 'broadcast' properties
3014 - Add 'addresses' property which is an array of (uuu) tuples of
3015 address/netmask/gateway
3017 * libnm-util/nm-setting-ip4-config.c
3018 - (set_property): use ip-address <-> GValue converters from nm-utils.c
3020 * libnm-glib/nm-ip4-config.c
3021 libnm-glib/nm-ip4-config.h
3022 - Handle D-Bus interface changes to support multiple IP addresses
3024 2008-05-06 Dan Williams <dcbw@redhat.com>
3026 * libnm-util/nm-utils.c
3027 libnm-util/nm-utils.h
3028 - (nm_utils_ip4_addresses_from_gvalue,
3029 nm_utils_ip4_addresses_to_gvalue): new functions
3031 2008-05-06 Tambet Ingo <tambet@gmail.com>
3033 * libnm-glib/nm-dbus-settings.c (fetch_connections_done): Don't leak
3034 the returned connection paths.
3036 2008-05-05 Tambet Ingo <tambet@gmail.com>
3038 * libnm-glib/nm-dbus-settings.c (constructor): Fix the
3039 "PropertiesChanged" signal signature.
3041 * libnm-glib/nm-dbus-connection.c (constructor): Use the common GType
3042 defined in nm-dbus-glib-types.h.
3043 Don't register the connection on dbus, we're a proxy class to
3044 communicate with an already registered connection over dbus.
3046 2008-04-30 Tambet Ingo <tambet@gmail.com>
3048 Implement new subclasses of NMSettings and NMExportedConnection to make
3049 it easier for the applet to access and modify system settings.
3051 * libnm-glib/nm-dbus-connection.[ch]:
3052 * libnm-glib/nm-dbus-settings.[ch]:
3053 * libnm-glib/nm-dbus-settings-system.[ch]: Implement.
3055 * libnm-glib/Makefile.am: Add the new files to build, generate some more
3058 * include/NetworkManager.h: Define the system settings DBus interface.
3060 2008-04-30 Tambet Ingo <tambet@gmail.com>
3062 Implement additional C API for exported connections to make them identical
3063 with the DBus API. Change the (list_connections) virtual function to be
3064 more usable from C - instead of requiring implementers to return a GPtrArray
3065 of dbus paths, return a list of connections.
3067 * libnm-glib/nm-settings.c (nm_exported_connection_class_init): Fix a typo.
3068 (nm_settings_list_connections):
3069 (nm_exported_connection_new):
3070 (nm_exported_connection_update):
3071 (nm_exported_connection_delete): Implement.
3073 (impl_settings_list_connections):
3074 (impl_exported_connection_update):
3075 (impl_exported_connection_delete): Use the new public functions to make
3076 sure the C and dbus interfaces stay in sync.
3078 * system-settings/src/dbus-settings.c (list_connections): Return a list of
3081 2008-05-02 Dan Williams <dcbw@redhat.com>
3083 * system-settings/plugins/ifcfg-fedora/plugin.c
3084 - (dispose): use right unref call on the DBusGConnection
3086 2008-05-02 Dan Williams <dcbw@redhat.com>
3088 * src/nm-serial-device.c
3089 - (find_terminator): don't compare the whole line, just the size of the
3090 terminator, since some modems put stuff after the terminator, like
3093 2008-05-01 Dan Williams <dcbw@redhat.com>
3095 Patch from Michael Biebl <biebl@debian.org>
3097 * callouts/Makefile.am
3098 callouts/org.freedesktop.nm_dispatcher.service.in
3099 system-settings/src/Makefile.am
3100 system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service.in
3101 - use the right install location for dbus-activated stuff
3103 2008-04-30 Dan Williams <dcbw@redhat.com>
3105 * src/nm-gsm-device.c
3106 - (enter_pin): fix setting name passed to applets when asking for a GSM
3109 2008-04-30 Dan Williams <dcbw@redhat.com>
3112 - (nm_manager_error_get_type): remove erroneous NULL enum from table
3114 2008-04-30 Dan Williams <dcbw@redhat.com>
3116 * src/nm-device-802-3-ethernet.c
3117 src/nm-device-802-11-wireless.c
3118 - (real_is_up): return true instead of chaining up to unimplemented
3121 2008-04-30 Dan Williams <dcbw@redhat.com>
3123 * src/NetworkManagerSystem.c
3124 src/NetworkManagerSystem.h
3125 - (nm_system_device_is_up, nm_system_device_is_up_with_iface): new
3126 functions to check device flags for IFF_UP
3128 * src/nm-serial-device.c
3129 - (real_is_up): remove; NMDevice now returns TRUE if the subclass doesn't
3132 * src/nm-device-802-3-ethernet.c
3133 src/nm-device-802-11-wireless.c
3134 - (real_hw_is_up): call nm_system_device_is_up()
3137 - (real_hw_is_up): move to nm_system_device_is_up_with_iface()
3138 - (real_is_up): remove; nm_device_is_up() returns TRUE if subclass
3141 2008-04-29 Dan Williams <dcbw@redhat.com>
3143 Handle HAL dropouts better; allow NM to start up even if HAL isn't up yet.
3145 * marshallers/nm-marshal.list
3148 * src/NetworkManager.c
3149 - (main): let the NMManager handle the NMHalManager
3151 * src/nm-hal-manager.c
3152 src/nm-hal-manager.h
3153 - convert to a GObject, and emit singals when stuff changes. Let the
3154 NMManager handle the signals, instead of the NMHalManager calling
3159 - (remove_one_device): consolidate device removals here
3160 - (dispose): use remove_one_device()
3161 - (nm_manager_get_device_by_udi): make static
3162 - (deferred_hal_manager_query_devices): idle handler to query the HAL
3163 manager for devices at startup or wakeup time
3164 - (nm_manager_new): create and monitor the HAL manager
3165 - (hal_manager_udi_added_cb): new function; do what
3166 nm_manager_add_device() used to do when signalled by the hal manager
3167 - (hal_manager_udi_removed_cb): new function; do what
3168 nm_manager_remove_device() used to do when signalled by the hal
3170 - (hal_manager_rfkill_changed_cb): handle rfkill changes from the
3172 - (hal_manager_hal_reappeared_cb): when HAL comes back, remove devices
3173 in our device list that aren't known to HAL
3174 - (impl_manager_sleep): on wakeup, re-add devices from an idle handler;
3175 see comments on nm-hal-manager.c::nm_manager_state_changed() a few
3177 - (nm_manager_get_device_by_path, nm_manager_is_udi_managed,
3178 nm_manager_activation_pending, nm_manager_wireless_enabled,
3179 nm_manager_wireless_hardware_enabled,
3180 nm_manager_set_wireless_hardware_enabled): remove, unused
3182 2008-04-28 Dan Williams <dcbw@redhat.com>
3184 Fix the device up/down ambiguities. Up/down state used to be a
3185 conglomeration of hardware state (IFF_UP) and any device-specific things
3186 (supplicant, periodic timers, etc) that the device used to indicate
3187 readiness. Unfortunately, if the hardware was already IFF_UP for some
3188 reason, then the device specific stuff wouldn't get run, and the device
3193 - Create hw_is_up, hw_bring_up, and hw_take_down
3194 - Rename bring_down -> take_down
3195 - (real_hw_is_up): check interface flags for IFF_UP
3196 - (nm_device_hw_is_up): let subclasses figure out their own HW state
3197 - (nm_device_is_up): make static; only used locally
3198 - (nm_device_hw_bring_up): update the hardware and IPv4 addresses even
3199 if the device is already up; if the device isn't up, bring it up
3200 - (nm_device_hw_take_down): just take down hardware
3201 - (nm_device_bring_up): bring up HW first, then device specific stuff
3202 - (nm_device_take_down): always deactivate device when called; always
3203 try to take hardware down too
3204 - (nm_device_state_changed): take device down when entering unmanaged
3205 state from a higher state
3207 * src/nm-device-802-11-wireless.c
3208 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3210 - (real_take_down, supplicant_iface_state_cb_handler,
3211 supplicant_iface_connection_state_cb_handler,
3212 supplicant_mgr_state_cb_handler): fix some messages
3214 * src/nm-device-802-3-ethernet.c
3215 - (real_hw_is_up, real_hw_bring_up, real_hw_take_down): implement; just
3218 2008-04-28 Dan Williams <dcbw@redhat.com>
3222 - (nm_manager_error_get_type): add new error
3223 - (nm_manager_remove_device): don't bother taking down the device here,
3224 the state change from unmanaging the device will do it
3225 - (impl_manager_sleep): move nm_manager_sleep() here since nothing else
3226 uses it; when going to sleep, just unmanage the device instead of
3227 taking it down, because stuff will cleaned up correctly when the
3228 device gets unmanaged
3230 2008-04-28 Dan Williams <dcbw@redhat.com>
3232 * src/nm-hal-manager.c
3233 - (add_initial_devices): convert to a GSourceFunc prototype
3234 - (nm_manager_state_changed): when coming out of sleep, punt the
3235 device re-addition to an idle handler to let D-Bus events go out
3236 first, fixing a potential dbus-glib assert if the old device was
3237 not yet disposed (due to references held while emitting the D-Bus
3238 signals) but the new device was found, because the mainloop didn't
3239 run between signal emission and add_initial_devices()
3241 2008-04-27 Dan Williams <dcbw@redhat.com>
3243 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3245 * initscript/paldo/NetworkManager.in
3246 initscript/SUSE/networkmanager.in
3247 - Remove last bits of dhcdbd
3249 2008-04-27 Dan Williams <dcbw@redhat.com>
3251 * src/nm-device-802-11-wireless.c
3252 - (link_timeout_cb): don't ask for secrets when disconnected during
3253 association/authentication phase, drivers are still just too crappy
3255 2008-04-27 Dan Williams <dcbw@redhat.com>
3259 dispatcher-daemon/Makefile.am
3260 dispatcher-daemon/NetworkManagerDispatcher.c
3261 initscript/Arch/Makefile.am
3262 initscript/Arch/networkmanager-dispatcher.in
3263 initscript/Gentoo/Makefile.am
3264 initscript/Gentoo/NetworkManagerDispatcher.in
3265 initscript/Mandriva/Makefile.am
3266 initscript/Mandriva/networkmanagerdispatcher.in
3267 initscript/RedHat/Makefile.am
3268 initscript/RedHat/NetworkManagerDispatcher.in
3269 initscript/SUSE/Makefile.am
3270 initscript/SUSE/networkmanager-dispatcher.in
3271 initscript/Slackware/Makefile.am
3272 initscript/Slackware/rc.networkmanager-dispatcher.in
3273 initscript/paldo/Makefile.am
3274 initscript/paldo/NetworkManagerDispatcher.in
3276 man/NetworkManagerDispatcher.8.in
3277 - Remove the dispatcher daemon
3279 2008-04-27 Dan Williams <dcbw@redhat.com>
3281 * callouts/Makefile.am
3282 callouts/nm-dispatcher-action.c
3283 callouts/nm-dispatcher-action.h
3284 callouts/nm-dispatcher.conf
3285 callouts/nm-dispatcher.xml
3286 callouts/org.freedesktop.nm_dispatcher.service
3287 - Re-implement the dispatcher as a system-bus activated service that
3288 NM calls on-demand, rather than an always running daemon
3291 - Add callouts dir to includes to pick up dispatcher defines
3294 - (nm_device_state_changed): call dispatcher on device activated/
3297 * src/vpn-manager/nm-vpn-connection.c
3298 - (nm_vpn_connection_set_vpn_state): call dispatcher when VPN connections
3301 * src/NetworkManagerUtils.c
3302 src/NetworkManagerUtils.h
3303 - (nm_utils_call_dispatcher): helper to call dispatcher
3305 2008-04-27 Dan Williams <dcbw@redhat.com>
3307 * src/NetworkManagerUtils.c
3308 src/NetworkManagerUtils.h
3309 - remove unneeded includes
3310 - (nm_null_safe_strcmp, nm_ethernet_addresses_are_equal,
3311 nm_utils_inet_ip4_address_as_string, nm_timeval_has_passed,
3312 nm_timeval_cmp, nm_timeval_add): remove, unused
3313 - clean up formatting
3314 - (nm_spawn_process): de-uglify
3316 * src/nm-device-802-11-wireless.c
3317 - (get_active_ap): use memcmp() not nm_ethernet_addresses_are_equal()
3319 2008-04-26 Saleem Abdulrasool <compnerd@compnerd.org>
3321 * initscript/Gentoo/NetworkManager.in:
3322 Fix for starting the daemon.
3324 2008-04-25 Dan Williams <dcbw@redhat.com>
3326 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3328 * src/NetworkManagerSystem.c
3329 - (nm_system_device_set_ip4_route): reimplement using libnl, not ioctls
3331 2008-04-25 Dan Williams <dcbw@redhat.com>
3333 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3335 * src/NetworkManagerSystem.c
3336 - (nm_system_device_replace_default_ip4_route): new function; a libnl
3337 implementation of nm_system_device_replace_default_route()
3339 * src/NetworkManagerPolicy.c
3340 - (update_default_route): use nm_system_device_replace_default_ip4_route()
3342 * src/backends/NetworkManagerArch.c
3343 src/backends/NetworkManagerDebian.c
3344 src/backends/NetworkManagerFrugalware.c
3345 src/backends/NetworkManagerGeneric.c
3346 src/backends/NetworkManagerGeneric.h
3347 src/backends/NetworkManagerGentoo.c
3348 src/backends/NetworkManagerMandriva.c
3349 src/backends/NetworkManagerPaldo.c
3350 src/backends/NetworkManagerRedHat.c
3351 src/backends/NetworkManagerSlackware.c
3352 src/backends/NetworkManagerSuSE.c
3353 - (nm_system_device_replace_default_route): remove
3355 2008-04-25 Dan Williams <dcbw@redhat.com>
3357 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3359 * src/NetworkManagerSystem.c
3360 - (validate_ip4_route): remove; use nl_addr_parse() instead
3361 - (nm_system_device_add_ip4_route_via_device_with_iface): new function,
3362 replace nm_system_device_add_route_via_device_with_iface() in the
3365 * src/backends/NetworkManagerArch.c
3366 src/backends/NetworkManagerDebian.c
3367 src/backends/NetworkManagerFrugalware.c
3368 src/backends/NetworkManagerGeneric.c
3369 src/backends/NetworkManagerGeneric.h
3370 src/backends/NetworkManagerGentoo.c
3371 src/backends/NetworkManagerMandriva.c
3372 src/backends/NetworkManagerPaldo.c
3373 src/backends/NetworkManagerRedHat.c
3374 src/backends/NetworkManagerSlackware.c
3375 src/backends/NetworkManagerSuSE.c
3376 - Remove nm_system_device_add_route_via_device_with_iface()
3378 2008-04-25 Dan Williams <dcbw@redhat.com>
3380 * system-settings/plugins/ifcfg-fedora/parser.c
3381 - (GET_ONE_DNS): fix parsing of DNS2 & DNS3
3383 2008-04-24 Dan Williams <dcbw@redhat.com>
3385 * dispatcher-daemon/NetworkManagerDispatcher.c
3386 - (nmd_execute_scripts): execute scripts in order as sorted by strcmp()
3388 2008-04-24 Dan Williams <dcbw@redhat.com>
3390 * initscript/RedHat/NetworkManager.in
3391 initscript/RedHat/NetworkManagerDispatcher.in
3392 - Be active at runlevel 2
3393 - Adjust priorities earlier
3395 2008-04-22 Dan Williams <dcbw@redhat.com>
3397 * src/NetworkManagerPolicy.c
3398 - (update_routing_and_dns): when checking for a gateway, look at the
3399 composite IP4 config, not the connection's ip4-config setting, which
3400 doesn't include DHCP-returned information
3402 2008-04-22 Tambet Ingo <tambet@gmail.com>
3404 Implement GKeyFile system settings plugin.
3405 Implement writing system settings (currently supported only by GKeyFile plugin).
3407 * system-settings/src/main.c:
3408 * system-settings/src/dbus-settings.c: Move the communication with plugins
3409 from main.c to dbus-settings.c. Makes it possible to talk to all registered
3410 plugins for adding/updating/removing connections.
3412 * system-settings/src/nm-system-config-interface.c
3413 (nm_system_config_interface_add_connection): Implement
3414 (nm_system_config_interface_update_connection): Implement.
3415 (nm_system_config_interface_remove_connection): Implement.
3417 * system-settings/plugins/keyfile/Makefile.am:
3418 * system-settings/plugins/keyfile/plugin.[ch]:
3419 * system-settings/plugins/keyfile/writer.[ch]:
3420 * system-settings/plugins/keyfile/reader.[ch]: Implement.
3422 * system-settings/plugins/Makefile.am: Add GKeyFile plugin.
3424 * configure.in: Generate GKeyFile Makefile.
3426 * libnm-glib/nm-settings.c (impl_exported_connection_get_id): Fix a memory
3427 corruption, need to duplicate the returned string.
3428 (impl_exported_connection_update): Implement.
3429 (impl_exported_connection_delete): Implement.
3431 * introspection/nm-settings-system.xml: Add "AddConnection" method.
3433 * introspection/nm-exported-connection.xml: Add "Update" and "Delete" methods.
3435 2008-04-22 Dan Williams <dcbw@redhat.com>
3437 Patch from Charles R. Anderson (cra@wpi.edu)
3439 * src/NetworkManagerPolicy.c
3440 - (update_routing_and_dns): don't select devices without a gateway
3441 as having the default route (rh #437338)
3443 2008-04-21 Dan Williams <dcbw@redhat.com>
3445 * src/nm-activation-request.c
3446 src/nm-activation-request.h
3447 - (dispose): ensure to disconnect from the device's state-changed signal
3448 when appropriate so the signal doesn't get handled by an already
3449 disposed NMActRequest
3450 - (device_state_changed): update is_default here too just to make sure
3451 default is only True when the child device is activated
3452 - (nm_act_request_set_default): new function
3454 * src/NetworkManagerPolicy.c
3455 - (update_routing_and_dns): set 'default' on the active connection which
3456 has the default route and DNS
3458 2008-04-21 Dan Williams <dcbw@redhat.com>
3460 * src/NetworkManagerPolicy.c
3461 - (device_state_changed): update routing and DNS when a device goes
3462 into unmanaged or unavailable states too (like rfkill or carrier loss)
3464 2008-04-21 Dan Williams <dcbw@redhat.com>
3466 * include/NetworkManager.h
3467 - Add NMActiveConnectionState enum
3469 * introspection/nm-active-connection.xml
3470 introspection/nm-vpn-connection.xml
3471 - Add 'State' property for overall active connection state
3472 - Add 'Default' property, when True means this active connection
3473 has the default route
3474 - Add PropertyChanged signals so changes actually go out over the bus
3476 * src/nm-active-connection.h
3477 - Add defines for State & Default properties
3479 * src/nm-activation-request.c
3480 - Add 'state' and 'default' properties, hook up to device 'state-changed'
3481 signal to determine active connection state
3483 * src/vpn-manager/nm-vpn-connection.c
3484 src/vpn-manager/nm-vpn-connection.h
3485 src/vpn-manager/nm-vpn-manager.c
3486 src/vpn-manager/nm-vpn-service.c
3487 - Rename old 'state' to 'vpn-state'
3488 - Rename nm_vpn_connection_get_state() -> nm_vpn_connection_get_vpn_state()
3489 - Add 'state' and 'default' properties, hook up to the vpn connection's
3490 'vpn-state-changed' signal
3492 * libnm-glib/nm-active-connection.c
3493 libnm-glib/nm-active-connection.h
3494 - Add new 'state' and 'default' properties and accessors
3496 * libnm-glib/nm-vpn-connection.c
3497 libnm-glib/nm-vpn-connection.h
3498 - Rename old 'state' property to 'vpn-state'
3499 - Add new 'state' and 'default' properties and accessors
3501 2008-04-21 Dan Williams <dcbw@redhat.com>
3503 * src/nm-ip4-config.c
3504 - (nm_ip4_config_to_rtnl_addr): fill in the broadcast address if it's
3505 not specified (rh #443474)
3507 2008-04-20 Dan Williams <dcbw@redhat.com>
3509 * src/NetworkManagerUtils.c
3510 src/NetworkManagerUtils.h
3511 - (nm_utils_merge_ip4_config): new function; merge settings from an
3512 NMSettingIP4Config to an NMIP4Config object
3515 - (merge_ip4_config): move to NetworkManagerUtils.c
3517 * src/vpn-manager/nm-vpn-connection.c
3518 - (nm_vpn_connection_ip4_config_get): merge in user-specified settings
3521 2008-04-18 Dan Williams <dcbw@redhat.com>
3523 * libnm-util/nm-setting-ppp.c
3524 libnm-util/nm-setting-ppp.h
3525 - Add 'no-vj-comp' option for TCP header compression
3526 - baud, mru, mtu, lcp_echo_failure, and lcp_echo_interval are really
3529 2008-04-18 Dan Williams <dcbw@redhat.com>
3531 * libnm-util/nm-setting-ppp.c
3532 libnm-util/nm-setting-ppp.h
3533 src/ppp-manager/nm-ppp-manager.c
3534 - Add 'refuse-pap' and 'refuse-mschapv2' options
3536 2008-04-18 Dan Williams <dcbw@redhat.com>
3538 * libnm-util/nm-setting-ppp.c
3539 libnm-util/nm-setting-ppp.h
3540 src/ppp-manager/nm-ppp-manager.c
3541 - Remove the 'usepeerdns' option and always request DNS servers from
3542 the PPP server; the connection chooses to use/override/ignore the
3543 DNS servers returned from the PPP server
3545 2008-04-18 Dan Williams <dcbw@redhat.com>
3547 * libnm-util/nm-setting-ppp.c
3548 libnm-util/nm-setting-ppp.h
3549 src/ppp-manager/nm-ppp-manager.c
3550 - Remove the 'require-mppc' option, because pppd doesn't support it and
3551 it seems to have been an erroneous addition to the PPTP plugin in
3552 the first place (from which the ppp-manager is derived)
3554 2008-04-17 Dan Williams <dcbw@redhat.com>
3556 * libnm-util/nm-setting-pppoe.c
3557 - (verify): require a PPP setting too
3559 * src/ppp-manager/nm-ppp-manager.c
3560 - (nm_ppp_manager_start): fail if no PPP setting is present instead of
3563 2008-04-17 Dan Williams <dcbw@redhat.com>
3566 - (nm_device_state_changed): do deactivation and and promotion to
3567 unavailable here, so that the device gets cleaned up before the
3568 manager runs and starts emitting signals; do the
3569 FAILED->DISCONNECTED transition from an idle handler rather than
3570 immediately to guard against recursion
3571 - (nm_device_deactivate_quickly, nm_device_dispose): stop the
3572 FAILED->DISCONNECTED handler if it's scheduled
3574 2008-04-17 Dan Williams <dcbw@redhat.com>
3576 * src/nm-device-802-11-wireless.c
3577 - (state_changed_cb): clear AP list when device transitions to
3578 unavailable or unmanaged
3579 - (nm_device_802_11_wireless_dispose): remove redundant set_current_ap()
3580 since this is already done in device_cleanup()
3581 - (supplicant_iface_scanned_ap_cb): don't leak new APs when the device
3582 isn't available or managed
3583 - (device_cleanup): use remove_all_aps()
3584 - (remove_all_aps): consolidate code removing all APs
3586 2008-04-17 Dan Williams <dcbw@redhat.com>
3588 * src/nm-serial-device.c
3589 src/nm-serial-device.h
3590 - (wait_for_reply_got_data): break input into lines, and search each
3591 line for responses _and_ terminator strings; also make sure that
3592 the read loop doesn't continue after the timeout is supposed to fire
3593 - (nm_serial_device_wait_for_reply): take an array of terminators too
3595 * src/nm-gsm-device.c
3596 src/nm-cdma-device.c
3597 - Send terminators to nm_serial_device_wait_for_reply()
3599 2008-04-16 Dan Williams <dcbw@redhat.com>
3601 Patch from 陈鑫 <znscnchen@gmail.com>
3603 * src/ppp-manager/nm-pppd-plugin.c
3604 - (get_credentials): return correct value for success; handle case where
3605 pppd just does some checking but doesn't want a password
3606 - (plugin_init): make CHAP work too
3608 2008-04-16 Dan Williams <dcbw@redhat.com>
3610 Patch from 陈鑫 <znscnchen@gmail.com>
3612 * src/ppp-manager/nm-ppp-manager.c
3613 - (create_pppd_cmd_line): fix argument generation when spawning pppd
3615 2008-04-16 Dan Williams <dcbw@redhat.com>
3617 Patch from 陈鑫 <znscnchen@gmail.com>
3619 * src/nm-device-802-3-ethernet.c
3620 - (real_deactivate_quickly): clear the IP interface name on
3621 deactivation, otherwise the wrong interface might get used later
3622 for routing and IP management
3624 2008-04-15 Dan Williams <dcbw@redhat.com>
3626 * libnm-glib/nm-device.c
3627 - (get_product_and_vendor): handle serial devices correctly
3628 - (nm_device_update_description): pass device to get_product_and_vendor()
3630 2008-04-15 Dan Williams <dcbw@redhat.com>
3632 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3634 * src/NetworkManagerSystem.h
3635 src/backends/NetworkManagerArch.c
3636 src/backends/NetworkManagerDebian.c
3637 src/backends/NetworkManagerFrugalware.c
3638 src/backends/NetworkManagerGeneric.c
3639 src/backends/NetworkManagerGeneric.h
3640 src/backends/NetworkManagerGentoo.c
3641 src/backends/NetworkManagerMandriva.c
3642 src/backends/NetworkManagerPaldo.c
3643 src/backends/NetworkManagerRedHat.c
3644 src/backends/NetworkManagerSlackware.c
3645 src/backends/NetworkManagerSuSE.c
3647 - (nm_generic_device_add_ip6_link_address,
3648 nm_system_device_add_ip6_link_address): remove
3650 2008-04-15 Dan Williams <dcbw@redhat.com>
3652 Patch from Benoit Boissinot <bboissin+networkmanager@gmail.com>
3654 * src/backends/NetworkManagerArch.c
3655 src/backends/NetworkManagerDebian.c
3656 src/backends/NetworkManagerFrugalware.c
3657 src/backends/NetworkManagerGeneric.c
3658 src/backends/NetworkManagerGeneric.h
3659 src/backends/NetworkManagerGentoo.c
3660 src/backends/NetworkManagerMandriva.c
3661 src/backends/NetworkManagerPaldo.c
3662 src/backends/NetworkManagerRedHat.c
3663 src/backends/NetworkManagerSlackware.c
3664 src/backends/NetworkManagerSuSE.c
3665 src/NetworkManagerSystem.h
3666 - flush_routes -> flush_ip4_routes
3667 - flush_addresses -> flush_ip4_addresses
3669 * src/NetworkManagerSystem.c
3671 src/vpn-manager/nm-vpn-connection.c
3672 - flush only IPv4 addresses; don't touch IPv6 routes and addresses
3674 2008-04-15 Dan Williams <dcbw@redhat.com>
3676 Remove exposure of wireless-tools mode types in the API.
3678 * include/NetworkManager.h
3679 - Define NM80211Mode enum
3681 * introspection/generic-types.xml
3682 - Describe NM_802_11_MODE enum
3683 - Remove IW_MODE_* enum
3685 * introspection/nm-access-point.xml
3686 libnm-glib/nm-access-point.c
3687 libnm-glib/nm-access-point.h
3688 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3690 * introspection/nm-device-802-11-wireless.xml
3691 libnm-glib/nm-device-802-11-wireless.c
3692 libnm-glib/nm-device-802-11-wireless.h
3693 - 'mode' is now of type NM80211Mode, a DBUS_TYPE_UINT
3695 * libnm-util/nm-setting-wireless.c
3696 src/NetworkManagerAP.c
3697 src/NetworkManagerAP.h
3698 src/nm-device-802-11-wireless.c
3699 src/nm-device-802-11-wireless.h
3701 - Use NM80211Mode not IW_MODE_*
3703 2008-04-15 Dan Williams <dcbw@redhat.com>
3705 Enhance nm-online based on a patch from Bill Nottingham.
3709 - Add help messages and option summary
3710 - Add long-format options
3711 - Add a '-x' option to exit if NM isn't running or isn't connecting
3713 2008-04-15 Tambet Ingo <tambet@gmail.com>
3715 * libnm-util/nm-setting.c (nm_setting_duplicate): Implement.
3717 * libnm-util/nm-connection.c (nm_connection_remove_setting): Implement.
3719 2008-04-15 Dan Williams <dcbw@redhat.com>
3721 * nm-setting-ip4-config.c
3722 - (ip4_addresses_from_gvalue): handle NULL address array
3724 * nm-setting-8021x.c
3725 - (verify_tls, verify_ttls): warn on failed verification
3727 2008-04-10 Dan Williams <dcbw@redhat.com>
3729 * src/nm-gsm-device.c
3730 - (automatic_registration): accept "+CREG: 0,0"
3731 - (automatic_registration_response): fail on "+CREG: 0,0"
3733 2008-04-10 Tambet Ingo <tambet@gmail.com>
3735 * libnm-util/nm-setting-wired.c (get_property): Fix a typo.
3737 2008-04-10 Tambet Ingo <tambet@gmail.com>
3739 * system-settings/plugins/ifcfg-suse/parser.c (make_wireless_security_setting):
3740 Make it compile again by commenting out broken code that at first didn't work and
3741 now didn't compile either.
3743 2008-04-08 Dan Williams <dcbw@redhat.com>
3745 * libnm-glib/nm-object-cache.c
3746 libnm-glib/nm-settings.c
3747 src/dhcp-manager/nm-dhcp-manager.c
3748 system-settings/plugins/ifcfg-fedora/plugin.c
3749 system-settings/plugins/ifcfg-suse/plugin.c
3750 system-settings/src/nm-system-config-hal-manager.c
3751 libnm-util/nm-utils.c
3752 - Remove usage of GStaticMutex since gcc-4.3 hates it and because we're
3753 not threadsafe anyway
3755 2008-04-08 Dan Williams <dcbw@redhat.com>
3757 * system-settings/src/main.c
3758 - (load_stuff, device_added_cb, device_removed_cb): device added/removed
3759 callbacks take a device type too
3761 2008-04-08 Dan Williams <dcbw@redhat.com>
3763 The system settings service will now create a new default DHCP connection
3764 for wired devices that have no existing applicable connection.
3766 * system-settings/src/nm-system-config-hal-manager.c
3767 system-settings/src/nm-system-config-hal-manager.h
3768 - (nm_system_config_hal_manager_get_type_for_udi): new function
3770 * system-settings/src/dbus-settings.c
3771 system-settings/src/dbus-settings.h
3772 - (nm_sysconfig_settings_get_connections): new function
3773 - (nm_sysconfig_settings_is_device_managed): new function
3775 * system-settings/src/main.c
3776 - (load_stuff): check for wired devices that need a default connection
3777 - (get_details_for_udi): get interface and MAC address from HAL
3778 - (add_default_dhcp_connection): add a default connection for a wired
3780 - (device_added_cb, device_removed_cb): do the right thing with
3781 wired devices and their default connections on HAL device events
3783 2008-04-07 Dan Williams <dcbw@redhat.com>
3785 * libnm-glib/nm-device.c
3786 libnm-glib/nm-device.h
3787 - Proxy the 'managed' property
3789 2008-04-07 Dan Williams <dcbw@redhat.com>
3791 * src/nm-gsm-device.c
3792 src/nm-cdma-device.c
3793 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3794 handler to transition to DISCONNECTED
3796 2008-04-07 Dan Williams <dcbw@redhat.com>
3798 Patch from Bill Nottingham
3800 * dispatcher-daemon/NetworkManagerDispatcher.c
3801 - ignore backup/packaging crufy (rh #440143)
3803 2008-04-07 Dan Williams <dcbw@redhat.com>
3805 * include/NetworkManager.h
3806 - Remove the DOWN and CANCELLED device states
3807 - Add UNMANAGED and UNAVAILABLE device states
3808 - Document the device states
3810 * introspection/nm-device.xml
3811 src/nm-device-interface.c
3812 src/nm-device-interface.h
3813 - Add the 'managed' property
3816 - (detail_device): print out device state
3818 * src/NetworkManagerSystem.h
3819 src/backends/NetworkManagerArch.c
3820 src/backends/NetworkManagerDebian.c
3821 src/backends/NetworkManagerFrugalware.c
3822 src/backends/NetworkManagerGentoo.c
3823 src/backends/NetworkManagerMandriva.c
3824 src/backends/NetworkManagerPaldo.c
3825 src/backends/NetworkManagerRedHat.c
3826 src/backends/NetworkManagerSlackware.c
3827 src/backends/NetworkManagerSuSE.c
3828 - (nm_system_device_get_system_config, nm_system_device_get_disabled
3829 nm_system_device_free_system_config): remove; they were unused and
3830 their functionality should be re-implemented in each distro's
3831 system settings service plugin
3833 * src/nm-gsm-device.c
3835 src/nm-cdma-device.c
3836 src/nm-cdma-device.h
3837 - (*_new): take the 'managed' argument
3840 - (nm_device_set_address): remove, fold into nm_device_bring_up()
3841 - (nm_device_init): start in unmanaged state, not disconnected
3842 - (constructor): don't start device until the system settings service
3843 has had a chance to figure out if the device is managed or not
3844 - (nm_device_deactivate, nm_device_bring_up, nm_device_bring_down):
3845 don't set device state here, let callers handle that as appropriate
3846 - (nm_device_dispose): don't touch the device if it's not managed
3847 - (set_property, get_property, nm_device_class_init): implement the
3849 - (nm_device_state_changed): bring the device up if its now managed,
3850 and deactivate it if it used to be active
3851 - (nm_device_get_managed, nm_device_set_managed): do the right thing
3852 with the managed state
3854 * src/nm-hal-manager.c
3855 - (wired_device_creator, wireless_device_creator, modem_device_creator):
3856 take initial managed state and pass it along to device constructors
3857 - (create_device_and_add_to_list): get managed state and pass to
3860 * src/nm-device-802-11-wireless.c
3861 - (real_can_activate): fold in most of
3862 nm_device_802_11_wireless_can_activate()
3863 - (can_scan): can't scan in UNAVAILABLE or UNMANAGED
3864 - (link_timeout_cb): instead of deactivating, change device state and
3865 let the device state handler to it
3866 - (real_update_hw_address): clean up
3867 - (state_changed_cb): when entering UNAVAILABLE state, schedule an idle
3868 handler to transition to DISCONNECTED if the device isn't rfkilled
3870 * src/nm-device-802-3-ethernet.c
3871 - (set_carrier): move above callers and get rid of prototype
3872 - (device_state_changed): when entering UNAVAILABLE state, schedule an
3873 idle handler to transition to DISCONNECTED if the device has a
3875 - (real_update_hw_address): clean up
3876 - (link_timeout_cb, ppp_state_changed): change state instead of calling
3877 deactivation directly as deactivation doesn't change state anymore
3879 * src/NetworkManagerPolicy.c
3880 - (schedule_activate_check): yay, remove wireless_enabled hack since
3881 the NMManager and wireless devices work that out themselves now
3882 - (device_state_changed): change to a switch and update for new device
3884 - (device_carrier_changed): remove; device handles this now through
3886 - (device_added): don't care about carrier any more; the initial
3887 activation check will happen when the device transitions to
3891 - (dispose): clear unmanaged devices
3892 - (handle_unmanaged_devices): update unmanaged device list and toggle
3893 the managed property on each device when needed
3894 - (system_settings_properties_changed_cb): handle signals from the
3895 system settings service
3896 - (system_settings_get_unmanaged_devices_cb): handle callback from
3897 getting the unmanaged device list method call
3898 - (query_unmanaged_devices): ask the system settings service for its
3899 list of unmanaged devices
3900 - (nm_manager_name_owner_changed, initial_get_connections): get unmanaged
3902 - (manager_set_wireless_enabled): push rfkill state down to wireless
3903 devices directly and let them handle the necessary state transitions
3904 - (manager_device_state_changed): update for new device states
3905 - (nm_manager_add_device): set initial rfkill state on wireless devices
3906 - (nm_manager_remove_device): don't touch the device if it's unmanaged
3907 - (nm_manager_activate_connection): return error if the device is
3909 - (nm_manager_sleep): handle new device states correctly; don't change
3910 the state of unavailable/unmanaged devices
3912 * libnm-glib/nm-device-802-11-wireless.c
3913 - (state_changed_cb): update for new device states
3915 2008-04-07 Dan Williams <dcbw@redhat.com>
3917 * marshallers/nm-marshal.list
3918 - Add VOID:STRING,UINT marshaller for system settings HAL manager
3920 2008-04-07 Dan Williams <dcbw@redhat.com>
3922 * system-settings/src/main.c
3923 - (unmanaged_devices_changed_cb, register_plugin): proxy changes from
3924 plugins to the dbus settings object
3925 - (load_stuff): start the dbus service after grabbing unmanaged devices
3926 - (dbus_reconnect, dbus_cleanup): make HAL manager aware of dbus events
3927 - (log_handler, logging_setup, logging_shutdown): log output to syslog
3928 - (main): switch default logging to syslog with a 'debug' option to
3929 output to console; start up the HAL manager
3931 2008-04-07 Dan Williams <dcbw@redhat.com>
3933 * introspection/nm-settings-system.xml
3934 introspection/Makefile.am
3935 - Define the unmanaged devices interface for the system settings service
3937 * system-settings/src/nm-system-config-hal-manager.c
3938 system-settings/src/nm-system-config-hal-manager.h
3939 system-settings/src/nm-system-config-hal-manager-private.h
3940 system-settings/src/Makefile.am
3941 - Add a lightweight HAL manager object for tracking network devices for
3942 the purpose of determining unmanaged devices and which devices need
3943 the default DHCP connections
3945 * system-settings/src/nm-system-config-interface.c
3946 system-settings/src/nm-system-config-interface.h
3947 - (nm_system_config_interface_init): add the HAL manager as an argument
3948 - (nm_system_config_interface_get_unmanaged_devices): implement
3949 - Define 'unmanaged-devices-changed' signal
3951 * system-settings/src/dbus-settings.c
3952 system-settings/src/dbus-settings.h
3953 - Implement the unmanaged devices interface; some cleanups
3955 * system-settings/plugins/ifcfg-suse/plugin.c
3956 - Fixup for plugin interface changes
3958 * system-settings/plugins/ifcfg-fedora/plugin.c
3959 - (get_ether_device_udi): new function; find the device that has
3960 a specified MAC address and return its UDI
3961 - (get_udi_for_connection): new function; try to find the specific
3962 device a connection is locked to, if any
3963 - (device_added_cb, device_removed_cb): update unmanaged device list in
3964 response to HAL events
3965 - (get_unmanaged_devices): new function; return unmanaged device list
3966 - (build_one_connection): set the connection's locked device, if any
3967 - (write_auto_wired_connection): remove
3968 - (kill_old_auto_wired_file): remove the ifcfg-Auto Wired file if found
3969 - (handle_connection_changed): alert listeners that the unmanaged device
3971 - (init): fixup for plugin interface changes, implement unmanaged devices
3973 * system-settings/plugins/ifcfg-fedora/parser.c
3974 system-settings/plugins/ifcfg-fedora/parser.h
3975 - (connection_data_free): clean up connection UDI
3977 2008-04-07 Dan Williams <dcbw@redhat.com>
3979 * system-settings/plugins/ifcfg-fedora/parser.c
3980 - (make_ip4_setting): fix parsing of DNS servers
3982 2008-04-05 Dan Williams <dcbw@redhat.com>
3986 marshallers/Makefile.am
3987 marshallers/nm-marshal-main.c
3988 marshallers/nm-marshal.list
3989 - Consolidate marshallers
3991 * libnm-glib/nm-marshal-main.c
3992 libnm-glib/nm-marshal.list
3993 src/marshallers/Makefile.am
3994 src/marshallers/nm-marshal-main.c
3995 src/marshallers/nm-marshal.list
3998 * libnm-glib/Makefile.am
4000 src/dhcp-manager/Makefile.am
4001 src/ppp-manager/Makefile.am
4002 src/supplicant-manager/Makefile.am
4003 src/vpn-manager/Makefile.am
4004 - Use consolidated marshallers
4006 2008-04-04 Dan Williams <dcbw@redhat.com>
4008 * src/nm-hal-manager.c
4009 src/nm-hal-manager.h
4010 - (hal_init): don't look for hardware here
4011 - (nm_hal_manager_start): new function; look for hardware here instead,
4012 which can be done at a later time than hal_init()
4014 * src/NetworkManager.c
4015 - (main): start HAL manager after entering the main loop
4017 2008-04-03 Dan Williams <dcbw@redhat.com>
4019 * libnm-glib/nm-settings.c
4020 libnm-glib/nm-settings.h
4021 - (nm_exported_connection_get_id): new function
4022 - (impl_exported_connection_get_id): use nm_exported_connection_get_id()
4024 2008-04-02 Dan Williams <dcbw@redhat.com>
4026 * src/nm-device-interface.c
4027 src/nm-device-interface.h
4030 - Rename check_connection_conflicts() to check_connection_compatible()
4032 * src/nm-device-802-11-wireless.c
4033 - (real_check_connection_conflicts): remove
4034 - (real_check_connection_compatible): implement; match MAC address
4036 * src/nm-device-802-3-ethernet.c
4037 - (real_check_connection_conflicts): remove
4038 - (real_check_connection_compatible): implement; match MAC address
4039 - (real_get_best_auto_connection): correctly handle PPPoE cases
4042 - (check_connection_allowed): remove; unused until PolicyKit integration
4043 - (internal_activate_device): check whether the connection is compatible
4044 with the device before trying to activate it
4046 2008-04-02 Dan Williams <dcbw@redhat.com>
4048 * system-settings/plugins/ifcfg-fedora/parser.c
4049 - (read_mac_address): new function; read in MAC address and stuff it
4051 - (add_one_wep_key): remove debug spew
4052 - (make_wireless_security_setting): validate the default TX key; don't
4053 add the wireless-security setting if the connection doesn't need
4054 security; don't leak the keys shvarFile on error cases
4055 - (make_wireless_setting, make_wired_setting): populate device's MAC
4058 2008-04-02 Dan Williams <dcbw@redhat.com>
4060 * libnm-util/nm-setting-connection.c
4061 libnm-util/nm-setting-connection.h
4062 - (set_property, get_property, nm_setting_connection_class_init): remove
4063 the 'lockdown' property; it's functionality will be replaced by
4066 2008-04-01 Dan Williams <dcbw@redhat.com>
4068 Patch from Per Øyvind Karlsen <peroyvind@mandriva.org>
4071 initscript/Makefile.am
4072 initscript/Mandriva/Makefile.am
4073 initscript/Mandriva/networkmanager.in
4074 initscript/Mandriva/networkmanagerdispatcher.in
4075 src/backends/Makefile.am
4076 src/backends/NetworkManagerMandriva.c
4077 system-settings/plugins/Makefile.am
4078 - Add Mandriva support
4080 2008-03-31 Dan Williams <dcbw@redhat.com>
4082 * src/vpn-manager/nm-vpn-service.c
4083 - (nm_vpn_service_daemon_exec): add an error argument so that spawn
4084 errors can be passed back to the caller; also no longer scheduled
4085 as an idle handler, but called directly; and bump up VPN service
4086 spawn timeout, 2s is really short
4087 - (nm_vpn_service_activate): don't schedule the VPN service activation,
4088 but call it directly so that errors are reported on return from
4089 ActivateConnection() and don't get lost. If scheduled as an idle
4090 handler, clients don't have the time to query NM for the new VPN
4091 connection's properties before the VPN connection is torn down again
4092 if the service couldn't be launched, and therefore launch errors
4095 2008-03-31 Dan Williams <dcbw@redhat.com>
4097 * src/vpn-manager/nm-vpn-connection.c
4098 - (device_state_changed): send correct state on device failure too
4099 - (plugin_state_changed): failed state means unexpected disconnection,
4100 thus if the service goes away while the VPN connection is activated
4101 that's a failure too
4103 2008-03-31 Dan Williams <dcbw@redhat.com>
4105 * src/vpn-manager/nm-vpn-manager.c
4106 src/vpn-manager/nm-vpn-manager.h
4107 - Make VPNManager errors more available; add a service-start-failed error
4109 2008-03-31 Dan Williams <dcbw@redhat.com>
4111 * libnm-glib/nm-client.c
4112 libnm-glib/nm-client.h
4113 - (activate_cb): pass the new active connection to callback; fix
4114 message when no callback is specified
4116 2008-03-30 Dan Williams <dcbw@redhat.com>
4118 * libnm-util/nm-setting-wireless-security.c
4119 - (need_secrets): only require key0 if the transmit key index is also
4121 - (verify): reject non-NULL but zero-length WEP keys; these are invalid
4123 2008-03-29 Dan Williams <dcbw@redhat.com>
4125 * libnm-util/nm-setting-8021x.c
4126 libnm-util/nm-setting-ip4-config.c
4127 libnm-util/nm-setting-vpn-properties.c
4128 libnm-util/nm-setting-vpn.c
4129 libnm-util/nm-setting-wireless-security.c
4130 libnm-util/nm-setting-wireless.c
4131 libnm-util/nm-utils.c
4132 src/dhcp-manager/nm-dhcp-manager.c
4133 src/nm-activation-request.c
4136 src/nm-properties-changed-signal.c
4137 src/ppp-manager/nm-pppd-plugin.c
4138 src/supplicant-manager/nm-supplicant-interface.c
4139 src/vpn-manager/nm-vpn-connection.c
4140 - consistently use nm-dbus-glib-types.h
4142 2008-03-29 Dan Williams <dcbw@redhat.com>
4144 * src/vpn-manager/nm-vpn-connection.c
4145 - (nm_vpn_connection_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4148 * src/nm-activation-request.c
4149 - (nm_act_request_class_init): PROP_SPECIFIC_OBJECT should be boxed,
4152 2008-03-29 Dan Williams <dcbw@redhat.com>
4154 * libnm-glib/nm-device-802-11-wireless.c
4155 - (access_point_added_proxy): create new APs if not found
4157 2008-03-29 Dan Williams <dcbw@redhat.com>
4159 * libnm-glib/nm-client.c
4160 - (proxy_name_owner_changed): tell wireless devices about rfkill state
4163 2008-03-29 Dan Williams <dcbw@redhat.com>
4165 * system-settings/plugins/ifcfg-fedora/parser.c
4166 - Fix parsing of WEP keys; ifcfg files use indexes [1...4] rather than
4167 [0...3]; also handle KEY correctly in combination with DEFAULTKEY
4169 2008-03-29 Dan Williams <dcbw@redhat.com>
4171 * system-settings/plugins/ifcfg-fedora/parser.c
4172 - (get_one_wep_key, make_wireless_security_setting): handle "KEY" too
4174 2008-03-27 Dan Williams <dcbw@redhat.com>
4177 - (nm_object_queue_notify): don't notify multiple times for the same
4180 * nm-object-private.h
4181 - (handle_ptr_array_return): return NULL if the given array is NULL or
4182 if it has zero elements
4185 - (finalize): use g_ptr_array_foreach() when freeing domains
4186 - (nm_ip4_config_get_domains): use handle_ptr_array_return()
4188 * nm-active-connection.c
4189 - (nm_active_connection_get_devices): use handle_ptr_array_return()
4191 * nm-device-802-11-wireless.c
4192 nm-device-802-11-wireless.h
4193 - (nm_device_802_11_wireless_get_access_points): return const; use
4194 handle_ptr_array_return()
4197 - (nm_object_array_demarshal): always create an array, even of length
4198 zero, to distinguish between "NM returned no items" and "haven't
4202 - (dispose): free active connections too
4203 - (proxy_name_owner_changed): free active connections too when NM goes
4205 - (nm_client_get_devices): return const; use handle_ptr_array_return()
4206 - (nm_client_get_active_connections): use handle_ptr_array_return()
4208 2008-03-26 Dan Williams <dcbw@redhat.com>
4210 Rework VPN connection handling for a more consistent D-Bus API. The
4211 VPNManager object has been removed, and active VPN connections are now the
4212 same as any other active connection. The Manager object's ActivateConnection
4213 and DeactivateConnection methods are used to start and stop a VPN connection,
4214 and the VPNConnection objects are subclasses of the ActiveConnection objects.
4215 When activating a VPN connection, pass the path of the active connection
4216 to which the VPN connection is tied in the 'specific_object' argument.
4218 Consequently, the libnm-glib API has been reworked to match this arrangement,
4219 with the VPNManager object removed, and the NMVPNConnection objects now
4220 being subclasses of NMActiveConnection.
4222 2008-03-25 Dan Williams <dcbw@redhat.com>
4224 Patch from Björn Martensen <bjoern.martensen@gmail.com>
4226 * initscript/Arch/networkmanager.in
4227 initscript/Arch/networkmanager-dispatcher.in
4228 - Updates for Arch Linux (gnome.org #523701)
4230 2008-03-25 Dan Williams <dcbw@redhat.com>
4232 * libnm-glib/nm-ip4-config.c
4233 libnm-glib/nm-active-connection.c
4234 libnm-glib/nm-access-point.c
4235 - Use nm_object_queue_notify() instead of g_object_notify()
4237 * libnm-glib/nm-device.c
4238 - (demarshal_ip4_config): distinguish between successful but missing
4239 ip4-config request, and unsuccessful and missing ip4-config request
4240 - (nm_device_get_ip4_config): don't try to demarshal a NULL ip4-config
4242 - Use nm_object_queue_notify() instead of g_object_notify()
4244 * libnm-glib/nm-device-802-11-wireless.c
4245 - (demarshal_active_ap): distinguish between successfull but missing
4246 active-ap request, and unsuccessful and missing active-ap request
4247 - (dispose, clean_up_aps): consolidate AP list and active AP clearing
4249 - (nm_device_802_11_wireless_set_wireless_enabled): add a private hook
4250 for the NMClient to notify the device that wireless is disabled,
4251 and therefore to clear the AP list and active AP
4252 - Use nm_object_queue_notify() instead of g_object_notify()
4254 * libnm-glib/nm-client.c
4255 - (poke_wireless_devices_with_rf_status): new function
4256 - (update_wireless_status): notify wireless devices of the rfkill status
4257 so they can clean up if needed
4258 - Use nm_object_queue_notify() instead of g_object_notify()
4260 2008-03-25 Dan Williams <dcbw@redhat.com>
4262 * libnm-glib/nm-object.c
4263 libnm-glib/nm-object-private.h
4264 - (nm_object_queue_notify): add helper to batch & postpone GObject notify
4265 signals to an idle handler
4266 - (nm_object_get_property): add a timeout to the D-Bus method call
4268 2008-03-25 Dan Williams <dcbw@redhat.com>
4270 * introspection/nm-device-cdma.xml
4271 introspection/nm-device-gsm.xml
4272 introspection/Makefile.am
4273 introspection/all.xml
4274 - Add introspection for CDMA and GSM devices for PropertiesChanged signal
4276 * src/nm-gsm-device.h
4278 src/nm-cdma-device.h
4279 src/nm-cdma-device.c
4281 - Implement PropertiesChanged signals
4283 * libnm-glib/nm-cdma-device.c
4284 libnm-glib/nm-cdma-device.c
4285 - Attach to PropertiesChanged signals
4287 2008-03-24 Dan Williams <dcbw@redhat.com>
4289 * libnm-glib/nm-client.c
4290 - (client_device_added_proxy): add new devices to the internal device
4291 list so they appear to clients
4293 2008-03-24 Dan Williams <dcbw@redhat.com>
4295 Massive fixup of libnm-glib to:
4296 a) have all objects (with the exception of VPN) cache their properties and
4297 update them asynchronously on PropertiesChanged signals from NM
4298 b) return internal const data for most attributes/properties instead of
4299 allocated values that the caller must free
4300 c) cache wrapped objects such that a given D-Bus path will always map to the
4301 same GObject returned by libnm-glib
4302 d) remove a few signals and move them to GObject property notifications
4303 e) match recent NM D-Bus API changes for activation/deactivation
4304 f) remove some private functions from libnm-glib headers
4306 2008-03-20 Dan Williams <dcbw@redhat.com>
4309 - (nm_manager_update_state, manager_device_state_changed,
4310 nm_manager_activate_device, connection_added_default_handler,
4311 impl_manager_activate_connection, impl_manager_deactivate_connection):
4312 queue PropertyChanged singals when the active connections change
4314 2008-03-20 Dan Williams <dcbw@redhat.com>
4316 * introspection/nm-manager.xml
4317 introspection/nm-manager-client.xml
4318 - (ActivateConnection): return the object path of the active connection
4320 - (GetActiveConnections): remove
4321 - (DeactivateConnection): new function; deactivate a currently active
4323 - Add an ActiveConnections property which returns an array of
4324 active connection object paths
4326 * introspection/nm-device.xml
4327 - (Deactivate): remove
4329 * introspection/all.xml
4330 - Add ActiveConnection introspection
4332 * introspection/nm-active-connection.xml
4333 - Add the ActiveConnection object
4335 * include/NetworkManager.h
4336 - Add the Connection.Active D-Bus interface
4338 * src/nm-device-interface.c
4339 - (impl_device_deactivate): remove
4341 * src/nm-activation-request.c
4342 src/nm-activation-request.c
4344 - Implement the Connection.Active D-Bus interface
4347 - (get_property, nm_manager_class_init): add ACTIVE_CONNECTIONS property
4348 - (nm_manager_activate_device): return the active connection path
4349 - (connection_added_default_handler, impl_manager_activate_connection):
4350 return the active connection to the caller
4351 - (add_one_connection_element, impl_manager_get_active_connections):
4353 - (impl_manager_deactivate_connection): new function; deactivate an
4356 * libnm-glib/nm-device.c
4357 libnm-glib/nm-device.h
4358 - Remove Deactivate() function
4360 2008-03-19 Dan Williams <dcbw@redhat.com>
4362 * introspection/nm-manager.xml
4363 introspection/nm-manager-client.xml
4364 - Rename the ActivateDevice method to ActivateConnection to better
4365 reflect it's usage; it's arguments get reordered a bit too
4366 - Convert GetActiveConnections method return from a struct to a dict
4368 * include/NetworkManager.h
4369 - Define the dict keys for return value of GetActiveConnections
4372 - impl_manager_activate_device -> impl_manager_activate_connection
4373 - (add_one_connection_element): return a populated hash table, not
4376 * libnm-glib/nm-client.c
4377 libnm-glib/nm-client.h
4378 - nm_client_activate_device -> nm_client_activate_connection
4379 - nm_client_free_active_connection_element -> nm_client_free_active_connections_element
4380 - (nm_client_get_active_connections): return a GSList of GHashTables,
4381 instead of the custom structures. Each element of the returned list
4382 must be freed with nm_client_free_active_connections_element()
4384 2008-03-18 Dan Williams <dcbw@redhat.com>
4386 * system-settings/plugins/ifcfg-fedora/parser.c
4387 system-settings/plugins/ifcfg-fedora/parser.h
4388 system-settings/plugins/ifcfg-fedora/plugin.c
4389 - Read settings from /etc/sysconfig/network-scripts/ instead of using
4390 profiles. DNS servers and searches must now be stored in the ifcfg
4393 2008-03-18 Tambet Ingo <tambet@gmail.com>
4395 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_update_secrets): Don't
4396 print out username and password, it's supposed to be a secret.
4398 * src/nm-device-802-3-ethernet.c (ppp_state_changed): Handle authentication
4399 request and set the device state accordingly.
4401 2008-03-18 Tambet Ingo <tambet@gmail.com>
4403 * src/nm-device-802-3-ethernet.c: Implement wired 802.1x authentication.
4405 * libnm-util/nm-setting-wireless-security.h: Fix a typo.
4407 2008-03-18 Dan Williams <dcbw@redhat.com>
4409 * src/vpn-manager/nm-vpn-connection.c
4410 - (get_secrets_cb): handle new GetSecrets return format
4412 2008-03-18 Dan Williams <dcbw@redhat.com>
4414 Adapt system settings service for split 802.1x.
4416 * system-settings/src/nm-system-config-interface.h
4417 - clarify return value of get_secrets()
4419 * system-settings/src/dbus-settings.c
4420 - (string_to_gvalue, destroy_gvalue, add_one_secret_to_hash): remove
4421 - (check_for_secrets): check if there actually secrets returned by a
4423 - (exported_connection_get_secrets): just return the plugin-returned
4424 hash of settings' secrets if it looks valid
4426 * system-settings/plugins/ifcfg-fedora/plugin.c
4427 - (get_secrets): add split secrets with correct format to reply hash
4429 * system-settings/plugins/ifcfg-fedora/parser.c
4430 system-settings/plugins/ifcfg-fedora/parser.h
4431 - (copy_one_cdata_secret, connection_data_copy_secrets,
4432 connection_data_free, connection_data_add): keep secrets for
4433 different settings in different hashes
4435 2008-03-17 Tambet Ingo <tambet@gmail.com>
4437 Clean up activating device deactivation.
4439 * src/nm-device.c (real_activation_cancel_handler): Remove. The same thing
4440 should be done whether the device activation gets cancelled or the device
4441 is just getting deactivated.
4442 (nm_device_activation_cancel): Remove.
4443 (nm_device_deactivate_quickly): Handle the case where device is activating.
4445 * src/nm-device-802-11-wireless.c (real_activation_cancel_handler): Remove.
4446 It does the exact same thing as real_deactivate_quickly().
4448 2008-03-17 Dan Williams <dcbw@redhat.com>
4450 Split the 802.1x bits out of the wireless-security setting so they are
4451 generalized enough for wired 802.1x to use too.
4453 * introspection/nm-exported-connection.xml
4454 - GetSecrets now returns 'a{sa{sv}}' (a hash of settings hashes) instead
4455 of just a hash of the secrets for one setting
4457 * libnm-util/nm-setting-wireless-security.c
4458 libnm-util/nm-setting-wireless-security.h
4459 - Remove 802.1x-specific stuff
4460 - Added leap-username and leap-password properties for old-school LEAP
4464 - (connection_secrets_updated_cb): take a list of updated settings names,
4467 * src/supplicant-manager/nm-supplicant-config.c
4468 src/supplicant-manager/nm-supplicant-config.h
4469 - (nm_supplicant_config_add_setting_wireless_security): remove 802.1x
4470 specific stuff; fix for updated LEAP bits; punt 802.1x stuff
4471 to nm_supplicant_config_add_setting_8021x()
4472 - (nm_supplicant_config_add_setting_8021x): add an 802-1x setting to
4473 the supplicant config
4475 * src/nm-device-802-11-wireless.c
4476 - (build_supplicant_config): pass in the 802.1x setting too, if any
4477 - (real_connection_secrets_updated): take a list of updated settings
4480 * src/nm-device-802-3-ethernet.c
4481 src/nm-cdma-device.c
4483 - (real_connection_secrets_updated_cb): take a list of updated settings
4486 * src/nm-activation-request.c
4487 src/nm-activation-request.h
4488 - (nm_act_request_class_init): the 'connection-secrets-updated' signal
4489 now passes a list of updated settings names, not just one
4490 - (update_one_setting): new function; handle one updated setting
4491 - (get_secrets_cb): handle multiple settings returned from the
4492 settings service; have to be careful of ordering here as there are
4493 some dependencies between settings (ex. wireless-security and 802.1x
4496 * src/marshallers/nm-marshal.list
4497 - new marshaller for connection-secrets-updated signal
4499 * libnm-util/nm-setting-8021x.c
4500 - Add back the 'pin' and 'psk' settings, for EAP-SIM and EAP-PSK auth
4502 - (verify): a valid 'eap' property is now required
4504 * libnm-util/nm-connection.c
4505 - (register_default_settings): add priorities to settings; there are
4506 some dependencies between settings, and during the need_secrets
4507 calls this priority needs to be respected. For example, only the
4508 wireless-security setting knows whether or not the connection is
4509 going to use 802.1x or now, so it must be asked for secrets before
4510 any existing 802.1x setting is
4511 - (nm_connection_lookup_setting_type): expose
4513 * libnm-util/nm-setting-wireless.c
4514 - (verify): should verify even if all_settings is NULL; otherwise won't
4515 catch the case where there is missing security
4517 * libnm-util/nm-setting-wireless-security.c
4518 - Remove everything to do with 802.1x
4519 - Add old-school LEAP specific properties for username and password
4520 - (need_secrets): rework LEAP secrets checking
4521 - (verify): rework for LEAP and 802.1x verification
4523 2008-03-17 Dan Williams <dcbw@redhat.com>
4525 * src/NetworkManagerPolicy.c
4526 - (auto_activate_device): always remove the current activation check
4527 from the pending activation list, otherwise when the policy gets
4528 destroyed on NM exit it will attempt to free the already freed
4531 2008-03-14 Tambet Ingo <tambet@gmail.com>
4533 * src/backends/NetworkManagerSlackware.c
4534 (nm_system_device_setup_static_ip4_config): Remove, it's unused.
4536 * src/backends/NetworkManagerSuSE.c: Add missing includes.
4538 2008-03-14 Dan Williams <dcbw@redhat.com>
4541 - (nm_device_interface_get_iface): g_object_get() will return an
4542 allocated value, so this function must not return const
4543 - (nm_device_interface_activate): free returned iface
4545 2008-03-14 Tambet Ingo <tambet@gmail.com>
4547 * libnm-util/Makefile.am: Add new files to build.
4549 * libnm-util/nm-connection.c: Register NMSetting8021x.
4551 * libnm-util/nm-setting-8021x.c
4552 * libnm-util/nm-setting-8021x.h: Implement.
4554 2008-03-14 Tambet Ingo <tambet@gmail.com>
4556 * libnm-util/Makefile.am: Add new files to build.
4558 * libnm-util/nm-connection.c: Register NMSetting8021x.
4560 * libnm-util/nm-setting-8021x.c
4561 * libnm-util/nm-setting-8021x.h: Implement.
4563 2008-03-14 Tambet Ingo <tambet@gmail.com>
4565 * src/NetworkManagerPolicy.c (auto_activate_device): Don't leak device and
4568 2008-03-14 Dan Williams <dcbw@redhat.com>
4570 * include/wireless-helper.h
4572 - One place for all the junk needed for #including wireless.h
4575 src/NetworkManagerAP.c
4578 libnm-util/nm-utils.c
4579 libnm-util/nm-setting-wireless.c
4580 libnm-glib/nm-device-802-11-wireless.c
4581 libnm-glib/nm-access-point.c
4582 libnm-glib/libnm-glib-test.c
4583 - include wireless-helper.h, not iwlib.h
4586 - Don't need libiw really, just need to check for wireless.h
4588 * src/kernel-types.h
4589 - Remove; used types moved into wpa.c
4591 * src/nm-device-802-11-wireless.c
4592 - (nm_device_802_11_wireless_update_signal_strength,
4593 real_get_generic_capabilities, nm_device_802_11_wireless_get_mode,
4594 nm_device_802_11_wireless_set_mode,
4595 nm_device_802_11_wireless_get_frequency,
4596 nm_device_802_11_wireless_get_ssid,
4597 nm_device_802_11_wireless_set_ssid,
4598 nm_device_802_11_wireless_get_bitrate,
4599 nm_device_802_11_wireless_get_bssid,
4600 nm_device_802_11_wireless_disable_encryption): use ioctl() directly
4601 instead of iwlib functions
4603 2008-03-14 Dan Williams <dcbw@redhat.com>
4605 * src/ppp-manager/nm-ppp-manager.c
4606 - (impl_ppp_manager_need_secrets): since it's asynchronous now, it
4607 should only take the DBusGMethodInvocation argument, not user/pass
4608 too. With dbus-glib, async functions only take 2 C arguments since
4609 the real dbus method arguments get passed back with
4610 dbus_g_method_return()
4612 2008-03-13 Tambet Ingo <tambet@gmail.com>
4614 * system-settings/plugins/ifcfg-suse/plugin.c (update_default_routes):
4615 Adapt the changes of NMSettingIP4Config.
4617 2008-03-13 Dan Williams <dcbw@redhat.com>
4619 * src/NetworkManagerUtils.c
4620 src/NetworkManagerUtils.h
4621 - (nm_ether_ntop): replacement for iw_ether_ntop()
4623 * src/NetworkManagerAP.c
4624 src/nm-device-802-11-wireless.c
4625 src/nm-device-802-3-ethernet.c
4626 - s/iw_ether_ntop/nm_ether_ntop/g
4628 2008-03-13 Dan Williams <dcbw@redhat.com>
4630 * src/NetworkManagerPolicy.c
4631 - (update_routing_and_dns): never set the default route through an
4632 IPv4LL addressed device
4634 2008-03-13 Dan Williams <dcbw@redhat.com>
4636 * NetworkManagerUtils.c
4637 NetworkManagerUtils.h
4638 - Remove NMSock stuff
4639 - Remove the completion stuff
4644 NetworkManagerSystem.c
4646 nm-device-802-11-wireless.c
4647 nm-device-802-3-ethernet.c
4648 - Remove NMSock and completion stuff
4649 - Remove nm_ioctl_info()
4651 2008-03-12 Dan Williams <dcbw@redhat.com>
4654 - (merge_ip4_config): avoid duplicates
4656 2008-03-12 Dan Williams <dcbw@redhat.com>
4658 * libnm-util/nm-setting-ip4-config.c
4659 libnm-util/nm-setting-ip4-config.h
4660 - Remove 'manual' and 'autoip' properties
4661 - Add 'method' property
4662 - (verify): fix verification with 'method'
4663 - (finalize): free 'method'
4664 - (set_property, get_property, nm_setting_ip4_config_class_init): fix
4668 - (real_act_stage3_ip_config_start): check IP4Config method
4669 - (nm_device_new_ip4_autoip_config): add a note about not sucking in
4671 - (merge_ip4_config): IP settings are valid with DHCP too
4672 - (real_act_stage4_get_ip4_config): handle all IP4Config methods
4673 - (real_act_stage4_ip_config_timeout): don't do autoip on DHCP timeout
4675 * src/nm-device-802-11-wireless.c
4676 - (real_act_stage3_ip_config_start): remove; autoip only on demand
4677 - (real_act_stage4_get_ip4_config): just chain up to parent; autoip
4680 * system-settings/plugins/ifcfg-fedora/parser.c
4681 system-settings/plugins/ifcfg-suse/parser.c
4682 - (make_ip4_setting): fix up for 'method'
4684 2008-03-12 Dan Williams <dcbw@redhat.com>
4686 * system-settings/plugins/ifcfg-fedora/parser.c
4687 system-settings/plugins/ifcfg-fedora/parser.h
4688 - (get_ifcfg_name): ignore more file suffixes
4689 - (is_wireless_device): fix check for ifcfgs that have no TYPE
4691 2008-03-12 Dan Williams <dcbw@redhat.com>
4694 - Bring in the bits of gnome-common we actually use (all 15 lines)
4696 2008-03-12 Dan Williams <dcbw@redhat.com>
4698 * system-settings/plugins/ifcfg-fedora/plugin.c
4699 - (write_auto_wired_connection): new function; write out an auto
4700 wired connection file since the applet isn't doing it any more
4701 - (reload_all_connections): write out the auto wired connection file
4702 if there aren't any wired connections already
4703 - (init): don't leak a GError
4705 2008-03-12 Dan Williams <dcbw@redhat.com>
4707 * src/nm-device-interface.c
4708 - (nm_device_interface_activate): print the ID of the connection
4709 that's about to be activated
4711 2008-03-12 Dan Williams <dcbw@redhat.com>
4713 Harmonize the 802.11 bitrate API
4715 * introspection/nm-access-point.xml
4716 - 'Rate' -> 'MaxBitrate'; clarify units
4718 * introspection/nm-device-802-11-wireless.xml
4719 - Clarify units of 'Bitrate'
4721 * src/NetworkManagerAP.c
4722 src/NetworkManagerAP.h
4723 - (set_property, get_property, nm_ap_class_init): rename 'rate'
4724 property to 'max-bitrate'
4725 - (foreach_property_cb): convert rate to Kb/s
4727 * src/nm-device-802-11-wireless.c
4728 - (nm_device_802_11_wireless_get_bitrate): return rate in Kb/s
4730 * libnm-glib/nm-access-point.c
4731 libnm-glib/nm-access-point.h
4732 - 'rate' -> 'max-bitrate'
4735 libnm-glib/libnm-glib-test.c
4736 - Fix up for these changes
4738 2008-03-12 Dan Williams <dcbw@redhat.com>
4741 - (nm_device_set_ip4_config): don't send property notifications when
4742 the ip4 config is set to NULL; it causes a PropertyChanged signal
4743 which dbus-glib can't parse because the value is NULL, which isn't
4744 a legal object path. Setting the IP4 config to NULL is only
4745 valid when deactivating a device anyway, so the device state change
4746 will alert listeners that the ip4 config is invalid.
4748 2008-03-12 Dan Williams <dcbw@redhat.com>
4750 * src/nm-properties-changed-signal.c
4751 - (add_to_string): better handling of NULL objects
4753 2008-03-12 Dan Williams <dcbw@redhat.com>
4755 Move the 'carrier' property from NMDevice to NMDevice8023Ethernet;
4756 convert the libnm-glib NMDevice8023Ethernet to cached properties
4758 * introspection/nm-device-802-3-ethernet.xml
4759 - New 'Carrier' property
4760 - New 'PropertiesChanged' signal
4762 * introspection/nm-device.xml
4763 - Remove 'Carrier' property
4764 - Remove 'CarrierChanged' signal
4766 * src/nm-device-interface.c
4767 src/nm-device-interface.h
4768 - (nm_device_interface_init): remove 'carrier' property and
4769 'carrier-changed' signal
4773 - (nm_device_get_carrier, nm_device_set_carrier): remove
4774 - (nm_device_activate_stage5_ip_config_commit): don't bother updating
4775 the link here; wired device will handle that
4776 - (handle_dhcp_lease_change): don't bother updating link here
4777 - (get_property, nm_device_class_init): remove carrier property
4779 * src/nm-device-802-11-wireless.c
4780 - (real_update_link, nm_device_802_11_wireless_class_init): remove
4781 real_update_link(); wireless devices don't use carrier at all
4782 - (link_timeout_cb, supplicant_iface_state_cb_handler,
4783 supplicant_iface_connection_state_cb_handler,
4784 supplicant_mgr_state_cb_handler): remove anything to do with carrier
4786 * src/nm-device-802-3-ethernet.c
4787 src/nm-device-802-3-ethernet.h
4788 - (nm_device_802_3_ethernet_carrier_on,
4789 nm_device_802_3_ethernet_carrier_off, constructor): use set_carrier()
4790 instead of nm_device_set_carrier()
4791 - (device_state_changed): update link from sysfs on activation;
4792 replaces real_update_link()
4793 - (real_update_link): remove, replaced by device_state_changed()
4794 - (nm_device_802_3_ethernet_get_carrier, set_carrier): new functions
4795 - (nm_device_802_3_ethernet_get_speed): move up with other getters/setters
4796 - (real_get_generic_capabilities, real_can_interrupt_activation): use
4797 new get_carrier function
4798 - (get_property): add 'carrier' property
4799 - (nm_device_802_3_ethernet_class_init): add 'carrier' property and
4800 hook into property-changed signal helper
4802 * src/NetworkManagerPolicy.c
4803 - (device_carrier_changed): will only ever be called with a wired device
4804 - (device_added): only hook up to carrier-changed for wired devices
4806 * libnm-glib/nm-device.c
4807 libnm-glib/nm-device.h
4808 - (constructor, nm_device_class_init): remove carrier-changed signal
4809 - (device_carrier_changed_proxy): remove; unused
4810 - (nm_device_get_carrier): remove; carrier a property of wired devices
4812 * libnm-glib/nm-device-802-3-ethernet.c
4813 libnm-glib/nm-device-802-3-ethernet.h
4814 - Convert to cached properties like AP and Wireless objects
4815 - (nm_device_802_3_ethernet_get_hw_address): now returns a 'const char *'
4816 instead of a 'char *', return value should not be freed
4817 - (nm_device_802_3_ethernet_get_carrier): return current carrier status
4818 - (constructor): hook into properties-changed helper
4819 - (set_property, get_property): new functions
4820 - (nm_device_802_3_ethernet_class_init): export GObject properties
4823 - (detail_device): strdup the wired hardware address too since it's
4826 * libnm-glib/libnm-glib-test.c
4827 - (dump_wired): strdup the wired hardware address too since it's
4830 2008-03-12 Dan Williams <dcbw@redhat.com>
4832 * libnm-util/nm-setting-ip4-config.c
4833 libnm-util/nm-setting-ip4-config.h
4834 - (set_property, get_property, nm_setting_ip4_config_class_init): add
4835 the 'autoip' property from the spec
4837 2008-03-11 Dan Williams <dcbw@redhat.com>
4839 * src/backends/NetworkManagerGeneric.c
4840 src/backends/NetworkManagerGeneric.h
4841 - (nm_generic_device_get_use_dhcp): remove
4843 2008-03-11 Dan Williams <dcbw@redhat.com>
4846 - (nm_device_deactivate): don't need to munge DNS here; that gets done
4847 already in nm_device_set_ip4_config()
4848 - (handle_dhcp_lease_change): fail the device if setting the IP4Config
4849 due to a DHCP rebind fails
4850 - (nm_device_set_ip4_config): send property notifications when the
4852 - (get_property): only report IP4Config property during valid states
4854 * src/NetworkManagerPolicy.c
4855 - (update_routing_and_dns): ignore devices that don't have an ip4
4856 config; add parameter 'force_update' to allow callers to specify
4857 that changes should be made even if the default device doesn't change
4858 - (device_ip4_config_changed): update DNS and routing when the device's
4859 IP4Config changes, like for DHCP updates
4860 - (device_added): listen for ip4-config property changes
4862 2008-03-11 Dan Williams <dcbw@redhat.com>
4864 Fix address handling as a result of DHCP rebind/renew/reboot.
4866 * src/NetworkManagerSystem.c
4867 - (check_one_address): delete an address if it doesn't match a given
4868 one for the same interface
4869 - (nm_system_device_set_from_ip4_config): don't flush the default route,
4870 be smarter about flushing addresses (only flush ones that don't
4871 match the one we're about to apply)
4873 * src/backends/NetworkManagerDebian.c
4874 src/backends/NetworkManagerSuSE.c
4875 src/backends/NetworkManagerArch.c
4876 src/backends/NetworkManagerSlackware.c
4877 src/backends/NetworkManagerRedHat.c
4878 src/backends/NetworkManagerPaldo.c
4879 src/backends/NetworkManagerFrugalware.c
4880 src/backends/NetworkManagerGentoo.c
4881 - (nm_system_delete_default_route): remove
4883 * src/backends/NetworkManagerGeneric.c
4884 src/backends/NetworkManagerGeneric.h
4885 - (nm_generic_enable_loopback): fix the loopback device label
4886 - (nm_generic_delete_default_route): remove; no longer used
4888 2008-03-11 Dan Williams <dcbw@redhat.com>
4890 * src/nm-device-interface.h
4891 - Delimit property name words with '-', otherwise g_object_notify()
4892 doesn't work the way we expect
4894 2008-03-11 Tambet Ingo <tambet@gmail.com>
4896 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't ignore USB devices.
4898 2008-03-11 Dan Williams <dcbw@redhat.com>
4900 * src/NetworkManagerPolicy.c
4901 - (update_routing_and_dns): don't change anything if the default device
4902 hasn't changed; print something out when switching the default route
4905 2008-03-10 Tambet Ingo <tambet@gmail.com>
4909 * src/ppp-manager/nm-ppp-manager.c (create_pppd_cmd_line): Use PPPoE service
4910 setting. Use "nic-$eth".
4912 * src/NetworkManagerPolicy.c (auto_activate_device): Move the check of whether
4913 the device is activating here to fix a race condition.
4915 * src/ppp-manager/nm-pppd-plugin.c (get_credentials): Implement.
4917 * src/ppp-manager/nm-ppp-manager.c (impl_ppp_manager_need_secrets): Implement.
4918 (ppp_watch_cb): Emit a signal to notify pppd is not running anymore.
4919 (nm_ppp_manager_start): Take activation request instead of connection, we might
4920 need it for asking secrets.
4921 (nm_ppp_manager_update_secrets): Implement.
4923 * src/nm-serial-device.c (real_act_stage2_config): Send activation request to
4924 ppp manager start. It might be needed for asking secrets.
4926 * src/nm-device-802-3-ethernet.c (real_connection_secrets_updated): Implement.
4927 (ppp_state_changed): Handle pppd daemon disappearing.
4928 (pppoe_stage2_config): Send activation request to ppp manager start.
4930 * libnm-util/nm-setting-pppoe.c (nm_setting_pppoe_class_init): Fix a typo.
4932 * introspection/nm-ppp-manager.xml: Make NeedSecrets method async, return only
4933 username and password.
4935 2008-03-10 Dan Williams <dcbw@redhat.com>
4938 - (handle_dhcp_lease_change): apply an IP4 config to a device in
4939 response to a DHCP lease change
4940 - (dhcp_state_changed): handle DHCP lease changes while activated
4941 - (nm_device_set_ip4_config): remove a previously set named config
4942 when setting an ip4 config
4944 2008-03-10 Dan Williams <dcbw@redhat.com>
4946 * src/nm-serial-device.c
4947 - (nm_serial_device_send_command): report errno on error
4948 - (get_reply_got_data): limit the size of the overall buffer
4949 - (wait_for_reply_info_destroy): destroy result string
4950 - (wait_for_reply_got_data): append received data to an overall buffer
4951 until timeout, filled buffer, or error instead of keeping a per-call
4952 buffer. Some devices send data slowly enough that this function
4953 gets called multiple times for the same command stream.
4954 - (nm_serial_device_wait_for_reply): initialize overall buffer for
4955 wait_for_reply_got_data() here
4957 2008-03-10 Dan Williams <dcbw@redhat.com>
4959 * src/nm-cdma-device.c
4960 - (do_dial, init_modem): handle errors from
4961 nm_serial_device_send_command_string()
4963 * src/nm-gsm-device.c
4964 - (do_dial, manual_registration, automatic_registration_get_network,
4965 automatic_registration, enter_pin, check_pin, init_modem): handle
4966 errors from nm_serial_device_send_command_string()
4968 2008-03-10 Dan Williams <dcbw@redhat.com>
4970 Patch based on ideas suggested by Bas Zoetekouw <bas@debian.org>
4972 * src/named-manager/nm-named-manager.c
4973 - (compute_searches): prefer searches before domains
4974 - (compute_domain): new function
4975 - (rewrite_resolv_conf): write out the 'domain' and 'searches' options
4976 - (merge_one_ip4_config): if there are no searches in the source config,
4977 merge domains of the source config into the target config
4978 - (compute_nameservers): make formatting of resolv.conf a bit nicer
4980 2008-03-10 Dan Williams <dcbw@redhat.com>
4982 * src/nm-serial-device.c
4983 - (get_reply_got_data): clean up indentation, shrink serial buffer
4984 - (wait_for_reply_got_data): try to handle slower serial devices where
4985 the reply is broken up into multiple reads by concatenating replies
4986 together until either an error is received or the search string is
4989 2008-03-10 Dan Williams <dcbw@redhat.com>
4992 - (nm_device_bring_down): deactivate the device if it's activating too,
4993 not just if it's already activated. This makes sure that everything
4994 from an association attempt is cleaned up (like DHCP for example)
4996 2008-03-10 Dan Williams <dcbw@redhat.com>
4998 * src/nm-serial-device.c
4999 - (config_fd): report error from TCSETA
5000 - (nm_serial_device_open): fail when config_fd() fails
5002 2008-03-10 Dan Williams <dcbw@redhat.com>
5004 * src/nm-ip4-config.c
5005 - (nm_ip4_config_init): allocate searches list
5006 - (finalize): free searches list
5008 2008-03-09 Dan Williams <dcbw@redhat.com>
5010 Patch from Bas Zoetekouw <bas@debian.org>
5012 * src/dhcp-manager/nm-dhcp-manager.c
5013 - (nm_dhcp_manager_get_ip4_config): handle domain-search option too
5015 2008-03-09 Dan Williams <dcbw@redhat.com>
5017 Patch from Bas Zoetekouw <bas@debian.org>
5019 * src/nm-ip4-config.c
5021 - (nm_ip4_config_add_search, nm_ip4_config_get_search,
5022 nm_ip4_config_get_num_searches): add 'searches' as distinct from
5023 domains. 'searches' is the correct way to store multiple search
5024 domains, whereas 'domains' is really just supposed to store one
5025 domain. Some sites abuse the DHCP 'domain-name' option to push
5026 search domains to the client.
5027 - (nm_ip4_config_add_domain): group with related functions (my patch)
5029 2008-03-09 Dan Williams <dcbw@redhat.com>
5031 * src/dhcp-manager/nm-dhcp-manager.c
5032 - (dhclient_run): send interface-specific config files to dhclient
5034 2008-03-07 Dan Williams <dcbw@redhat.com>
5036 * system-settings/plugins/ifcfg-fedora/parser.c
5037 - (is_wireless_device): new function; test a device for wireless
5039 - (parser_parse_file): if the ifcfg file doesn't have a TYPE tag,
5040 test the device for wireless extensions to determine the type
5042 2008-03-07 Dan Williams <dcbw@redhat.com>
5044 Change manager's StateChange signal to StateChanged for consistency.
5046 * introspection/nm-manager.xml
5047 - Add 'StateChanged' signal
5048 - Move 'StateChange' down to the deprecated section
5050 * src/nm-hal-manager.c
5051 - (nm_hal_manager_new): connect to 'state-changed' instead
5053 * src/NetworkManagerPolicy.c
5054 - (nm_policy_new): connect to 'state-changed' instead
5058 - (nm_manager_update_state): emit both 'state-changed' and 'state-change'
5059 - (nm_manager_class_init): add 'state-changed' and not the deprecation
5062 * libnm-glib/nm-client.c
5063 libnm-glib/nm-client.h
5064 - (constructor, nm_client_class_init, client_state_changed_proxy):
5065 track and proxy 'state-changed' instead of 'state-change'
5067 2008-03-07 Dan Williams <dcbw@redhat.com>
5069 First pass of multiple active device support. Expect bugs.
5071 * src/nm-ip4-config.c
5073 - (nm_ip4_config_get_secondary, nm_ip4_config_set_secondary): remove;
5074 there are better ways to do this in the named manager
5078 - (nm_device_can_activate): return whether the device can activate a
5079 connection right now; taking into account things like carrier state
5081 - (nm_device_get_best_auto_connection): renamed from
5082 nm_device_get_best_connection
5083 - (real_act_stage4_get_ip4_config): MTU stuff is now handled in the
5084 device subclasses themselves, so that each device can override the
5085 MTU from it's NMSetting subclass if needed
5086 - (nm_device_set_ip4_config): set MTU when setting up routes and stuff
5087 in NetworkManagerSystem.c, not here
5089 * src/named-manager/nm-named-manager.c
5090 src/named-manager/nm-named-manager.h
5091 - (nm_named_manager_name_owner_changed,
5092 nm_named_manager_dbus_connection_changed): fix for changes to
5093 rewrite_resolv_conf()
5094 - (compute_nameservers): don't need the NMNamedManager at all, remove
5096 - (merge_one_ip4_config): new function; merge ip4 configs together
5097 - (rewrite_resolv_conf): write out resolv.conf from all the stored
5098 ip4 configs; the VPN config takes precedence, then the best
5099 device config, then the rest of the configs
5100 - (get_domain_for_config): take the NMNamedManager as an argument
5101 to check whether the config is the VPN config
5102 - (add_ip4_config_to_named): fixups for removal of the 'secondary'
5103 attribute from ip4 configs
5104 - (add_all_ip4_configs_to_named): add all the configs in priority order
5105 - (remove_ip4_config_from_named): fix for changes to
5106 get_domain_for_config()
5107 - (nm_named_manager_add_ip4_config): assign the config to the right slot
5108 based on its type; callers must pass in the type now
5109 - (get_last_default_domain): remove, unused
5110 - (nm_named_manager_remove_ip4_config): handle config slots correctly
5112 * src/nm-device-802-11-wireless.c
5113 - (real_can_activate): new function
5114 - (real_get_best_auto_connection): renamed from real_get_best_connection
5115 - (real_act_stage4_get_ip4_config): handle MTU override
5117 * src/nm-device-802-3-ethernet.c
5118 - (real_can_activate): new function
5119 - (real_get_best_auto_connection): renamed from real_get_best_connection
5120 - (real_act_stage4_get_ip4_config): new function; handle MTU override
5122 * src/vpn-manager/nm-vpn-connection.c
5123 - (nm_vpn_connection_ip4_config_get): don't need to set the 'secondary'
5124 attribute on the ip4 config
5126 * src/NetworkManagerPolicy.c
5127 - (nm_policy_auto_get_best_device): remove
5128 - (nm_policy_device_change_check): remove
5129 - (update_default_route): new function; set the default route via
5130 the specified device
5131 - (get_device_priority): new function; return the priority number of
5132 a device type WRT which one should have the default route. Order is
5133 (highest to lowest) wired, wireless, GSM, CDMA.
5134 - (update_routing_and_dns): new function; determine which device should
5135 have the default route, then update the routing table and DNS
5136 - (maybe_auto_activate_device): new function; if a device is now
5137 available for activation, find out what connection it would like to
5139 - (schedule_activate_check): new function; if a device can be activated
5140 now, schedule the activation. Each device may have only one
5141 pending activation at a given time.
5142 - (device_state_changed): if activation was canceled, try again,
5143 possibly with another connection; if the device was activated,
5144 update routing and DNS; if the device was deactivated, try again
5145 with another connection
5146 - (device_carrier_changed): if there is no carrier, deactivate the
5147 device; otherwise schedule an activation check for the device
5148 - (wireless_networks_changed): schedule an activation check for the
5150 - (device_added): keep track of the signal handler IDs so they can
5151 be removed when the device goes away
5152 - (device_removed): remove any signal handlers that might be attached
5153 to the device; update routing and DNS
5154 - (schedule_activate_all): new function
5155 - (connections_added, connection_added, connection_updated): when
5156 connections change, schedule all devices for an activation check
5157 - (connection_removed): when a device is deactivated because its
5158 connection was removed, schedule another activation check for it
5159 - (nm_policy_destroy): destroy pending activations and disconnect
5160 all device signal handlers
5163 - (nm_manager_activate_device): if the device was already actived,
5165 - (deactivate_old_device): remove
5166 - (connection_added_default_handler, impl_manager_activate_device):
5167 don't deactivate other devices when activating this one
5169 * src/backends/NetworkManagerGentoo.c
5170 src/backends/NetworkManagerFrugalware.c
5171 src/backends/NetworkManagerPaldo.c
5172 src/backends/NetworkManagerRedHat.c
5173 src/backends/NetworkManagerSlackware.c
5174 src/backends/NetworkManagerArch.c
5175 src/backends/NetworkManagerSuSE.c
5176 src/backends/NetworkManagerDebian.c
5177 - (nm_system_get_mtu): remove; MTU should be provided through the
5178 distro's system settings service plugin instead
5179 - (nm_system_device_add_default_route_via_device): remove
5180 - (nm_system_device_add_default_route_via_device_with_iface): remove
5181 - (nm_system_device_replace_default_route): new function; call
5182 generic implementation
5184 * src/backends/NetworkManagerGeneric.c
5185 src/backends/NetworkManagerGeneric.h
5186 - (nm_generic_device_add_default_route_via_device,
5187 nm_generic_device_add_default_route_via_device_with_iface): remove
5188 - (nm_generic_device_replace_default_route): replace the default route
5189 with the given route via some gateway
5191 * src/NetworkManagerSystem.c
5192 src/NetworkManagerSystem.h
5193 - (nm_system_device_set_from_ip4_config): let the policy handle updates
5194 to routing and DNS; but set the MTU here
5195 - (nm_system_vpn_device_set_from_ip4_config): set the route with the
5196 ip_iface of the active device; use the standard MTU setting function
5197 - (nm_system_set_mtu): remove
5198 - (nm_system_device_set_mtu): consolidate MTU setting code in one place
5200 2008-03-07 Tambet Ingo <tambet@gmail.com>
5202 Rework the interaction between ppp manager and pppd plugin. Register a well
5203 known DBUS service in manager and let the plugin call it's methods instead
5204 of listening plugin's signals.
5206 * src/ppp-manager/nm-pppd-plugin.c: Call ppp-manager dbus methods instead
5207 of emitting signals.
5209 * src/ppp-manager/nm-ppp-manager.c: Implement dbus service here.
5211 * src/ppp-manager/Makefile.am: Build nm-ppp-manager-glue.h.
5213 * src/nm-serial-device.c (real_act_stage2_config): Pass NMConnection to
5214 nm_ppp_manager_start().
5216 * introspection/nm-ppp-manager.xml: New file.
5218 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_get_speed): Handle
5219 the case correctly where driver is trying to send -1 for the speed, which gets
5220 casted to u16 and thus is always > 0.
5222 2008-03-07 Dan Williams <dcbw@redhat.com>
5224 * src/nm-hal-manager.c
5225 - (nm_get_device_driver_name): use net.originating_device first, fall
5226 back to physical device. HAL has deprecated physical_device.
5228 * libnm-glib/nm-device.c
5229 - (get_product_and_vendor): use net.originating_device first, fall
5230 back to physical device. HAL has deprecated physical_device.
5231 - (nm_device_update_description): s/physical_device_udi/orig_dev_udi
5233 2008-03-07 Dan Williams <dcbw@redhat.com>
5236 - (nm_netlink_get_default_handle): mistakenly removed too much code in
5237 last commit; fix that
5238 - (get_link_cache): print error string
5240 2008-03-07 Dan Williams <dcbw@redhat.com>
5243 - (nm_netlink_get_default_handle): NMNetlinkMonitor now uses libnl,
5244 don't need this hack any more (Benoit Boissinot)
5246 2008-03-06 Dan Williams <dcbw@redhat.com>
5249 - Die gnome-common, die
5251 2008-03-04 Dan Williams <dcbw@redhat.com>
5253 Patch from Michael Biebl <biebl@debian.org>
5255 * NetworkManager.pc.in
5256 - doesn't actually depend on dbus-1
5258 * libnm-util/nm-utils.h
5259 - remove unused #include <dbus/dbus.h>
5261 * libnm-glib/libnm_glib.pc.in
5262 - depends on glib and dbus-glib
5264 2008-03-02 Dan Williams <dcbw@redhat.com>
5266 * src/NetworkManagerPolicy.c
5267 - s/device_state_changed_idle_id/update_state_id/
5269 2008-03-02 Dan Williams <dcbw@redhat.com>
5273 src/nm-device-802-11-wireless.c
5274 src/nm-device-802-3-ethernet.c
5275 src/NetworkManagerPolicy.c
5276 - s/link_active/carrier
5277 - nm_device_set_active_link() -> nm_device_set_carrier()
5278 - nm_device_has_active_link() -> nm_device_get_carrier()
5280 2008-03-02 Dan Williams <dcbw@redhat.com>
5282 * system-settings/plugins/ifcfg-fedora/parser.c
5283 - (make_wireless_setting): fail connection creation on missing SSID
5285 2008-02-29 Dan Williams <dcbw@redhat.com>
5287 * src/NetworkManagerPolicy.c
5288 - (nm_policy_device_change_check): ensure that a previously active
5289 device with a system connection has a link before denying a switch
5290 to a user connection
5292 2008-02-29 Dan Williams <dcbw@redhat.com>
5294 * src/nm-device-802-11-wireless.c
5295 - (link_timeout_cb): try again if scanning; deactivate the device when
5296 activated if the link dies
5297 - (supplicant_iface_connection_state_cb_handler): bump link timeout to
5300 2008-02-29 Dan Williams <dcbw@redhat.com>
5302 * src/nm-device-802-11-wireless.c
5303 src/nm-device-802-11-wireless.h
5304 - (nm_device_802_11_wireless_reset_scan_interval): remove, unused
5305 elsewhere; fold into the sole user in nm-device-802-11-wireless.c
5306 - (device_cleanup): reset the scan interval lower when the device
5308 - (can_scan): base decision mostly off device state, not supplicant
5309 interface state since the supplicant interface state isn't a
5310 great indicator of whether the device is active or not
5311 - (request_wireless_scan): clean up; schedule the next scan here
5312 - (schedule_scan): only back the scan interval off if a new scan
5313 actually gets scheduled; and make scan intervals tighter when the
5314 device is disconnected
5315 - (supplicant_iface_state_cb_handler): fold in the bits of
5316 nm_device_802_11_wireless_reset_scan_interval() by resetting scan
5318 - (activation_success_handler): reset scan interval to something
5321 2008-02-28 Saleem Abdulrasool <compnerd@compnerd.org>
5323 reviewed by: Steev <steev@steev.net>
5326 * src/backends/NetworkManagerGentoo.c:
5327 (nm_system_restart_mdns_responder):
5328 Howl is no longer a supported mDNS provider
5330 2008-02-28 Tambet Ingo <tambet@gmail.com>
5332 Get rid of a bunch of unused distro specific functions.
5334 2008-02-28 Tambet Ingo <tambet@gmail.com>
5336 Implement suse plugin for system settings daemon.
5338 * system-settings/plugins/ifcfg-suse/*: Implement.
5340 * system-settings/plugins/Makefile.am: Add ifcfg-suse to subdirs when targeting
5343 * configure.in: Check (without failing) for gio.
5344 Create ifcfg-suse plugin's Makefile.
5346 2008-02-20 Dan Williams <dcbw@redhat.com>
5348 * libnm-util/nm-connection.c
5349 libnm-util/nm-connection.h
5350 - (nm_connection_compare): accept compare flags and pass them to the
5351 setting compare function
5353 * libnm-util/nm-setting.c
5354 libnm-util/nm-setting.h
5355 - (nm_setting_compare): accept compare flags; ignore properties that are
5358 * libnm-util/nm-setting-connection.c
5359 libnm-util/nm-setting-wireless.c
5360 libnm-util/nm-setting-ppp.c
5361 libnm-util/nm-setting-wired.c
5362 - Mark some setting properties as ignorable when doing a fuzzy compare
5365 - (device_activation_precheck): use exact compare
5367 2008-02-20 Dan Williams <dcbw@redhat.com>
5369 * src/NetworkManagerPolicy.c
5370 - (nm_policy_device_change_check): get scope off the connection, not
5371 using the manager helper
5375 - (get_scope_for_proxy): rename from get_type_for_proxy()
5376 - (connection_get_settings_cb): set scope and path on connection, not
5377 using GObject data items
5378 - (get_connection_for_proxy): don't need to return path, since that
5379 can be gotten from the connection
5380 - (get_connection_for_proxy): get path off the connection, not from
5382 - (connection_removed_cb, connection_updated_cb): don't need to get
5383 path from get_connection_for_proxy(); get scope off the connection
5384 instead of using GObject data items
5385 - (connection_added_default_handler, add_one_connection_element): use
5386 nm_connection_get_path() not nm_manager_get_connection_dbus_path()
5387 - (nm_manager_get_connection_dbus_path): remove
5388 - (nm_manager_get_connection_scope): remove
5390 2008-02-20 Dan Williams <dcbw@redhat.com>
5392 * Global rename of NMConnectionSettings -> NMExportedConnection to cut down
5395 * Add 'path' and 'scope' properties to NMConnection since both NM and the
5396 applet were having to hack this in anyway. Remove the 'path' stuff from
5397 NMExportedConnection
5399 * Internally rename NMConnectionType -> NMConnectionScope
5401 * Provide default implementations of the 'get_id' and 'get_settings' methods
5402 of NMExportedConnection
5404 2008-02-15 Dan Williams <dcbw@redhat.com>
5406 * src/nm-device-802-11-wireless.c
5407 - (device_cleanup): release the AP list here too so that the AP list
5408 doesn't survive across suspend/resume and up/down. There is some
5409 room for optimization, for example blow the list away when the card
5410 brought back up, but only if the device has only been down for a
5413 2008-02-15 Dan Williams <dcbw@redhat.com>
5415 * src/nm-hal-manager.c
5416 - (modem_device_creator): recognize new HAL modem capabilities
5418 2008-02-12 Dan Williams <dcbw@redhat.com>
5420 * system-settings/plugins/ifcfg-fedora/plugin.c
5421 - (watch_path): handle IN_DELETE_SELF too
5422 - (handle_connection_changed): notify when removing a connection
5423 - (stuff_changed): don't warn on unknown inotify watches; handle the
5424 case of a file moving out of the profile directory
5426 2008-02-12 Dan Williams <dcbw@redhat.com>
5428 * system-settings/plugins/ifcfg-fedora/parser.c
5429 - (make_ip4_setting): bring IPv4 setting handling more up to spec
5431 2008-02-12 Dan Williams <dcbw@redhat.com>
5433 * libnm-util/nm-utils.c
5434 - (nm_utils_convert_uint_array_to_string): don't die on NULL array, it's
5435 just any empty array
5437 2008-02-12 Dan Williams <dcbw@redhat.com>
5439 * system-settings/src/nm-system-config-interface.c
5440 system-settings/src/nm-system-config-interface.h
5441 - (load_connections): get_connections() should now return an allocated
5442 GSList that the system settings service will free
5444 * system-settings/plugins/ifcfg-fedora/plugin.c
5445 system-settings/plugins/ifcfg-fedora/parser.h
5446 system-settings/plugins/ifcfg-fedora/parser.c
5447 - Fix up inotify issues; handle keys-* files, handle new files appearing
5448 in the profile directory, handle resolv.conf file changes
5450 2008-02-10 Dan Williams <dcbw@redhat.com>
5452 * src/nm-device-802-3-ethernet.c
5453 - (real_bring_up): save the supplicant interface state signal id
5454 - (real_bring_down): disconnect from the supplicant interface state
5457 2008-02-07 Dan Williams <dcbw@redhat.com>
5459 * initscript/RedHat/NetworkManager.in
5460 initscript/RedHat/NetworkManagerDispatcher.in
5461 - Add new-style LSB init headers
5463 2008-02-07 Dan Williams <dcbw@redhat.com>
5465 * system-settings/src/dbus-settings.c
5466 system-settings/src/dbus-settings.h
5467 - (add_one_secret_to_hash): copy secrets out of the plugin-returned hash
5469 - (connection_settings_get_secrets): consolidate error returns into
5470 one place; use the new get_secrets() plugin interface function to
5471 get secrets from the plugin itself rather than using GObject data
5474 * system-settings/src/main.c
5475 - (connection_added_cb, connection_removed_cb, free_plugin_connections,
5476 load_connections): keep a private list of the plugin-returned
5477 connections, don't use the plugin's GSList
5479 * system-settings/plugins/ifcfg-fedora/plugin.c
5480 - (watch_path): watch the path, not the filename (duh)
5481 - (reload_all_connections): use the direct hash/equal functions; the
5482 ones for int aren't appropriate here
5483 - (get_secrets, system_config_interface_init): implement the
5484 get_secrets() function
5485 - (build_one_connection, find_connection_by_path): ifcfg file path is
5486 now in the connection's ConnectionData instead of being a GObject
5488 - (handle_profile_item_changed): ifcfg file path is now in the
5489 connection's ConnectionData instead of being a GObject data property;
5490 be sure to copy secrets over from the new connection to the existing
5491 connection when updating the connection's settings
5492 - (init): sc_plugin_inotify_init() returns success/fail, not the inotify
5495 * system-settings/plugins/ifcfg-fedora/parser.c
5496 system-settings/plugins/ifcfg-fedora/parser.h
5497 - (connection_data_get, copy_one_cdata_secret, clear_one_cdata_secret,
5498 connection_data_copy_secrets, connection_data_free,
5499 connection_data_add): new functions; connection data manipulation
5500 - (make_wireless_security_setting): stuff secrets into the
5501 connection data, not as GObject data items; make sure to close
5503 - (wireless_connection_from_ifcfg, wired_connection_from_ifcfg): add
5504 connection data to the connection
5506 2008-02-07 Dan Williams <dcbw@redhat.com>
5508 * system-settings/src/nm-system-config-interface.c
5509 system-settings/src/nm-system-config-interface.h
5510 - Add a get_secrets() interface function to retrieve secrets for a
5511 specific setting of a specific connection. Document the interface
5514 2008-02-07 Dan Williams <dcbw@redhat.com>
5516 * src/nm-device-802-11-wireless.c
5517 - (handle_auth_or_fail): new function; consolidate device activation
5518 failure check after a certain number of failures getting secrets
5519 - (supplicant_connection_timeout_cb, real_act_stage2_config,
5520 real_act_stage4_ip_config_timeout): use handle_auth_or_fail() to fail
5521 the connection if secrets were requested more than a few times
5522 - (real_act_stage3_ip_config_start): don't clear the wireless secrets
5523 tries here; otherwise they are cleared before the IP configure
5524 timeout, which happens with open system WEP when key is wrong
5525 - (activation_success_handler): clear wireless secrets tries here too
5527 2008-02-07 Dan Williams <dcbw@redhat.com>
5529 * src/NetworkManagerPolicy.c
5530 - (connection_updated): clear invalid tag when connection gets updated
5531 to allow that connection to be tried again
5532 - (nm_policy_new): save signal ids so they can be disconnected when
5533 the policy is destroyed
5534 - (nm_policy_destroy): stop any in-progress state change idle handler,
5535 and disconnect all signals from the manager object so that none
5536 of the policy functions gets called after the policy is destroyed
5538 2008-02-06 Dan Williams <dcbw@redhat.com>
5541 - (finalize): remove devices a bit earlier; clean up system settings
5543 - (nm_manager_name_owner_changed): clean up system settings poke when
5544 the service appears, and try to restart it if it fails
5545 - (poke_system_settings_daemon_cb): try to get the system settings
5546 service started through D-Bus service activation
5547 - (initial_get_connections): start the system settings daemon if it's
5550 2008-02-05 Dan Williams <dcbw@redhat.com>
5552 * src/supplicant-manager/nm-supplicant-config.c
5553 - (nm_supplicant_config_add_setting_wireless): send scan_ssid=1 for
5554 broadcast networks too
5556 2008-02-04 Dan Williams <dcbw@redhat.com>
5558 * system-settings/plugins/ifcfg-fedora/parser.c
5559 - (make_wireless_security_setting): fix spelling; unencrypted networks
5560 need key_mgmt set too
5561 - (parser_parse_file): validate ifcfg file name and don't try to parse
5562 .bak files; ensure that an error is set whenever NULL gets returned
5564 2008-02-04 Dan Williams <dcbw@redhat.com>
5566 * system-settings/src/Makefile.am
5567 - Install D-Bus service activation file for the system settings
5570 * system-settings/src/org.freedesktop.NetworkManagerSystemSettings.service
5571 - D-Bus service activation file for system settings service
5573 2008-02-04 Dan Williams <dcbw@redhat.com>
5575 * system-settings/src/main.c
5576 - (parse_config_file): parse a config file
5577 - (main): accept --config option and read plugins from config file
5579 2008-02-04 Dan Williams <dcbw@redhat.com>
5581 * system-settings/plugins/ifcfg-fedora/plugin.c
5582 - Change reported name to 'ifcfg-fedora'
5583 - Use IFCFG_PLUGIN_NAME
5585 * system-settings/plugins/ifcfg-fedora/plugin.c
5586 - Remove PLUGIN_NAME, use IFCFG_PLUGIN_NAME instead
5588 2008-02-04 Dan Williams <dcbw@redhat.com>
5590 * system-settings/plugins/ifcfg-fedora/parser.c
5591 - (get_ifcfg_name): new function; factor out ifcfg name finding code
5592 - (make_connection_setting): use get_ifcfg_name()
5593 - (make_wireless_security_setting): handle shadow key files
5594 - (get_one_wep_key): treat empty string as NULL
5596 2008-02-04 Dan Williams <dcbw@redhat.com>
5598 * src/supplicant-manager/nm-supplicant-manager.c
5599 - (poke_supplicant_cb): reschedule the poke as a timeout, don't let
5600 glib automatically reschedule
5601 - (nm_supplicant_manager_init): immediately try to start the supplicant
5602 - (nm_supplicant_manager_name_owner_changed): immediately try to restart
5605 2008-02-01 Dan Williams <dcbw@redhat.com>
5607 * src/NetworkManagerPolicy.c
5608 - (device_state_changed): schedule a change check when a device gets
5609 deactivated so something happens if you disconnect GSM/CDMA
5611 2008-01-31 Dan Williams <dcbw@redhat.com>
5613 * src/nm-device-802-11-wireless.h
5614 src/nm-device-802-11-wireless.c
5615 - (ap_list_get_ap_by_ssid, is_associated,
5616 nm_device_802_11_wireless_ap_list_get_ap_by_ssid,
5617 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): remove
5618 - (nm_device_802_11_wireless_get_activation_ap): collapse
5619 nm_device_802_11_wireless_ap_list_get_ap_by_obj_path() into this
5622 2008-01-30 Dan Williams <dcbw@redhat.com>
5624 * system-settings/plugins/ifcfg
5625 * system-settings/plugins/ifcfg-fedora
5626 - Move the ifcfg plugin to ifcfg-fedora
5628 2008-01-24 Dan Williams <dcbw@redhat.com>
5630 * libnm-glib/nm-device-802-11-wireless.c
5631 - (get_access_point): move the "/" check here; check for invalid path
5633 - (nm_device_802_11_wireless_set_active_ap): leave the "/" check up
5634 to get_access_point()
5635 - (access_point_added_proxy, access_point_removed_proxy): don't try
5636 to send signals for non-existent access points
5638 2008-01-24 Dan Williams <dcbw@redhat.com>
5640 * libnm-glib/nm-device-802-11-wireless.c
5641 - (nm_device_802_11_wireless_set_active_ap): path of "/" means no AP
5643 2008-01-23 Dan Williams <dcbw@redhat.com>
5645 * libnm-glib/libnm_glib.c
5646 - (libnm_glib_init): make thread joinable
5647 - (libnm_glib_ctx_free): join thread on exit to clean up memory
5649 2008-01-23 Dan Williams <dcbw@redhat.com>
5651 * test/libnm_glib_test.c
5652 - (signal_handler, setup_signals): trap SIGINT and SIGTERM
5653 - (main): set up signal handlers; call libnm_glib_shutdown
5655 2008-01-21 Dan Williams <dcbw@redhat.com>
5657 * include/NetworkManager.h
5658 - Add CDMA mobile broadband card device type
5660 * src/nm-hal-manager.c
5661 - (modem_device_creator): handle both CDMA and GSM modems; the device
5662 must now be tagged with 'cdma' or 'gsm' capability
5664 * src/nm-cdma-device.c
5665 src/nm-cdma-device.h
5667 - Add the CDMA mobile broadband card device class
5669 * libnm-util/nm-connection.c
5670 - (register_default_settings): add NMSettingCdma
5672 * libnm-util/nm-setting-cdma.c
5673 libnm-util/nm-setting-cdma.h
5674 libnm-util/Makefile.am
5675 - Add the CDMA mobile broadband card setting class
5677 * libnm-glib/nm-cdma-device.c
5678 libnm-glib/nm-cdma-device.h
5679 libnm-glib/Makefile.am
5680 - Add the CDMA mobile broadband card GLib proxy class
5682 * libnm-glib/nm-client.c
5683 - (get_device): handle CDMA devices too
5685 2008-01-21 Dan Williams <dcbw@redhat.com>
5687 * src/ppp-manager/nm-ppp-manager.c
5688 - (ip4_config_get): set peer address too
5690 * src/ppp-manager/nm-pppd-plugin.c
5691 - (nm_ip_up): try harder to get the peer's address
5693 * src/NetworkManagerSystem.c
5694 - (nm_system_device_set_from_ip4_config): if the IP4Config has a peer
5695 address, use that too. Otherwise, some PPP connections won't work.
5697 2008-01-19 Dan Williams <dcbw@redhat.com>
5699 * src/NetworkManagerPolicy.c
5700 - (nm_policy_device_change_check): system connections override user
5701 connections; don't activate a user connection if there's a currently
5702 active system connection, and new, better system connections always
5703 interrupt user connections
5705 2008-01-19 Dan Williams <dcbw@redhat.com>
5708 - (nm_manager_get_connection_type): new function
5710 2008-01-19 Dan Williams <dcbw@redhat.com>
5712 * src/nm-device-802-11-wireless.c
5713 - (real_get_best_connection): collapse find_best_connection() into this
5716 2008-01-19 Dan Williams <dcbw@redhat.com>
5718 * src/nm-device-802-3-ethernet.c
5719 - (real_get_best_connection): collapse find_best_connection() into this
5722 2008-01-18 Dan Williams <dcbw@redhat.com>
5724 * src/nm-device-802-3-ethernet.c
5725 - (find_best_connection): check MAC address too
5726 - (real_get_best_connection): let autoconnect=True connections activate
5727 for devices that don't have carrier detection
5729 * src/nm-device-802-11-wireless.c
5730 - (find_best_connection): check MAC address too
5732 2008-01-18 Dan Williams <dcbw@redhat.com>
5734 * system-settings/plugins/ifcfg/parser.c
5735 - (make_connection_setting): interpret ON_BOOT=y as 'autoconnect=True'
5737 2008-01-17 Dan Williams <dcbw@redhat.com>
5739 * src/nm-device-802-3-ethernet.c
5740 - (nm_device_802_3_ethernet_carrier_on,
5741 nm_device_802_3_ethernet_carrier_off): ignore any spurious netlink
5742 carrier events that might come in for devices that don't support
5745 2008-01-17 Dan Williams <dcbw@redhat.com>
5747 * src/nm-device-interface.c
5748 - (nm_device_interface_check_connection_conflicts): need to actually
5749 get the interface, not cast to the object
5752 - (nm_device_check_connection_conflicts): need to get the device class,
5753 not cast the device to the device class
5755 2008-01-17 Dan Williams <dcbw@redhat.com>
5757 * src/nm-device-802-11-wireless.c
5758 - (real_check_connection_conflicts): ignore connections that aren't
5759 wireless connections
5761 2008-01-17 Dan Williams <dcbw@redhat.com>
5763 * src/NetworkManagerPolicy.c
5764 - (nm_policy_device_change_check): clear change check idle here
5765 - (device_change_check_done): remove
5766 - (schedule_change_check): simplify
5768 2008-01-17 Dan Williams <dcbw@redhat.com>
5771 - (check_connection_allowed): take an NMDeviceInterface instead of
5772 an NMDevice object as an argument
5773 - (nm_manager_activate_device): pass an NMDeviceInterface to
5774 check_connection_allowed()
5776 2008-01-13 Dan Williams <dcbw@redhat.com>
5778 * libnm-glib/nm-device-802-11-wireless.c
5779 - (nm_device_802_11_wireless_get_access_points): fix memory leak
5781 2008-01-12 Dan Williams <dcbw@redhat.com>
5783 * src/nm-device-802-11-wireless.c
5784 - (activation_success_handler): if a match was found in the scan list
5785 and that match is a hidden AP, update that AP's SSID
5787 2008-01-11 Dan Williams <dcbw@redhat.com>
5789 * src/NetworkManagerAP.c
5790 - (nm_ap_new_fake_from_connection): mark fake APs as fake
5792 * src/nm-device-802-11-wireless.c
5793 - (get_active_ap): do two passes over the scan list if the caller
5794 requests that hidden APs get matched too; during the second pass
5795 when matching hidden APs, ignore the SSID since hidden APs in the
5796 scan list don't have an SSID yet
5797 - (periodic_update): move some checks to
5798 nm_device_802_11_periodic_update() because not all callers need them
5799 - (nm_device_802_11_periodic_update): move some checks here from
5801 - (merge_scanned_ap): if the current AP is fake, then don't do strict
5802 matching on incoming scan results, because the fake AP's flags
5803 might be slightly different (yet still compatible) with the incoming
5804 scan result's flags and they might actually be the same AP; update
5805 the rate on merged APs too
5806 - (activation_success_handler): update the frequency of the fake AP
5807 on successful connection; match hidden APs too since if the
5808 current AP is fake, there might already be a scan result in the
5809 scan list for the desired AP, just without it's SSID filled in yet
5811 2008-01-10 Dan Williams <dcbw@redhat.com>
5813 * src/NetworkManagerAP.c
5814 - (foreach_property_cb): catch more hidden SSID formats
5816 2008-01-10 Dan Williams <dcbw@redhat.com>
5818 Fix gnome.org #464215. Requires the kernel patch titled
5819 "Introduce WEXT scan capabilities" but will handle the patch not being
5820 present, you'll just continue to have problems with hidden SSIDs when
5821 using mac80211-based drivers.
5823 * src/supplicant-manager/nm-supplicant-config.h
5824 src/supplicant-manager/nm-supplicant-config.c
5825 - (nm_supplicant_config_add_setting_wireless): new parameter to indicate
5826 whether the driver supports SSID scans or not. If it does, and if
5827 the AP is hidden, use ap_scan=1 instead of ap_scan=2
5829 * src/nm-device-802-11-wireless.c
5830 - (constructor): check whether or not the driver supports SSID scans
5831 - (build_supplicant_config): pass driver SSID scan capability when
5832 building the wireless bits of the supplicant config
5834 2008-01-09 Dan Williams <dcbw@redhat.com>
5838 - (device_activation_precheck, check_connection_complete): remove this
5839 virtual function; incomplete connections should be invalid by
5840 definition, complete-ness should be checked in the setting's
5843 * src/nm-serial-device.c
5845 - (real_check_connection_complete): remove
5847 * libnm-util/nm-setting-serial.c
5848 - (verify): new function; ensure there is a PPP setting too
5850 * libnm-util/nm-setting-gsm.c
5851 - (verify): ensure there is a serial setting too
5853 2008-01-06 Dan Williams <dcbw@redhat.com>
5855 * src/dhcp-manager/nm-dhcp-manager.c
5856 - (nm_dhcp_manager_get_ip4_config): handle DHCP-provided MTU
5859 2008-01-04 Dan Williams <dcbw@redhat.com>
5861 * src/named-manager/nm-named-manager.c
5862 - (rewrite_resolv_conf, add_ip4_config_to_named): use primary IP4Config's
5863 nameservers if the secondary config doesn't have any
5866 2008-01-02 Tambet Ingo <tambet@gmail.com>
5868 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Mark the properties
5869 with G_PARAM_CONSTRUCT so that they get the default values.
5871 * src/nm-gsm-device.c: Add preliminary support for monitoring device. It only monitors
5872 the monitoring device and prints out the output for now. Or more precicely, doesn't
5873 do absolutely anything right now since the montoring device argument is never set.
5875 * src/nm-serial-device.c (serial_debug): Implement. It's very verbose and thus
5876 requires it's own knob to turn it on.
5877 (config_fd): Add NMSettingSerial to the arguments list.
5878 (nm_serial_device_open): Ditto.
5879 (get_reply_got_data): Ignore the terminators at the beginning of the output.
5880 (nm_serial_device_get_io_channel): Implement.
5882 * src/nm-manager.c: Add NMDBusManager to the private data of the NMManager. Asking
5883 a new reference every time (and forgetting to release it sometimes) is a pain and
5884 it's not like NMManager could work without dbus.
5885 (nm_manager_add_device): Register the added device on dbus here.
5887 * src/nm-hal-manager.c (modem_device_creator): Pass NULL for now for the monitoring
5890 * src/nm-device.c (constructor): Don't export the device here, instead export
5891 it when it's added to the NMManager's device list.
5893 2007-12-31 Dan Williams <dcbw@redhat.com>
5895 * src/nm-device-interface.c
5896 src/nm-device-interface.h
5897 - (nm_device_interface_check_connection_conflicts): new function
5901 - (nm_device_check_connection_conflicts): new function
5902 - (device_activation_precheck): don't require subclasses to implement
5903 check_connection_complete()
5904 - check_connection() -> check_connection_complete()
5906 * src/nm-device-802-11-wireless.c
5907 - (real_check_connection): remove; unused
5908 - (real_check_connection_conflicts): implement, handle lockdown for
5911 * src/nm-device-802-3-ethernet.c
5912 - (real_check_connection): remove; unused
5915 - (check_connection_allowed): new function
5916 - (nm_manager_activate_device): ensure the connection being requested
5917 is allowed to be activated
5919 * src/nm-serial-device.c
5921 - real_check_connection() -> real_check_connection_complete()
5923 2007-12-27 Dan Williams <dcbw@redhat.com>
5925 * src/nm-device-interface.c
5926 src/nm-device-interface.h
5927 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
5928 normalize and expand errors
5929 - (nm_device_interface_init): register errors so they can be marshalled
5931 - (nm_device_interface_activate): ensure that failure of activation
5936 - (device_activation_precheck): implementations of check_connection()
5937 now take a GError and must fill it in if the check fails. Return
5938 more descriptive error if the requested connection is already
5940 - (nm_device_activate): actually try to return descriptive errors on
5943 * src/nm-device-802-11-wireless.c
5944 src/nm-device-802-3-ethernet.c
5945 src/nm-serial-device.c
5947 - (real_check_connection): return more descriptive errors on failure
5949 * src/NetworkManagerPolicy.c
5950 - (nm_policy_device_change_check): print activation errors in the logs
5953 - (nm_manager_error_quark, nm_manager_error_get_type,
5954 nm_manager_class_init): new errors
5955 - (nm_manager_activate_device): handle errors
5956 - (nm_manager_error_new): removed
5957 - (wait_for_connection_expired, connection_added_default_handler,
5958 impl_manager_activate_device): better error handling
5960 2007-12-27 Dan Williams <dcbw@redhat.com>
5962 Fixes gnome.org #466954
5964 * src/supplicant-manager/nm-supplicant-settings-verify.c
5965 - Allow 'frequency' network property
5967 * src/supplicant-manager/nm-supplicant-config.c
5968 src/supplicant-manager/nm-supplicant-config.h
5969 - (nm_supplicant_config_add_setting_wireless): add 'adhoc_freq' argument
5970 for callers to specify the frequency an Ad-Hoc network should operate
5971 on. Some drivers require this to successfully create an Ad-Hoc
5974 * src/nm-device-802-11-wireless.c
5975 - (iw_freq_to_uint32): new function; convert a struct iw_freq into a
5976 guint32 value in MHz
5977 - (constructor, nm_device_802_11_wireless_get_frequency): use
5979 - (find_supported_frequency): new function; find a free supported
5980 frequency for a user-created Ad-Hoc network
5981 - (build_supplicant_config): if no frequency was specified for a user-
5982 created Ad-Hoc network, find a free one to use
5983 - (real_act_stage1_prepare): mark Ad-Hoc connections that don't have
5984 a specific object as user-created
5986 2007-12-27 Dan Williams <dcbw@redhat.com>
5988 * libnm-util/nm-utils.c
5989 libnm-util/nm-utils.h
5990 - (nm_utils_security_valid): add 'adhoc' argument and handle security
5993 2007-12-24 Dan Williams <dcbw@redhat.com>
5995 * libnm-util/nm-setting-wireless.c
5996 - (verify): add 802.11a channels 7, 8, 9, 11, 12, 16, 34, 165, 183, 184,
5997 185, 187, 188, 192, and 196
5999 2007-12-24 Dan Williams <dcbw@redhat.com>
6001 * src/nm-device-802-11-wireless.c
6002 - (nm_device_802_11_wireless_get_frequency): handle drivers that return
6003 a channel # instead of a frequency
6005 2007-12-24 Dan Williams <dcbw@redhat.com>
6007 * src/NetworkManagerAP.c
6008 src/NetworkManagerAP.h
6009 - (nm_ap_new_fake_from_connection): pass band to channel_to_freq()
6010 - (freq_to_channel): handle split band tables
6011 - (channel_to_freq): handle split band tables, take a band argument
6013 2007-12-24 Dan Williams <dcbw@redhat.com>
6015 * libnm-util/nm-setting-connection.h
6016 libnm-util/nm-setting-connection.c
6017 - Add 'lockdown' member
6019 2007-12-22 Dan Williams <dcbw@redhat.com>
6021 * libnm-util/nm-setting-wireless.c
6022 - (nm_setting_wireless_class_init): add missing 'rate' property
6025 2007-12-18 Dan Williams <dcbw@redhat.com>
6027 Base the NMNetlinkMonitor class on libnl instead of hand-rolled netlink.
6029 * src/nm-netlink-monitor.c
6030 src/nm-netlink-monitor.h
6031 - Remove handrolled netlink, use libnl instead
6033 * src/nm-device-802-3-ethernet.c
6034 - (constructor, nm_device_802_3_ethernet_carrier_off,
6035 nm_device_802_3_ethernet_carrier_on): use new names
6037 2007-12-17 Dan Williams <dcbw@redhat.com>
6040 - Bump requirement for libnl to 1.0-pre8 (which works with newer kernels
6041 and fixes memory leaks)
6044 - (nm_netlink_get_default_handle): handle new versions of libnl that
6045 automatically handle the netlink PID
6047 2007-12-17 Dan Williams <dcbw@redhat.com>
6049 Patch from Michael Biebl <biebl@debian.org>
6052 src/ppp-manager/Makefile.am
6053 - fix up install dir of pppd plugin
6054 - clean up configure.in a bit
6056 2007-12-12 Dan Williams <dcbw@redhat.com>
6058 * system-settings/src/nm-system-settings.conf
6059 - Allow non-root clients (like the applet) to read settings
6061 2007-12-10 Tambet Ingo <tambet@gmail.com>
6063 * Replace all occurences of 'UMTS' with 'GSM'.
6065 2007-12-07 Dan Williams <dcbw@redhat.com>
6067 * src/nm-serial-device.c
6068 - (real_is_up): serial devices are always "up"
6070 2007-12-07 Dan Williams <dcbw@redhat.com>
6073 src/NetworkManagerSystem.c
6074 - (new_nl_handle): ensure that the same netlink pid is never chosen
6075 twice (gnome.org #491047)
6076 - Make more robust against allocation-related failures should they occur
6078 2007-12-07 Dan Williams <dcbw@redhat.com>
6080 Noticed by Christian Persch <chpe@gnome.org>
6082 Always chain up to parent object in dispose and finalize handlers.
6085 2007-12-07 Dan Williams <dcbw@redhat.com>
6087 * src/nm-device-802-11-wireless.c
6088 - Wrap #include of linux/mii.h to fix redefined structures due to
6089 incorrect kernel headers (gnome.org #350061)
6091 2007-12-06 Tambet Ingo <tambet@gmail.com>
6093 * src/nm-umts-device.c (real_act_stage1_prepare): Flash the modem (drop DTR)
6094 before doing anything else.
6095 (init_modem): Move modem initialization here.
6097 * src/nm-serial-device.c (ppp_state_changed): React on pppd state changes.
6098 (nm_serial_device_flash): Implement.
6100 * src/ppp-manager/nm-ppp-manager.c (name_owner_changed): Fix the typoes: the state
6101 changes signal is "StateChanged" and not "Status".
6102 (ppp_exit_code, ppp_status_changed): Remove the debug output, it's working fine now.
6104 2007-12-06 Dan Williams <dcbw@redhat.com>
6106 * src/supplicant-manager/nm-supplicant-config.c
6107 - (nm_supplicant_config_add_setting_wireless_security): reorganize a bit
6108 to only send some options when they make sense; also send phase2
6109 option to the supplicant (possible fix for rh #399631)
6111 2007-12-06 Tambet Ingo <tambet@gmail.com>
6113 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Change the
6114 arguments: This whole file shouldn't really know anything about NMDevices, it
6115 should deal only with device interfaces. Devices might have different ifaces for
6116 different stuff and this place shouldn't know anything about it.
6118 * src/NetworkManagerPolicy.c: Get rid of leftover global variable global_policy.
6119 (global_state_changed): Implement. In the current NM it's not really important,
6120 but will be required in the case of multiple active devices. (Or even better,
6121 if stuff like that gets moved out from NM).
6123 * src/vpn-manager/nm-vpn-connection.c (connection_state_changed): Don't call
6124 nm_system_device_set_from_ip4_config() directly, use nm_device_set_ip4_config()
6127 * src/nm-device.c: Add a ip_face protected member. It's used for 'multi-interface'
6128 devices like serial devices (ttyS0 and ppp0 for example).
6129 (nm_device_get_ip_iface): Implement. Default to the device iface if ip_iface is not
6131 (nm_device_set_ip_iface): Implement.
6132 (nm_device_activate_stage5_ip_config_commit): Move all the extra actions that happen
6133 after setting ip4_config from here ...
6134 (nm_device_set_ip4_config): ... to here. The reason behind it is that no other code
6135 than this function should call nm_system_device_set_from_ip4_config() because no
6136 other code has enough information on which arguments to use. So instead, other code
6137 could just set the new ip4 config using this function and everyone is happy.
6139 * src/nm-umts-device.c: Store the pending ids so that we can remove pending actions
6140 if we happen to get deactivated while something is pending.
6141 (automatic_registration): Handle the response that indicates pending network
6142 registration and wait until the pending registration is done.
6143 (real_deactivate_quickly): If there's a pending operation, cancel it.
6145 * src/nm-serial-device.c (ppp_ip4_config): Set the ip_iface when the iface is up ...
6146 (real_deactivate_quickly): ... and remove it when it's down.
6147 (nm_serial_device_get_reply): Return the timeout id so that the callers can remove
6149 (nm_serial_device_wait_for_reply): Ditto.
6151 2007-12-05 Tambet Ingo <tambet@gmail.com>
6153 * src/nm-umts-device.c (dial_done): Fix the typoes in warnings.
6154 (get_network_done): Remove newline, nm_info() does it already.
6155 (real_act_stage1_prepare): Turn the modem echo off.
6157 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): In case of serial
6158 device, set the route to the device interface. This is a hack.
6160 * src/nm-serial-device.c (nm_serial_device_send_command_string): Only append carriage
6161 return, no need for a new-line.
6162 (ppp_ip4_config): Store the ip4 config to be set in the next stage.
6163 Change the device iface here (ugh).
6164 (real_act_stage4_get_ip4_config): Implement.
6165 (real_deactivate_quickly): Free the pending ip4 config if it's still pending.
6166 Restore the device iface.
6168 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Do nothing if the active
6169 device is not wired or wireless (eg, automatically upped) device.
6171 * src/ppp-manager/nm-ppp-manager.c (ip4_config_get): Don't make the config secondary,
6173 (nm_ppp_manager_start): Don't let pppd to set the default route, we want to do it.
6175 * src/nm-hal-manager.c (get_creator): Make sure the device has required capability
6176 before calling it's is_device_fn().
6178 2007-12-05 Dan Williams <dcbw@redhat.com>
6180 * libnm-util/nm-utils.c
6181 - (nm_utils_register_value_transformations,
6182 nm_utils_convert_gvalue_hash_to_string): better debug output of
6183 GHashTables of GValues too
6185 2007-12-04 Dan Williams <dcbw@redhat.com>
6187 * initscript/RedHat/NetworkManager.in
6188 - No longer start named; it's D-Bus interface is going away
6190 2007-12-04 Dan Williams <dcbw@redhat.com>
6192 Patch from Michael Biebl <biebl@debian.org>
6194 * system-settings/plugins/ifcfg/Makefile.am
6195 system-settings/src/main.c
6196 system-settings/src/Makefile.am
6197 - Put system settings plugins in NM plugins dir
6199 * src/ppp-manager/Makefile.am
6200 src/ppp-manager/nm-ppp-manager.c
6201 - Move pppd plugin to NM plugins dir
6203 2007-12-04 Dan Williams <dcbw@redhat.com>
6205 * libnm-util/nm-setting-vpn-properties.h
6206 - Clarify usage of the 'data' member of the setting
6208 * libnm-util/nm-setting-vpn-properties.c
6209 - (nm_setting_vpn_properties_init): initialize the 'data' hash table
6210 - (set_property): just remove all the settings; don't recreate the has
6211 - (update_one_secret): don't need to create the hash table here since
6212 it should always be present
6214 2007-12-03 Tambet Ingo <tambet@gmail.com>
6216 Implement PIN and PUK requesting.
6218 * src/nm-umts-device.c (enter_pin_done): Request the secret again if it failed.
6219 (enter_pin): Handle PIN and PUK requests.
6220 (real_act_stage1_prepare): Clear the secret type.
6221 (real_connection_secrets_updated): Implement this class method to get
6222 notified when new secrets arrive.
6223 (nm_umts_device_class_init): Add private data back to the umts device class
6224 to store the required secret type.
6226 2007-12-01 Dan Williams <dcbw@redhat.com>
6228 * system-settings/plugins/ifcfg/parser.c
6229 - (parser_parse_file): don't try to verify NULL connections
6231 2007-12-01 Dan Williams <dcbw@redhat.com>
6233 * system-settings/src/main.c
6234 - (load_connections, add_connection_to_settings): actually export
6235 plugin-provided connections over D-Bus so NM can get them
6237 2007-12-01 Dan Williams <dcbw@redhat.com>
6239 * system-settings/plugins/ifcfg/parser.c
6240 system-settings/plugins/ifcfg/parser.h
6241 system-settings/plugins/ifcfg/plugin.c
6242 - Hook up more inotify bits (untested)
6244 2007-11-29 Dan Williams <dcbw@redhat.com>
6246 * system-settings/src/nm-system-config-interface.h
6247 system-settings/src/nm-system-config-interface.c
6248 - (nm_system_config_interface_init,
6249 nm_system_config_interface_get_connections): add
6251 * system-settings/src/main.c
6252 - (load_plugins, load_connections, main): use a GSList for plugins
6253 to ensure priority ordering
6255 * system-settings/plugins/ifcfg/parser.c
6256 - (ifcfg_error_quark): move to plugin.c, and rename
6258 * system-settings/plugins/ifcfg/plugin.h
6259 system-settings/plugins/ifcfg/plugin.c
6260 - (ifcfg_plugin_error_quark): move here from parser.c
6261 - rework connection loading and initialization
6262 - Add preliminary inotify support for network profile config file
6264 2007-11-28 Tambet Ingo <tambet@gmail.com>
6266 Merge the beginnings of the new GSM card support.
6268 * src/ppp-manager/nm-ppp-manager.c (nm_ppp_manager_stop): Remove the
6269 ppp watch source before killing pppd - If this happens from g_object_unref()
6270 then the ppp manager is already destroyed by the time the watch callback runs.
6272 * src/nm-hal-manager.c: Add a device_type_name string to the device
6273 creators, so that we can print a nice human readable string when a
6276 * src/nm-umts-device.c (automatic_registration_get_network): Query
6277 for the activated network, not much is done with the result thought.
6279 * src/nm-serial-device.c (nm_serial_device_get_reply): Implement.
6280 (ppp_ip4_config): Change the device state to activated here for now.
6281 (real_check_connection): Make sure the connection includes ppp setting.
6283 * libnm-glib/nm-client.c (get_device): Handle umts devices.
6285 * libnm-glib/Makefile.am: Add the new files to build.
6287 * libnm-glib/nm-umts-device.c:
6288 * libnm-glib/nm-umts-device.h: Implement.
6290 2007-11-26 Tambet Ingo <tambet@gmail.com>
6292 * src/nm-umts-device.c (automatic_registration_get_network): For now, dial
6293 immediately, nm_serial_device_get_reply() isn't implemented correctly yet.
6295 * src/nm-serial-device.c (wait_for_reply_info_destroy): Don't try to remove
6296 the timeout source - this function is only called when the timeout source has
6298 (nm_serial_device_wait_for_reply): Allocate the duplicate responses array
6299 to be big enough to contain the terminating zero element as well.
6300 The timeout argument is meant to be in seconds now.
6301 (real_deactivate_quickly): Implement.
6303 * src/NetworkManager.conf: Allow root to own
6304 "org.freedesktop.NetworkManager.PPP", deny it for everybody else.
6306 * libnm-util/nm-setting-umts.c: Network type and band properties are ints,
6307 (not unsigned ints).
6309 * libnm-util/nm-setting-serial.c (nm_setting_serial_class_init): Fix a
6310 small issue with parity bounds - capital letters have lower ascii codes
6311 than lower case letters.
6313 * libnm-util/nm-connection.c (register_default_settings): Register serial
6316 2007-11-22 Tambet Ingo <tambet@gmail.com>
6318 Remove the "index" property from devices as not all device types have this.
6320 * include/NetworkManager.h (NM_DBUS_PATH_DEVICE): Remove.
6322 * src/nm-hal-manager.c (nm_get_device_index_from_hal): Remove.
6323 (wired_device_creator): Get the device interface from hal to create the device.
6324 (wireless_device_creator): Ditto.
6326 * src/nm-device.c (nm_device_init): Remove the index member.
6327 (constructor): Remove the checks for index property, make interface property
6328 a require constructor property.
6329 Use the HAL udi for DBus path for devices.
6330 (nm_device_get_index): Remove.
6331 (set_property): Remove index handling.
6332 (get_property): Ditto.
6333 (nm_device_get_dbus_path): Remove.
6335 * src/nm-device-interface.c (nm_device_interface_init): Remove the index
6338 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_link_activated):
6339 Access the device index through it's interface.
6340 (nm_device_802_3_ethernet_link_deactivated): Ditto.
6341 (nm_device_802_3_ethernet_new): Remove the useless argument test_dev. Remove
6342 index argument. Add interface argument.
6344 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new): Remove
6345 the useless test_dev argument. Remove index argument. Add interface arugment.
6347 * src/NetworkManagerSystem.c (nm_system_device_set_from_ip4_config): Get the
6348 device index through interface.
6349 (nm_system_set_mtu): Ditto.
6351 * introspection/nm-device.xml: Remove the "Index" property.
6353 2007-11-21 Tambet Ingo <tambet@gmail.com>
6355 * src/nm-serial-device.c:
6356 * src/nm-serial-device.c:
6357 * src/nm-umts-device.c:
6358 * src/nm-umts-device.h: Implement.
6360 * src/nm-hal-manager.c (nm_get_device_driver_name): libhal_free_string the string
6361 allocated by libhal.
6362 (modem_device_creator): Implement.
6363 (register_built_in_creators): Register the modem creator.
6365 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_new):
6366 Remove the unused test_dev argument.
6368 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_new): Ditto.
6370 * src/Makefile.am: Add new files to build.
6371 Link in ppp-manager.
6373 * libnm-util/nm-setting-umts.c:
6374 * libnm-util/nm-setting-umts.h:
6375 * libnm-util/nm-setting-serial.c:
6376 * libnm-util/nm-setting-serial.h: Implement.
6378 * libnm-util/Makefile.am: Add new files to build.
6380 2007-11-28 Dan Williams <dcbw@redhat.com>
6382 Patch from Zdeněk Jurka <zdenek.jurka@jware.cz>
6384 Support DHCP-provided static routes.
6386 * src/nm-ip4-config.h
6388 - Add get/set functions for static routes
6390 * src/dhcp-manager/nm-dhcp-manager.c
6391 - (nm_dhcp_manager_get_ip4_config): extract static routes from the
6394 * src/NetworkManagerSystem.c
6395 - (nm_system_device_set_from_ip4_config): set any static routes on the
6396 interface when applying the IP4Config
6398 2007-11-28 Dan Williams <dcbw@redhat.com>
6400 * src/nm-device-802-11-wireless.c
6401 - (real_act_stage1_prepare): mark APs created for hidden networks
6404 2007-11-27 Dan Williams <dcbw@redhat.com>
6406 * system-settings/src/nm-system-config-interface.h
6407 - Note how to store secrets on NMSetting objects
6409 * system-settings/src/dbus-settings.c
6410 - (connection_settings_get_secrets): implement
6412 2007-11-27 Dan Williams <dcbw@redhat.com>
6414 * system-settings/plugins/ifcfg/Makefile.am
6415 system-settings/plugins/ifcfg/parser.c
6416 system-settings/plugins/ifcfg/parser.h
6417 system-settings/plugins/ifcfg/plugin.c
6418 - Parse wireless connections too
6420 * system-settings/src/dbus-settings.c
6421 system-settings/src/dbus-settings.h
6422 system-settings/src/main.c
6423 - Handle connection update/removal if the plugin supports it
6425 2007-11-27 Dan Williams <dcbw@redhat.com>
6427 * src/nm-dbus-manager.h
6428 src/nm-hal-manager.c
6429 - Include the correct headers now that NetworkManagerDbusUtils.h doesn't
6433 src/NetworkManagerDbusUtils.c
6434 src/NetworkManagerDbusUtils.h
6435 - Remove these two source files; they are unused
6437 2007-11-27 Dan Williams <dcbw@redhat.com>
6439 * src/vpn-manager/nm-vpn-manager.c
6440 - (impl_vpn_manager_connect): fix system settings check (found by
6443 2007-11-26 Dan Williams <dcbw@redhat.com>
6445 * Fix warnings so everything compiles with --enable-more-warnings
6447 2007-11-25 Dan Williams <dcbw@redhat.com>
6450 - Rework structure and code to use GModule-loaded plugins and a plugin
6451 interface that plugins export to the system settings service
6453 2007-11-21 Dan Williams <dcbw@redhat.com>
6456 - Add Soren's system settings service. Needs work for distros other
6457 than Fedora; the backends from NM should mostly migrate to here
6458 and be converted to GObjects
6460 2007-11-21 Dan Williams <dcbw@redhat.com>
6462 * libnm-util/nm-setting-vpn-properties.c
6463 - (set_property): must deep-copy the given settings hash, otherwise
6464 double-free errors occur when the setting is disposed of
6466 2007-11-21 Dan Williams <dcbw@redhat.com>
6468 * src/vpn-manager/nm-vpn-act-request.h
6469 src/vpn-manager/nm-vpn-act-request.c
6472 2007-11-20 Dan Williams <dcbw@redhat.com>
6474 * libnm-util/nm-utils.c
6475 - (nm_utils_convert_strv_to_string, nm_utils_convert_uint_array_to_string,
6476 nm_utils_convert_ip4_addr_struct_array_to_string,
6477 nm_utils_register_value_transformations): print out the readable
6478 values of more types of properties of NMSettings subclasses
6480 2007-11-20 Dan Williams <dcbw@redhat.com>
6482 * libnm-util/nm-setting-ip4-config.c
6483 - (ip4_addresses_from_gvalue, ip4_addresses_to_gvalue,
6484 nm_setting_ip4_config_class_init): apparently dbus-glib can't
6485 marshal GValueArrays inside collections, so switch to types that it
6486 can actually marshal/demarshal
6488 2007-11-16 Dan Williams <dcbw@redhat.com>
6490 * libnm-util/nm-setting-wireless-security.c
6491 - (verify_tls, verify_ttls, verify_identity, verify_nai): do some
6492 minimal verification of EAP methods too
6493 - (verify): verify phase1 eap methods too
6495 2007-11-15 Dan Williams <dcbw@redhat.com>
6497 * libnm-glib/nm-device.h
6498 libnm-glib/nm-device.c
6499 - (nm_device_get_product, nm_device_get_vendor): should be returning
6502 2007-11-15 Dan Williams <dcbw@redhat.com>
6504 * libnm-glib/nm-device.c
6505 - (get_product_and_vendor): don't try to free things that should be
6508 2007-11-15 Dan Williams <dcbw@redhat.com>
6510 * src/NetworkManagerUtils.c
6511 - (nm_ethernet_address_is_valid): unbreak previous fix
6513 2007-11-15 Dan Williams <dcbw@redhat.com>
6515 * src/supplicant-manager/nm-supplicant-config.c
6516 - (nm_supplicant_config_add_setting_wireless_security): handle PEAP
6519 2007-11-15 Dan Williams <dcbw@redhat.com>
6521 * src/NetworkManagerUtils.c
6522 - (nm_ethernet_address_is_valid): fix style, clarify
6523 - (nm_ethernet_addresses_are_equal): don't try to memcmp NULLs
6525 * src/nm-device-802-11-wireless.c
6526 - (get_active_ap): handle failure from nm_device_802_11_wireless_get_bssid()
6527 - (nm_device_802_11_wireless_get_ssid,
6528 nm_device_802_11_wireless_get_bssid,
6529 nm_device_802_11_wireless_get_bitrate): zero the wreq structure
6530 before calling the ioctl; fixes valgrind-reported jump depends on
6531 uninitialized value errors
6533 2007-11-15 Dan Williams <dcbw@redhat.com>
6535 * libnm-util/nm-setting.c
6536 - (nm_setting_to_hash, one_property_cb): revert previous commit, it's
6537 unecessary to serialize 'name'
6539 * src/nm-activation-request.c
6540 - (get_secrets_cb): fix cases where a full NMSetting is returned from
6543 2007-11-15 Dan Williams <dcbw@redhat.com>
6545 * libnm-util/nm-setting-connection.h
6546 libnm-util/nm-setting-connection.c
6547 - Rename the 'name' property to 'id', because it conflicted with the
6548 NMSetting superclass' 'name' property.
6550 * libnm-util/nm-setting.c
6551 - (nm_setting_to_hash): serialize the 'name' property
6552 - (one_property_cb): ignore 'name' on deserialization of a connection
6554 * src/nm-device-802-11-wireless.c
6555 src/vpn-manager/nm-vpn-connection.c
6556 src/NetworkManagerPolicy.c
6557 - Fix up for NMSettingConnection 'name'->'id' changes
6559 2007-11-13 Dan Williams <dcbw@redhat.com>
6561 * libnm-glib/nm-device-802-11-wireless.h
6562 libnm-glib/nm-device-802-11-wireless.c
6563 - (nm_device_802_11_wireless_get_hw_address): return should be const
6566 libnm-glib/libnm-glib-test.c
6567 - Fixes for above change
6569 2007-11-12 Dan Williams <dcbw@redhat.com>
6571 * src/supplicant-manager/nm-supplicant-settings-verify.c
6572 - Allow fragment_size option
6574 * src/supplicant-manager/nm-supplicant-settings-verify.c
6575 - (nm_supplicant_config_add_setting_wireless_security): use a lower
6576 EAP fragment size than the default to help some TLS connections
6578 2007-11-12 Dan Williams <dcbw@redhat.com>
6580 Make certs actually work. The private key is now a secret, and should be
6581 decrypted when requested by NM. The private key and phase2 private key
6582 passwords are no longer interesting to NM because they should be used by
6583 the settings service to decrypt the private key itself before passing it
6584 to NM, and hence have been removed as fields.
6586 * libnm-util/nm-setting-wireless-security.h
6587 libnm-util/nm-setting-wireless-security.c
6588 - Remove private-key-passwd and phase2-private-key-passwd from
6590 - (need_secrets_password, need_secrets_eappsk, need_secrets_sim,
6591 need_secrets): use property #defines instead strings to keep things
6593 - (need_secrets_tls): if a client certificate is present but no
6594 private key, request the private key
6595 - (set_property, get_property, nm_setting_wireless_security_class_init):
6596 remove private key password stuff, mark private keys as secret
6598 * src/supplicant-manager/nm-supplicant-settings-verify.c
6599 - Remove private_key_passwd and private_key2_passwd from opt_table
6601 2007-11-09 Dan Williams <dcbw@redhat.com>
6603 Fix vpn-properties setting update_secrets call for new NMSetting stuff.
6604 Since the vpn-properties are managed and known by the VPN daemons themselves,
6605 libnm-util doesn't know what's secret and what's in the setting's 'data'
6608 * libnm-util/nm-setting.h
6609 libnm-util/nm-setting.c
6610 - Add the ability for subclasses to override update_one_secret
6612 * libnm-util/nm-setting-vpn-properties.c
6613 - Override update_one_secret and just copy the values into the
6616 2007-11-09 Dan Williams <dcbw@redhat.com>
6618 * libnm-glib/nm-settings.h
6619 libnm-glib/nm-settings.c
6620 - (nm_settings_new_error): remove
6621 - (nm_settings_error_quark): add; instead of nm_settings_new_error,
6622 clients should use g_set_error() with NM_SETTINGS_ERROR
6624 2007-11-09 Dan Williams <dcbw@redhat.com>
6626 * src/supplicant-manager/nm-supplicant-config.c
6627 - (nm_supplicant_config_add_setting_wireless_security): private key
6628 passwords are never sent to wpa_supplicant, because the supplicant
6629 should never be reading random files from the disk. Clients like
6630 the applet are required to decrypt the private keys and send NM
6631 the decrypted blobs.
6633 2007-11-08 Dan Williams <dcbw@redhat.com>
6635 * libnm-util/nm-setting-wireless-security.h
6636 libnm-util/nm-setting-wireless-security.c
6637 - Add 'private-key-decrypted' and 'phase2-private-key-decrypted'
6638 members to 802-11-wireless-security structure. This should be used
6639 to indicate that the values in private-key and phase2-private-key
6640 are already decrypted by the user agent, and that no
6641 private-key-passwd or phase2-private-key-passwd should be expected.
6642 It is not meant to be a stored configuration value, but meant to
6643 be set when the conneciton is sent to NM over dbus.
6645 2007-11-08 Dan Williams <dcbw@redhat.com>
6647 * libnm-util/nm-connection.h
6648 libnm-util/nm-connection.c
6649 - (nm_connection_need_secrets): add argument to return hints
6651 * src/nm-device-802-11-wireless.c
6652 - (link_timeout_cb, supplicant_connection_timeout_cb,
6653 real_act_stage2_config, real_act_stage4_ip_config_timeout): handle
6654 nm_connection_need_secrets() change
6656 2007-11-07 Tambet Ingo <tambet@gmail.com>
6658 Rework NMSetting structures: Move each setting to it's own file.
6659 Convert to GObject. Remove home grown setting types and use GTypes.
6660 Use GObject property introspection for hash conversion, enumerating
6663 * libnm-util/nm-setting-connection.[ch]
6664 * libnm-util/nm-setting-ip4-config.[ch]
6665 * libnm-util/nm-setting-ppp.[ch]
6666 * libnm-util/nm-setting-vpn.[ch]
6667 * libnm-util/nm-setting-vpn-properties.[ch]
6668 * libnm-util/nm-setting-wired.[ch]
6669 * libnm-util/nm-setting-wireless.[ch]
6670 * libnm-util/nm-setting-wireless-security.[ch]
6672 New files, each containing a setting.
6674 * libnm-util/nm-setting-template.[ch]: A template for creating new
6675 settings. To use it, just replace 'template' with the new setting
6676 name, and you're half-way done.
6678 * libnm-util/nm-setting.c: Convert to GObject and use GObject
6679 introspection instead of internal types and tables.
6681 * libnm-util/nm-connection.c: Adapt the new NMSetting work.
6683 * libnm-util/nm-param-spec-specialized.[ch]: Implement. Handles
6684 GValue types defined by dbus-glib for composed types like collections,
6685 structures and maps.
6687 * src/*: The API of NMSetting and NMConnection changed a bit: Getting
6688 a setting from connection takes the setting type now. Also, since
6689 the settings are in multiple files, include relevant settings.
6691 2007-10-31 Saleem Abdulrasool <compnerd@compnerd.org>
6694 * src/backends/NetworkManagerGentoo.c:
6695 (nm_system_restart_mdns_responder): Implement restarts for other mdns
6696 providers in Gentoo.
6698 2007-10-31 Dan Williams <dcbw@redhat.com>
6700 * libnm-util/nm-connection.c
6701 - (gvalue_to_string): handle UINT32 arrays
6703 2007-10-31 Dan Williams <dcbw@redhat.com>
6705 * libnm-glib/nm-device.h
6706 libnm-glib/nm-device.c
6707 - (nm_device_get_description): remove
6708 - (nm_device_get_product, nm_device_get_vendor): add
6709 - (nm_device_update_description): new function (private); walk HAL
6710 devices to get product and vendor IDs for a specific device
6712 2007-10-31 Dan Williams <dcbw@redhat.com>
6714 * src/nm-device-802-11-wireless.c
6715 - (nm_device_802_11_wireless_get_mode): ignore ENODEV errors
6717 2007-10-29 Dan Williams <dcbw@redhat.com>
6719 * src/nm-hal-manager.c
6720 - (device_added, device_new_capability): ignore device additions while
6721 asleep. Fixes crash caused when NM goes to sleep, a network device
6722 kernel module is unloaded and reloaded and recognized by NM again.
6724 2007-10-26 Dan Williams <dcbw@redhat.com>
6726 Patch from Helmut Schaa <hschaa@suse.de> (and more bits from me)
6728 * src/NetworkManagerAP.c
6729 src/NetworkManagerAP.h
6730 libnm-glib/nm-access-point.c
6731 libnm-glib/nm-access-point.h
6732 - Make 'rate' property a guint32 to better match with WEXT and
6733 wpa_supplicant and to allow representation of higher bitrates
6735 * src/nm-device-802-11-wireless.c
6736 introspection/nm-device-802-11-wireless.xml
6737 libnm-glib/nm-device-802-11-wireless.c
6738 libnm-glib/nm-device-802-11-wireless.h
6739 - Make 'bitrate' property a guint32 to match AP 'rate' property type
6741 * src/nm-device-802-3-ethernet.c
6742 src/nm-device-802-3-ethernet.h
6743 introspection/nm-device-802-3-ethernet.xml
6744 libnm-glib/nm-device-802-3-ethernet.c
6745 libnm-glib/nm-device-802-3-ethernet.h
6746 - Make 'speed' property a guint32 to match other speed/rate types
6747 - Make nm_device_802_3_ethernet_get_speed() static
6750 - Update for the changes above
6752 2007-10-26 Dan Williams <dcbw@redhat.com>
6754 * src/named-manager/nm-named-manager.c
6755 - (rewrite_resolv_conf): clean up error handling to avoid double-free by
6756 not calling fclose() twice on some error conditions
6758 2007-10-26 Dan Williams <dcbw@redhat.com>
6760 * src/nm-activation-request.c
6761 - (dispose): clean up indentation; get the right DBusGProxy object to
6762 cancel the GetSecrets pending call on. Need to use the Secrets
6763 proxy, not the regular connection proxy. Otherwise the GetSecrets
6764 pending call doesn't get canceled, and pressing Cancel in the
6765 applet's password dialog could cause get_secrets_cb() to be called
6766 after the activation request has already been destroyed
6768 2007-10-24 Dan Williams <dcbw@redhat.com>
6770 * src/supplicant-manager/nm-supplicant-config.c
6771 - (nm_supplicant_config_add_blob): pass blob data and length for
6773 - (get_hash_cb): use GByteArrays rather than GArrays; easier to follow
6775 2007-10-24 Dan Williams <dcbw@redhat.com>
6777 * src/supplicant-manager/nm-supplicant-settings-verify.c
6778 - (opt_table): max length for certificates should be 65536
6780 2007-10-24 Dan Williams <dcbw@redhat.com>
6782 * src/supplicant-manager/nm-supplicant-interface.c
6783 - (blob_free): correctly free blob data after use
6784 - (call_set_blobs): use the right D-Bus interfaace for setBlobs
6786 2007-10-24 Dan Williams <dcbw@redhat.com>
6788 * libnm-util/nm-setting.c
6789 - (setting_wireless_security_need_secrets): Fix lookup table logic for
6790 EAP method need secrets
6792 2007-10-24 Dan Williams <dcbw@redhat.com>
6794 * src/backends/NetworkManagerRedHat.c
6795 - (nm_system_update_dns): be a lot smarter about telling nscd to restart
6797 2007-10-23 Dan Williams <dcbw@redhat.com>
6799 * libnm-util/nm-setting.c
6800 libnm-util/nm-setting.c
6801 - (nm_setting_compare): implement
6802 - (default_setting_compare_fn, do_one_compare, compare_gvalue_hash,
6803 compare_one_hash_gvalue): compare the contents of a setting
6805 * libnm-util/nm-connection.c
6806 - (nm_connection_compare): implement
6808 2007-10-23 Dan Williams <dcbw@redhat.com>
6810 * src/nm-activation-request.c
6811 - (get_secrets_cb): handle getting a setting back that is more than
6812 just secrets (ie, user changed auth or EAP method or something)
6814 2007-10-23 Dan Williams <dcbw@redhat.com>
6816 * libnm-util/nm-setting.c
6817 libnm-util/nm-setting.h
6818 - (nm_setting_verify): new function; verify one setting
6819 - (nm_settings_verify_all): rename from nm_settings_verify()
6820 - (setting_connection_verify, setting_wireless_verify): allow NULL
6823 * libnm-util/nm-connection.c
6824 - (nm_connection_replace_settings, nm_connection_verify,
6825 nm_connection_new_from_hash): handle nm_settings_verify() rename
6827 2007-10-23 Dan Williams <dcbw@redhat.com>
6829 * src/nm-device-802-11-wireless.c
6830 - (real_act_stage2_config): use pre-increment on 'tries' to get the
6833 2007-10-23 Dan Williams <dcbw@redhat.com>
6835 * src/supplicant-manager/nm-supplicant-settings-verify.c
6836 - eap_allowed, phase2_allowed: harmonize with allowed values from
6839 2007-10-23 Dan Williams <dcbw@redhat.com>
6841 * src/nm-device-802-11-wireless.c
6842 - (real_act_stage2_config): after the first association failure,
6843 if the connection still needs secrets ask the user for them
6844 explicitly. After the fourth association failure due to bad
6845 secrets, fail the connection entirely. Handles the GetSecrets
6846 loop that NM gets into when the provided secrets don't match up
6847 with the connection details.
6849 2007-10-23 Dan Williams <dcbw@redhat.com>
6851 * src/supplicant-manager/nm-supplicant-config.c
6852 - (nm_supplicant_config_add_setting_wireless_security): only add
6853 WPA-specific options when WPA is in use
6855 2007-10-23 Dan Williams <dcbw@redhat.com>
6857 * src/supplicant-manager/nm-supplicant-config.c
6858 - (nm_supplicant_config_add_setting_wireless_security): 'password'
6859 secret doesn't need to be unhexified
6861 2007-10-23 Dan Williams <dcbw@redhat.com>
6863 * libnm-util/nm-setting.c
6864 - (setting_wireless_security_need_secrets): ensure auth_alg is !NULL
6865 before trying to do something with it
6867 2007-10-23 Dan Williams <dcbw@redhat.com>
6869 * src/nm-device-802-11-wireless.c
6870 - (merge_scanned_ap): handle NULL ssids returned from nm_ap_get_ssid()
6872 2007-10-23 Dan Williams <dcbw@redhat.com>
6874 * src/nm-device-802-11-wireless.c
6875 - (merge_scanned_ap): use libnm-util empty SSID check to catch more
6876 non-SSID-broadcasting APs
6878 2007-10-23 Dan Williams <dcbw@redhat.com>
6880 * src/NetworkManagerAP.c
6881 - (match_cipher, security_compatible): remove
6882 - (nm_ap_check_compatible): use nm_utils_ap_security_compatible() from
6885 2007-10-23 Dan Williams <dcbw@redhat.com>
6887 * libnm-util/nm-utils.c
6888 libnm-util/nm-utils.h
6889 - (nm_utils_ap_security_compatible): common function for checking
6890 whether a specific AP is compatible with an NMConnection
6892 2007-10-23 Dan Williams <dcbw@redhat.com>
6894 * libnm-util/nm-setting.c
6895 - (setting_wireless_security_need_secrets, need_secrets_phase2,
6896 need_secrets_tls, need_secrets_sim, need_secrets_eappsk,
6897 need_secrets_password, setting_wireless_security_verify): fix
6898 need_secrets for IEEE 802.1x and WPA-EAP by implementing need
6899 secrets logic for each supported EAP method
6901 2007-10-23 Dan Williams <dcbw@redhat.com>
6903 * src/supplicant-manager/nm-supplicant-config.c
6904 - (nm_supplicant_config_add_setting_wireless_security): fix wpa_supplicant
6905 config option name, should be "private_key2_passwd"
6907 2007-10-22 Tambet Ingo <tambet@gmail.com>
6909 Implement support for static IP addresses, additional/overridden DNS and
6910 DNS domain search lists.
6912 * libnm-util/nm-setting.c (uint_array_to_gvalue): Implement.
6913 (ip4_addresses_to_gvalue): Implement.
6914 (convert_array_to_byte_array): Implement.
6915 (nm_setting_populate_from_hash_default): Handle NM_S_TYPE_UINT_ARRAY and
6916 NM_S_TYPE_IP4_ADDRESSES.
6917 (nm_setting_hash): Ditto.
6918 (default_setting_clear_secrets): Add a default case for the switch: IP address
6919 shouldn't be secret, ever.
6920 (setting_ip4_config_verify): Update, requires addresses in case of manual
6922 (setting_ip4_config_destroy): Free stuff.
6924 * src/nm-device.c (merge_ip4_config): Implement.
6925 (real_act_stage4_get_ip4_config): Merge IP4 configuration from NMConnection.
6927 2007-10-22 Dan Williams <dcbw@redhat.com>
6929 * libnm-util/nm-setting.c
6930 - (setting_wireless_security_verify): allow WEP-40 and WEP-104 as
6931 pairwise cipher options for Dynamic WEP
6933 2007-10-21 Dan Williams <dcbw@redhat.com>
6935 * src/NetworkManagerAP.c
6936 src/NetworkManagerAP.h
6937 - Rename 'articifical' -> 'fake' since that's what they are until
6939 - (nm_ap_new_fake_from_connection): new function to create a 'fake' AP
6940 from the attributes in an NMConnection object
6941 - (security_compatible): better handle Dynamic WEP and LEAP; handle
6943 - (nm_ap_match_in_list): find a matching AP in a scan list
6945 * src/nm-device-802-11-wireless.c
6946 - (get_active_ap): add an 'ignore_ap' argument to ignore a specific
6947 AP when searching the scan list; match on frequency and mode too
6948 - (nm_device_802_11_wireless_get_frequency): implement
6949 - (merge_scanned_ap): replace duplicate matching logic with
6950 nm_ap_match_in_list()
6951 - (real_act_stage1_prepare): handle a NULL specific object; ie where
6952 the user is trying to connect to a hidden network that is not yet
6953 known from the scan list
6954 - (activation_success_handler): now that the card knows the AP's BSSID,
6955 there may already be a scanned AP in the scan list that is what
6956 we really wanted to connect to, but didn't know at the time. Use
6957 that instead of the 'fake' AP created at activation start and get
6958 rid of the 'fake' AP
6959 - (cull_scan_list): don't remove fake APs
6961 2007-10-21 Dan Williams <dcbw@redhat.com>
6963 * src/nm-activation-request.h
6964 src/nm-activation-request.c
6965 - (nm_act_request_set_specific_object): new function; allow setting the
6966 specific object if one isn't set yet
6968 2007-10-20 Dan Williams <dcbw@redhat.com>
6970 * src/supplicant-manager/nm-supplicant-config.h
6971 src/supplicant-manager/nm-supplicant-config.c
6972 - (nm_supplicant_config_init, nm_supplicant_config_finalize): add a hash
6973 table to store blobs
6974 - (nm_supplicant_config_add_blob): new function; add blob to internal
6976 - (nm_supplicant_config_get_blobs): new function; get stored blobs
6977 - (nm_supplicant_config_add_setting_wireless_security): handle
6978 options that use certificates (ie, blobs)
6980 * src/nm-device-802-11-wireless.c
6981 - (build_supplicant_config): pass a UID (just use the connection path)
6982 to the supplicant config as now required
6984 * src/supplicant-manager/nm-supplicant-interface.c
6985 - (add_network_cb, call_set_blobs, set_blobs_cb, call_set_network): if
6986 there are any blobs to send to wpa_supplicant, send those first
6987 before sending the network configuration
6989 2007-10-19 Dan Williams <dcbw@redhat.com>
6991 Split the GetSecrets() call off to a separate D-Bus interface so that it
6992 can be more easily locked down with D-Bus policy. Only 'root' (ie, NM)
6993 should be able to call GetSecrets().
6995 * include/NetworkManager.h
6996 - Define the connection secrets D-Bus interface
6998 * src/vpn-manager/nm-vpn-connection.c
6999 - (clear_need_auth): get the right proxy object for the connection
7001 - (get_connection_secrets): use the connection secrets proxy; send
7002 empty hints in get secrets request
7004 * src/nm-activation-request.c
7005 - (nm_act_request_request_connection_secrets): use the connection
7006 secrets proxy; send empty hints in get secrets request
7010 - (connection_get_settings_cb): set the connection secrets proxy on
7011 the connection object too
7012 - (internal_new_connection_cb): create the connection secrets proxy
7014 * introspection/nm-settings-connection.xml
7015 - Define Connection.Secrets interface and move GetSecrets there
7016 - Add a 'hints' argument to GetSecrets
7018 * libnm-glib/nm-settings.c
7019 libnm-glib/nm-settings.h
7020 - (impl_connection_settings_get_secrets): add 'hints' argument
7022 2007-10-19 Dan Williams <dcbw@redhat.com>
7025 - (constructor): add message about what path a device is exported as
7026 to help in debugging rh #339011
7028 2007-10-17 Dan Williams <dcbw@redhat.com>
7030 * libnm-util/nm-utils.h
7031 libnm-util/nm-utils.c
7032 - (nm_utils_security_valid): common function to help find the intersection
7033 of capabilities of devices and (optionally) access points
7035 2007-10-17 Dan Williams <dcbw@redhat.com>
7037 * src/nm-device-802-11-wireless.c
7038 - (get_wireless_capabilities): add missing braces so that WPA capabilities
7039 don't get erroneously cleared
7041 2007-10-17 Dan Williams <dcbw@redhat.com>
7045 src/nm-hal-manager.c
7046 - (device_removed, finalize, nm_manager_remove_device,
7047 nm_manager_sleep): add a 'deactivate' argument to
7048 nm_manager_remove_device() to fully deactivate devices when necessary
7049 (ie, always except when waking up)
7051 2007-10-16 Dan Williams <dcbw@redhat.com>
7053 * libnm-util/nm-setting.c
7054 - (setting_wireless_security_verify): fix phase2_auth methods; 'sim'
7055 also isn't valid phase2 autheap method
7057 2007-10-16 Dan Williams <dcbw@redhat.com>
7059 * libnm-glib/nm-client.c
7060 - (update_wireless_status): consolidate updates of wireless status
7061 - (constructor): use update_wireless_status()
7062 - (manager_running): set wireless status off when NM goes away; requery
7063 the wireless status when NM comes back
7065 2007-10-16 Dan Williams <dcbw@redhat.com>
7067 * libnm-glib/nm-client.c
7068 - (nm_client_activate_device): actually use the fixed-up specific
7071 2007-10-16 Dan Williams <dcbw@redhat.com>
7073 * src/nm-hal-manager.c
7074 - (killswitch_getpower_reply, nm_hal_manager_destroy): only print out
7075 killswitch error messages once
7077 2007-10-16 Dan Williams <dcbw@redhat.com>
7080 - (manager_set_wireless_enabled): don't allow wireless to be enabled
7081 if it's disabled in hardware; don't touch network devices while
7084 2007-10-16 Dan Williams <dcbw@redhat.com>
7086 * libnm-util/nm-client.c
7087 - (nm_client_activate_device): convert NULL specific_object to "/",
7088 which is used in place of NULL
7091 - (impl_manager_activate_device): convert "/" specific_object back into
7094 2007-10-16 Tambet Ingo <tambet@gmail.com>
7096 Implement a generic NMSetting creator from setting name.
7097 While at it, get rid of all nm_setting_foo_new_from_hash() functions and
7098 add a virtual function 'populate_fn'.
7100 * libnm-util/nm-connection.c (nm_connection_create_setting): Implement.
7101 (register_default_creators): Register setting creators instead of functions
7102 that create and then populate.
7103 (parse_one_setting): Use the common setting creator and then setting specific
7104 poplulation function.
7106 * libnm-util/nm-setting.c: Get rid of nm_setting_foo_new_from_hash() functions,
7107 they all looked exactly the same.
7108 Add a 'populate_fn' virtual function to NMSetting.
7109 Use default virtual functions in case they are not overriden.
7110 (nm_setting_populate_from_hash): Implement.
7112 * src/nm-device.c (real_act_stage3_ip_config_start): Don't hard code the setting
7113 name, use a defined string.
7114 (real_act_stage4_get_ip4_config): Ditto.
7116 2007-10-16 Tambet Ingo <tambet@gmail.com>
7118 * src/nm-hal-manager.c (killswitch_getpower_reply): The type returned from
7119 HAL is int, not uint.
7121 2007-10-15 Tambet Ingo <tambet@gmail.com>
7123 Implement killswitch polling through HAL.
7125 * src/nm-manager.c: Add wireless hardware status property. Add
7126 'properties-changed' signal for changes in wireless and wireless hardware
7129 * src/nm-hal-manager.c: Poll hal for killswitch statuses in every 6 seconds
7130 and update NMManager's wireless hardware state when it has changed.
7131 (nm_hal_manager_new): Don't try to add initial devices here - (hal_init)
7134 * libnm-glib/nm-client.c: Add wireless hardware status property. Cache the
7135 values of wireless state and wireless hardware state. Listen for the
7136 'properties-changed' signals, update the cached values and emit notify.
7138 * include/NetworkManager.h: Fix a typo in a comment.
7140 2007-10-14 Dan Williams <dcbw@redhat.com>
7142 * libnm-util/nm-setting.c
7143 - (setting_wireless_security_need_secrets): handle LEAP secrets
7145 2007-10-13 Dan Williams <dcbw@redhat.com>
7147 * libnm-util/nm-setting.h
7148 libnm-util/nm-setting.c
7149 src/supplicant-manager/nm-supplicant-config.c
7150 - Make the 'proto' field of the 802-11-wireless-security field a
7153 2007-10-12 Tambet Ingo <tambet@gmail.com>
7155 Rework the "properties-changed" signal listening implementation.
7156 Add a generic implementation to NMObject class that listens for
7157 the signal and calls property setters of the target NMObject.
7159 * libnm-glib/nm-object.c (nm_object_handle_properties_changed): Implement.
7161 * libnm-glib/nm-device-802-11-wireless.c: Move the GObject consturction
7162 code to the end of file so that all the static functions are available
7163 without extra declarations.
7164 Remove the "properties-changed" signal handling and use the framework from
7166 Implement property setters for properties that change with
7167 "properties-changed" signal.
7169 * libnm-glib/nm-access-point.c: Ditto.
7171 2007-10-12 Tambet Ingo <tambet@gmail.com>
7173 Rework the "properties-changed" signal implementation.
7174 In classes that need to use it, just emit "GObject::notify" and the new
7175 framework takes care of the rest to make the signal available on dbus.
7176 The framework queues the notifications and tries to send as many together
7177 in one signal as possible.
7179 * src/nm-properties-changed-signal.c:
7180 * src/nm-properties-changed-signal.h: Implement.
7182 * src/Makefile.am: Add new files to build.
7184 * src/NetworkManagerAP.c: Use the general framework for properties-changed
7187 * src/nm-device-802-11-wireless.c: Ditto.
7189 2007-10-10 Dan Williams <dcbw@redhat.com>
7192 - (wait_for_connection_expired): ensure info is valid
7193 - (connection_added_default_handler): Should only remove pending
7194 connection info when the manager has the connection that it's
7195 waiting for. Fixes segfault in wait_for_connection_info().
7197 2007-10-10 Dan Williams <dcbw@redhat.com>
7199 * libnm-util/nm-setting.c
7200 libnm-util/nm-setting.h
7201 - Add a default 'user_name' field to the VPN setting, which VPN plugins
7202 can use if they choose. Should be filled in by the settings service
7203 on-the-fly with the currently logged in user's username
7205 2007-10-10 Dan Williams <dcbw@redhat.com>
7207 * src/nm-device-802-11-wireless.c
7208 - (merge_scanned_ap): make sure non-SSID-broadcasting APs are marked
7209 as such, because even if the manager fills in the SSID, NM still
7210 has to indicate to wpa_supplicant that the AP isn't broadcasting
7213 2007-10-10 Tambet Ingo <tambet@gmail.com>
7215 Move ppp-manager over to dbus-glib. The big deal is that it was the last piece of
7216 code that used NM's own version of dbus signal handling and custom dictionary
7217 marshalling/unmarshalling. With this change, all that obsolete code can disappear
7218 and we get to maintain over 2000 lines less code.
7220 * libnm-util/dbus-dict-helpers.c:
7221 * libnm-util/dbus-dict-helpers.h: Remove.
7223 * src/ppp-manager/nm-pppd-plugin.c: Convert it to use dbus-glib.
7225 * src/ppp-manager/nm-pppd-plugin.xml: Implement.
7227 * src/ppp-manager/nm-ppp-manager.c: Use dbus-glib instead of home-brewed dbus signal
7230 * src/nm-dbus-manager.c: Remove all the manual dbus signal handling.
7232 * configure.in: Remove test/libnm-util/Makefile creation.
7234 * test/Makefile.am: Remove libnm-util from SUBDIRS.
7236 * test/libnm-util/: Remove the whole directory.
7238 2007-10-10 Tambet Ingo <tambet@gmail.com>
7240 * src/NetworkManagerPolicy.c (nm_policy_new): Initialize the
7241 device_state_changed_idle_id variable or it would contain some random value and the
7242 schedule_change_check calls would not do anything.
7244 2007-10-09 Dan Williams <dcbw@redhat.com>
7246 * src/nm-device-802-11-wireless.c
7247 - (supplicant_iface_scanned_ap_cb): set the non-broadcast flag elsewhere
7248 - (merge_scanned_ap): only have the manager fill the SSID if the AP
7249 isn't broadcasting its SSID; set the non-broadcast flag here; fix
7250 merging of non-SSID-broadcasting APs
7252 2007-10-09 Tambet Ingo <tambet@gmail.com>
7254 * libnm-util/nm-utils.c (nm_utils_is_empty_ssid): Convert the ssid type to
7255 "guint8 *" since it's usually used with GByteArray->data.
7256 (nm_utils_ssid_to_utf8): Add it back, the applet needs it.
7258 2007-10-09 Tambet Ingo <tambet@gmail.com>
7260 * src/NetworkManagerUtils.c
7261 (nm_utils_is_empty_ssid):
7262 (nm_utils_escape_ssid):
7263 (nm_utils_same_ssid): Remove. These functions are copied and pasted in a
7264 lot of places, so they belong to libnm-utils instead.
7266 Now with 100% less compiler warnings:
7268 * libnm-util/nm-utils.c (nm_dbus_escape_object_path): Remove, unused.
7269 (nm_dbus_unescape_object_path): Ditto.
7270 (nm_utils_ssid_to_utf8): Ditto.
7271 (nm_utils_is_empty_ssid): Move here from src/NetworkManagerUtils.c
7272 (nm_utils_escape_ssid): Ditto.
7273 (nm_utils_same_ssid): Ditto.
7275 * src/nm-manager.c: Include 'netinet/ether.h' for ether_aton_r.
7276 (add_one_connection_element): Remove an unused variable.
7277 (impl_manager_get_active_connections): Ditto.
7279 * src/NetworkManagerPolicy.c (get_device_connection): Remove an unused
7282 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Remove a leftover
7283 from the previous commit.
7285 * src/nm-device-802-11-wireless.c (set_current_ap): Remove unused variable.
7286 (real_act_stage1_prepare): Ditto.
7287 (activation_success_handler): Ditto.
7288 (get_property): Ditto.
7290 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Remove unused
7293 * src/ppp-manager/nm-pppd-plugin.c (nm_ip_up): Remove the check for 'ifname',
7296 * src/supplicant-manager/nm-supplicant-config.c
7297 (nm_supplicant_config_add_setting_wireless): Cast the GByteArray's 'guint8 *'
7298 to expected "char *".
7299 (nm_supplicant_config_add_setting_wireless): Ditto.
7300 (nm_supplicant_config_remove_option): Remove, not used.
7302 * libnm-glib/libnm-glib-test.c (dump_access_point): Frequency is a guint32,
7304 (test_wireless_enabled): Ifdef out unused function.
7305 (device_deactivate): Ditto.
7306 (device_state_changed): Ditto.
7307 (nm_utils_is_empty_ssid): Remove, it's now in libnm-utils.
7308 (nm_utils_escape_ssid): Ditto.
7310 * test/nm-tool.c (nm_utils_escape_ssid): Remove, it's now in libnm-utils.
7311 (nm_utils_is_empty_ssid): Ditto.
7313 * libnm-glib/nm-client.c (nm_client_free_active_connection_element): Remove
7316 * libnm-util/nm-setting.c (setting_wireless_destroy): Remove unused variable.
7317 (setting_vpn_properties_update_secrets): Ditto.
7318 (int_to_gvalue): Ifdef out for now, not used.
7319 (byte_to_gvalue): Ditto.
7321 * libnm-util/dbus-dict-helpers.c (_nmu_dbus_add_dict_entry_string_array):
7324 2007-10-08 Tambet Ingo <tambet@gmail.com>
7326 * src/NetworkManager.c (main): When dbus manager doesn't want to start, complain
7327 about dbus manager, not named manager.
7328 Make sure hal_manager and dbus_mgr are created before trying to unreference.
7330 * src/nm-dbus-manager.c: There was an issue with priv->proxy: We have a signal
7331 handler for it's 'destroy' signal - we use it to catch disconnects from dbus.
7332 However, the same signal is emitted when we destroy it and there's
7333 nm_dbus_manager_cleanup -> destroy_cb -> nm_dbus_manager_cleanup cycle.
7335 (nm_dbus_manager_cleanup): Let go of the DBusGProxy before
7336 releasing the DBusGConnection, since proxy needs a conneciton.
7337 (destroy_cb): Set the private proxy to NULL before cleaning up the manager.
7339 2007-10-08 Dan Williams <dcbw@redhat.com>
7341 * src/NetworkManager.c
7342 - (main): error on unknown command-line options
7344 2007-10-08 Dan Williams <dcbw@redhat.com>
7346 Reimplement the invalid connection list. Don't try to re-activate a
7347 connection that just failed or was canceled.
7350 - (connection_secrets_failed_cb): fail device activation, don't just
7351 deactivate the device. Listeners have to know about the failure.
7353 * src/NetworkManagerPolicy.c
7354 - (nm_policy_auto_get_best_device): exclude invalid connections from
7355 the connection list given to a device's get_best_connection()
7357 - (device_state_changed): tag failed connections as invalid; clear the
7358 tag from successful connections
7360 2007-10-08 Dan Williams <dcbw@redhat.com>
7362 Fix problems with interrupted activation. Previously, choosing an AP
7363 from the menu, then choosing another one before the first connection was
7364 successful wouldn't deactivate the device before starting the new connection
7365 on that same device.
7367 * src/NetworkManagerPolicy.c
7368 - (deactivate_old_device, device_state_changed, state_changed,
7369 nm_policy_new): wrong place to deactivate old devices
7372 - (pending_connection_info_destroy, finalize,
7373 wait_for_connection_expired): decouple destruction of the pending
7374 connection info from the manager device
7375 - (connection_added_default_handler): deactivate any active or
7376 activating device before starting a new activation
7377 - (impl_manager_activate_device): deactivate any active or activating
7378 device before starting a new activation; be sure not to leak
7379 pending connection info if a new activation request arrives but
7380 there's already a pending one in-process
7382 2007-10-08 Dan Williams <dcbw@redhat.com>
7384 * src/NetworkManagerAP.h
7385 src/NetworkManagerAP.c
7386 - (nm_ap_has_manufacturer_default_ssid): remove, unused. User clients
7387 should handle default SSIDs and whether or not to autoconnect
7390 2007-10-08 Dan Williams <dcbw@redhat.com>
7392 * src/NetworkManagerPolicy.c
7393 - (nm_policy_device_change_check): print out connection name where
7396 2007-10-08 Dan Williams <dcbw@redhat.com>
7398 * src/nm-device-802-11-wireless.c
7399 src/nm-device-802-11-wireless.h
7400 - (nm_device_802_11_wireless_class_init, merge_scanned_ap): new
7401 'hidden-ap-found' signal (for internal use only) that allows the
7402 NMManager to fill in the AP's SSID if a connection has that AP's
7403 BSSID in its seen-bssids list
7406 - (manager_hidden_ap_found, nm_manager_add_device): attach to a
7407 wireless device's hidden-ap-found signal and fill in the APs SSID
7410 2007-10-07 Dan Williams <dcbw@redhat.com>
7414 - Add a 'connections-added' signal to batch together updates of large
7415 numbers of connections, like when reading from a settings service
7416 the first time. Otherwise, the policy would just activate the first
7417 suitable connection it saw rather than waiting for the full list
7419 - (nm_manager_class_init): register new signal
7420 - (get_type_for_proxy, connection_get_settings_cb,
7421 get_connection_for_proxy): centralize places where a proxy's setting
7422 service is determined
7423 - (free_get_settings_info): if the call being freed is the last call
7424 in a pending call group, fire off the connections-added signal
7425 - (internal_new_connection_cb): add call to a pending call group if
7427 - (list_connections_cb): always create a call group here, because this
7428 call results in a batch of new connections
7429 - (initial_get_connections): start getting system connections first
7430 - (nm_manager_connections_destroy, emit_removed): actually emit the
7431 removed signal when destroying connections
7433 * src/NetworkManagerPolicy.c
7434 - (nm_policy_new, connections_added): handle connections-added signal
7437 2007-10-06 Dan Williams <dcbw@redhat.com>
7439 * src/nm-device-802-11-wireless.c
7440 - (constructor): fix leaked socket
7442 2007-10-06 Dan Williams <dcbw@redhat.com>
7444 * src/NetworkManagerPolicy.c
7445 - (nm_policy_auto_get_best_device): fix connection list reffing. Each
7446 connection in the list returned by nm_manager_get_connections() is
7447 reffed, but they weren't getting unreffed before returning
7449 2007-10-06 Dan Williams <dcbw@redhat.com>
7452 - (connections_to_slist): sort connections first on autoconnect, then
7455 2007-10-06 Dan Williams <dcbw@redhat.com>
7457 * libnm-util/nm-connection.c
7458 - (gvalue_to_string): handle UINT64
7460 2007-10-06 Dan Williams <dcbw@redhat.com>
7462 * src/NetworkManagerPolicy.c
7463 - (connection_updated, nm_policy_new): recheck state when a connection
7466 2007-10-06 Dan Williams <dcbw@redhat.com>
7470 - (nm_manager_get_connection_dbus_path): make static
7471 - (nm_manager_update_connections): remove; unused
7472 - Add a connection-updated signal
7473 - (new_connection_cb, connection_updated_cb, nm_manager_class_init):
7474 handle connection object updates
7476 2007-10-06 Dan Williams <dcbw@redhat.com>
7478 * src/NetworkManagerPolicy.c
7479 - (connection_removed): deactivate removed connections
7481 2007-10-06 Dan Williams <dcbw@redhat.com>
7483 * libnm-util/nm-connection.c
7484 libnm-util/nm-connection.h
7485 - (nm_connection_replace_settings): new function
7487 2007-10-06 Dan Williams <dcbw@redhat.com>
7489 * libnm-glib/nm-device-802-11-wireless.c
7490 - (nm_device_802_11_wireless_get_active_access_point): don't segfault
7491 on error when getting the active access point over D-Bus from NM
7493 2007-10-05 Dan Williams <dcbw@redhat.com>
7495 * libnm-util/nm-setting.c
7496 - (setting_wireless_verify, setting_wireless_destroy): add seen_bssids
7497 to the NMSettingWireless table; it's now a string array not an array
7500 2007-10-05 Dan Williams <dcbw@redhat.com>
7502 * libnm-glib/nm-device-802-11-wireless.c
7503 - Cache properties and update cached properties on D-Bus signals from NM
7505 2007-10-05 Dan Williams <dcbw@redhat.com>
7507 * src/nm-device-802-11-wireless.c
7508 - (set_current_ap): consolidate current_ap handling code into one place
7509 to ensure that PropertiesChanged signals are emitted in all cases
7510 - (periodic_update, real_deactivate_quickly, real_act_stage1_prepare,
7511 nm_device_802_11_wireless_dispose): use set_current_ap()
7513 2007-10-05 Dan Williams <dcbw@redhat.com>
7515 * libnm-glib/nm-access-point.c
7516 libnm-glib/nm-access-point.h
7517 - (nm_access_point_get_hw_address): return 'const char *', not 'char *'
7518 because the value is cached internally now. Callers should not
7519 free the internal value.
7520 - Make signal name defines private
7523 libnm-glib/libnm-glib-test.c
7524 - Don't free value returned from nm_access_point_get_hw_address()
7526 2007-10-04 Dan Williams <dcbw@redhat.com>
7528 * introspection/nm-device-802-11-wireless.xml
7529 src/nm-device-802-11-wireless.h
7530 src/nm-device-802-11-wireless.c
7531 - Add a PropertiesChanged signal for wireless device
7532 - Store currently associated access point
7533 - (periodic_update): generalize; update rate here too and emit the
7534 correct PropertiesChanged signal when stuff changes
7535 - (real_deactivate_quickly, nm_device_802_11_wireless_dispose,
7536 real_activation_cancel_handler): clear current_ap when device is
7538 - (link_to_specific_ap, get_ap_blacklisted,
7539 nm_device_802_11_wireless_get_best_ap): remove obsolete and unused
7541 - (nm_device_802_11_wireless_get_bitrate): make static; unused anywhere
7543 - (real_set_hw_address): emit property changed signal if the card's
7545 - (real_act_stage1_prepare): set the initial current_ap to the AP
7546 the card is supposed to be connecting to
7547 - (activation_success_handler): send out property updates on successful
7549 - (get_property): pull bitrate from cached value; use OBJECT_PATH type
7550 for ACTIVE_ACCESS_POINT property because sometimes there won't be
7551 one and dbus-glib doesn't like marshalling NULL G_TYPE_OBJECTs
7552 - (nm_device_802_11_wireless_class_init): ACTIVE_ACCESS_POINT property
7553 is now boxed; add PropertiesChanged signal
7555 2007-10-04 Dan Williams <dcbw@redhat.com>
7557 * libnm-util/nm-connection.c
7558 libnm-util/nm-connection.h
7559 - (nm_connection_verify): new function
7561 2007-10-04 Dan Williams <dcbw@redhat.com>
7563 * libnm-util/nm-setting.c
7564 - (nm_settings_verify): use #defines when possible rather than strings
7565 - (setting_connection_verify): ensure that 'name' and 'type' are valid
7566 - (setting_vpn_verify): tighter validity check on 'service_type'
7568 2007-10-04 Dan Williams <dcbw@redhat.com>
7570 * libnm-glib/nm-settings.c
7571 - (nm_connection_settings_class_init): provide correct type for argument
7572 to the Updated signal so that dbus-glib knows how to marshal it
7574 2007-10-03 Dan Williams <dcbw@redhat.com>
7576 * src/nm-device-802-3-ethernet.c
7577 - (real_get_best_connection): don't create automatic connections
7578 internally; clients should provide a setting that applies to
7579 the device with 'autoconnect: True'. Problem was that these
7580 internally auto-created connections don't have a proxy or service
7581 name becuase they weren't created by a settings daemon, and therefore
7582 clients have no idea what to do with them.
7584 2007-10-03 Dan Williams <dcbw@redhat.com>
7586 * src/nm-device-802-11-wireless.c
7587 src/nm-device-802-11-wireless.h
7588 introspection/nm-device-802-11-wireless.xml
7589 - GetActiveNetworks -> GetAccessPoints
7590 - ActiveNetwork -> ActiveAccessPoint
7591 - NetworkAdded -> AccessPointAdded
7592 - NetowrkRemoved -> AccessPointRemoved
7594 * libnm-glib/nm-device-802-11-wireless.c
7595 libnm-glib/nm-device-802-11-wireless.h
7596 - network-added signal -> access-point-added
7597 - network-removed signal -> access-point-removed
7598 - nm_device_802_11_wireless_get_active_network() ->
7599 nm_device_802_11_wireless_get_active_access_point()
7600 - nm_device_802_11_wireless_get_network_by_path() ->
7601 nm_device_802_11_wireless_get_access_point_by_path()
7602 - nm_device_802_11_wireless_get_networks() ->
7603 nm_device_802_11_wireless_get_access_points()
7605 * libnm-glib/libnm-glib-test.c
7607 src/NetworkManagerPolicy.c
7608 - Fixups for Network -> AccessPoint
7610 2007-10-03 Dan Williams <dcbw@redhat.com>
7612 Add a GetActiveConnections() method on the Manager object.
7616 introspection/nm-manager.xml
7617 - (connection_get_settings_cb): keep connection type around too
7618 - (impl_manager_get_active_connections, add_one_connection_element):
7619 implement; returns all active connections and what devices they
7622 * libnm-glib/nm-client.c
7623 libnm-glib/nm-client.h
7624 introspection/nm-manager-client.xml
7625 - (nm_client_get_devices): GPtrArray elements are allocated and owned
7626 by the caller; free here to avoid memory leak
7627 - (nm_client_get_active_connections): implement; return the list of
7629 - (nm_client_free_active_connection_element): implement; free an element
7630 of the GSList returned by nm_client_get_active_connections()
7632 2007-10-03 Dan Williams <dcbw@redhat.com>
7634 * src/nm-device-802-11-wireless.c
7635 - (nm_device_802_11_wireless_update_bssid): remove
7636 - (get_active_ap): new function; find the AP in the scan list which
7637 matches the current BSSID and SSID of the wireless device
7638 - (nm_device_802_11_periodic_update): get current AP using
7639 get_active_ap() and print AP roam messages
7641 2007-10-01 Dan Williams <dcbw@redhat.com>
7643 * libnm-util/nm-setting.h
7644 - Add a 'timestamp' option to NMSettingConnection
7647 * libnm-util/nm-setting.c
7648 - (uint64_to_gvalue): new function
7649 - (nm_setting_populate_from_hash, nm_setting_hash,
7650 default_setting_clear_secrets): handle UINT64 type
7651 - con_table: add 'timestamp' member
7653 2007-10-01 Dan Williams <dcbw@redhat.com>
7656 - (impl_manager_activate_device): ensure the D-Bus method sends a return
7657 value when the connection can be activated immediately
7659 2007-10-01 Dan Williams <dcbw@redhat.com>
7661 * libnm-glib/nm-device.c
7662 - (nm_device_class_init): actually tell glib about the carrier-changed
7665 2007-10-01 Dan Williams <dcbw@redhat.com>
7668 src/marshallers/Makefile.am
7669 src/marshallers/nm-marshal.list
7670 src/marshallers/nm-marshal-main.c
7671 - Consolidate glib marshallers into one place
7673 * src/dhcp-manager/Makefile.am
7674 src/dhcp-manager/nm-dhcp-manager.c
7675 src/supplicant-manager/Makefile.am
7676 src/supplicant-manager/nm-supplicant-manager.c
7677 src/supplicant-manager/nm-supplicant-interface.c
7678 src/ppp-manager/Makefile.am
7679 src/ppp-manager/nm-ppp-manager.c
7680 src/vpn-manager/Makefile.am
7681 src/vpn-manager/nm-vpn-connection.c
7683 - Use consolidated marshallers
7685 * src/dhcp-manager/nm-dhcp-marshal.list
7686 src/dhcp-manager/nm-dhcp-marshal-main.c
7687 src/supplicant-manager/nm-supplicant-marshal-main.c
7688 src/supplicant-manager/nm-supplicant-marshal.list
7689 src/nm-marshal-main.c
7691 src/ppp-manager/nm-ppp-marshal-main.c
7692 src/ppp-manager/nm-ppp-marshal.list
7693 src/vpn-manager/nm-vpn-marshal-main.c
7694 src/vpn-manager/nm-vpn-marshal.list
7697 2007-10-01 Dan Williams <dcbw@redhat.com>
7699 * include/NetworkManagerVPN.h
7700 - define VPN connection state change reason codes
7702 * src/vpn-manager/Makefile.am
7703 src/vpn-manager/nm-vpn-marshal.list
7704 src/vpn-manager/nm-vpn-marshal-main.c
7705 - Add marshallers for StateChanged signal
7707 * introspection/nm-vpn-connection.xml
7708 - New Banner property
7709 - StateChanged signal now includes a 'reason' argument
7711 * src/vpn-manager/nm-vpn-connection.c
7712 src/vpn-manager/nm-vpn-connection.h
7713 - Add a "Banner" property that contains the returned VPN server login
7714 banner (if any); valid only in the ACTIVATED state
7715 - (nm_vpn_connection_set_state, nm_vpn_connection_disconnect): now takes
7716 a 'reason' argument and emits that reason along with the
7717 state-changed signal
7718 - Fix up calls to nm_vpn_connection_set_state() to include a reason
7719 - (nm_vpn_connection_ip4_config_get): save banner for later
7720 - (nm_vpn_connection_get_banner, get_property,
7721 nm_vpn_connection_class_init): implement Banner property
7723 * src/vpn-manager/nm-vpn-service.c
7724 - (nm_vpn_service_connections_stop): take a reason argument; copy the
7725 connection list because elements may get added/removed from it
7726 while iterating over the list
7727 - (connection_state_changed): signal now includes the 'reason' argument
7729 * libnm-glib/nm-vpn-connection.c
7730 libnm-glib/nm-vpn-connection.h
7731 - (nm_vpn_connection_get_banner): new function
7732 - (state_changed_proxy): handle reason argument
7734 2007-09-28 Tambet Ingo <tambet@gmail.com>
7738 Implement device activation through NMManager.
7739 Implement "pending device activation" here - If the connection isn't found,
7740 we try to wait for up to 5 seconds for the connection to be provided.
7741 Add NMConnectionType argument to "connection-added" and "connection-removed"
7743 (nm_manager_get): Remove. Finally.
7745 * src/nm-activation-request.c:
7746 * src/nm-activation-request.h:
7747 Remove all the deferred activation code.
7749 * src/nm-device.c: Remove all the deferred activation code. Once the device
7750 activation is started, it's started. Update the activation virtual function
7753 * src/nm-device-interface.c:
7754 * src/nm-device-interface.h:
7755 Device activation now takes only NMActRequest argument.
7756 Don't expose device activation directly on dbus, it's supposed to go through
7759 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Make the code
7761 Use the new device activation methods through NMManager.
7763 * introspection/nm-manager-client.xml:
7764 * introspection/nm-manager.xml:
7765 * libnm-glib/nm-client.c:
7766 * libnm-glib/nm-client.h:
7767 Add device activation method.
7769 * libnm-glib/nm-device.c:
7770 * libnm-glib/nm-device.h:
7771 * introspection/nm-device.xml:
7772 Remove device activation method. It's done through NMManager now.
7774 * src/vpn-manager/nm-vpn-manager.c (impl_vpn_manager_connect): Use the shiny
7775 new (nm_manager_get_device_by_path) function, get rid of our own )find_device).
7777 2007-09-28 Dan Williams <dcbw@redhat.com>
7779 * libnm-glib/nm-vpn-connection.c
7780 - (nm_vpn_connection_get_state): try to update state if the current
7783 2007-09-27 Dan Williams <dcbw@redhat.com>
7785 Patch from Bill Nottingham
7787 * src/supplicant-manager/nm-supplicant-config.c
7788 - (ADD_STRING_VAL): use correct length for binary blobs when sending
7789 data to the supplicant
7791 2007-09-27 Dan Williams <dcbw@redhat.com>
7793 * src/NetworkManagerSystem.c
7794 - (nm_system_vpn_device_set_from_ip4_config): clean up indentation;
7795 and all address manipulation here should be happening on the
7796 _VPN_ device, not the active device
7798 2007-09-26 Dan Williams <dcbw@redhat.com>
7802 src/nm-activation-request.c
7803 src/nm-activation-request.h
7804 - Move the GetSecrets stuff out of the NMManager instance because it
7805 doesn't really need to be there and complicates things
7808 - (connection_secrets_failed_cb, device_activation_go): connect to the
7809 connection-secrets-failed signal and deactivate the device if
7810 the GetSecrets call fails
7812 * src/nm-device-802-11-wireless.c
7813 - (link_timeout_cb, supplicant_connection_timeout_cb,
7814 real_act_stage2_config, real_act_stage4_ip_config_timeout): request
7815 secrets and give correct hints about whether new secrets should be
7816 asked for by the client or not
7818 2007-09-26 Dan Williams <dcbw@redhat.com>
7820 * src/vpn-manager/nm-vpn-connection.c
7821 - (nm_vpn_connection_set_state, clear_need_auth, finalize,
7822 connection_secrets_updated_cb, get_secrets_cb): don't need to attach
7823 to the secrets-updated signal of the NMConnection since updating
7824 the secrets is done within the scope of the NMVPNConnection object
7826 - (get_connection_secrets): fix an uninialized variable usage error
7828 2007-09-26 Dan Williams <dcbw@redhat.com>
7830 * libnm-util/nm-setting.c
7831 - (setting_vpn_properties_update_secrets): implement so VPN secrets
7832 actually get updated when the user enters them
7834 2007-09-26 Dan Williams <dcbw@redhat.com>
7836 * libnm-glib/nm-vpn-plugin.c
7837 - (impl_vpn_plugin_need_secrets): fix logic when no secrets are needed
7839 2007-09-26 Dan Williams <dcbw@redhat.com>
7841 * include/NetworkManagerVPN.h
7842 - Add a NEED_AUTH state
7844 * src/vpn-manager/nm-vpn-connection.c
7845 - Implement the NEED_AUTH state. First ask the VPN service plugin if
7846 the connection needs secrets, and if so, then ask the settings
7847 service to fill in the secrets. Then start the connection.
7849 2007-09-26 Dan Williams <dcbw@redhat.com>
7851 * src/vpn-manager/nm-vpn-manager.c
7852 - (new_vpn_error, impl_vpn_manager_connect): set errors
7854 2007-09-26 Dan Williams <dcbw@redhat.com>
7856 * introspection/nm-vpn-plugin.xml
7857 libnm-glib/nm-vpn-plugin.c
7858 libnm-glib/nm-vpn-plugin.h
7859 - (impl_vpn_plugin_need_secrets): implement a call that should return
7860 the name of the NMSetting in an NMConnection that may require
7861 secrets specific to that VPN plugin
7863 2007-09-26 Dan Williams <dcbw@redhat.com>
7867 - (nm_manager_get_connection_secrets): make static, unused outside
7869 - Provide NM_MANAGER_CONNECTION_PROXY_TAG for other users
7871 2007-09-26 Tambet Ingo <tambet@gmail.com>
7873 * libnm-glib/nm-vpn-plugin.c (nm_vpn_plugin_connect): Update the plugin activation
7875 (impl_vpn_plugin_connect): Convert properties hash to NMConnection, activate, and
7876 unreference the connection.
7878 * introspection/nm-vpn-plugin.xml: Modify the 'Connect' method arguments: instead of
7879 passing properties hash and routes string list, pass NMConnection (in hashed form).
7881 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Return routes
7882 as GSList, no need to copy stuff around anymore.
7883 (nm_vpn_connection_activate): Update the plugin activation method.
7885 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Convert
7886 routes argument to GSList.
7888 2007-09-26 Tambet Ingo <tambet@gmail.com>
7890 * src/nm-manager.c (manager_device_state_changed): Listen to device' NEED_AUTH
7891 state and try to get the secrets.
7893 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Get the list of
7894 connections from NMManager and let the device to choose the best from the list.
7895 Since the connection list is sorted by system ones first and user ones later,
7896 the devices still prefer system connections like they did before.
7897 (deactivate_old_device): Implement. When a device starts activation, we have a
7898 policy (for now at least) to deactivate any other device that might be either
7899 active or still activating.
7901 * src/vpn-manager/nm-vpn-manager.c: Add NMManager back to the private structure.
7902 It's set on construction, there will be no other way to access it.
7904 * src/nm-device-802-11-wireless.c: Don't touch NMManager, NMManager can listen to
7905 device events and drive the device, not the other way around.
7907 * src/nm-device-802-3-ethernet.c: Ditto.
7909 * src/nm-device.c (nm_device_get_best_connection): The connections list is now
7910 sent along, pass it on to virtual functions.
7912 * src/nm-device-interface.c (nm_device_interface_get_iface): Implement. It's static
7913 for now, but should really be public instead of nm_device_get_iface() since iface
7914 is a property of the DeviceInterface, not Device.
7915 (impl_device_activate): Don't touch NMManager!
7917 2007-09-26 Jürg Billeter <j@bitron.ch>
7919 * initscript/paldo/NetworkManager.in:
7920 * initscript/paldo/NetworkManagerDispatcher.in:
7921 * src/backends/NetworkManagerPaldo.c: (nm_system_enable_loopback),
7922 (nm_system_flush_loopback_routes): update paldo backend
7924 2007-09-26 Tambet Ingo <tambet@gmail.com>
7926 * src/nm-device-802-3-ethernet.c (real_get_best_connection): Don't leak NMManager.
7927 The problem with leaking NMManager is that on shutdown, it doesn't get destroyed,
7928 which means none of the devices get brought down properly, which in turn leaves
7929 DHCP client running.
7931 * src/nm-device-802-11-wireless.c (real_get_best_connection): Ditto.
7932 (supplicant_connection_timeout_cb): Ditto.
7934 2007-09-25 Dan Williams <dcbw@redhat.com>
7937 - (device_activation_go): small hack to work around race when
7938 activating deferred connections; should solve this in a better way
7940 2007-09-25 Dan Williams <dcbw@redhat.com>
7942 * introspection/nm-device.xml
7943 libnm-glib/nm-device.c
7944 libnm-glib/nm-device.h
7945 - Add 'Carrier' property to exported NMDevice objects
7947 * src/nm-device-interface.h
7948 src/nm-device-interface.c
7950 - Add a 'carrier' property to internal NMDevice objects
7952 2007-09-25 Dan Williams <dcbw@redhat.com>
7954 * src/nm-device-802-11-wireless.c
7955 - (ap_auth_enforced): also return the encryption status of the AP so
7956 that callers can differentiate easily between unencrypted APs
7957 and encrypted ones, in addition to whether the AP has an
7959 - (link_timeout_cb, supplicant_connection_timeout_cb,
7960 real_act_stage4_ip_config_timeout): handle unencrypted APs better,
7961 previously would request secrets from unencrypted APs at times
7963 2007-09-25 Dan Williams <dcbw@redhat.com>
7966 - (nm_manager_update_state): new function; updates state and emits
7967 appropriate signals ensuring a state-change signal for the same state
7968 never gets emitted twice in a row.
7969 - (manager_device_state_changed): handle more device state to get a
7970 better picture of the overall NM state
7972 2007-09-25 Dan Williams <dcbw@redhat.com>
7974 * libnm-glib/nm-settings.c
7975 libnm-glib/nm-settings.h
7976 - (new_error -> nm_settings_new_error): make public so that subclasses
7977 can use the same error domain. Also pass a valid error code to
7978 g_error_new_literal() so that libdbus doesn't assert when converting
7979 the GError into a DBusError
7980 - (impl_settings_list_connections, impl_connection_settings_get_id,
7981 impl_connection_settings_get_settings,
7982 impl_connection_settings_get_secrets): use new error creator
7985 2007-09-25 Dan Williams <dcbw@redhat.com>
7987 * src/NetworkManager.c
7988 - (nm_signal_handler, main): don't ignore SIGTERM/SIGINT during startup
7990 2007-09-25 Dan Williams <dcbw@redhat.com>
7992 * src/supplicant-manager/nm-supplicant-manager.c
7993 - (poke_supplicant_cb, nm_supplicant_manager_init,
7994 nm_supplicant_manager_dispose, nm_supplicant_manager_name_owner_changed,
7995 nm_supplicant_manager_startup): when the supplicant isn't running,
7996 try to start it periodically via system bus activation. Fixes
7997 a problem where if wpa_supplicant goes away, NM gets stuck waiting
7998 for the supplicant to come back
8000 2007-09-25 Dan Williams <dcbw@redhat.com>
8002 Ensure that old activation requests are forgotten about; previously
8003 hitting Cancel in the password dialog would deactivate whatever device
8004 that password was requested for, even if that wasn't the currently
8005 activating connection.
8009 - (nm_manager_get_connection_secrets): track the pending call
8010 object so it can be canceled later if needed
8011 - (nm_manager_cancel_get_connection_secrets): cancel a pending
8012 GetSecrets call for a particular connection
8014 * src/nm-activation-request.c
8015 - (dispose): cancel any outstanding GetSecrets calls on the
8018 2007-09-25 Dan Williams <dcbw@redhat.com>
8020 * src/NetworkManagerPolicy.c
8021 - (nm_policy_device_change_check): handle devices that have a
8022 deferred activation. These devices are not really active _yet_,
8023 but need to be treated as such here. Don't interrupt them
8026 * src/nm-device-interface.c
8027 - (impl_device_activate): handle devices that have a deferred activation
8028 like activating or active devices. When multiple active devices
8029 get committed, the device shouldn't be deactivated until the
8030 connection details are available to avoid DoS and such. Currently,
8031 any active, activating, or deferred activation device is deactivated
8032 here before starting the new activation request.
8034 2007-09-25 Dan Williams <dcbw@redhat.com>
8036 Properly re-query secrets from the settings daemon when stuff fails.
8038 * src/nm-device-802-11-wireless.c
8039 - (ap_auth_enforced): handle static WEP correctly here by differentiating
8040 between Shared Key and Open System auth modes
8041 - (link_timeout_cb, supplicant_connection_timeout_cb,
8042 real_act_stage4_ip_config_timeout): clear existing secrets and
8043 request new ones when something fails due to a suspected wrong key
8044 - (real_act_stage2_config): fix for new request_new argument to
8045 nm_manager_get_connection_secrets()
8049 - (nm_manager_get_connection_secrets): return error status; pass
8050 new request_new argument on to the settings daemon
8052 * introspection/nm-settings-connection.xml
8053 - New 'request_new' argument to the GetSecrets call that hints to the
8054 settings daemon to ask the user for completely new secrets
8056 * libnm-glib/nm-settings.c
8057 libnm-glib/nm-settings.h
8058 - (impl_connection_settings_get_secrets): handle new 'request_new'
8061 2007-09-25 Dan Williams <dcbw@redhat.com>
8063 * libnm-util/nm-connection.c
8064 libnm-util/nm-connection.h
8065 - (nm_connection_clear_secrets): new function; clear secrets out of
8066 each NMSetting in an NMConnection
8068 * libnm-util/nm-setting.h
8069 libnm-util/nm-setting.c
8070 - (nm_setting_clear_secrets, default_setting_clear_secrets): clear
8071 secrets out of an NMSetting
8072 - (nm_setting_connection_new, nm_setting_ip4_config_new,
8073 nm_setting_wired_new, nm_setting_wireless_new,
8074 nm_setting_wireless_security_new, nm_setting_ppp_new,
8075 nm_setting_vpn_new, nm_setting_vpn_properties_new): set clear_secrets
8076 to default handler default_setting_clear_secrets()
8078 2007-09-25 Dan Williams <dcbw@redhat.com>
8080 * src/nm-activation-request.c
8081 src/nm-activation-request.h
8082 - (nm_act_request_is_deferred): new function
8084 2007-09-24 Dan Williams <dcbw@redhat.com>
8086 * src/nm-device-802-11-wireless.c
8087 - (activation_success_handler): update signal strength immediately
8090 2007-09-24 Dan Williams <dcbw@redhat.com>
8092 * libnm-util/nm-setting.c
8093 - (verify_wep_key): 40-bit WEP keys are 10 bytes long, not 13
8095 2007-09-24 Dan Williams <dcbw@redhat.com>
8097 * src/NetworkManagerPolicy.c
8098 - (nm_policy_auto_get_best_device): don't interrupt activation of a
8099 device by deactivating it because it doesn't have a "best connection".
8100 Since autoconnect=False connections aren't automatically chosen,
8101 NM would interrupt activation of such a connection because it
8102 would never be "best" due to autoconnect=False.
8104 2007-09-24 Dan Williams <dcbw@redhat.com>
8107 - (nm_manager_get_connection_secrets): Add a long timeout so the user
8108 actually has some time to enter a key before the GetSecrets call
8111 2007-09-24 Dan Williams <dcbw@redhat.com>
8113 * introspection/nm-manager.xml
8115 - (impl_manager_legacy_state): fix 'state' method call return value
8117 2007-09-24 Matthias Clasen <mclasen@redhat.com>
8119 * test/Makefile.am: Install nm-tool
8121 2007-09-24 Dan Williams <dcbw@redhat.com>
8123 Patch from Ross Burton <ross@burtonini.com>
8126 callouts/nm-dhcp-client-action.c
8128 src/vpn-manager/nm-vpn-connection.c
8129 libnm-glib/libnm-glib-test.c
8132 2007-09-24 Dan Williams <dcbw@redhat.com>
8134 * libnm-util/nm-utils.h
8135 libnm-util/nm-utils.c
8136 - (nm_dbus_send_with_callback_replied, nm_dbus_send_with_callback):
8139 2007-09-23 Dan Williams <dcbw@redhat.com>
8141 * vpn-daemons/vpnc/properties/nm-vpnc.c
8142 - Update for new VPN properties API bits; instead of passing around
8143 a lot of random things, everything goes into the NMConnection
8146 2007-09-23 Dan Williams <dcbw@redhat.com>
8148 * libnm-util/nm-setting.c
8149 - Correctly dispose of settings objects if creating them from a hash
8152 2007-09-23 Dan Williams <dcbw@redhat.com>
8154 * libnm-util/nm-setting.c
8155 - (property_value_destroy, nm_setting_vpn_properties_new): initialize
8156 the hash table in a standard manner. Clients of libnm-util should
8157 only call g_hash_table_remove_all(), never destroy the hash table
8160 2007-09-22 Dan Williams <dcbw@redhat.com>
8162 * src/nm-device-802-11-wireless.c
8163 - (real_bring_up): update signal strength every 6 seconds, not 2. No
8164 real reason to do it so often, and reduces wakeups for clients.
8166 2007-09-21 Dan Williams <dcbw@redhat.com>
8168 * src/nm-device-802-11-wireless.c
8169 - (build_supplicant_config): wpa_supplicant requires the option
8170 key_mgmt=NONE for unencrypted networks
8171 - (real_act_stage2_config): clarify log message on activation
8173 2007-09-21 Dan Williams <dcbw@redhat.com>
8175 * test/nm-supplicant-test.c
8177 - Remove supplicant test binary; no longer applicable
8179 2007-09-21 Dan Williams <dcbw@redhat.com>
8181 * src/supplicant-manager/nm-supplicant-manager.c
8182 - (nm_supplicant_manager_init): poke the supplicant at startup to
8183 activate it on the system bus
8185 2007-09-20 Dan Williams <dcbw@redhat.com>
8187 * initscript/RedHat/NetworkManager.in
8188 - dhcdbd is no longer used, so don't try to start it from the initscripts
8190 2007-09-20 Dan Williams <dcbw@redhat.com>
8193 - (nm_device_is_activating): work around a race between auto-activation
8194 and the user activating the same device that is being auto-activated
8196 2007-09-20 Dan Williams <dcbw@redhat.com>
8198 * src/nm-device-interface.c
8199 - (impl_device_activate): until multiple active device support lands,
8200 ensure only one device can be active at a time
8202 2007-09-20 Dan Williams <dcbw@redhat.com>
8204 * src/supplicant-manager/nm-supplicant-config.c
8205 src/supplicant-manager/nm-supplicant-config.h
8206 - (nm_supplicant_config_add_option): hide secrets from system logs
8208 2007-09-20 Dan Williams <dcbw@redhat.com>
8210 * src/NetworkManagerPolicy.c
8211 - (nm_policy_device_change_check): re-enable the wireless device change
8212 checking code; insted of checking for SSIDs, check for the same
8215 2007-09-20 Dan Williams <dcbw@redhat.com>
8217 * src/nm-device-802-11-wireless.c
8218 - (supplicant_iface_connection_state_cb_handler): don't use the card's
8219 composite link state when determining when to start the disconnection
8220 timer; that link state is already based on the supplicant interface's
8221 status which is exactly what's already being examined, plus the link
8222 state is a conglomeration of various things that we don't want here
8224 2007-09-20 Dan Williams <dcbw@redhat.com>
8226 * libnm-glib/nm-access-point.c
8227 - (handle_property_changed): strength is a UCHAR
8229 2007-09-20 Dan Williams <dcbw@redhat.com>
8231 * src/supplicant-manager/nm-supplicant-config.c
8232 - (nm_supplicant_config_add_setting_wireless_security): uppercase
8233 string list keywords too since that's what wpa_supplicant wants
8235 2007-09-20 Dan Williams <dcbw@redhat.com>
8237 * libnm-util/nm-setting.c
8238 - (convert_strv_to_slist): dupe the values in the list because since
8239 the list is a boxed value, it'll get destroyed when it's container
8240 (like a hash table or whatever) gets destroyed
8242 2007-09-20 Tambet Ingo <tambet@gmail.com>
8244 * libnm-util/nm-setting.h: Change the type of NMSettingVPN->routes to
8247 * libnm-util/nm-setting.c (setting_vpn_destroy): Free routes too.
8249 * src/nm-manager.c (connection_get_settings_cb): No need to use weakref,
8250 just use (g_object_set_data_full).
8252 * src/vpn-manager/nm-vpn-connection.c (nm_vpn_connection_get_routes): Now
8253 that NMSettingVPN->routes is a GSList, convert it to char **.
8254 (nm_vpn_connection_ip4_config_get): Free routes when done.
8255 (nm_vpn_connection_activate): Ditto.
8257 * src/nm-device-802-11-wireless.c (real_connection_secrets_updated)
8258 (real_act_stage2_config): Use defined setting names.
8260 2007-09-20 Dan Williams <dcbw@redhat.com>
8262 * src/nm-device-802-11-wireless.c
8265 - Pass an NMDeviceInterface into nm_manager_get_connection_secrets()
8266 so that the device can be deactivated if secrets are wrong
8268 2007-09-20 Dan Williams <dcbw@redhat.com>
8270 * introspection/nm-settings-connection.xml
8271 libnm-glib/nm-settings.c
8272 libnm-glib/nm-settings.h
8273 - Make GetSecrets asynchronous on the server side
8275 2007-09-20 Dan Williams <dcbw@redhat.com>
8279 - (nm_device_activate): actually check if a given connection
8280 exists before assuming it doesn't
8282 2007-09-20 Tambet Ingo <tambet@gmail.com>
8284 * libnm-util/nm-connection.c (register_default_creators): Use defined
8285 setting names. Register NMSettingVPN and NMSettingVPNProperties.
8287 * libnm-util/nm-setting.c: Define property name strings, use them.
8288 Implement NMSettingVPN and NMSettingVPNProperties settings.
8289 Implement NM_S_TYPE_GVALUE_HASH.
8290 (nm_setting_populate_from_hash): Handle NM_S_TYPE_GVALUE_HASH.
8291 (setting_connection_verify): Rename 'devtype' property to 'type'.
8293 * introspection/nm-vpn-manager.xml: Use NMConnection for VPN service
8296 * src/vpn-manager/nm-vpn-service.c: Ditto.
8298 * src/vpn-manager/nm-vpn-connection.c: Ditto.
8300 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_connect): Ditto.
8301 (nm_vpn_manager_new): Remove NMManager argument, it's easy enough to get.
8303 * src/nm-device-802-11-wireless.c (find_best_connection): Use defined setting
8304 names. NMSettingConnection->devtype got renamed to 'type'.
8306 * src/nm-device-802-3-ethernet.c (find_best_connection):
8307 (real_get_best_connection): Ditto.
8309 * src/NetworkManager.c (main): Update the vpn manager creation arguments.
8311 * libnm-glib/nm-vpn-manager.[ch]: Update.
8313 2007-09-19 Dan Williams <dcbw@redhat.com>
8315 * src/NetworkManagerAP.c
8316 src/NetworkManagerAP.h
8317 introspection/nm-access-point.xml
8318 - Change strength-changed signal into a properties-changed signal
8319 for all properties, not just strength. Export that signal over dbus
8320 so listeners don't have to poll NM for changes.
8321 - (nm_ap_export_to_dbus, nm_ap_new): not every NMAccessPoint should
8322 get exported over D-Bus, so break up the logic and let other bits
8323 decided when to export the AP
8324 - (nm_ap_new_from_ap): remove, unused
8326 * src/nm-device-802-11-wireless.c
8327 - (merge_scanned_ap): only export APs that are actually on the device
8328 list, not every AP created internally
8330 * libnm-glib/nm-access-point.c
8331 libnm-glib/nm-access-point.h
8332 - Cache properties internally and only hit DBus when needed. Get
8333 property updates from NM signals
8335 2007-09-16 Dan Williams <dcbw@redhat.com>
8337 * libnm-util/nm-connection.c
8338 libnm-util/nm-connection.h
8339 - (nm_connection_for_each_setting_value): new function; iterate over
8340 each setting's value and call a user-provided function with details
8343 * libnm-util/nm-setting.c
8344 libnm-util/nm-setting.h
8345 - (nm_setting_enumerate_values): new function; enumerate the values
8346 of a specific NMSetting subclass for a user-provided function with
8347 details about that value
8348 - Change wep_tx_keyidx to a uint32
8349 - Create settings value tables for each setting defining their type,
8350 key name, offset into the NMSetting subclass' structure, and whether
8351 they are required and/or a secret
8352 - (nm_setting_populate_from_hash): generic function to populate an
8353 NMSetting from a GHash table, make all settings use it
8354 - (nm_setting_hash): generic function to derive a GHashTable from
8355 an NMSetting object, make all settings use it
8357 2007-09-14 Dan Williams <dcbw@redhat.com>
8359 Remove unused stuff in libnm-util
8362 libnm-util/Makefile.am
8363 libnm-util/cipher-private.h
8364 libnm-util/cipher-wep-ascii.c
8365 libnm-util/cipher-wep-ascii.h
8366 libnm-util/cipher-wep-hex.c
8367 libnm-util/cipher-wep-hex.h
8368 libnm-util/cipher-wep-passphrase.c
8369 libnm-util/cipher-wep-passphrase.h
8370 libnm-util/cipher-wpa-psk-hex.c
8371 libnm-util/cipher-wpa-psk-hex.h
8372 libnm-util/cipher-wpa-psk-passphrase.c
8373 libnm-util/cipher-wpa-psk-passphrase.h
8376 libnm-util/dbus-helpers.c
8377 libnm-util/dbus-helpers.h
8378 libnm-util/gnome-keyring-md5.c
8379 libnm-util/gnome-keyring-md5.h
8382 src/nm-device-802-11-wireless.c
8383 test/libnm-util/Makefile.am
8384 test/libnm-util/test-ciphers.c
8385 test/libnm-util/test-dbus-helpers.c
8386 test/libnm-util/test-inputs.h
8389 2007-09-14 Dan Williams <dcbw@redhat.com>
8391 * libnm-util/dbus-method-dispatcher.c
8392 libnm-util/dbus-method-dispatcher.h
8395 2007-09-14 Dan Williams <dcbw@redhat.com>
8397 Implement deferred activation support in the device class.
8399 * src/nm-device-interface.c
8400 src/nm-device-interface.h
8401 - (nm_device_interface_activate): take more arguments to support
8402 deferred activation; callers must pass one of (connection) OR
8403 (service_name, connection_path)
8404 - (impl_device_activate): connection validation is punted to the device
8405 to be able to handle deferred activation. Yes, this means errors
8406 don't get returned from the Activate() dbus call, and yes, that
8407 should be fixed somehow later.
8411 - (clear_act_request): clear additional deferred activation stuff too
8412 - (deferred_activation_timeout_cb): new function; clean up when
8413 deferred activation times out.
8414 - (deferred_activation_start_cb): new function; when the connection
8415 finally becomes available, start device activation
8416 - (nm_device_activate): attach to the right signals of the activation
8417 request if we need to defer activation until the connection is valid
8419 * src/NetworkManagerPolicy.c
8420 - (nm_policy_device_change_check): update for additional arguments
8421 required for nm_device_interface_activate(). Pass NULL for these
8422 though because this function already knows exactly which
8425 2007-09-14 Dan Williams <dcbw@redhat.com>
8427 Implement deferred activation handling in the NMActRequest class. When a
8428 client wants to activate a device but must create the NMConnection details
8429 on the fly, there likely hasn't been enough time yet for NM to receive the
8430 new connection signal and grab all the connection details. So the
8431 activation is deferred (and bounded by a timer) for a while, and if the
8432 connection appears within the window, it is activated.
8434 * src/nm-activation-request.c
8435 src/nm-activation-request.h
8436 - (nm_act_request_class_init): two new signals to support deferred
8437 activation, to allow the listener to handle both timeout and success
8438 - (nm_act_request_new_deferred): new function, starts the deferred
8439 activation timeout handler and listens to the NMManager for
8440 new-connection signals to notice when the connection comes in
8442 2007-09-14 Dan Williams <dcbw@redhat.com>
8446 - (nm_manager_get_connection_service_name,
8447 nm_manager_get_connection_dbus_path): get details about a connection
8448 known internally by the NMManager
8449 - (nm_manager_class_init): fix connection add/remove signal marshalers
8450 because NMConnection is now a GObject subclass
8451 - Use constant for the gobject data tag used on NMConnection objects for
8452 storing the associated DBusGProxy
8454 2007-09-14 Dan Williams <dcbw@redhat.com>
8459 src/supplicant-manager/Makefile.am
8460 src/dhcp-manager/Makefile.am
8461 src/backends/Makefile.am
8462 src/named-manager/Makefile.am
8463 src/ppp-manager/Makefile.am
8464 src/vpn-manager/Makefile.am
8465 test/libnm-util/Makefile.am
8466 test/test-common/Makefile.am
8467 - Remove utils/; it was unused
8469 2007-09-13 Dan Williams <dcbw@redhat.com>
8471 * libnm-glib/nm-vpn-manager.h
8472 libnm-glib/nm-vpn-manager.c
8473 - (nm_vpn_manager_connect): take routes as a GSList, not a char **
8475 2007-09-13 Dan Williams <dcbw@redhat.com>
8477 * src/nm-device-802-3-ethernet.c
8478 - (real_bring_down, nm_device_802_3_ethernet_dispose): disconnect from
8479 netlink monitor carrier signals on dispose, not bring down. The
8480 carrier signals should be handled over the entire lifetime of the
8481 device anyway, not created/destroyed on up or down.
8483 2007-09-13 Dan Williams <dcbw@redhat.com>
8485 * libnm-glib/nm-device.c
8486 libnm-glib/nm-device.h
8487 - (nm_device_activate): take a connection object path rather than an
8488 NMConnection because NMConnection isn't exported over D-Bus and
8489 therefore it dbus-glib can't automatically get an object path from it
8491 2007-09-13 Dan Williams <dcbw@redhat.com>
8493 * libnm-util/nm-setting.c
8494 - (nm_setting_wired_new): set autonegotiate to TRUE by default
8496 2007-09-13 Tambet Ingo <tambet@gmail.com>
8498 * autogen.sh: NetworkManagerMain.h is gone, check for NetworkManager.c.
8500 2007-09-12 Tambet Ingo <tambet@gmail.com>
8502 * src/vpn-manager/nm-vpn-connection.[ch]:
8503 * src/vpn-manager/nm-vpn-manager.[ch]:
8504 * src/vpn-manager/nm-vpn-service.[ch]: Rewrite the vpn handling code. Using
8505 dbus-glib, GObjects, signals etc.
8507 * libnm-glib/nm-vpn-manager.[ch]:
8508 * libnm-glib/nm-vpn-connection.[ch]: Now that the NM implementation changed
8509 so much, rewrite these too.
8511 * libnm-glib/Makefile.am: Add new files to build, build new binding files for
8512 the new introspection files.
8514 * libnm-glib/nm-client.[ch]: Remove all VPN related stuff from here.
8516 * libnm-glib/nm-dbus-utils.[ch]: Renamed from nm-utils.[ch] that was shadowing
8517 the header with the same name from libnm-utils.
8519 * libnm-glib/nm-vpn-plugin.[ch]: Implement.
8521 * libnm-util/Makefile.am: Add nm-utils.[ch] to build.
8523 * introspection/nm-vpn-plugin.xml: Implement.
8525 * introspection/nm-vpn-connection.xml: Implement.
8527 * introspection/nm-vpn-manager.xml: Implement.
8529 * src/NetworkManagerSystem.c (nm_system_vpn_device_set_from_ip4_config): Remove
8530 the named manager argument, it can just as easily get it as the caller.
8531 (nm_system_vpn_device_unset_from_ip4_config): Ditto.
8533 * src/vpn-manager/nm-dbus-vpn.[ch]: Remove.
8535 * src/nm-dbus-manager.h: Fix up the name_owner signal signature.
8537 * src/dhcp-manager/nm-dhcp-manager.c (garray_to_string): Remove, use one from
8540 * libnm-util/nm-connection.c: Ditto.
8542 * src/NetworkManagerMain.h: Remove, it's finally empty.
8544 * configure.in: Remove utils/ from build.
8546 * include/NetworkManagerVPN.h: Add some more defines to reduce the amount
8547 of hard-coded strings.
8549 * utils/: Move it over to libnm-util.
8551 * test/Makefile.am: Link against libnm-util now that util/ is gone.
8553 * dispatcher-daemon/Makefile.am: Ditto.
8555 * src/Makefile.am: Ditto.
8557 2007-09-12 Dan Williams <dcbw@redhat.com>
8559 Wireless connections can be made with config data from the applet now.
8563 * src/supplicant-manager/nm-supplicant-config.h
8564 src/supplicant-manager/nm-supplicant-config.c
8565 - (nm_supplicant_config_new): kill unused init parameter 'iface'
8566 - (nm_supplicant_config_add_setting_wireless,
8567 nm_supplicant_config_add_setting_wireless_security): new functions;
8568 add key/value pairs from the settings objects to the supplicant
8571 * src/nm-device-802-11-wireless.c
8572 - (cull_scan_list): fix check to not prune currently associated AP
8573 - (build_supplicant_config, real_act_stage2_config): call the functions
8574 of the NMSupplicantConfig that parse settings objects rather than
8575 doing it manually here
8577 2007-09-12 Dan Williams <dcbw@redhat.com>
8579 * src/supplicant-manager/nm-supplicant-interface.c
8580 src/supplicant-manager/nm-supplicant-marshal.list
8581 - (nm_supplicant_interface_class_init): fix stupid mistake, the
8582 "connection-error" signal arguments should be STRING not CHAR
8584 2007-09-12 Dan Williams <dcbw@redhat.com>
8586 * src/NetworkManagerUtils.c
8587 src/NetworkManagerUtils.h
8588 - (nm_utils_hexstr2bin): new function
8590 2007-09-11 Dan Williams <dcbw@redhat.com>
8593 - (connection_get_settings_cb): emit connection-added signal
8594 - (connection_removed_cb): uncomment bits for system settings service,
8595 send connection-removed when appropriate
8596 - (nm_manager_get_connection_secrets, get_secrets_cb): don't clobber
8597 the stack by trying to g_object_set_data() on something that's
8598 not a GObject; handle case where settings service returns
8599 empty settings hash table
8601 2007-09-11 Dan Williams <dcbw@redhat.com>
8603 * src/NetworkManagerPolicy.c
8604 - (connection_added, connection_removed): trigger device change checks
8605 on connection changes
8607 2007-09-11 Dan Williams <dcbw@redhat.com>
8609 * src/nm-activation-request.c
8610 - (connection_secrets_updated_cb): fix c&p error in signal emission
8612 2007-09-11 Dan Williams <dcbw@redhat.com>
8614 * src/nm-device-802-11-wireless.c
8615 - (real_connection_secrets_updated): fix erroneous check
8617 2007-09-11 Dan Williams <dcbw@redhat.com>
8619 * introspection/nm-device.xml
8620 libnm-glib/nm-device.c
8621 libnm-glib/nm-device.c
8622 - Fix Activate call argument borkage; Activate takes 3 arguments
8624 2007-09-11 Dan Williams <dcbw@redhat.com>
8626 * libnm-glib/nm-access-point.c
8627 libnm-glib/nm-access-point.c
8628 - (nm_access_point_get_frequency): now returns guint32 to match
8629 property change on 2007-09-10
8631 2007-09-11 Dan Williams <dcbw@redhat.com>
8633 * src/nm-device-802-11-wireless.c
8634 - (nm_device_802_11_wireless_new): s/index/idx, stupid system header
8635 somewhere defines 'index' and I missed this one when I fixed the
8636 shadow declaration errors earlier
8638 2007-09-11 Dan Williams <dcbw@redhat.com>
8640 * libnm-util/nm-connection.c
8641 - (nm_connection_update_secrets, need_secrets_check): move
8642 802-11-wireless-security need_secrets checks to the setting object
8643 itself, where it belongs
8645 * libnm-util/nm-setting.c
8646 libnm-util/nm-setting.h
8647 - (nm_setting_need_secrets): new function
8648 - (setting_wireless_security_verify,
8649 nm_setting_wireless_security_new_from_hash): make 'key-mgmt' required
8650 - (setting_wireless_security_need_secrets): mostly copy code over
8651 from nm-connection.c
8653 2007-09-11 Dan Williams <dcbw@redhat.com>
8655 * libnm-util/nm-setting.c
8656 libnm-util/nm-setting.h
8657 - (nm_setting_update_secrets): new function; add a virtual function that
8658 subclasses can implement to update their secrets
8659 - (setting_wireless_security_update_secrets): implement that function
8660 for the 802-11-wireless-security subclass
8662 * libnm-util/nm-connection.c
8663 libnm-util/nm-connection.h
8664 - (nm_connection_update_secrets): update secrets for a Setting and
8665 emit a signal on success
8670 - (connection_get_settings_cb): enable system settings bits
8671 - (nm_manager_get_connection_secrets, get_secrets_cb): add function
8672 to request secrets from the settings dbus service and to
8673 push those secrets to the NMConnection itself
8675 * src/nm-activation-request.c
8676 src/nm-activation-request.h
8677 - Attach to the 'secrets-updated' signal of the NMConnection that's
8678 currently being activated, and proxy that signal to other listeners.
8679 Goes through the activation request because the activation request
8680 is the thing that manages the lifetime of the NMConnection that's
8683 * src/nm-device-802-11-wireless.c
8684 - (real_connection_secrets_updated): implement the connection secrets
8685 updated notification and restart activation when secrets are
8687 - (real_act_stage2_config): request secrets from the settings dbus
8688 service if secrets are needed
8692 - (clear_act_request, nm_device_activation_cancel,
8693 nm_device_deactivate_quickly, nm_device_dispose): consolidate places
8694 where the activation request is cleared
8695 - (nm_device_activate, connection_secrets_updated_cb): attach to the
8696 updated secrets signal of activation request and add a function
8697 that subclasses can override to handle it easily
8699 2007-09-11 Tambet Ingo <tambet@gmail.com>
8701 * src/backends/NetworkManagerSuSE.c: Fix a build issue caused by the
8702 removal of NetworkManagerAPList.
8704 2007-09-10 Dan Williams <dcbw@redhat.com>
8706 * src/NetworkManagerAP.c
8707 src/NetworkManagerAP.h
8708 introspection/nm-access-point.xml
8709 - Change 'freq' property to a guint32 instead of a double since we
8710 weren't using the floating point bits anyway
8712 2007-09-10 Dan Williams <dcbw@redhat.com>
8714 * NetworkManagerAP.c
8716 NetworkManagerPolicy.c
8717 NetworkManagerSystem.c
8718 NetworkManagerUtils.c
8719 NetworkManagerUtils.h
8720 nm-device-802-11-wireless.c
8721 nm-device-802-3-ethernet.c
8724 vpn-manager/nm-dbus-vpn.c
8725 - Warning fixes; casts and removal of unused variables
8727 2007-09-10 Dan Williams <dcbw@redhat.com>
8729 * include/NetworkManager.h
8730 - Kill NMNetworkType; AP types don't matter any more
8732 * src/NetworkManagerAPList.c
8733 src/NetworkManagerAPList.h
8735 - Kill; NMAccessPointList has outlived it's usefulness
8737 * src/NetworkManagerAP.c
8738 src/NetworkManagerAP.h
8739 - (match_cipher, security_compatible, nm_ap_check_compatible): new
8740 functions; check if an NMConnection object is compatible with the
8742 - (freq_to_channel, channel_to_freq): utility functions for
8743 channel <-> frequency conversion
8747 - (nm_device_get_best_connection): pass the specific object around
8748 (which might be the object path of a specific AP to connect to).
8749 The get_best_connection() call should populate this on return
8750 if needed (wireless does).
8752 * src/nm-device-802-3-ethernet.c
8753 - (real_get_best_connection): handle specific_object argument
8755 * src/NetworkManager.c
8756 src/NetworkManagerMain.h
8757 - Remove unused includes
8759 * src/nm-device-802-11-wireless.c
8760 src/nm-device-802-11-wireless.h
8761 - Convert the ap_list into a GSList from an NMAccessPointList
8762 - No need for caching the 'activation_ap' since this is now determined
8763 from the specific_object of the activation request, which is
8764 populated from the get_best_connection() call or from a user request
8765 - (nm_device_802_11_wireless_update_bssid): fix warning
8766 - (get_wireless_capabilities): fix error message format arguments
8767 - (nm_device_802_11_wireless_copy_allowed_to_dev_list): remove, unused
8768 - (find_best_connection, real_get_best_connection): implement
8769 - (ap_list_get_ap_by_ssid, nm_device_802_11_wireless_ap_list_print):
8770 move here from NetworkManagerAPList
8771 - (ap_need_secrets): remove; moved to nm-connection.c where it belongs
8772 - (real_act_stage1_prepare): just ensure an AP exists, connection is
8773 already verified earlier
8774 - (real_act_stage2_config): use nm_connection_need_secrets()
8776 * src/NetworkManagerPolicy.c
8777 - (nm_policy_auto_get_best_device): handle specific objects
8778 - (create_connection): remove; automatic connection creation functionality
8779 is handled by the Connection objects
8780 - (nm_policy_device_change_check): handle specific_object
8782 * libnm-util/nm-connection.c
8783 - (wireless_sec_need_secrets, nm_connection_need_secrets): implement
8785 2007-09-10 Dan Williams <dcbw@redhat.com>
8788 - (query_connections): fix uninitialized variable problem that caused
8790 - (nm_manager_add_device): take devices down on startup so that we can
8791 be assured that nm_device_is_up() won't short-circuit the init
8792 process. Hack until the is_up check gets split into two pieces
8793 that aren't behaviorally confusing.
8795 2007-09-09 Dan Williams <dcbw@redhat.com>
8797 * introspection/nm-device.xml
8798 - The 'Activate' method now takes 3 arguments, a service name for the
8799 settings service (user or system), the object path of the connection
8800 to activate, and the specific object to activate, if any
8802 * src/nm-device-interface.c
8803 - (nm_device_interface_error_quark, nm_device_interface_error_get_type):
8805 - (impl_device_activate): adapt to new Activate arguments; validate
8806 the service name and get the Connection object from the NMManager
8807 before starting to activate the device with the specified connection
8809 * src/nm-device-802-3-ethernet.c
8810 - (real_get_best_connection): find the best connection, or create a
8811 default one if no existing connections can be used
8813 * src/NetworkManagerPolicy.c
8814 - (nm_policy_auto_get_best_device): Get the device's best connection
8815 and only pick the device if it has one
8816 - (nm_policy_device_change_check): disable wireless bits for now until
8817 wireless get_best_connection() can be implemented (replacing "best_ap");
8818 don't create a default connection here as the device subclass will do
8823 - (nm_manager_get): make NMManager a singleton and expose the getter
8825 - Rework internal NMManager connection handling to use the same
8826 routines for both the system and user settings services. Most calls
8827 take a new NMConnectionType argument specifying either system or user
8829 - (nm_manager_get_connection_by_object_path): new function; get a
8830 connection keyed on its object path
8832 * src/NetworkManager.c
8833 - (main): use nm_manager_get()
8835 2007-09-09 Dan Williams <dcbw@redhat.com>
8839 - (nm_device_get_best_connection): new function; get best connection
8840 for the device at that time
8842 2007-09-09 Dan Williams <dcbw@redhat.com>
8844 * src/nm-device-interface.h
8845 - Add NMDeviceInterfaceError with an UnknownConnection error
8847 2007-09-09 Dan Williams <dcbw@redhat.com>
8849 Stupid mistake on my part; object path and interface for settings service
8850 and connection objects can be the same, only the service name must be
8851 different for the system and user settings services.
8853 * include/NetworkManager.h
8855 introspection/nm-settings-connection.xml
8856 introspection/nm-settings.xml
8857 libnm-glib/nm-settings.c
8858 - (nm_connection_settings_init, query_user_connections,
8859 new_connection_cb): Unify NetworkManagerSettings and Connection
8860 interface name and object path
8862 2007-09-06 Dan Williams <dcbw@redhat.com>
8864 * libnm-glib/nm-object.c
8865 - (nm_object_get_string_property, nm_object_get_object_path_property,
8866 nm_object_get_int_property, nm_object_get_uint_property,
8867 nm_object_get_boolean_property, nm_object_get_byte_property,
8868 nm_object_get_double_property, nm_object_get_byte_array_property):
8869 clear GValues after copying their contents, fixes memory leaks
8870 after every property access because dbus-glib copies the values
8871 from the DBusMessage into the GValue already.
8873 2007-09-06 Dan Williams <dcbw@redhat.com>
8875 * introspection/nm-access-point.xml
8876 - Fix WpaFlags and RsnFlags property names to be what dbus-glib expects
8877 them to be. There's some magic property name parsing going on in
8878 dbus-glib that breaks up property names based on studly-caps and
8879 puts - between words.
8881 * libnm-glib/nm-access-point.c
8882 - (nm_access_point_get_wpa_flags, nm_access_point_get_rsn_flags):
8885 2007-09-06 Dan Williams <dcbw@redhat.com>
8888 - (nm_manager_user_connections_destroy): clear the user connections hash
8889 table, don't destroy it
8890 - (finalize): only destroy the hash table on NMManager finalization
8892 2007-09-02 Dan Williams <dcbw@redhat.com>
8894 * include/NetworkManager.h
8895 libnm-glib/nm-settings.c
8896 - defines for the user settings daemon D-Bus bits
8898 * src/NetworkManager.c
8899 - Remove stuff that referred to the old NetworkManagerInfo service
8901 * src/vpn-manager/nm-dbus-vpn.h
8902 - Move old NMI defines to the only place they are used still
8904 * libnm-util/nm-connection.c
8905 libnm-util/nm-connection.h
8906 src/nm-activation-request.c
8907 - Make NMConnection a GObject subclass so we can do spiffy stuff with it
8911 - Get connections and their settings from the user settings daemon
8912 at the appropriate times
8914 2007-09-02 Dan Williams <dcbw@redhat.com>
8916 * libnm-util/nm-setting.c
8917 - (nm_settings_verify): correct setting name is 'connection', not 'info'
8918 - (setting_wireless_hash): set the right value on the item
8920 2007-09-02 Dan Williams <dcbw@redhat.com>
8924 - Remove, no longer useful
8926 2007-08-30 Dan Williams <dcbw@redhat.com>
8929 src/NetworkManagerDbus.c
8930 src/NetworkManagerDbus.h
8931 src/vpn-manager/nm-dbus-vpn.c
8932 - Remove, no longer necessary. Move last bits to the only place its
8933 used, in nm-dbus-vpn.c
8935 * src/NetworkManagerAPList.c
8937 src/NetworkManager.c
8938 src/nm-device-802-11-wireless.c
8939 src/vpn-manager/nm-vpn-manager.c
8940 src/vpn-manager/nm-vpn-service.c
8941 src/NetworkManagerPolicy.c
8943 - Remove usage of NetworkManagerDbus.h, and kill the obfuscation
8944 that was message_is_error()
8946 2007-08-30 Dan Williams <dcbw@redhat.com>
8949 - Include config.h to get defines for endiannes (gnome.org #420216)
8951 2007-08-30 Dan Williams <dcbw@redhat.com>
8953 Patch from Philip Withnall <bugzilla@tecnocode.co.uk>
8955 * src/ppp-manager/Makefile.am
8956 - use -fPIC (gnome.org #471825)
8958 2007-08-29 Dan Williams <dcbw@redhat.com>
8960 * include/NetworkManager.h
8961 - Keep NMConnection object path in sync
8963 * libnm-glib/nm-settings.c
8964 libnm-glib/nm-settings.h
8965 - Break D-Bus object registration out of the init function, because
8966 every object that's exported over D-Bus needs to use the _same_
8967 DBusConnection. Otherwise, each object would get a different object
8968 path tree and wouldn't be callable.
8970 2007-08-29 Dan Williams <dcbw@redhat.com>
8972 * libnm-util/nm-setting.h
8973 libnm-util/nm-setting.c
8974 libnm-util/nm-connection.c
8975 src/NetworkManagerPolicy.c
8976 - 'info' settings object should be 'connection' says the spec
8977 at NetworkManagerConfigurationSpecification
8979 2007-08-29 Dan Williams <dcbw@redhat.com>
8981 * libnm-glib/nm-settings.c
8982 libnm-glib/nm-settings.h
8983 - make the dbus path a property of the object, and autogenerate it.
8984 It can't be composed of the 'id' field becuase that's not available
8985 yet during the GObject creation in nm_connection_settings_init()
8987 2007-08-29 Dan Williams <dcbw@redhat.com>
8989 * introspection/nm-settings-connection.xml
8990 introspection/nm-settings.xml
8991 - Service name -> NetworkManagerUserSettings because two services
8992 can't share part of the same path. I'm not really sure how we'll use
8993 the same code with the system-settings daemon...
8995 2007-08-28 Dan Williams <dcbw@redhat.com>
8997 * src/nm-device-interface.c
8998 src/nm-device-interface.h
8999 - Kill one more bit of NMData
9001 2007-08-28 Dan Williams <dcbw@redhat.com>
9003 * src/NetworkManagerSystem.h
9006 src/nm-hal-manager.c
9007 src/NetworkManager.c
9008 src/nm-device-802-11-wireless.c
9009 src/nm-hal-manager.h
9010 src/nm-device-802-3-ethernet.c
9011 src/vpn-manager/nm-vpn-service.h
9012 src/vpn-manager/nm-vpn-manager.c
9013 src/vpn-manager/nm-vpn-manager.h
9014 src/vpn-manager/nm-vpn-service.c
9015 src/nm-device-802-11-wireless.h
9016 src/NetworkManagerMain.h
9017 src/nm-device-802-3-ethernet.h
9018 src/backends/NetworkManagerGentoo.c
9019 src/backends/NetworkManagerPaldo.c
9020 src/backends/NetworkManagerFrugalware.c
9021 src/backends/NetworkManagerRedHat.c
9022 src/backends/NetworkManagerSlackware.c
9023 src/backends/NetworkManagerGeneric.c
9024 src/backends/NetworkManagerArch.c
9025 src/backends/NetworkManagerSuSE.c
9026 src/backends/NetworkManagerGeneric.h
9027 src/backends/NetworkManagerDebian.c
9030 2007-08-28 Dan Williams <dcbw@redhat.com>
9032 * src/NetworkManagerMain.h
9033 src/nm-device-802-11-wireless.c
9034 src/NetworkManager.c
9035 - Remove invalid AP list from NMData; need to rework this somewhat, but
9036 for now we should set the 'invalid' property on individual APs, and when
9037 we need to invalidate a whole ESS, set the 'invalid' on every member of
9040 2007-08-28 Dan Williams <dcbw@redhat.com>
9042 * src/NetworkManagerAP.c
9043 src/NetworkManagerAP.h
9044 - Remove 'fallback' tag, to be replaced by NMConnection/NMSettings
9045 'autoconnect' property instead
9047 * src/NetworkManager.c
9048 src/NetworkManagerMain.h
9049 src/NetworkManagerPolicy.c
9050 src/NetworkManagerPolicy.h
9051 - Remove the 'allowed_ap_list', which should be replaced by
9052 NMConnection/NMSettings instead, since _those_ are the allowed
9053 things that NM can connect to
9055 * src/nm-device-802-11-wireless.c
9056 - Remove both allowed_ap_list usage and 'fallback' checking
9058 2007-08-28 Dan Williams <dcbw@redhat.com>
9061 src/named-manager/nm-named-manager.c
9062 src/named-manager/nm-named-manager.h
9063 src/NetworkManager.c
9064 src/vpn-manager/nm-vpn-manager.c
9065 src/NetworkManagerMain.h
9066 src/NetworkManagerSystem.c
9067 - Remove the named-manager object from NMData structure in preparation
9068 for NMData's timely death. Make the NMNamedManager the singleton that
9071 2007-08-28 Dan Williams <dcbw@redhat.com>
9073 Remove NMAPSecurity objects, they are replaced with flags on the APs for
9074 each AP's capabilities, and by NMConnection/NMSettings objects for user
9075 defined connections.
9077 * include/NetworkManager.h
9078 - Redefine 802.11 security properties. There are now device capabilities
9079 and AP flags and AP security flags. It was way to unclear before.
9082 src/nm-ap-security-leap.h
9083 src/nm-ap-security-leap.c
9084 src/nm-ap-security-wpa-eap.c
9085 src/nm-ap-security-wpa-eap.h
9086 src/nm-ap-security-private.h
9087 src/nm-ap-security-wpa-psk.c
9088 src/nm-ap-security-wpa-psk.h
9089 src/nm-ap-security-wep.c
9090 src/nm-ap-security-wep.h
9091 src/nm-ap-security.c
9092 src/nm-ap-security.h
9093 - Removed, to be replaced with NMConnection/NMSettings objects
9097 - Removed, to be replaced by code that talks to the new info daemon
9098 interface and gets NMConnection/NMSettings objects
9100 * src/backends/NetworkManagerSuSE.c
9101 - Remove usage of NMAPSecurity; should be replaced by a system-level
9102 info-daemon that does the same thing but talks the new info-daemon
9105 * src/NetworkManagerAP.h
9106 src/NetworkManagerAP.c
9107 src/NetworkManagerAPList.c
9108 libnm-glib/libnm-glib-test.c
9109 - Remove usage of NMAPSecurity objects and adjust to new flags for
9112 * libnm-glib/nm-access-point.c
9113 libnm-glib/nm-access-point.h
9114 introspection/nm-access-point.xml
9116 - Adjust to new flags for AP security
9120 src/vpn-manager/nm-dbus-vpn.c
9121 - Remove D-Bus pending call stuff from nm-utils and put it in the VPN
9122 stuff which is the only place it's used
9124 * src/nm-device-interface.c
9125 src/nm-device-interface.h
9126 introspection/nm-device.xml
9127 src/nm-activation-request.c
9128 src/nm-activation-request.h
9130 - Add a new 'specific_object' argument that hints to NM what actual
9131 AP or other device-specific thing the connection should apply to.
9132 NMConnection objects can apply to more than one actual device/AP.
9134 * libnm-util/nm-connection.c
9135 * libnm-util/nm-connection.h
9136 - Add 'have_secrets" call stubs
9138 * libnm-util/cipher.h
9139 - Move NM_AUTH_TYPE_* defines here for now
9141 * src/nm-device-802-11-wireless.c
9142 - Remove usage of NMAPSecurity, to be replaced with NMConnection/
9145 * src/NetworkManagerDbus.c
9146 * src/NetworkManagerPolicy.c
9147 - Remove usage of update_allowed_networks, should be pushing data in
9150 2007-08-27 Tambet Ingo <tambet@gmail.com>
9152 * src/nm-manager.c (impl_manager_get_devices): Duplicate the device path,
9153 dbus-glib frees it when the call is done.
9155 2007-08-26 Dan Williams <dcbw@redhat.com>
9157 * introspection/nm-device.xml
9158 - Add 'Index' property on NMDevice objects (forgot to do this earlier)
9160 2007-08-26 Dan Williams <dcbw@redhat.com>
9162 * src/nm-device-802-3-ethernet.c
9163 - (constructor): move connection of interface-connected/disconnected
9164 signals here from real_bring_up(). Should be listening to netlink
9165 for carrier events no matter what the initial state of the device
9168 2007-08-26 Dan Williams <dcbw@redhat.com>
9170 * src/nm-netlink-monitor.c
9171 - (nm_netlink_monitor_class_init): fix marshalling types for
9172 interface-connected/interface-disconnected
9173 - (nm_netlink_monitor_event_handler): clean up carrier on/off
9176 2007-08-26 Dan Williams <dcbw@redhat.com>
9178 Convert to using interface indexes as the primary method of identifying
9179 devices inside NetworkManager. Indexes are (?) stable, but devices can
9180 be renamed at any time. Device object paths now refer to the device
9181 index rather than the name, and you can map those two manually if you like
9182 by looking in the /sys/class/net/<name>/ifindex file. Also moves most
9183 netlink-related code to nm-netlink.c, and cleans up nm-netlink-monitor.c
9184 to use interface indexes rather than names.
9186 2007-08-26 Dan Williams <dcbw@redhat.com>
9188 * src/nm-netlink-monitor.h
9189 - Remove one last bit of wireless-event signal
9191 2007-08-26 Dan Williams <dcbw@redhat.com>
9193 * src/nm-netlink-monitor.c
9194 - (nm_netlink_monitor_class_init, nm_netlink_monitor_event_handler):
9195 don't need the 'wireless-event' signal anymore since that's all
9196 handled by wpa_supplicant
9198 2007-08-25 Dan Williams <dcbw@redhat.com>
9200 It's 2007. Remove support for drivers that don't support wireless scanning.
9203 include/NetworkManager.h
9204 src/NetworkManagerUtils.c
9205 src/NetworkManagerPolicy.c
9206 src/nm-device-802-11-wireless.c
9207 - Remove special handling for non-scanning devices and mark them
9208 as unsupported/unhandled
9210 2007-08-20 Dan Williams <dcbw@redhat.com>
9212 * src/nm-device-802-11-wireless.c
9213 src/nm-device-802-3-ethernet.c
9214 - (real_is_up): move device-specific tests before generic IFF_UP test,
9215 because when the card is pulled or the module removed, the device
9216 is already !IFF_UP and then device-specific cleanup (removing
9217 the supplicant interface, periodic checks, etc) never gets done
9219 2007-08-20 Dan Williams <dcbw@redhat.com>
9222 - (nm_manager_remove_device): bring device down before disconnecting
9223 signal handlers, so that the 'state' signal will get broadcast when
9224 the device enters the DOWN state
9225 - (manager_device_state_changed): add NM_DEVICE_STATE_DOWN to the list
9226 of states that cause the NMManager to recheck its state
9228 2007-08-20 Dan Williams <dcbw@redhat.com>
9230 * src/supplicant-manager/nm-supplicant-interface.c
9231 - (interface_disconnect_done): don't try to dispose of the net proxy
9232 when it may already have been disposed of
9234 2007-08-20 Dan Williams <dcbw@redhat.com>
9236 * src/nm-device-802-11-wireless.c
9237 - (nm_device_802_11_wireless_get_ssid): don't traceback and die when
9238 the SSID isn't available; this can happen when the card is pulled
9239 or the module unloaded, during the post-removal deactivation
9240 paths, when the ioctl returns ENODEV
9242 2007-08-20 Dan Williams <dcbw@redhat.com>
9244 * src/nm-device-802-11-wireless.c
9245 - (merge_scanned_ap): only merge the AP with another if the SSID, BSSID,
9246 frequency, and mode match. Applets are now responsible for grouping
9249 2007-08-20 Dan Williams <dcbw@redhat.com>
9251 * src/NetworkManagerAP.c
9252 * src/NetworkManagerAP.h
9253 - (nm_ap_print_self): new function
9255 * src/NetworkManagerAPList.c
9256 - (nm_ap_list_print_members): call nm_ap_print_self() rather than trying
9259 2007-08-17 Dan Williams <dcbw@redhat.com>
9261 * src/nm-device-802-3-ethernet.c
9262 - (real_bring_down): don't try to dispose of stuff that might not
9265 2007-08-17 Dan Williams <dcbw@redhat.com>
9267 * src/NetworkManagerAP.c
9268 - (nm_ap_set_user_addresses): uppercase any BSSID passed in from the
9269 applet. This ensures that the case between the seen-bssids and
9270 the bssids reported by the driver match.
9272 2007-08-17 Dan Williams <dcbw@redhat.com>
9274 * src/nm-device-802-11-wireless.c
9275 - (device_cleanup): disconnect the interface in wpa_supplicant before
9276 we dispose of the interface proxy in NM
9278 2007-08-16 Dan Williams <dcbw@redhat.com>
9280 * libnm-glib/nm-client.c
9281 - (nm_client_init): create VPN connections hash table with key free
9283 - (proxy_vpn_connection_added): VPN connections hash table key should
9284 be a duplicated value, not the same memory address as the VPN
9285 connection name. This is because the VPN connection name could
9286 potentially be freed and set to something else during the lifetime
9287 of the NMVPNConnection object.
9289 2007-08-16 Tambet Ingo <tambet@gmail.com>
9291 * src/ppp-manager/nm-ppp-manager.c (pppd_child_setup): Implement.
9292 (nm_ppp_manager_start): Use g_spawn_async() since we're not doing anything
9293 with the file descriptors. Send a child setup function to change the pppd
9296 2007-08-15 Dan Williams <dcbw@redhat.com>
9298 * src/supplicant-manager/nm-supplicant-interface.c
9299 - (try_remove_iface): new function, ask wpa_supplicant to remove
9301 - (nm_supplicant_interface_dispose): call try_remove_iface() when
9302 disposing of the NMSupplicantInterface. Otherwise weird stuff
9303 happens on hotplug if wpa_supplicant doesn't tear down and readd
9304 the interface internally
9306 2007-08-15 Dan Williams <dcbw@redhat.com>
9308 * src/nm-device-802-11-wireless.c
9309 - (real_bring_down): move most of this function into device_cleanup()
9310 so that it can be called from elsewhere
9311 - (nm_device_802_11_wireless_dispose): clean up device periodic timers
9312 and stuff on dispose. These would normally get cleaned up when
9313 the device is marked down and deactivated, but when the device is
9314 hot-unplugged, it's already down and real_down() never gets run
9316 2007-08-15 Dan Williams <dcbw@redhat.com>
9319 - (nm_dbus_get_user_key_for_network_cb): fix incorrect refcounting that
9320 caused a reference leak on device for which NM requested a key
9322 2007-08-15 Dan Williams <dcbw@redhat.com>
9324 * libnm-glib/nm-client.c
9325 - (nm_client_get_best_vpn_state): fix leakage of the vpn connection list
9327 2007-08-15 Tambet Ingo <tambet@gmail.com>
9329 * src/ppp-manager: Implement ppp-manager. It's sort of dead code for now since
9330 nothing is using it at the moment, but it'll be all useful and stuff later on.
9332 * libnm-util/nm-setting.h: Define NMSettingPPP.
9334 * libnm-util/nm-setting.c: Implement NMSettingPPP.
9336 * libnm-util/nm-connection.c (register_default_creators): Register ppp setting.
9338 * src/Makefile.am: Add ppp-manager to SUBDIRS.
9340 * configure.in: Require ppp headers. Build Makefile for ppp-manager.
9342 * introspection/Makefile.am: Add nm-manager-client.xml to EXTRA_DIST.
9344 2007-08-14 Tambet Ingo <tambet@gmail.com>
9346 * libnm-glib/Makefile.am: Use nm-manager-client.xml to produce nm-client-bindings.
9348 * introspection/nm-manager-client.xml: Add a horrible horrbile hack to work around
9349 an issue with dbus-glib bindings generator. The issue is, the generated C caller
9350 functions for dbus methods "Sleep(bool)" and "sleep()" both have the same function
9351 name and different arguments and it won't compile anymore. To fix this, we now have
9352 two copies of nm-manager.xml file. nm-manager.xml contains the actual interface,
9353 that is new API + compatibility API and used by the daemon. The other,
9354 nm-manager-client.xml is only the new API without compatibility bits and is used
9355 by libnm-glib to make it compile.
9357 * introspection/nm-manager.xml: Define compatibility methods (sleep, wake, state).
9359 * src/nm-manager.c (impl_manager_legacy_sleep)
9360 (impl_manager_legacy_wake, impl_manager_legacy_state): Implement the compatibility
9361 interface functions for 0.6 branch.
9363 2007-08-14 Dan Williams <dcbw@redhat.com>
9365 * src/NetworkManagerAP.c
9366 - (nm_ap_new_from_properties): fix mistaken check of return value
9367 from memcmp (should expect 0)
9369 2007-08-14 Dan Williams <dcbw@redhat.com>
9371 (force-commit to fix wrong comment and partial commit of r2685; this
9372 commit actually applies to r2685)
9374 * src/NetworkManagerUtils.c
9375 - (nm_utils_same_ssid): add "ignore_trailing_null" parameter which
9376 ignores trailing nulls in the SSID to work around mismatches in
9377 expectations between WEXT and what the info-daemon passes back. The
9378 info-daemon would pass back the correct length, but due to the
9379 ESSID length issues with WEXT 22 and greater and wpa_supplicant,
9380 the device would always have an SSID + 1 depending on what versions
9381 of wpa_supplicant, the kernel, and NM you have. This was most often
9382 visible by just quitting the applet and relaunching, which caused
9383 NM to reassociated to the same network over again when reloading
9386 * src/NetworkManagerPolicy.c
9387 src/NetworkManagerUtils.h
9388 src/nm-device-802-11-wireless.c
9389 - Update for new parameter to nm_utils_same_ssid()
9391 2007-08-14 Dan Williams <dcbw@redhat.com>
9393 * src/NetworkManagerAP.c
9394 - (nm_ap_new_from_properties): ignore BSSs with invalid BSSIDs. Today
9395 I encountered a BSS that wasn't just hiding it's ESSID, it was
9396 setting the BSSID to all 0s. That confused the heck out of NM,
9397 plus it's useless and probably out-of-spec.
9399 2007-08-14 Dan Williams <dcbw@redhat.com>
9401 * callouts/Makefile.am
9402 src/dhcp-manager/nm-dhcp-manager.c
9403 src/dhcp-manager/nm-dhcp-manager.h
9404 src/dhcp-manager/Makefile.am
9405 - Change install location of nm-dhcp-client.action to ${prefix}/libexec
9407 2007-08-14 Dan Williams <dcbw@redhat.com>
9409 * src/dhcp-manager/nm-dhcp-manager.c
9410 - (dhclient_run): don't pass -x to dhclient until we figure out if
9411 it's really needed, get rid of unused xtra_args parameter
9413 2007-08-14 Dan Williams <dcbw@redhat.com>
9415 * include/NetworkManagerVPN.h
9416 src/vpn-manager/nm-dbus-vpn.c
9417 src/vpn-manager/nm-dbus-vpn.h
9418 src/vpn-manager/nm-vpn-act-request.c
9419 src/vpn-manager/nm-vpn-act-request.h
9420 src/vpn-manager/nm-vpn-service.c
9421 src/vpn-manager/nm-vpn-service.h
9422 libnm-glib/nm-vpn-connection.c
9423 libnm-glib/nm-vpn-connection.h
9424 libnm-glib/nm-client.h
9425 - Rename NM_VPN_STATE_* -> NM_VPN_SERVICE_STATE_* and NMVPNState ->
9426 NMVPNServiceState to clarify what they apply to
9427 - Rename NM_VPN_ACT_STAGE_* -> NM_VPN_CONNECTION_STATE_* and
9428 NMVPNActStage -> NMVPNConnectionState for the same reason
9430 * libnm-glib/nm-client.c
9431 - Constant + type renames from above
9432 - Properly handle NameOwnerChanged/manager_running signals
9433 for NM service; only emit when state really changes
9434 - Use hash tables correctly so that the key (which was previously owned
9435 by the D-Bus message) now has the same lifetime as the value, since
9436 the key is now taken from the the NMVPNConnection itself. This
9437 really fixes the double-VPN names in the applet
9439 2007-08-13 Dan Williams <dcbw@redhat.com>
9441 Patch from Michael Biebl <biebl@debian.org>
9445 - Update for vpn-properties move
9447 2007-08-13 Dan Williams <dcbw@redhat.com>
9449 * libnm-glib/nm-client.c
9450 - Convert internal VPN connection tracking from a list to a hash table
9451 to easily avoid duplicates
9452 - (nm_client_get_vpn_connections): now returns an allocated GSList that
9453 must be freed by the caller, like nm_client_get_devices()
9454 - (nm_client_remove_vpn_connection): don't let the removal signal
9455 leak through for NMVPNConnection objects that aren't actually
9457 - (manager_running): throw away VPN connection list when NM goes away,
9458 like with the device list
9460 2007-08-13 Dan Williams <dcbw@redhat.com>
9462 * src/dhcp-manager/nm-dhcp-manager.c
9463 - Stop any dhclient instance that might be already running for a
9464 particular interface before starting an NM spawned dhclient. Fixes
9465 dhclient processes left over if NM crashes, stuff like that.
9467 2007-08-13 Dan Williams <dcbw@redhat.com>
9469 * src/NetworkManagerAP.c
9470 - (finalize): don't try to g_array_free (NULL, ...), which happened
9471 when the AP wasn't broadcasting it's SSID
9473 2007-08-13 Rodrigo Moya <rodrigo@gnome-db.org>
9475 * include/NetworkManager.h: added DBus path for connection settings.
9477 * libnm-glib/nm-settings.[ch] (nm_settings_signal_new_connection,
9478 nm_connection_settings_signal_updated,
9479 nm_connection_settings_signal_removed): new functions to wrap the
9481 (nm_connection_settings_init): register GObject with DBus.
9482 (nm_connection_settings_get_dbus_object_path): new function.
9484 * libnm-glib/Makefile.am: added libnmutil to link flags.
9486 2007-08-13 Tambet Ingo <tambet@gmail.com>
9488 * configure.in: Remove checks for dhcdbd as it's killed! killed! killed!
9490 * gnome/*: Remove. The nm-vpn-properties directory is now part of nm-applet,
9491 libnm_glib directory got merged with libnm-glib/.
9493 * libnm-glib/libnm-glib.pc.in: Rename to libnm_glib.pc.in.
9495 * libnm-glib/Makefile.am: Add legacy libnm_glib.[ch] to the build.
9496 Rename the library from libnm-glib to libnm_glib to maintain the library API
9497 compatibility with 0.6 branch.
9499 * Makefile.am: Remove gnome/ SUBDIR.
9501 * gnome/libnm_glib/libnm_glib.[ch]: Move to libnm-glib/.
9503 * src/Makefile.am: Remove the WPA_SUPPLICANT_BIN define.
9505 * dispatcher-daemon/Makefile.am: Link the binary with libnm_glib.
9507 * configure.in: Remove GNOME checks, NetworkManager does not need any of these
9509 Remove checks for wpa_supplicant binary, it's used over dbus.
9510 Remove gnome/ directory files form AC_OUTPUT, that directory is getting moved.
9512 * test/Makefile.am: Remove define WPA_SUPPLICANT_BIN.
9513 Link the binaries with libnm_glib.la.
9515 2007-08-12 Dan Williams <dcbw@redhat.com>
9517 * src/NetworkManagerPolicy.c
9518 - (nm_policy_device_change_check): fix policy to deactivate old device
9519 before activating new one, at least until the multiple active
9520 device support lands
9522 2007-08-12 Dan Williams <dcbw@redhat.com>
9524 * src/NetworkManagerPolicy.c
9525 - (nm_policy_new): hook up to connection-added / connection-removed
9526 signals instead of connections-changed
9528 2007-08-12 Dan Williams <dcbw@redhat.com>
9530 Kill dhcdbd until it's dead, dead, dead. Based on a patch from
9531 Robert Frank <rfrank@redhat.com>
9533 * src/dhcp-manager/nm-dhcp-manager.c
9534 src/dhcp-manager/nm-dhcp-manager.c
9536 - Spawn and communicate with dhclient directly, through means of a
9537 custom dhclient callout script. Process callout D-Bus signals
9538 with dbus-glib instead of hand-rolled dbus. DHCP timeouts are now
9539 sent via gobject signals rather than being driven by the dhcp manager
9542 2007-08-12 Dan Williams <dcbw@redhat.com>
9544 * callouts/nm-dhcp-client-action.c
9545 - (build_message): ignore non-DHCP-related environment variables
9547 2007-08-12 Dan Williams <dcbw@redhat.com>
9551 callouts/Makefile.am
9552 callouts/nm-dhcp-client-action.c
9553 callouts/nm-dhcp-client.conf
9554 - Add dhclient-executed callout that takes the place of dhclient-script
9555 and dhcdbd, pushing DHCP options out to the system bus as a signal that
9558 2007-08-09 Tambet Ingo <tambet@gmail.com>
9560 [Based on patch by Helmut Schaa <hschaa@suse.de>]
9562 * libnm-glib/nm-client.h:
9563 * libnm-glib/nm-object.h:
9564 * libnm-glib/nm-vpn-connection.h:
9565 * libnm-glib/nm-settings.h:
9566 * libnm-glib/nm-device.h:
9567 * libnm-glib/nm-ip4-config.h:
9568 * libnm-glib/nm-access-point.h:
9569 * libnm-glib/nm-device-802-3-ethernet.h:
9570 * libnm-util/nm-setting.h:
9571 * libnm-util/nm-connection.h: Add G_BEGIN_DECLS / G_END_DECLS to support C++.
9573 * libnm-glib/nm-object.c (nm_object_get_byte_property): Implement.
9575 * libnm-glib/nm-access-point.c: Strength has type char.
9577 * gnome/vpn-properties/Makefile.am: Remove GNOME_DISABLE_DEPRECTATED for now
9578 to fix build. GnomeDruid is deprecated in recent libgnomeui.
9580 * introspection/nm-access-point.xml: Strength property is char, not int.
9582 * src/NetworkManagerAP.c (set_property): Set strength from char.
9583 (get_property): Handle hidden APs (with empty SSID).
9584 Get strength value from char.
9585 (nm_ap_class_init): Strength property has char type.
9587 2007-08-03 Rodrigo Moya <rodrigo@gnome-db.org>
9589 * introspection/Makefile.am:
9590 * introspection/nm-settings.xml:
9591 * introspection/nm-settings-connection.xml: added Settings interfaces.
9593 * libnm-glib/nm-settings.[ch]:
9594 * libnm-glib/Makefile.am: added abstract class for Settings interfaces
9595 containing the DBus implementation.
9597 2007-07-26 Dan Williams <dcbw@redhat.com>
9599 Patch from Bernhard Miklautz <bernhard.miklautz@shacknet.at>
9601 * src/NetworkManagerSystem.c
9602 - (nm_system_device_set_ip4_route): don't add the route if it's on the
9603 same subnet (#437396)
9605 2007-07-26 Dan Williams <dcbw@redhat.com>
9607 Patch from Kelemen Gábor <kelemeng@gnome.hu>
9609 * gnome/vpn-properties/nm-vpn-properties.c
9610 - Fix translatable strings (#445865)
9612 2007-07-26 Dan Williams <dcbw@redhat.com>
9614 Patch from Andreas Hanke <andreas.hanke@gmx-topmail.de>
9617 - Remove useless junk (#412530)
9619 2007-07-10 Christopher Aillon <caillon@redhat.com>
9621 Patch from Robert Buchholz <rbu@gentoo.org>:
9625 * introspection/Makefile.am:
9626 Make make distcheck work again.
9628 2007-06-27 Dan Williams <dcbw@redhat.com>
9630 * Make SSIDs GByteArrays everywhere
9631 * Rename "essid" -> "ssid" everywhere that's appropriate
9632 * Refcount activation_ap member of the 802.11 wireless device class
9634 2007-06-27 Tambet Ingo <tambet@ximian.com>
9636 * libnm-glib/nm-object.[ch]: Add these to the SVN, oops.
9638 2007-06-22 Tambet Ingo <tambet@ximian.com>
9640 * src/nm-device-802-11-wireless.c (merge_scanned_ap): Don't advertise constantly
9641 that we got a new AP when we just update existing AP properties.
9643 2007-06-21 Tambet Ingo <tambet@ximian.com>
9645 * libnm-glib/Makefile.am: Add NMObject to build, remove nm-utils.[ch].
9647 * nm-utils.[ch]: Remove.
9649 * libnm-glib/nm-object.c: Implement a base class for all libnm-glib dbus-aware
9650 objects for easy property access and dbus connection handling.
9652 * libnm-glib/nm-client.c: Derive from NMObject.
9654 * libnm-glib/nm-device.c: Ditto.
9656 * libnm-glib/nm-device-802-3-ethernet.c: Changes for being based on NMObject.
9658 * libnm-glib/nm-device-802-11-wireless.c: Ditto.
9660 * libnm-glib/nm-ip4-config.c: Ditto.
9662 * libnm-glib/nm-access-point.c: Ditto.
9664 * libnm-util/nm-connection.c (nm_connection_compare): Add a stub for connection
9665 comparision. Currently used by the device activation code to determine if the new
9666 activation is the same as the old one.
9668 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Don't use the obsolete and
9669 wrong way of getting the dbus path for AP. Fixes the issue where the applet isn't
9670 able to ask password for the AP.
9672 * src/nm-device.c (nm_device_activate): Change the logic here - instead of giving
9673 up if the device is already connected, tear down it's connection (if it isn't the
9674 same as new one) and start the activation.
9676 * src/nm-manager.c: Add the beginnings of NMConnection storage and signals.
9678 * src/NetworkManagerAP.c (nm_ap_init): Set the default values to AP memebers, fixes
9679 the issue where all APs are always listed as encrypted.
9681 * src/NetworkManagerDbus.c (nm_dbus_get_object_path_for_network): Remove. APs have
9682 their own registered paths.
9684 * test/nm-tool.c (detail_device): Don't try to get active network from wireless
9685 device if it's not connected - dbus-glib will happily crash trying to marshal NULL.
9687 2007-06-13 Tambet Ingo <tambet@ximian.com>
9689 * src/NetworkManagerAP.c (foreach_property_cb): Set WEP capabilities too!
9692 * src/nm-device.c (nm_device_state_changed): Emit the signal before handling it
9693 because the handling code will cause the next state change and signal listeners
9694 get the signals in wrong order.
9696 * src/NetworkManagerPolicy.c (nm_policy_device_change_check): Get the "old_dev"
9697 correctly in case of pending activation.
9699 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9700 Convert the essid byte array to string correctly, including the terminating NULL.
9702 * src/NetworkManagerPolicy.c (create_connection): Create wireless ssid and
9703 mode with correct types.
9705 * src/nm-dbus-nmi.c (nm_dbus_get_user_key_for_network): Fix a typo, pass the
9706 constructed info to dbus call instead of the activation request.
9708 2007-06-11 Christopher Aillon <caillon@redhat.com>
9710 Patch from Christian Persch <chpe@gnome.org>
9712 * libnm-glib/Makefile.am:
9713 * dispatcher-daemon/Makefile.am:
9714 Use the correct variables, the correct paths, and correct ordering. (446315)
9716 2007-06-11 Tambet Ingo <tambet@ximian.com>
9718 * src/nm-device.c: Make the activation stage virtual functions take NMDevice
9719 argument. The activation request is easy to retrieve.
9721 * src/nm-activation-request.c: Convert to GObject. Do not include half of NM headers
9722 just to be a convenient location for devices to store random stuff.
9724 2007-06-11 Christopher Aillon <caillon@redhat.com>
9726 Patch from Alex Smith <alex@alex-smith.me.uk>
9728 * src/backends/NetworkManagerFrugalware.c:
9729 Update the FrugalWare backend to fix a few segfaults. (#392642)
9731 2007-06-08 Tambet Ingo <tambet@ximian.com>
9733 * libnm-util/nm-setting.c: Implement NMSettingWirelessSecurity.
9735 * libnm-util/nm-connection.c (register_default_creators): Register wireless security
9737 (gvalue_to_string): Recognize G_TYPE_UCHAR and GSList.
9739 2007-06-06 Tambet Ingo <tambet@ximian.com>
9741 * libnm-util/nm-setting.c: Get rid of dump virtual functions, that can happen
9743 Implement NMSettingIP4Config.
9744 Finish NMSettingWired by adding all known members.
9745 (setting_wired_verify): Implement.
9746 Finish NMSettingWireless by adding all known members.
9747 (setting_wireless_verify): Implement.
9749 * libnm-util/nm-connection.c: Register "ipv4" setting.
9750 (nm_connection_dump): Implement. Instead of requiring every NMSetting to implement
9751 dump function, we can introspect the GHashTable which is used for sending connections
9754 * src/nm-device-802-11-wireless.c (nm_device_802_11_wireless_set_activation_ap):
9755 Take GByteArray for essid, it's really not a string.
9757 * src/nm-device.c (real_act_stage3_ip_config_start): Get information from NMSettings.
9758 Start DHCP request if setting is not passed or if it states that DHCP should be used.
9759 (real_act_stage4_get_ip4_config): If settings are provided, use them, even if it
9760 means overriding the values we got from DHCP.
9761 (real_activation_cancel_handler): Cancel DHCP transaction only if it has started, doh.
9762 (nm_device_deactivate_quickly): Ditto.
9764 * src/nm-device-interface.c (impl_device_activate): Dump the connection structure
9767 2007-05-07 Tambet Ingo <tambet@ximian.com>
9769 * libnm-glib/Makefile.am: Link with libnm-util to gain access to
9772 * libnm-glib/nm-device-802-11-wireless.c:
9773 (nm_device_802_3_ethernet_activate): Remove.
9775 * libnm-glib/nm-device-802-3-ethernet.c
9776 (nm_device_802_3_ethernet_activate): Remove.
9778 * libnm-glib/nm-device.c (nm_device_activate): Implement.
9780 * src/nm-device-802-3-ethernet.c: Implement the new activation using
9783 * src/nm-device-802-11-wireless.c: Store an activation AP once the
9784 activation has started.
9785 Implement the new activation using NMConnection.
9787 * src/nm-activation-request.c: Store a generic connection object instead
9788 of a wireless-specific AP.
9790 * src/NetworkManagerPolicy.c (create_connection): Implement. Depending
9791 on device type, create a device specific connection object suitable for
9794 * src/nm-device.c (nm_device_activate): Re-implement. Call the device
9795 specific check to validate the connection and on success start the
9798 * src/nm-device-interface.h: Add a activate virtual function to the
9799 interface definition.
9801 * src/nm-device-interface.c (nm_device_interface_activate): Implement.
9802 (impl_device_activate): Implement.
9804 * introspection/nm-device.xml: Add a generic device activation interface
9805 that accepts an abstract NMConnection structure that has device-specific
9808 * introspection/nm-device-802-3-ethernet.xml: Remove the wired-specific
9809 activation interface.
9811 * introspection/nm-device-802-11-wireless.xml: Remove the wireless-specific
9812 activation interface.
9814 * libnm-util/nm-connection.c:
9815 * libnm-util/nm-connection.h:
9816 * libnm-util/nm-setting.c:
9817 * libnm-util/nm-setting.h: Add.
9819 * libnm-util/Makefile.am: Build the added files.
9821 * src/nm-dbus-manager.c
9822 (proxy_name_owner_changed, nm_dbus_manager_class_init): Remove the
9823 DbusConnection argument from 'name-owner-changed' signal. The manager
9824 is already passed as a first argument to the signal and the connection
9825 is easy enough to get from it.
9827 * src/vpn-manager/nm-vpn-service.c (nm_vpn_service_name_owner_changed):
9828 Update the signature of the function.
9830 * src/vpn-manager/nm-vpn-manager.c (nm_name_owner_changed_handler):
9833 * src/NetworkManager.c: Ditto.
9835 * src/named-manager/nm-named-manager.c
9836 (nm_named_manager_name_owner_changed): Ditto.
9838 * src/supplicant-manager/nm-supplicant-manager.c
9839 (nm_supplicant_manager_name_owner_changed): Ditto.
9841 * src/nm-hal-manager.c (name_owner_changed): Ditto.
9843 * src/dhcp-manager/nm-dhcp-manager.c
9844 (nm_dhcp_manager_name_owner_changed): Ditto.
9846 * src/nm-hal-manager.c: Add a list of device detectors and creators
9847 to make it easier to add new devices. Each device type has it's own
9848 entry in the table so adding new device types is only a matter of
9849 implementing a couple of functions, one for device detection and the
9850 other for device creation.
9852 2007-04-25 Dan Williams <dcbw@redhat.com>
9854 * initscript/RedHat/NetworkManager.in: remove trailing backslash
9857 2007-03-30 Dan Williams <dcbw@redhat.com>
9859 * src/NetworkManagerSystem.c
9860 - (nm_system_device_set_ip4_route): clean up and fix argument
9861 to nm_dev_sock_open()
9863 2007-03-28 Tambet Ingo <tambet@ximian.com>
9865 * src/supplicant-manager/nm-supplicant-config.c (get_hash_cb): Marshal the
9866 data to correct types instead of always using string.
9868 * src/NetworkManagerAP.c (get_property): AP is encrypted if capabilities does
9869 _not_ have NM_802_11_CAP_PROTO_NONE.
9870 (foreach_property_cb): Set AP capabilities if it's not set or if the protocol
9873 2007-03-27 Tambet Ingo <tambet@ximian.com>
9875 * libnm-glib/Makefile.am: Fix the build issue.
9877 2007-03-26 Tambet Ingo <tambet@ximian.com>
9879 * libnm-glib/nm-vpn-connection.h:
9880 * libnm-glib/nm-vpn-connection.c: Implement.
9882 * libnm-glib/nm-client.c: Add VPN support.
9884 * src/vpn-manager/nm-dbus-vpn.c (dbus_message_handler): Implement DBUS message
9887 * src/vpn-manager/nm-vpn-manager.c (nm_vpn_manager_new): Register VPN interface
9890 2007-03-26 Dan Williams <dcbw@redhat.com>
9892 * src/NetworkManagerAPList.c
9893 * src/nm-device-802-11-wireless.c
9894 * src/NetworkManagerAP.c:
9895 - Store last seen as glong instead of GTimeVal.
9896 - Fix the upper bound of capabilities, it's a bitfield.
9898 2007-03-16 Tambet Ingo <tambet@ximian.com>
9900 * libnm-glib/nm-device.c (nm_device_get_description): Implement.
9902 * libnm-glib/nm-client.c (nm_client_manager_is_running): Implement. Also add a
9903 "manager-running" signal that notifies the appearance/disappearance of NM.
9904 (nm_client_sleep): Implement.
9906 * libnm-glib/nm-device.c:
9907 * libnm-glib/nm-device-802-11-wireless.c:
9908 * libnm-glib/nm-device-802-3-ethernet.c:
9910 Don't inherit from DBusGProxy, add a proxy to private
9911 data. The reason is, classes inherited from NMDevice wouldn't get any dbus signals
9912 for anything but their own dbus interface. DBusGProxy objects support only one
9913 interfaces and to work around this, NMDevice has spearate proxy for each dbus
9914 interface. The nice side effect of this change is that we do not create a new
9915 DBusGProxy object for each property access.
9917 2007-03-15 Tambet Ingo <tambet@ximian.com>
9919 * src/nm-device-802-11-wireless.c (constructor): Initialize the iw_ext structures
9920 with zeroes before passing them to functions - the functions never do that and
9921 reading the values back may produce wrong values.
9922 (real_bring_up): Store the signal handler id ...
9923 (real_bring_down): ... So that it can be removed here.
9924 Disconnect the supplicant interface here as well.
9925 (nm_device_802_11_wireless_ap_list_get_ap_by_obj_path): Use the dbus object path
9926 from the access point instead of old $device/Networks/$essid.
9928 * src/nm-manager.c (nm_manager_get_state): Return NM_STATE_CONNECTED when the
9929 device state is connected (instead of just having link/carrier).
9931 * src/nm-activation-request.c: Don't store NMData in activation request, it's
9932 already easily accessible through the device.
9934 * src/NetworkManagerAP.c (nm_ap_init): Construct the dbus object path here and
9935 store it within the object.
9936 (nm_ap_get_dbus_path): Export it to public as well.
9938 * src/dhcp-manager/nm-dhcp-manager.c (nm_dhcp_manager_get): Keep the ownership
9941 2007-03-12 Dan Williams <dcbw@redhat.com>
9943 Get rid of 2 second poll of sysfs 'carrier' file for wired devices. Useless
9944 for non-carrier-detect capable devices, and useless for carrier-detect
9945 devices since we get notifications from netlink about carrier status anyway.
9947 * src/nm-device-802-3-ethernet.c
9948 - remove 'link_source_id' member from private data
9949 - (probe_link): remove and collapse into real_update_link()
9950 - (nm_device_802_3_periodic_update): remove
9951 - (real_is_up): check for sup_iface rather than link_source_id
9952 - (real_bring_up): return gboolean for success/fail; require that
9953 sup_iface be valid for device bringup to succeed
9954 - (real_bring_down): zero out link signal ids
9957 - (nm_device_activate_stage2_device_config): fail activation if device
9959 - (real_act_stage4_get_ip4_config): fail activation if device bringup
9961 - (nm_device_bring_up): return success/fail
9964 - bring_up now returns success/fail
9966 * src/nm-device-802-11-wireless.c
9967 - (real_bring_up): return success from bringup
9969 2007-03-07 Dan Williams <dcbw@redhat.com>
9971 Patch from Simon Geard <delgarde@ihug.co.nz> (Gnome.org #394956)
9972 * src/nm-ap-security-wpa-psk.c
9973 - (real_write_supplicant_config): work with PSKs that may contain
9974 zeros in the binary format rather than treating it as a string
9976 2007-03-02 Tambet Ingo <tambet@ximian.com>
9978 * libnm-glib/nm-device-802-11-wireless.c
9979 (nm_device_802_11_wireless_get_capabilities): Implement.
9981 * libnm-glib/nm-device.c (nm_device_get_capabilities): Implement.
9983 * src/nm-device-802-11-wireless.c: Add "WirelessCapabilities" property.
9985 * src/named-manager/nm-named-manager.c (remove_one_zone_from_named): Unref the
9986 reply only if it's not NULL. Not sure why this started happening right now.
9988 * src/nm-manager.c (device_stop_and_free): Remove. No need to have different
9989 code paths for when devices get removed on shutdown or when a device is just
9991 (finalize): Don't use a g_slist_foreach() when removing devices, the list data
9992 gets freed so any signal from a device (disconnected for instance) would invoke
9993 NMState update which would crash.
9994 (nm_manager_remove_device): Bring the device down when it gets removed.
9996 * src/NetworkManagerPolicy.c (nm_policy_auto_get_best_device): Remove
9997 the unused dev_type.
9999 * src/nm-hal-manager.c (create_device_and_add_to_list): Don't keep the
10000 reference to the added device, NMManager will own it (if it wants).
10002 * test/nm-tool.c: Rewrite using libnm-glib.
10004 * libnm-glib/nm-device-802-11-wireless.c: Cache networks (bssids) list.
10005 We get signalled when it changes.
10007 * libnm-glib/nm-client.c: Cache NMState and device list, we get signalled
10010 * libnm-glib/nm-device.c: Cache the device state property.
10012 * libnm-glib/nm-access-point.c: Cache the strength property.
10014 * src/nm-device-802-11-wireless.c: Fix wireless device scanning scheduler.
10015 The new algorithm is to start from SCAN_INTERVAL_MIN (currently defined as 0)
10016 and add a SCAN_INTERVAL_STEP (currently 20 seconds) with each successful scan
10017 until SCAN_INTERVAL_MAX (currently 120 seconds) is reached. Do not scan while
10018 the device is down, activating, or activated (in case of A/B/G cards).
10019 Remove some old dead ifdef'ed out code that used to configure wireless devices,
10020 it's all done through supplicant now.
10022 * src/supplicant-manager/nm-supplicant-interface.c: Fix the reference
10023 counting issues with pending calls which caused leaks and crashes when
10024 interface was removed (now that the interface actually gets removed).
10026 * src/nm-call-store.c: Make a copy of data before running a foreach
10027 with user callback on it - The most common usage pattern is to cancel
10028 (and thus remove) all pending calls with foreach which would modify
10029 the hash table we're iterating over.
10031 * src/nm-manager.c: When a device is added, make sure it is "up". When
10032 it's removed or disabled due to disabling wireless or networking, bring
10035 * include/NetworkManager.h: Add new device state NM_DEVICE_STATE_DOWN.
10037 * src/nm-device-802-11-wireless.c:
10038 * src/nm-device-802-3-ethernet.c:
10040 - Remove "init" virtual function, all gobjects have a place for that
10041 already (constructor).
10042 - Replace "start" virtual function with "bring_up", devices can be
10043 brought up and down more than just on startup now.
10044 - Add "is_up" virtual function.
10045 - Implement one way to bring a device down instead of previous 4 different
10046 ways, each of witch did something different.
10048 * src/NetworkManagerUtils.c (nm_dev_sock_open): This doesn't need an NMDevice,
10049 all it needs is the device interface.
10051 Get rid of NMData.dev_list (3 members to go).
10052 Get rif of NMData in a lot of places.
10054 * gnome/libnm_glib/libnm_glib.c: Make it compile again.
10056 2007-02-23 Dan Williams <dcbw@redhat.com>
10058 Patch from Andy Whitcroft <apw@shadowen.org> (Gnome.org #410426)
10060 * src/NetworkManagerAP.c
10061 - (add_capabilities_from_cipher): fix addition of WEP capabilities by
10062 OR-ing rather than AND-ing
10064 2007-02-20 Tambet Ingo <tambet@ximian.com>
10066 * libnm-glib/nm-device-802-11-wireless.c: Add "network-added" and
10067 "network-removed" signals.
10069 * libnm-glib/libnm-glib.pc.in: Require NetworkManager >= 0.7.0.
10071 * libnm-glib/nm-access-point.c: Add "strength-changed" signal, emit it
10072 when receiving the signal from dbus.
10074 * src/nm-device-802-11-wireless.c (get_property): Fix PROP_ACTIVE_NETWORK
10077 * src/NetworkManagerPolicy.c (state_changed): Fix a typo to make the
10078 deactivation of the previously activated device working again.
10080 * src/nm-activation-request.c: Remove NMActStage property and it's getter
10083 * src/nm-device.c (nm_device_is_activated): Remove.
10084 state == NM_DEVICE_STATE_ACTIVATED is just as easy to use.
10086 * include/NetworkManager.h: Remove NM_DBUS_NO_DEVICES_ERROR,
10087 NM_DBUS_NO_DIALUP_ERROR, NM_DBUS_NO_NETWORKS_ERROR,
10088 NM_DBUS_NO_ACTIVE_DEVICE_ERROR, NM_DBUS_NO_ACTIVE_NET_ERROR errors and
10089 NM_DBUS_SIGNAL_STATE_CHANGE signal.
10090 Remove NMNetworkStatus and NMActStage enums.
10092 2007-02-19 Tambet Ingo <tambet@ximian.com>
10094 * src/vpn-manager/nm-vpn-manager.c: Handle the DBUS state changes itself.
10095 Handle device state changes and disconnect VPN if it's device deactivates.
10097 * src/nm-dbus-nm.c:
10098 * src/nm-dbus-nm.h:
10099 * src/nm-dbus-device.c:
10100 * src/nm-dbus-device.c:
10101 * src/nm-dbus-net.c:
10102 * src/nm-dbus-net.h: Remove. All of it is implemented byt the new dbus API.
10104 * src/NetworkManagerMain.h: Get rid of all but 3 properties of NMData.
10106 * src/nm-device.c (nm_device_get_by_udi):
10107 (nm_device_get_by_iface): Remove. This doesn't belong here and is already
10108 implemented in the correct location (NMManager).
10109 Rip out all the test_device stuff.
10111 * src/NetworkManagerPolicy.c: Remove the leftover activation success and
10112 failure handlers, it's all done by NMDevice already.
10114 * src/NetworkManager.c: Move the signal handling here from nm-logging.c
10115 Remove the iochannel hack to route the unix signals to the main thread since
10116 we're not threaded anymore.
10118 * src/NetworkManagerAP.c: Implement HWAddress property.
10120 * src/NetworkManagerDbus.c: Remove the dbus signal sending code, it happens
10121 automatically with dbus-glib.
10123 * src/nm-netlink-monitor.c:
10124 * src/nm-netlink-monitor.h:
10125 - Move it low in the class hierarchy, don't reference any NM types.
10126 - Remove private data from the header.
10127 - Use type safe checks in public API methods.
10128 - Make it a singleton so we don't have to pass the single reference around.
10130 2007-02-16 Tambet Ingo <tambet@ximian.com>
10132 * introspection/nm-ip4-config.xml: Implement.
10134 * libnm-glib/libnm-glib-test.c: Use new DBUS API in tests.
10136 * libnm-glib/nm-ip4-config.c:
10137 * libnm-glib/nm-ip4-config.c: Implement.
10139 * src/nm-ap-security[-*]: Remove circular dependencies between APs and AP
10140 securities. APs reference security.
10142 * src/nm-device-802-11-wireless.c: Implement missing properties that need to
10143 be exported over DBUS.
10145 * src/nm-device-802-3-ethernet.c: Ditto.
10147 * src/NetworkManagerAP.c:
10148 * src/NetworkManagerAP.h:
10149 - Convert to GObject, export over DBUS.
10151 * src/nm-ip4-config.h:
10152 * src/nm-ip4-config.h:
10153 - Convert to GObject, export over DBUS.
10155 2007-02-12 Dan Williams <dcbw@redhat.com>
10157 Patch from Helmut Schaa <hschaa@suse.de>
10159 * vpn-daemons/pptp/configure.in
10160 vpn-daemons/pptp/Makefile.am
10161 vpn-daemons/openvpn/configure.in
10162 vpn-daemons/openvpn/Makefile.am
10163 vpn-daemons/vpnc/configure.in
10164 vpn-daemons/vpnc/Makefile.am
10165 - Add --without-gnome switch which disables building gnome bits
10167 2007-02-12 Tambet Ingo <tambet@ximian.com>
10169 * libnm-glib/nm-device.c (nm_device_get_use_dhcp): Remove.
10171 * libnm-glib/nm-access-point.c (nm_access_point_is_broadcast): Remove.
10173 * introspection/nm-device-802-3-ethernet.xml: Rename 'Address' property to
10176 * introspection/nm-device.xml: Remove 'UseDhcp' property.
10178 * introspection/nm-access-point.xml: Remove 'Broadcast' property.
10180 Totally break NetworkManager. Please use 0.6 branch until futher notice.
10183 - Remove old low-level dbus interface implementations and replace them
10184 with dbus-glib one.
10187 - Require dbus-glib >= 0.72.
10188 - Plug in new sources to build.
10191 - Implement GObject wrappers on top of DBUS glib auto-generated bindings
10192 to make it more convenient to use from GObject based programs.
10195 - Implement DBUS XML introspection files, used by both NM and libnm-glib.
10197 2007-02-09 Tambet Ingo <tambet@ximian.com>
10199 * src/nm-device-802-11-wireless.c:
10200 - Add "network-added" and "network-removed" signals.
10201 - Use gobject boilerplate macros to define the GObject.
10202 - Implement wireless device activation.
10203 - Remove activation_failure_handler and activation_success_handler
10204 and instead listen on state-changed signals and run the same code
10208 - Implment NMDeviceInterface::deactivate.
10209 - Remove activation_failure_handler and activation_success_handler
10210 virtual methods. Each device which is interested in these events
10211 can just listen on it's state changed signals.
10213 * src/NetworkManagerPolicy.c:
10214 - Move a bit more NMData usage to NMManager.
10215 - Remove activation scheduling bits.
10216 - Add listeners for wireless device's "network-added" and
10217 "network-removed" signals.
10218 - Listen device changed signals and deactivate currently activated
10219 device when another device start activating (for now).
10220 - Remove (nm_policy_schedule_device_change_check): There's never a need
10221 for calling this, the policy code knows exactly when this should happen,
10222 by listening on events from NMManager and NMDevices.
10224 * src/nm-device-802-3-ethernet.c (nm_device_802_3_ethernet_activate):
10227 * src/nm-dbus-nm.c (nm_dbus_nm_set_active_device): Call the activation
10228 method on the specific device instead of going to through policy code
10229 and determining the device type by passed in AP's existance.
10231 * src/nm-device-interface.c (nm_device_interface_deactivate): Implement the
10232 abstract NMDevice deactivation.
10234 2007-02-08 Tambet Ingo <tambet@ximian.com>
10236 * src/NetworkManager.c:
10237 - Set up all the shiny new managers.
10239 * src/NetworkManagerPolicy.c:
10240 - Add the beginnings of new NMPolicy code. Instead of requireing all
10241 classes to call into policy code, make the policy code kind of like
10242 a supervisor that monitors what's going on and drives the whole NM.
10244 * src/nm-hal-manager.c:
10245 * src/nm-hal-manager.h:
10246 - Collect all libhal code scattered around NM to this one class.
10247 - Listen libhal and NMManager events and add/remove devices to
10250 * src/nm-manager.c:
10251 * src/nm-manager.h:
10252 - Implment a replacement for NMData. NMData is now officially
10255 2007-02-05 Tambet Ingo <tambet@ximian.com>
10257 * src/nm-device-802-11-wireless.c (supplicant_iface_scan_result_cb):
10258 * src/supplicant-manager/nm-supplicant-interface.h
10259 * src/supplicant-manager/nm-supplicant-interface.c
10260 (nm_supplicant_interface_class_init): Change the "scan-result" signal's
10261 argument to boolean from enum.
10263 Make NMDevice abstract class, remove almost all references to it's
10264 subclasses (the last place gets removed with new policy manager). Add
10265 NMDeviceInterface (which NMDevice implements) so that when we have
10266 NMDevice exported over DBUS, there's a common NMDevice interface which
10267 all instances have, plus there's a device specific interface for each
10269 Remove functions (nm_device_is_802_3_ethernet) and
10270 (nm_device_is_802_11_wireless). There are already standard GObject macros
10271 for type safe checks.
10272 Use the updated supplican manager API.
10274 * src/nm-device-interface.h:
10275 * src/nm-device-interface.c:
10276 * src/nm-call-store.h:
10277 * src/nm-call-store.c: Implement.
10279 * src/supplicant-manager/nm-supplicant-interface.c:
10280 * src/supplicant-manager/nm-supplicant-interface.h:
10281 * src/supplicant-manager/nm-supplicant-manager.c:
10282 * src/supplicant-manager/nm-supplicant-manager.h:
10283 - Remove all private data type references from public header files.
10284 - Remove all references to other NM classes, this class is just a
10285 proxy between wpa_supplicant and NM so it doesn't have to know
10287 - Convert to dbus-glib bindings.
10288 - Type safe checks for public methods' arguments.
10289 - Store pending DBUS call ids to NMCallStore.
10291 * src/supplicant-manager/nm-supplicant-config.c:
10292 - Store config values in a GHashTable instead of GSList.
10294 * src/NetworkManagerMain.h: Remove all references to DHCP manager.
10296 * src/NetworkManager.c: Don't initialize the DHCP manager, it's a
10299 * src/nm-device.c: Use the new DHCP manager API.
10301 * src/nm-activation-request.c:
10302 * src/nm-activation-request.h:
10303 - Remove all dhcp related properties and methods.
10305 * src/dhcp-manager/nm-dhcp-marshal-main.c: Add.
10307 * src/dhcp-manager/nm-dhcp-marshal.list: Add.
10309 * src/dhcp-manager/nm-dhcp-manager.c:
10310 * src/dhcp-manager/nm-dhcp-manager.h:
10311 - Convert it to GObject since we need to signal state changes.
10312 - Remove all references to other NM classes, this class is one
10313 of the lowest classes in our hierarchy.
10314 - One less class to use NMActRequest.
10315 - Make it singleton, one less user of NMData.
10316 - Remove a couple of sleep() calls.
10317 - Convert a bunch of low-level dbus API calls to dbus-glib calls.
10318 One less class to use the NM's custom tailored signal handlig.
10320 * Makefile.am: Generate marshallers, add them to build.
10322 2007-02-02 Dan Williams <dcbw@redhat.com>
10328 - Remove last bits referencing gnome applet
10330 2007-02-02 Dan Williams <dcbw@redhat.com>
10332 * src/vpn-manager/nm-vpn-service.c
10333 - (nm_vpn_service_stage4_ip4_config_get): use uint32 arrays for DNS
10334 and NBNS server addresses
10336 2007-02-02 Tambet Ingo <tambet@ximian.com>
10338 * src/nm-dbus-manager.c:
10339 * src/nm-dbus-manager.h:
10340 - Convert all internal DBUS code to use dbus-glib bindings.
10341 - Remove GObject properties, we don't need them here.
10342 - Don't explicitly set things to NULL after freeing, glib is
10343 happy to do it if asked nicely (G_DEBUG=gc-friendly).
10344 - Make public API argument checks type safe.
10345 - Remove unnecessary (and wrong) cast to GObject for the first
10346 argument to g_signal_* calls - The first argument is a gpointer.
10347 - Export DBusGConnection to other cool classes that (are going to)
10350 2007-01-26 Dan Williams <dcbw@redhat.com>
10352 * libnm-util/dbus-dict-helpers.c
10353 libnm-util/dbus-dict-helpers.h
10354 - Coordinate style with wpa_supplicant version to minimize diff
10355 - Add uint32 array support
10356 - (nmu_dbus_dict_append_uint32_array): new function
10357 - (nmu_dbus_dict_begin_string_array, nmu_dbus_dict_string_array_add_element,
10358 nmu_dbus_dict_end_string_array): bring over from wpa_supplicant
10359 version; allow adding string array elements individually
10361 * test/libnm-util/test-dbus-dict-helpers.c
10362 - Test uint32 arrays
10364 2007-01-27 Jürg Billeter <j@bitron.ch>
10366 * src/backends/NetworkManagerPaldo.c
10367 - (nm_system_update_dns): clear nscd hosts cache
10369 2007-01-04 Dan Williams <dcbw@redhat.com>
10371 Threading removal related cleanups:
10373 - Use the glib default main context. Remove the device main context
10374 member from NMDevice, and the main_context member from NMData. Change
10375 all the idle and timeout scheduler functions to use plain
10376 g_idle_add() and g_timeout_add().
10378 - As a side-effect of the first change, nm_dbus_manager_get() no longer
10379 takes an argument; fix that up too.
10381 - Remove all locking, which is useless since we no longer use threads. For
10382 example, nm_get_device_by_iface_locked() has been removed. The global
10383 device list lock, the AP List lock, and all static locks in
10384 NetworkManagerPolicy.c have been removed. The locking utility functions
10385 in NetworkManagerUtils.c have also been removed.
10387 - Other cleanups in spacing and code style
10389 2007-01-01 Dan Williams <dcbw@redhat.com>
10391 Found by Bill Moss:
10393 * src/supplicant-manager/nm-supplicant-interface.c
10394 - (nm_supplicant_interface_disconnect): fix cleanup logic when
10395 the supplicant interface wasn't already disconnected. Always
10396 call removeNetwork and disconnect unless the supplicant interface
10397 is in the DISCONNECTED or INACTIVE state.
10399 2006-12-28 Dan Williams <dcbw@redhat.com>
10401 Use a single thread for everything. With the move to wpa_supplicant
10402 and communication over D-Bus, there's no reason for multiple threads.
10403 Almost all of the blocking code has been removed, with one exception in
10404 the DHCP manager and a few in the VPN manager. This commit removes the
10405 per-device worker thread and fixes activation cancellation in the absence
10406 of threads. Further removal of thread-related code would be removing
10407 any locking code (like the device list lock) and simplification of logic
10408 around areas of code or data structures that are currently locked.
10411 dhcp-manager/nm-dhcp-manager.c
10412 nm-device-802-11-wireless.c
10413 nm-device-802-3-ethernet.c
10416 - Remove usage of multiple threads
10418 2006-12-19 Dan Williams <dcbw@redhat.com>
10420 Big wpa_supplicant + dbus update; need latest wpa_supplicant from CVS
10421 plus a few other patches from wpa_supplicant bugzilla.
10424 src/NetworkManagerPolicy.c
10425 src/NetworkManagerUtils.c
10426 src/NetworkManagerUtils.h
10427 src/nm-ap-security-leap.c
10428 src/nm-ap-security-wep.c
10429 src/nm-ap-security-wpa-eap.c
10430 src/nm-ap-security-wpa-psk.c
10431 src/nm-ap-security.c
10432 src/nm-ap-security.h
10433 src/nm-device-802-11-wireless.c
10434 src/nm-device-802-11-wireless.h
10435 src/supplicant-manager/nm-supplicant-config.c
10436 src/supplicant-manager/nm-supplicant-config.h
10437 src/supplicant-manager/nm-supplicant-interface.c
10438 src/supplicant-manager/nm-supplicant-interface.h
10439 src/supplicant-manager/nm-supplicant-marshal.list
10440 src/supplicant-manager/nm-supplicant-settings-verify.c
10441 src/supplicant-manager/nm-supplicant-settings-verify.h
10442 - Move all connection management and association handling to
10443 wpa_supplicant over dbus, rather than spawning a private copy
10445 2006-12-19 Dan Williams <dcbw@redhat.com>
10447 * src/NetworkManagerPolicy.c
10448 - (nm_policy_device_change_check, nm_policy_schedule_device_change_check):
10449 better locking of the device change check handler ID. Incorrect
10450 locking was causing lost device change requests
10452 2006-12-18 Dan Williams <dcbw@redhat.com>
10454 * libnm-util/dbus-dict-helpers.c
10455 - (_nmu_dbus_dict_entry_get_array, _nmu_dbus_dict_entry_get_string_array,
10456 _nmu_dbus_dict_entry_get_byte_array): replace usage of
10457 dbus_message_iter_get_array_len() (Gnome.org #382898)
10459 2006-12-18 Dan Williams <dcbw@redhat.com>
10461 * gnome/libnm_glib/libnm_glib.c
10462 - Change dbus_connection_close() -> dbus_connection_unref()
10464 2006-12-11 Dan Williams <dcbw@redhat.com>
10466 * src/supplicant-manager/nm-supplicant-interface.c
10467 - (iface_state_cb, wpas_iface_get_state): new functions; query initial
10468 wpa_supplicant interface state
10469 - (nm_supplicant_interface_add_cb): query initial wpa_supplicant interface
10470 state before transitioning to READY state
10472 2006-12-04 Dan Williams <dcbw@redhat.com>
10474 * src/nm-device-802-11-wireless.c
10475 - (supplicant_iface_scanned_ap_cb): fix parsing of hidden APs due to
10476 odd length of ESSID returned from ieee80211 stack-based drivers
10478 2006-12-04 Dan Williams <dcbw@redhat.com>
10480 * src/nm-device-802-11-wireless.c
10481 - (supplicant_iface_scanned_ap_cb): remove erroneous & from WPA & RSN
10482 IE handling blocks that cause mis-parsing of the IE
10484 2006-12-04 Dan Williams <dcbw@redhat.com>
10486 * src/nm-device-802-11-wireless.c
10487 - (init_supplicant_interface): new function; pull supplicant interface
10488 setup code out into standalone function since it must be called from
10489 two different places
10490 - (real_init): sup_mgr is now in private object data; get and track
10491 the supplicant manager object over the NMDevice subclass' lifetime
10492 and register a signal handler for its state signals; only try to
10493 initialize the supplicant interface if the supplicant manager is in
10494 the IDLE state (and therefore is ready for requests)
10495 - (request_wireless_scan): reschedule the scan request if (a) there is
10496 no supplicant interface yet (meaning wpa_supplicant isn't running
10497 or isn't ready yet), or (b) if the supplicant interface isn't ready
10499 - (supplicant_iface_connection_state_cb): new function; stub for
10500 handling supplicant interface connection state signals
10501 - (supplicant_mgr_state_cb): do the right thing when wpa_supplicant
10503 - (nm_device_802_11_wireless_dispose): clean up spacing; release the
10504 supplicant manager object that's being tracked starting with this
10507 2006-12-04 Dan Williams <dcbw@redhat.com>
10509 * src/supplicant-manager/nm-supplicant-interface.c
10510 - (nm_supplicant_interface_set_property): track signal handler ID
10511 - (nm_supplicant_interface_dispose): remove signal handler on dispose
10513 2006-12-04 Dan Williams <dcbw@redhat.com>
10515 * src/supplicant-manager/nm-supplicant-interface.[ch]
10516 - (nm_supplicant_interface_get_state): new function
10518 2006-12-04 Dan Williams <dcbw@redhat.com>
10520 * src/supplicant-manager/nm-supplicant-interface.c
10521 - (bssid_properties_cb): don't treat DBus errors as valid
10522 scanned AP messages
10524 2006-12-04 Dan Williams <dcbw@redhat.com>
10526 * src/supplicant-manager/nm-supplicant-interface.[ch]
10527 - (nm_supplicant_interface_get_connection_state): new function
10528 - define new supplicant connection states
10529 - send a signal when the supplicant connection state changes
10531 2006-12-03 Dan Williams <dcbw@redhat.com>
10533 * src/supplicant-manager/Makefile.am
10534 src/supplicant-manager/nm-supplicant-connection.h
10535 src/supplicant-manager/nm-supplicant-connection.c
10536 src/supplicant-manager/nm-supplicant-config.h
10537 src/supplicant-manager/nm-supplicant-config.c
10538 src/supplicant-manager/nm-supplicant-types.h
10539 src/supplicant-manager/nm-supplicant-interface.h
10540 src/supplicant-manager/nm-supplicant-interface.c
10541 - Rename NMSupplicantConnection -> NMSupplicantConfig
10543 2006-12-03 Dan Williams <dcbw@redhat.com>
10545 Patch from Gabor Kelemen <kelemeng@gnome.hu> (Gnome.org #381890)
10549 - Move VPN-related translatables to .skip
10551 * vpn-daemons/pptp/po/POTFILES.in
10552 - Update with new translatables
10554 2006-12-02 Dan Williams <dcbw@redhat.com>
10556 Patch from Christian Persch <chpe@gnome.org>
10558 * gnome/applet/Makefile.am
10559 gnome/applet/applet-dbus-devices.c
10560 gnome/applet/applet-notifications.c
10561 gnome/applet/applet.c
10562 gnome/applet/applet.h
10563 gnome/applet/main.c
10564 - Be a GtkStatusIcon on GTK+ >= 2.10
10566 2006-12-02 Dan Williams <dcbw@redhat.com>
10568 * gnome/applet/applet.c
10569 - (nma_update_info): fix two unecessary allocations
10571 2006-12-02 Dan Williams <dcbw@redhat.com>
10573 Patch from Michael Biebl <biebl@teco.edu>
10575 man/NetworkManager.1.in
10576 man/NetworkManagerDispatcher.1.in
10577 man/NetworkManager.8.in
10578 man/NetworkManagerDispatcher.8.in
10579 - Add .SH NAME stanzas
10580 - Move NM & NM Dispatcher manpages to section 8 (admin)
10582 2006-12-02 Dan Williams <dcbw@redhat.com>
10584 Patch from Christian Persch <chpe@gnome.org>
10587 - Check for GTK+ 2.10 in preparation for GtkStatusIcon patch
10589 2006-11-29 Tambet Ingo <tambet@ximian.com>
10591 Patch by Timo Hoenig <thoenig@suse.de>:
10592 * src/nm-dbus-manager.c (nm_dbus_manager_start_service): Make it work with
10595 * src/supplicant-manager/Makefile.am: Add nm-supplicant-marshal here, since
10596 we can't use the one from the main source directory.
10598 2006-11-27 Dan Williams <dcbw@redhat.com>
10600 Patch from Christian Persch <chpe@gnome.org>
10602 * gnome/applet/applet-dbus-devices.c
10603 - (hal_info_product_cb): fix memleak; free duped string.
10606 2006-11-27 Dan Williams <dcbw@redhat.com>
10608 Patch from Christian Persch <chpe@gnome.org>
10610 * gnome/applet/menu-items.c
10611 - (network_menu_item_update): use gtk_progress_bar_set_fraction()
10612 as gtk_progress_set_percentage is deprecated. Should
10613 work as far back as GTK+ 2.4. Gnome.org #379780
10615 2006-11-26 Dan Williams <dcbw@redhat.com>
10617 Scan using wpa_supplicant over DBus.
10619 * src/nm-device-802-11-wireless.c
10620 - remove wireless extensions netlink event handler bits
10621 (wireless_event_helper, nm_device_802_11_wireless_event)
10622 - remove wireless extensions scan event handler bits
10623 (process_scan_results, add_new_ap_to_device_list, hexstr2bin,
10624 hex2byte, hex2num, request_and_convert_scan_results,
10625 free_process_scan_cb_data, scan_results_timeout,
10626 schedule_scan_results_timeout, cancel_scan_results_timeout)
10627 - Rename nm_device_802_11_wireless_scan() -> request_wireless_scan()
10628 and request scans from the supplicant interface rather than directly
10629 - Move functionality of convert_scan_results() to cull_scan_list() and
10630 supplicant_iface_scanned_ap_cb()
10631 - (supplicant_iface_scan_result_cb): new function; schedule a new scan
10632 at the scan interval when the current scan has finished
10633 - (supplicant_iface_state_cb): start scanning when the supplicant
10634 interface enters the READY state, and stop scanning when it
10635 enters the DOWN state
10636 - (cull_scan_list): weed out old access points from the scan list
10637 - (supplicant_iface_scanned_ap_cb): convert a supplicant scanned access
10638 point into an NMAccessPoint and merge it into the device's scan list
10640 * src/supplicant-manager/nm-supplicant-interface.c
10641 src/supplicant-manager/nm-supplicant-interface.h
10642 - Add a new signal "scan-result" which is issued when the supplicant
10643 notifies NM that a scan has completed
10644 - Add a new signal "scanned-ap" that notifies listeners of a new access
10645 point found in the scan. Called once for each access point that
10646 the supplicant interface object receives from the supplicant as a
10647 result of the "scanResults" method call
10648 - (wpas_iface_query_scan_results): don't wait 4s before querying
10649 for the initial scan results
10650 - (scan_request_cb): new function; send listeners the result
10651 (success, error) of a wireless scan request
10652 - (nm_supplicant_interface_request_scan): new function; ask the
10653 supplicant to perform an immediate wireless scan
10655 2006-11-25 Dan Williams <dcbw@redhat.com>
10657 * src/supplicant-manager/Makefile.am
10658 - Since we're including NetworkManagerMain.h in nm-supplicant-interface.c,
10659 add HAL cflags/includes and named-manager includes directory
10661 * src/supplicant-manager/nm-supplicant-interface.h
10662 - New state STARTING to handle transition from INIT to READY where
10663 the addInterface pending call is still outstanding
10665 * src/supplicant-manager/nm-supplicant-interface.c
10666 - track pending calls differently since we may have more than one
10667 going on at any given time
10668 - request scan results from wpa_supplicant; but don't do it more often
10669 than every 4 seconds. Drivers that do background scanning
10670 (like the 'ipw' drivers) send a continuous stream of scan completion
10671 notifications, so we don't want to hammer the supplicant or dbus
10672 with requests for all scan results every time we get a completion
10675 2006-11-25 Dan Williams <dcbw@redhat.com>
10677 * src/supplicant-manager/nm-supplicant-types.h
10678 - new file; move all supplicant manager object typedefs here for
10681 * src/supplicant-manager/nm-supplicant-interface.c
10682 src/supplicant-manager/nm-supplicant-interface.h
10683 - new file; an object that interfaces an NMDevice object to the
10684 supplicant and handles signals from the supplicant. This object
10685 does all necessary DBus communication with wpa_supplicant.
10687 * src/supplicant-manager/nm-supplicant-manager.c
10688 src/supplicant-manager/nm-supplicant-manager.h
10689 - Actually do something. Track the state of the wpa_supplicant service
10690 and deal with its comings & goings. Handle life events of
10691 supplicant interfaces too.
10692 - Move NMSupplicantManager typedef to nm-supplicant-types.h
10694 * src/supplicant-manager/nm-supplicant-connection.h
10695 - Move NMSupplicantConnection typedef to nm-supplicant-types.h
10697 * src/supplicant-manager/Makefile.am
10698 - Add new files to build, and add libnm-util to includes
10700 * src/nm-marshal.list
10701 - New marshaler type: VOID:UINT,UINT
10703 * src/nm-device-802-3-ethernet.c
10704 - (real_init): grab a supplicant interface
10705 - (nm_device_802_3_ethernet_dispose): release the supplicant interface
10706 - (supplicant_iface_state_cb): new function, stub for handling
10707 supplicant interface state changes
10709 * src/nm-device-802-11-wireless.c
10710 - (real_init): grab a supplicant interface
10711 - (nm_device_802_11_wireless_dispose): release the supplicant interface
10712 - (supplicant_iface_state_cb): new function, stub for handling
10713 supplicant interface state changes
10715 * src/NetworkManager.c
10716 - (main): create and keep the supplicant manager around for the lifetime
10720 - Link to the supplicant manager sub-library and use the supplicant
10723 2006-11-25 Dan Williams <dcbw@redhat.com>
10725 Rework DBus manager signal handling to be more flexible. Previously,
10726 only one signal handler could be registered for a particular interface.
10727 The DBus manager now reference counts DBus bus matches and allows multiple
10728 clients to register signal handlers for the same interface and sender.
10730 * src/NetworkManager.c
10731 - (main): track NMI signal handler ID and remove it when we quit
10733 * src/NetworkManagerMain.h
10734 - Keep track of NMI signal handler ID
10736 * src/nm-dbus-manager.c
10737 src/nm-dbus-manager.h
10738 - rework signal handling; each signal handler references one signal
10739 match, but a signal match may be referenced by one or more
10740 signal handlers. Matches are refcounted and are destroyed when the
10741 last signal handler that references the match is removed. This is
10742 necessary because two signal handlers may end up requiring the same
10743 dbus bus match, so the match must live until the last signal handler
10744 is destroyed (for example, with the wpa_supplicant network interface
10747 * src/dhcp-manager/nm-dhcp-manager.c
10748 - (nm_dhcp_manager_new): track DHCP signal handler id
10749 - (nm_dhcp_manager_dispose): remove DHCP signal handler
10751 * src/vpn-manager/nm-vpn-service.c
10752 - (nm_vpn_service_add_watch): track VPN service signal handler id
10753 - (nm_vpn_service_remove_watch): remove VPN service signal handler
10755 2006-11-25 Dan Williams <dcbw@redhat.com>
10757 Suggested by Helmut Schaa <hschaa@suse.de>
10759 * src/vpn-daemons/nm-vpn-service.c
10760 - (supplicant_child_setup): new function
10761 - (supplicant_exec): make child process use a new process group id
10763 * src/nm-device-802-11-wireless.c
10764 - (nm_vpn_service_child_setup): new function
10765 - (nm_vpn_service_stage1_daemon_exec): make child process use a new
10768 2006-11-19 Dan Williams <dcbw@redhat.com>
10770 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377262
10771 * gnome/vpn-properties/nm-vpn-properties.c
10772 - clean up after renamed VPN connection
10774 2006-11-19 Dan Williams <dcbw@redhat.com>
10776 Patch from Dan Berrange <dan@berrange.com> Gnome.org #377205
10777 * gnome/applet/applet-dbus-vpn.c
10778 - (nma_dbus_vpn_properties_cb): sort VPN connections
10780 * gnome/vpn-properties/nm-vpn-properties.c
10781 - (init_app): sort VPN connections
10783 2006-11-09 Dan Williams <dcbw@redhat.com>
10785 * src/NetworkManagerAPList.c
10786 - (nm_ap_list_copy_one_essid_by_address): fix bug due to previous
10787 code cleanup in revision 1.56; the split of the !nm_ap_get_essid()
10788 from the nm_ap_list_get_ap_by_address() call was incorrect and
10789 broke hidden SSID matching. Found by Bill Moss.
10791 2006-10-25 Dan Williams <dcbw@redhat.com>
10794 - (nm_dbus_nm_set_active_device): return an empty success message on
10795 success, rather than falling through to the error case.
10797 2006-10-25 Dan Williams <dcbw@redhat.com>
10799 * src/NetworkManagerUtils.c
10800 - (nm_utils_supplicant_request_with_check): suppress messages for the
10803 2006-10-24 Dan Williams <dcbw@redhat.com>
10805 Reduce the number of times the Gnome applet wakes up, especially when
10806 it's doing absolutely nothing and is hidden. Initial patch by
10809 * gnome/applet/applet-dbus.c
10810 - (nma_dbus_filter): when NM isn't around, or when it goes away,
10811 kill the redraw timeout. When NM starts up, start the redraw
10812 timeout. Also, if we get kicked off the bus for some reason,
10813 start the reconnection timeout if one's not already running.
10814 - (nma_dbus_init): better handling of error conditions, don't leak
10815 a half-initialized dbus connection
10816 - (nma_dbus_connection_watcher): consolidate places we reinitialize
10817 the applet's data, just call nm_dbus_init_helper()
10818 - (nma_start_dbus_connection_watch): new function, starts a periodic
10819 timeout that calls nma_dbus_connection_watcher()
10820 - (nma_dbus_init_helper): if we get a successful connection, kill the
10821 reconnection timeout, and don't start the reconnection timeout
10822 unconditionally anymore
10824 * gnome/applet/applet-dbus.h
10825 - Expose nma_start_dbus_connection_watch()
10827 * gnome/applet/applet.c
10828 - (nma_update_state): no longer static, called from applet-dbus.c for
10829 immediate UI updates on certain events
10830 - (nma_set_running): new function; take over setting applet->running,
10831 when not running (ie, NM is not active), don't activate the redraw
10832 timeout because we're not showing the applet anyway. When we are
10833 running (ie, NM is active), and only when we're running, start the
10835 - (nma_destroy): kill the redraw timeout by setting 'not running', and
10836 kill any reconnection timeout
10837 - (nma_get_instance): move one-off dbus initialization code here since
10838 nm_dbus_init_helper() gets called more than once, possibly by the
10839 reconnection timeout function too. And, when we start up, if we
10840 can't get a connection to the bus, start the reconnection timeout.
10841 But don't start the redraw timeout yet, only do that when we get
10842 NM's state and find out if it's running or not.
10844 * gnome/applet/applet.h
10845 - Add the reconnection GSource ID
10846 - Add prototypes for nma_set_running() and the no-longer-static
10849 2006-10-24 Dan Williams <dcbw@redhat.com>
10851 * src/vpn-daemons/nm-dbus-vpnc.c
10852 - (nm_dbus_vpn_update_one_connection_cb): unregister pending call in
10853 pending call tracker
10854 - (nm_dbus_vpn_connections_update_cb): unregister pending call in
10855 pending call tracker; register one-vpn-connection update pending
10856 call in pending call tracker
10857 - (nm_dbus_vpn_update_one_vpn_connection): register one-vpn-connection
10858 update pending call in pending call tracker
10859 - (nm_dbus_vpn_connections_update_from_nmi): register vpn-connections
10860 update pending call in pending call tracker; don't block waiting
10863 2006-10-19 Robert Love <rml@novell.com>
10865 * src/backends/NetworkManagerSuSE.c: Don't ever restart nscd; just
10868 2006-10-14 Dan Williams <dcbw@redhat.com>
10870 * src/dhcp-manager/nm-dhcp-manager.c
10871 - (get_ip4_string, get_ip4_uint32s): have the caller pass
10872 the dbus connection and the device object path rather than
10873 constructing it inside both functions. Saves a bit of memory
10874 and clarifies a failure path.
10875 - (nm_dhcp_manager_get_ip4_config): grab the dbus connection
10876 and allocate device path here rather than each of the two
10879 2006-10-13 Dan Williams <dcbw@redhat.com>
10881 * src/NetworkManager.c
10882 - (nm_name_owner_changed_handler): handle NMI coming and going,
10883 this somehow droppout in the refactor
10885 2006-10-13 Dan Williams <dcbw@redhat.com>
10887 * Huge DBus refactor:
10888 - Create a "DBus Manager" object which manages the connection and
10889 sends signals on NameOwnerChanged and connection/disconnection events,
10890 handles reconnection to the bus if NM gets kicked off, and abstracts
10892 - Remove DBusConnection members from places where they are no
10893 longer needed due to the refactor, like the dbus-connection
10894 property of the named manager, and from NMData
10895 - Reformats a bunch of the code to gnome style
10896 (8-space tabs, braces on same line as statement, 80-col width).
10897 Consider it open season to reformat any bits to gnome style.
10898 style that aren't already.
10900 2006-10-13 Dan Williams <dcbw@redhat.com>
10902 * src/supplicant-manager/Makefile.am
10905 * src/supplicant-manager/nm-supplicant-manager.[ch]:
10906 - Make it a minimal GObject
10908 * src/supplicant-manager/nm-supplicant-settings-verify.[ch]:
10909 - Verify settings destined for wpa_supplicant
10911 * src/supplicant-manager/nm-supplicant-connection.[ch]:
10912 - Minimal GObject to track wpa_supplicant controlled device
10915 2006-10-13 Wouter Bolsterlee <wbolster@gnome.org>
10917 * gnome/applet/applet.c: (nma_update_info),
10918 (nma_act_stage_to_pixbuf), (nma_update_state):
10919 Mark missing strings for translation. Fixes bug #343306.
10921 2006-10-01 Dan Williams <dcbw@redhat.com>
10923 * src/vpn-manager/nm-vpn-manager.c
10924 - (nm_vpn_manager_load_services): split and clean up
10925 for readability and correctness. Restrict VPN service
10926 files to ending in ".name", as was meant from the
10927 beginning (but not coded in). Better error reporting.
10929 2006-10-01 Dan Williams <dcbw@redhat.com>
10932 - Clean up formatting of debug/info/warning log messages
10934 2006-09-27 Robert Love <rml@novell.com>
10936 Patch by Tambet Ingo <tambet@ximian.com>:
10937 * gnome/vpn-properties/nm-vpn-properties.c: Make Renaming a VPN entry
10940 2006-09-07 Dan Williams <dcbw@redhat.com>
10943 test/libnm-util/Makefile.am
10944 test/nm-supplicant-test.c
10945 - Add test program emulating the way NM drives wpa_supplicant
10946 to help debug supplicant issues
10948 2006-08-24 Dan Williams <dcbw@redhat.com>
10952 src/supplicant-manager/Makefile.am
10953 src/supplicant-manager/nm-supplicant-manager.c
10954 src/supplicant-manager/nm-supplicant-manager.h
10955 - Add skeleton bits of the wpa_supplicant manager
10957 2006-08-24 Dan Williams <dcbw@redhat.com>
10959 Patch from Ed Catmur:
10960 * src/NetworkManagerUtils.c
10961 - (nm_utils_ip4_netmask_to_prefix): don't infinitely loop
10962 if netmask is 0 (Gnome #352634)
10964 2006-08-17 Robert Love <rml@novell.com>
10966 * src/backends/NetworkManagerSuSE.c: Do not restart ypbind; our ypbind
10967 package is now DBUS-enabled and listens for the NM signals.
10969 2006-08-14 Dan Williams <dcbw@redhat.com>
10971 * Patch from Christian Persch <chpe gnome org>
10974 vpn-daemons/openvpn/po/LINGUAS
10975 vpn-daemons/openvpn/configure.in
10976 vpn-daemons/pptp/po/LINGUAS
10977 vpn-daemons/pptp/configure.in
10978 vpn-daemons/vpnc/po/LINGUAS
10979 vpn-daemons/vpnc/configure.in
10980 - Convert to LINGUAS method so translators don't have to modify
10981 configure.in, just stuff in po/. Gnome #343132, requires intltool
10984 2006-08-14 Dan Williams <dcbw@redhat.com>
10986 Patch from Alex Smith <alex.extreme2@gmail.com>
10988 src/backends/Makefile.am
10989 src/backends/NetworkManagerFrugalware.c
10990 - Add support for Frugalware
10992 2006-08-13 Dan Williams <dcbw@redhat.com>
10994 Patch from Valentine Sinitsyn <e_val@inbox.ru>
10995 * src/nm-device-802-11-wireless.c
10996 - (supplicant_exec): spawn wpa_supplicant without debug spew
10999 2006-08-13 Dan Williams <dcbw@redhat.com>
11001 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11002 * src/nm-ap-security.c
11003 src/nm-ap-security.h
11004 - Add authentication_required bits for subclasses to specify whether
11005 or not real authentication is required for connections, i.e. whether
11006 the AP rejects us when an encryption key is wrong or not.
11008 * src/nm-ap-security-wep.c
11009 src/nm-ap-security-wpa-eap.c
11010 src/nm-ap-security-wpa-psk.c
11011 src/nm-ap-security-leap.c
11012 - Implement authentication_required appropriately for each method
11014 * src/nm-device-802-11-wireless.c
11015 - Be smarter about when to request a key; for example, using a wrong key
11016 in WEP shared key mode previously just timed out and did not request
11019 2006-08-13 Dan Williams <dcbw@redhat.com>
11021 * gnome/libnm_glib/libnm_glib.c
11022 - dbus_connection_disconnect() -> dbus_connection_close() for
11025 2006-08-07 Dan Williams <dcbw@redhat.com>
11027 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11028 * src/NetworkManagerSystem.c
11029 - Respect specified MTU. Gnome #344967
11031 2006-08-07 Dan Williams <dcbw@redhat.com>
11033 * src/vpn-manager/nm-vpn-service.c
11034 - Simplify print_vpn_config() arguments
11036 Patch from Antony J Mee <A.J.Mee@ncl.ac.uk>
11037 * src/vpn-manager/Makefile.am
11038 src/vpn-manager/nm-vpn-service.c
11039 - Add new API for passing VPN config options as a dict. Gnome #344967
11041 2006-08-06 Dan Williams <dcbw@redhat.com>
11043 * gnome/applet/applet-dbus-devices.c
11044 gnome/applet/applet-dbus-vpn.c
11045 gnome/applet/applet-dbus.c
11046 gnome/applet/applet-dbus.h
11050 - Make pending call tracking code generic,
11051 so we can use it in NM as well as the applet
11053 2006-08-06 Dan Williams <dcbw@redhat.com>
11055 * src/nm-activation-request.c
11056 - Refcount pending call objects
11058 2006-08-06 Dan Williams <dcbw@redhat.com>
11060 Patch from Christan Chiesa <christanc@gmail.com>
11062 - Tell sha1.c to use bigendian mode on PPC
11064 2006-08-04 Robert Love <rml@novell.com>
11066 Glib Memory Slices!
11067 * configure.in: Require glib 2.10 or later.
11068 * src/NetworkManager.c, src/NetworkManagerAP.c, src/nm-ip4-config.c,
11069 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
11070 src/NetworkManagerDbusUtils.c, src/nm-dbus-nmi.c, src/wpa.c,
11071 src/nm-device-802-11-wireless.c: Convert applicable g_malloc and
11072 g_new calls to g_slice_new. Likewise for g_free to g_slice_free.
11073 Memory Slices are the greatest thing since bread slices.
11074 * src/NetworkManagerAP.c: Also, fix memory leak.
11076 2006-08-01 Robert Love <rml@novell.com>
11078 * gnome/applet/main.c: Shutdown all VPN connections on logout.
11080 2006-07-31 Robert Love <rml@novell.com>
11082 * src/backends/interface_parser.c: Declarations must begin the block.
11084 2006-07-24 Dan Williams <dcbw@redhat.com>
11086 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11087 * src/backends/Makefile.am
11088 src/backends/NetworkManagerArch.c
11089 src/backends/NetworkManagerDebian.c
11090 src/backends/NetworkManagerGeneric.c
11091 src/backends/NetworkManagerGeneric.h
11092 src/backends/NetworkManagerGentoo.c
11093 src/backends/NetworkManagerPaldo.c
11094 src/backends/NetworkManagerRedHat.c
11095 src/backends/NetworkManagerSlackware.c
11096 src/backends/NetworkManagerSuSE.c
11097 - Genericize common backend functions
11099 2006-07-18 Robert Love <rml@novell.com>
11101 * configure.in: Add "--with-notify" option to allow disabling of
11104 2006-07-13 Dan Williams <dcbw@redhat.com>
11106 Patch from Thiago Bauermann <thiago.bauermann@gmail.com>
11107 * gnome/applet/applet.glade
11108 gnome/applet/Makefile.am
11109 gnome/applet/nm-gconf-wso.c
11110 gnome/applet/nm-gconf-wso-leap.c
11111 gnome/applet/nm-gconf-wso-leap.h
11112 gnome/applet/wireless-security-manager.c
11113 gnome/applet/wso-leap.c
11114 gnome/applet/wso-leap.h
11115 include/NetworkManager.h
11116 libnm-util/dbus-helpers.c
11117 libnm-util/dbus-helpers.h
11119 src/NetworkManagerAP.c
11120 src/nm-ap-security.c
11121 src/nm-ap-security-leap.c
11122 src/nm-ap-security-leap.h
11123 - Add LEAP authentication support
11125 2006-07-13 Dan Williams <dcbw@redhat.com>
11127 Patch from Timothée Lecomte <timothee.lecomte@ens.fr>
11129 src/backends/NetworkManagerArch.c
11130 src/backends/NetworkManagerDebian.c
11131 src/backends/NetworkManagerGentoo.c
11132 src/backends/NetworkManagerPaldo.c
11133 src/backends/NetworkManagerRedHat.c
11134 src/backends/NetworkManagerSlackware.c
11135 src/backends/NetworkManagerSuSE.c
11136 - Convert hardcoding of 'ip' path to configure-time
11139 2006-07-12 Leonid Kanter <leon@asplinux.ru>
11141 * configure.in: added ru to ALL_LINGUAS
11143 2006-07-10 Dan Williams <dcbw@redhat.com>
11145 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11147 - (real_act_stage3_ip_config_start): don't infinite loop when
11148 dhcdbd isn't running (Gnome #346845)
11150 2006-07-09 Dan Williams <dcbw@redhat.com>
11152 * gnome/applet/applet.c
11153 - (nma_destroy): don't pass NULL to notify_notification_close
11156 2006-07-09 Dan Williams <dcbw@redhat.com>
11158 * gnome/applet/applet.c
11159 - (nma_about_cb): remove empty documenters tab (Gnome #341324)
11161 2006-07-04 Tor Krill <tor@krill.nu>
11163 Patch from Valentine Sinitsyn <e_val@inbox.ru>
11164 * src/backends/NetworkManagerArch.c: (nm_system_update_dns),
11165 (nm_system_restart_mdns_responder), (ArchReadConfig),
11166 (nm_system_device_get_system_config):
11167 - Explicitly check for DHCP configuration
11168 - Check if daemons are running before starting them
11170 2006-06-25 Dan Williams <dcbw@redhat.com>
11172 * libnm-util/dbus-dict-helpers.[ch]
11173 test/libnm-util/test-dbus-dict-helpers.c
11174 - Add string array support
11176 2006-06-24 Dan Williams <dcbw@redhat.com>
11178 * src/dhcp-manager/nm-dhcp-manager.c
11179 - (nm_dhcp_manager_process_signal): clean up spacing
11181 2006-06-21 Dan Williams <dcbw@redhat.com>
11183 * src/nm-dbus-device.c
11184 - (nm_dbus_device_get_driver): don't try to stuff a NULL
11187 2006-06-21 Raivis Dejus <orvils@gmail.com>
11189 * configure.in: Added 'lv' to ALL_LINGUAS
11191 2006-06-19 Dan Williams <dcbw@redhat.com>
11193 * src/NetworkManagerAP.c
11194 - Clarify usage of user_created
11196 * src/nm-ap-security-wep.c
11197 src/nm-ap-security-wpa-eap.c
11198 src/nm-ap-security-wpa-psk.c
11199 src/nm-ap-security.c
11200 src/nm-ap-security.h
11201 - s/user_created/adhoc, because we really do mean adhoc
11203 Patch from Bernard Blackham <bernard@blackham.com.au>
11204 * src/nm-device-802-11-wireless.c
11205 - (supplicant_send_network_config): instead of user_created,
11206 use adhoc, and do AP_SCAN 2 for adhoc networks
11208 2006-06-18 Robert Love <rml@novell.com>
11210 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the Gconf keys unless
11211 we have a value to set. Gconf generates a warning if `val' is NULL.
11212 * src/nm-ap-security-wpa-eap.c: Don't set the key for an Enterprise AP
11213 unless we actually received a valid private key file passphrase or
11214 password. Otherwise, we don't know to later ask the applet to pull
11215 the key from the keyring.
11217 2006-06-17 Dan Williams <dcbw@redhat.com>
11219 * libnm-util/dbus-dict-helpers.[ch]
11220 test/libnm-util/test-dbus-dict-helpers.c
11221 - Fixes for zero-length byte arrays
11222 - Replace return values of 0 with FALSE for clarity
11223 - Test zero-length byte arrays
11225 2006-06-17 Dan Williams <dcbw@redhat.com>
11227 * libnm-util/dbus-dict-helpers.[ch]
11228 test/libnm-util/test-dbus-dict-helpers.c
11229 - Add helpers for byte arrays
11230 - Rework bits of the testcase
11232 2006-06-16 Dan Williams <dcbw@redhat.com>
11234 * libnm-util/Makefile.am
11235 * libnm-util/dbus-dict-helpers.[ch]
11236 - Add some helpers to take the pain out of using dict types in
11239 * test/libnm-util/Makefile.am
11240 * test/libnm-util/test-dbus-dict-helpers.c
11241 - Test cases for the dict helper functions
11243 2006-06-15 Robert Love <rml@novell.com>
11245 * gnome/applet/nm-gconf-wso-wpa-eap.c: Don't set the key unless there
11246 is a non-empty key to set. Elsewhere, pass an empty string via DBUS
11247 if there is no key to pass.
11248 * libnm-util/dbus-helpers.c: Given the above, we can trust always
11249 receiving a non-NULL key.
11251 2006-06-14 Robert Love <rml@novell.com>
11253 * src/nm-ap-security-wpa-eap.c: In real_copy_constructor(), actually
11257 2006-06-14 Dan Williams <dcbw@redhat.com>
11259 Patch from Lorenzo Colitti <lorenzo@colitti.com> gnome.org #344825
11260 * src/nm-device-802-11-wireless.c
11261 - (nm_device_802_11_wireless_set_essid): only wait for orinoco cards
11262 or ones where the driver is unknown
11263 - (supplicant_exec): don't wait for supplicant startup here
11264 - (supplicant_interface_init): finer grained polling for supplicant
11267 2006-06-13 Robert Love <rml@novell.com>
11269 * gnome/applet/applet-dbus-info.c: Don't set the fallback bit to FALSE
11270 if it is currently set to TRUE. Otherwise, we will reset the value
11271 when we connect normally.
11272 * src/nm-device-802-11-wireless.c: For the roaming code, make sure that
11273 the old BSSID is valid, too. The recently added ESSID check may not be
11274 sufficient (we can remove it?). What we really want to catch is the
11275 case of going from all-zeros to the BSSID of some other network, which
11276 happens on failure.
11278 2006-06-09 Dan Williams <dcbw@redhat.com>
11280 * src/NetworkManagerSystem.[ch]
11281 - (nm_system_device_set_up_down_with_iface): remove 'dev' argument,
11282 it was unused and pointless
11283 - (nm_system_vpn_device_set_from_iface, nm_system_device_set_up_down):
11284 fix for set_up_down_with_iface change
11286 * src/vpn-manager/nm-vpn-connection.c
11287 - (nm_vpn_connection_deactivate): fix for set_up_down_with_iface change
11289 * src/backends/NetworkManagerPaldo.c
11290 src/backends/NetworkManagerRedHat.c
11291 src/backends/NetworkManagerSuSE.c
11292 src/backends/NetworkManagerArch.c
11293 src/backends/NetworkManagerDebian.c
11294 src/backends/NetworkManagerGentoo.c
11295 - (nm_system_enable_loopback): use set_up_down_with_iface where
11297 - (nm_system_flush_loopback_routes): use flush_routes_with_iface
11300 2006-06-09 Dan Williams <dcbw@redhat.com>
11302 Patch from Peter Jones:
11303 * src/nm-device-802-11-wireless.c
11304 - (nm_device_802_11_wireless_update_bssid): make sure that the
11305 SSID hasn't changed from what we expect before automatically
11306 updating the saved BSSID from a new AP
11308 2006-06-08 Robert Love <rml@novell.com>
11310 Add 'fallback' support. NetworkManager will attempt to brute-force
11311 connect to networks marked as fallback if there are no better wireless
11312 connections available. This is useful as a method of last resort, to
11313 work around driver problems, and for use with hidden networks.
11314 * gnome/applet/applet-dbus-devices.c,
11315 gnome/applet/applet-dbus-devices.h: Add fallback parameter.
11316 * gnome/applet/applet-dbus-info.c: Retrieve fallback bit from Gconf and
11317 pass it on via DBUS.
11318 * gnome/applet/applet.c: No fallback by default.
11319 * gnome/applet/applet.glade, gnome/applet/other-network-dialog.c:
11320 Update other-network-dialog to add UI checkbox toggling fallback.
11321 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Remove "trusted"
11322 propery from AP object. Add "fallback" property to AP object.
11323 * src/nm-dbus-nm.c: Grab the fallback parameter via DBUS.
11324 * src/nm-dbus-nmi.c: Grab the fallback parameter via DBUS.
11325 * src/nm-device-802-11-wireless.c: Break out blacklist logic into
11326 separate function. Add get_best_fallback_ap() for returning an AP
11327 on which to attempt fallback.
11328 * src/backends/NetworkManagerSuSE.c: Set stored network as fallback.
11329 * test/nm-set-fallback: New file. Sets a given network as fallback.
11331 2006-06-07 Robert Love <rml@novell.com>
11333 * gnome/applet/gconf-helpers.c: Bug fix: nm_gconf_helper_get_bool()
11334 checked that the return type was GCONF_VALUE_STRING, not the correct
11335 GCONF_VALUE_BOOL, and thus it never worked.
11336 * src/NetworkManagerAPList.c: Before concluding that two networks are
11337 identical based on their BSSID, make sure that the BSSID in question
11338 is actually valid. Specifically, an empty or all zero BSSID does not
11340 * gnome/applet/applet-dbus-info.c, gnome/applet/other-network-dialog.c,
11341 src/nm-dbus-nmi.c, src/nm-device-802-11-wireless.c: White space and
11342 similar invariant clean up.
11344 2006-06-02 Robert Love <rml@novell.com>
11346 * gnome/applet/applet.c: Update copyright years. Add Novell.
11348 2006-05-28 Dan Williams <dcbw@redhat.com>
11350 * gnome/applet/applet.glade
11351 gnome/vpn-properties/nm-vpn-properties.glade
11352 - Set window icons on dialogs (Gnome.org #333420)
11354 2006-05-28 Christian Persch <chpe@cvs.gnome.org>
11356 * gnome/vpn-properties/nm-vpn-properties.glade:
11357 * vpn-daemons/openvpn/properties/nm-openvpn-dialog.glade:
11358 * vpn-daemons/pptp/properties/nm-pptp-dialog.glade:
11359 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
11360 - Make the VPN properties pages prettier and more HIG
11361 compliant. Gnome Bug #336913.
11363 2006-05-28 Dan Williams <dcbw@redhat.com>
11365 Patch from Christian Persch <chpe@gnome.org>
11366 * gnome/vpn-properties/nm-vpn-properties.c
11367 * gnome/vpn-properties/nm-vpn-properties.glade
11368 - HIG-ification love (Gnome.org #336846)
11370 2006-05-28 Dan Williams <dcbw@redhat.com>
11372 Patch from Christian Persch <chpe@gnome.org>
11374 gnome/vpn-properties/nm-vpn-properties.c
11375 - (main): Fix option parsing. Gnome.org #336847
11377 2006-05-28 Dan Williams <dcbw@redhat.com>
11379 * gnome/vpn-properties/nm-vpn-properties.c
11380 - (find_vpn_ui_by_service_name): protect against NULL service names
11381 - (update_edit_del_sensitivity): protect against NULL service names
11384 2006-05-28 Dan Williams <dcbw@redhat.com>
11386 Patch from Chris Fuller <crf@grandecom.net>:
11387 * src/nm-device-802-11-wireless.c
11388 - (nm_device_802_11_wireless_dispose): add a is_initialized member and
11389 don't dispose of wireless-specific stuff unless it is actually
11390 initialized. Gnome.org #341263
11392 2006-05-28 Dan Williams <dcbw@redhat.com>
11394 * src/NetworkManagerPolicy.c
11395 - (nm_policy_device_change_check): don't switch devices if the "best"
11396 AP is essentially the same as the current activation request, but
11397 the current activation request isn't done activating yet. Fixes
11398 multiple requests for keyring password on startup for Gnome applet.
11401 2006-05-26 Nicolas Trangez <eikke@eikke.com>
11403 * src/NetworkManager.c: use GOptions instead of getopt
11404 * configure.in: bump glib required version to >= 2.6 for GOption
11407 2006-05-25 Robert Love <rml@novell.com>
11409 * src/nm-device.h: Introduce nm_ioctl_info(), which defines to
11410 nm_info() if IOCTL_DEBUG is set and a no-op if not. We can use this
11411 instead of dumping ifdef's throughout the code.
11412 * src/NetworkManagerSystem.c, src/nm-device-802-11-wireless.c,
11413 src/nm-device-802-3-ethernet.c, src/nm-device.c: Remove ifdef's and
11414 use nm_ioctl_info() in lieu.
11416 2006-05-25 Robert Love <rml@novell.com>
11418 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342400:
11419 * libnm-util/Makefile.am: Only build gnome-keyring-md5.{c,h} if we are
11420 not using gcrypt. Otherwise, we get a linker error.
11422 2006-05-25 Robert Love <rml@novell.com>
11424 Patch Valentine Sinitsyn <e_val@inbox.ru> to fix GNOME bug #342398:
11425 * configure.in, gnome/Makefile.am, Makefile.am: Add "--without-gnome"
11426 configure flag to disable building of the GNOME-based applet.
11428 2006-05-25 Robert Love <rml@novell.com>
11430 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Rename function
11431 parameter from link, because it shadows a global variable with some
11432 older versions of glibc. Yes, glibc is now fixed and, yes, glibc
11433 should never have exported to the entire system a common four letter
11434 word. But we here at NetworkManager are team players. Fixes
11437 2006-05-25 Arangel Angov <ufo@linux.net.mk>
11439 * configure.in: Added mk.po, Macedonian translation.
11441 2006-05-24 Robert Love <rml@novell.com>
11443 * examples/python/systray/eggtrayicon.c, gnome/applet/eggtrayicon.c,
11444 gnome/applet/passphrase-dialog.c, gnome/applet/vpn-password-dialog.c,
11445 src/NetworkManager.c: Include <glib/gi18n.h> and not <libintl.h>.
11447 2006-05-24 Robert Love <rml@novell.com>
11449 * gnome/applet/Makefile.am, gnome/vpn-properties/Makefile.am,
11450 libnm-util/Makefile.am, src/Makefile.am,
11451 vpn-daemons/openvpn/auth-dialog/Makefile.am,
11452 vpn-daemons/openvpn/properties/Makefile.am,
11453 vpn-daemons/pptp/auth-dialog/Makefile.am,
11454 vpn-daemons/pptp/properties/Makefile.am,
11455 vpn-daemons/vpnc/auth-dialog/Makefile.am,
11456 vpn-daemons/vpnc/properties/Makefile.am: Do not override what the
11457 user passed for --datadir, if anything, when setting the GNOME locale
11458 directory. It should be a function of the specified datadir and not
11461 2006-05-24 Robert Love <rml@novell.com>
11463 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c,
11464 src/NetworkManager.c: Take care to call bindtextdomain with the
11465 location of msgid files.
11466 * src/Makefile.am: Set GNOMELOCALEDIR to the location of GNOME mo
11469 2006-05-22 Robert Love <rml@novell.com>
11471 * src/nm-device-802-11-wireless.c: Don't chain up to the parent's
11472 stage4_timeout on failure unless the wireless network is Ad-Hoc.
11473 99% of the time there is a real problem with wireless, and a
11474 seemingly successful connection via Zeroconf just confuses the user.
11475 And that 1% of the time the network is probably Ad-Hoc, anyhow.
11477 2006-05-22 Robert Love <rml@novell.com>
11479 * src/backends/NetworkManagerSuSE.c: Reload, do not restart, ypbind and
11480 autofs on interface up if NIS is configured. On interface down, do
11483 2006-05-22 Robert Love <rml@novell.com>
11485 * gnome/applet/applet.c: Zero out the icon pointers before we set them,
11486 to avoid calling g_object_unref() on stale pointers on error in
11487 nma_icons_free(). This happens because we short-circuit loaded the
11488 icons on the first failure but then free all icons. Normally we have
11489 no issue because the icons were zero'ed out malloc, but we have stale
11490 pointer data after nma_icon_theme_changed().
11491 * gnome/applet/main.c: Return error code if nma_new() failed.
11493 2060-05-21 Dan Williams <dcbw@redhat.com>
11495 * initscript/NetworkManager.in
11496 - Ensure both dhcdbd and named are started before NM
11498 2006-05-21 Dan Williams <dcbw@redhat.com>
11501 - Bump version to 0.7 to signify we are in 0.7 development
11503 2006-05-21 Dan Williams <dcbw@redhat.com>
11505 Patch from Adam Schreiber <sadam@clemson.edu>
11506 * gnome/vpn-properties/nm-vpn-properties.c
11507 - (main): correct Gnome program name (gnome.org #342498)
11509 2006-05-21 Dan Williams <dcbw@redhat.com>
11511 Fix gnome.org #330832 based on patch from Crispin Flowerday <crispin@gnome.org>
11513 * src/NetworkManagerDbus.[ch]
11514 - nm_dbus_get_device_from_object_path -> nm_dbus_get_device_from_escaped_object_path:
11515 clarify that function's argument should be an escaped dbus object
11516 path, and look for path segment end before returning a match
11517 * src/nm-dbus-nm.c:
11518 - Fix up users of nm_dbus_get_device_from_escaped_object_path()
11520 2006-05-17 Robert Love <rml@novell.com>
11522 Functionality to differentiate Ad-Hoc networks from infrastructure
11523 networks in the applet, by displaying a special icon:
11524 * gnome/applet/applet-dbus-devices.c: Set the mode for new networks.
11525 * gnome/applet/applet.c: Pass 'applet' to network_menu_item_update().
11526 * gnome/applet/menu-items.c: Set a special icon in the scan list for
11527 ad-hoc networks. TODO: Add a third icon representing "encrypted and
11528 Ad-Hoc". Right now, we display the same icon for all Ad-Hoc wireless
11529 networks, encrypted or not.
11530 * gnome/applet/wireless-network.c, gnome/applet/wireless-network.h: New
11531 accessor functions to get and set the mode of a given network,
11532 wireless_network_get_mode() and wireless_network_set_mode().
11534 2006-05-17 Robert Love <rml@novell.com>
11536 Functionality to automatically add BSSIDs to the allowed-MAC list as
11537 one roams from access point to access point on a given network:
11538 * src/NetworkManagerUtils.c: Add nm_ethernet_addresses_are_equal(),
11539 helper function to compare two ether_addr structures and return TRUE
11540 if they contain the same MAC address.
11541 * src/NetworkManagerUtils.h: Add nm_ethernet_addresses_are_equal()
11543 * src/nm-device-802-11-wireless.c: New function to update the BSSID
11544 stored with the current AP. If the BSSID has indeed changed, we
11545 send it out to the applet, allowing the allowed-MAC list to grow
11546 automatically in response to roaming.
11548 2006-05-16 Robert Love <rml@novell.com>
11550 * src/backends/NetworkManagerSuSE.c: Don't touch ypbind or autofs
11551 unless dhcp:DHCLIENT_MODIFY_NIS_CONF is set to "yes".
11553 2006-05-13 Dan Williams <dcbw@redhat.com>
11555 * src/nm-device-802-3-ethernet.c
11556 - (real_get_generic_capabilities): Don't ignore devices that can't do
11557 carrier detect (Debian bug #366373)
11559 2006-05-11 Dan Williams <dcbw@redhat.com>
11561 Patch from Michael Biebl <biebl@teco.edu>
11562 * src/backends/NetworkManagerDebian.c
11563 - Debian backend fixups
11565 2006-05-10 Robert Love <rml@novell.com>
11567 * src/backends/NetworkManagerSuSE.c: Fix double free (Novell #173442).
11569 2006-05-09 Robert Love <rml@novell.com>
11571 * gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXME: Save the WPA EAP
11572 private certificate passphrase, if any, in the GNOME Keyring.
11573 * libnm-utils/dbus-helpers.c: Update.
11575 2006-05-05 Dan Williams <dcbw@redhat.com>
11577 * src/nm-device-802-11-wireless.c
11578 - (nm_device_802_11_wireless_set_wep_enc_key): convert to
11579 nm_device_802_11_wireless_disable_encryption() since that's all
11580 we use it for anymore; we don't ever set WEP keys ourselves.
11581 - (real_deactivate_quickly): reset SSID and encryption keys
11582 - (real_deactivate): move SSID and encryption key reset to
11583 real_deactivate_quickly(), which gets run before us anyway
11585 2006-05-05 Robert Love <rml@novell.com>
11587 * src/NetworkManager.c: Set the umask to 0022 when daemonizing, in case
11588 root has a wacky default of its own (or, more common, a user has a
11589 bad umask and uses su/sudo to restart NetworkManager). Anything
11590 other than 0022 does not do what we want with, for example,
11591 resolv.conf. This problem is amplified by our judicious use of
11592 fopen(), which uses mode 0666 -- implying that the only way to get
11593 the permissions we want is with a umask of 0022.
11595 2006-05-05 Dan Williams <dcbw@redhat.com>
11597 * gnome/libnm_glib/libnm_glib.c
11598 - Don't suck CPU when dbus isn't around by scheduling idle handlers
11599 to reconnect; instead wait a bit more with each reconnect attempt
11600 up to a max of one minute.
11602 2006-05-04 Ryan Lortie <desrt@desrt.ca>
11604 * gnome/applet/passphrase-dialog.c (update_button_cb): Get the SSID of
11605 the WirelessNetwork structure using the proper function instead of
11606 just casting it directly to (const char *) (gnome.org #336991)
11608 2006-05-03 Robert Love <rml@novell.com>
11610 * src/backends/NetworkManagerSuSE.c: Respect the variable
11611 dhcp:DHCLIENT_MODIFY_RESOLV_CONF, not
11612 config:MODIFY_RESOLV_CONF_DYNAMICALLY, when deciding whether or not
11613 to dynamically update /etc/resolv.conf.
11615 2006-05-02 Peter Jones <pjones@redhat.com>
11617 * vpn-daemons/vpnc/src/nm-vpnc-service.c: Allow rekeying.
11619 2006-05-02 Robert Love <rml@novell.com>
11621 Patch by Timo Hoenig;
11622 * tests/nm-online.c: Print pretty status indicator as timeout winds
11623 down. Also fix possible race between DBUS startup and failure
11626 2006-05-01 Robert Love <rml@novell.com>
11628 * gnome/applet/applet-compat.c: Warn if the returned escaped ESSID is
11631 2006-04-27 Jeremy Katz <katzj@redhat.com>
11633 * src/nm-device.c (discover_device_type): Actually use the hal
11634 device type instead of ioctl poking
11636 2006-04-26 Robert Love <rml@novell.com>
11638 * tests/nm-online.c: New file. Simple utility that returns exit status
11639 noting whether the connection is offline or online. If offline on
11640 start, it waits 30 seconds (or a command-line given value) for an
11641 online signal. If it times out, it again returns offline. This is
11642 useful for scripts that want to wait for network connections.
11644 2006-04-25 Robert Love <rml@novell.com>
11646 * src/nm-ap-security-wep.c: Bug fix: We stopped setting the
11647 key mode (the authentication algorithm), e.g. open or shared, when we
11648 moved to using wpa_supplicant. wpa_supplicant defaults to open, so
11649 only shared was broken. If the user specified a shared key, set it
11650 explicitly, otherwise let wpa_supplicant go with the default.
11652 2006-04-24 Dan Williams <dcbw@redhat.com>
11654 * src/nm-device-802-11-wireless.c
11655 - (nm_device_802_11_wireless_set_essid): fix setting of "any" essid
11657 2006-04-24 Dan Williams <dcbw@redhat.com>
11659 Commit the async scanning patch
11661 * src/nm-device-802-11-wireless.c
11662 - get rid of scan_mutex
11663 - (wireless_event_helper): act on wireless scan events
11664 - (real_start): schedule a pending scan
11665 - (link_to_specific_ap): fake the link to the AP during a scan
11666 - (nm_device_802_11_wireless_update_signal_strength): ignore signal
11667 strength during scans
11668 - (nm_device_get_frequency, nm_device_set_frequency, nm_device_get_bitrate,
11669 nm_device_set_bitrate): unused with new scanning code, disable
11670 - (nm_device_wireless_schedule_scan): removed
11671 - (nm_device_wireless_process_scan_results): renamed to convert_scan_results()
11672 - (request_and_convert_scan_results): new function; retrieve scan
11673 results from the driver and schedule the processing function
11674 - (scan_results_timeout): timeout triggered when card doesn't send
11675 a scan results wireless event during a certain interval
11676 - (schedule_scan_results_timeout): new function; schedule the scan
11678 - (cancel_scan_results_timeout): new function; cancel the scan
11680 - (nm_device_802_11_wireless_scan): if wpa_supplicant is running, ask it
11681 to do the scanning. Otherwise, just request a scan but don't
11682 grab results here; instead schedule a timeout for scan results and
11683 let netlink notify us of scan completion events
11684 - (nm_device_wireless_schedule_scan): new function; schedule a wireless scan
11685 - (cancel_pending_scan): new function; cancel a pending wireless scan
11686 - (supplicant_status_cb): ignore disconnect events while scanning
11687 - (supplicant_exec): wait a bit longer for the supplicant to start up
11688 - (nm_device_802_11_wireless_dispose): cancel pending scans and results
11690 - (get_scan_results): removed; folded into request_and_convert_scan_results()
11692 2006-04-24 Dan Williams <dcbw@redhat.com>
11694 * gnome/applet/applet-dbus.c
11695 - Disable the pending call debug stuff, seems under control now
11697 2006-04-20 Robert Love <rml@novell.com>
11699 Fix bug where hidden ESSID's would not show up in the applet, even
11700 if NMI provided a BSSID -> ESSID mapping from Gconf. This occurred
11701 because nm_policy_device_list_update_from_allowed_list() would merge
11702 the data, putting a name to the hidden networks, but never notify NMI
11703 of the changes. Simple fix is to invoke the function
11704 nm_dbus_signal_wireless_network_change() if we make a mapping.
11705 * src/NetworkManagerAPList.c: Call the function
11706 nm_dbus_signal_wireless_network_change() if we made a successful
11707 BSSID to ESSID mapping, notifying the applet of the "new" network.
11708 * src/NetworkManagerAPList.h: Update the prototypes for both
11709 nm_ap_list_copy_essids_by_address() and
11710 nm_ap_list_copy_one_essid_by_address().
11712 2006-04-20 Robert Love <rml@novell.com>
11714 * gnome/applet/applet-dbus-info.c: Don't bail out if the timestamp is
11715 not set. Just return zero.
11717 2006-04-20 Robert Love <rml@novell.com>
11719 * gnome/vpn-properties/nm-vpn-properties.c: Satisfy TODO: Ensure that
11720 only one copy of nm-vpn-properties is running at a time via the 'ol
11721 X selection trick. This prevents the user from opening two "VPN
11722 Connections" windows from within the applet, which leads to mass
11724 * clipboard.c: New file, implementing simple X selection logic.
11725 * clipboard.h: New file.
11726 * gnome/vpn-properties/Makefile.am: Add clipboard.{c,h}
11728 2006-04-18 Nicolas Trangez <eikke@eikke.com>
11730 * backends/NetworkManagerGentoo.c: Small cleanups and enhancements
11732 initscript/Gentoo/Makefile.am
11733 initscript/Gentoo/NetworkManagerDispatcher.in
11735 * initscript/Gentoo/NetworkManager.in: small dependency fixup from
11738 2006-04-16 Dan Williams <dcbw@redhat.com>
11740 Patch from Paul Blazejowski <paulb@blazebox.homeip.net>
11742 initscript/Slackware/Makefile.am
11743 initscript/Slackware/rc.networkmanager-dispatcher.in
11744 initscript/Slackware/rc.networkmanager.in
11745 - Update slackware initscripts
11747 2006-04-10 Robert Love <rml@novell.com>
11749 * gnome/vpn-properties/nm-vpn-properties.c: Intercept and short-circuit
11750 the "delete_event" signal on the druid's parent window and handle it
11751 our way, lest using the WM to close the druid results in a series of
11752 bloody and ultimately lethal errors.
11754 2006-04-10 Robert Love <rml@novell.com>
11756 * gnome/vpn-properties/nm-vpn-properties.c: Validate VPN settings on
11757 'Back' too or else the 'Forward' option is initially disabled despite
11760 2006-04-06 Robert Love <rml@novell.com>
11762 Fix bad but simple bug where an active modem connection did not update
11763 NM's connection state, breaking any app that did online/offline:
11764 * src/NetworkManagerMain.h: Add 'modem_active' member to NMData,
11765 represented whether a dial up connection is active, or not.
11766 * src/nm-dbus-nm.c: Set and unset 'modem_active' in response
11767 to modem activation and deactivation.
11768 * src/NetworkManagerDbus.c: When asked our state, do not return
11769 disconnected if the modem is active.
11771 2006-04-04 Robert Love <rml@novell.com>
11773 * gnome/applet/applet.c: Remove the 'Remove' option that I added to the
11774 applet. It just confuses the crap out of people and does not make a
11775 lot of sense, as the daemon still runs.
11777 2006-04-02 Tor Krill <tor@krill.nu>
11779 * initscript/Arch/networkmanager.in: Added checks for HAL and dhcdbd
11780 in start of service.
11781 * src/backends/NetworkManagerArch.c: (nm_system_get_mtu): Added to
11782 get Archlinux backend up to date.
11784 2006-03-29 Robert Love <rml@novell.com>
11786 Patch by Vinay R <rvinay@novell.com> and Robert Love <rml@novell.com>,
11787 to add support for per-route MSS and improve support for per-interface
11789 * src/NetworkManagerSystem.c: Modify nm_system_device_set_ip4_route to
11790 optionally take an MSS parameter and set it for the given route.
11791 Remove nm_system_device_set_ip4_route_with_iface. Pass in the
11792 NMIP4Config's stored MSS, if any.
11793 * src/nm-ip4-config.c: Add 'mtu' and 'mss' to NMIP4Config, representing
11794 the interface's MTU and the route's MSS, respectively. Add functions
11795 nm_ip4_config_get_mtu, nm_ip4_config_set_mtu, nm_ip4_config_get_mss,
11796 and nm_ip4_config_set_mss for retrieving and setting the MTU and the
11798 * src/nm-ip4-config.h: Add prototypes for nm_ip4_config_get_mtu,
11799 nm_ip4_config_set_mtu, nm_ip4_config_get_mss, and
11800 nm_ip4_config_set_mss.
11801 * src/vpn-manager/nm-vpn-service.c: Modify to receive the MSS from the
11803 * src/backends/NetworkManager{Arch,Debian,Gentoo,RedHat,Slackware,SUSE}.c:
11804 Change the retval of nm_system_get_mtu to guint32.
11805 * src/dhcp-manager/nm-dhcp-manager.c: Set the MTU on the new DHCP-given
11806 NMIP4Config to the MTU provided by the system, if any. TODO: If DHCP
11807 servers can specify MTU's, we should set it here if the MTU was not
11810 2006-03-27 Jürg Billeter <j@bitron.ch>
11813 * initscript/Makefile.am:
11814 * initscript/paldo/Makefile.am:
11815 * initscript/paldo/NetworkManager.in:
11816 * initscript/paldo/NetworkManagerDispatcher.in:
11817 * src/backends/Makefile.am:
11818 * src/backends/NetworkManagerPaldo.c:
11819 - Add paldo support
11821 2006-03-27 Dan Williams <dcbw@redhat.com>
11823 Patch from Christian Persch <chpe@gnome.org>
11824 * gnome/applet/applet.glade
11825 - HIG fixes; mostly for spacing and borders (gnome.org #336220)
11827 2006-03-27 Dan Williams <dcbw@redhat.com>
11829 Patch from Diffe <diffie@blazebox.homeip.net>
11830 * src/backends/NetworkManagerSlackware.c
11831 - Don't restart howl, since it's been replaced by Avahi
11832 in most distributions
11834 2006-03-27 Dan Williams <dcbw@redhat.com>
11836 Patch from Tor Krill <bugzilla@krill.nu>
11838 initscript/Makefile.am
11839 src/backends/Makefile.am
11840 src/backends/NetworkManagerArch.c
11841 initscript/Arch/Makefile.am
11842 initscript/Arch/networkmanager-dispatcher.in
11843 initscript/Arch/networkmanager.in
11844 - Add Arch Linux support, fixes gnome.org #335147
11846 2006-03-27 Dan Williams <dcbw@redhat.com>
11848 Patch from Diffe <diffie@blazebox.homeip.net>
11849 * initscript/Slackware/rc.networkmanager
11850 - update, fixed gnome.org #333368
11852 2006-03-27 Robert Love <rml@novell.com>
11854 * gnome/applet/other-network-dialog.c: Do not allow the user to try to
11855 create WPA-EAP Ad-Hoc networks because such an action makes no sense.
11857 2006-03-27 Robert Love <rml@novell.com>
11859 Patch by Jürg Billeter <j@bitron.ch>:
11860 * src/nm-logging.c: Add printf modifier to fix warning on 64-bit
11862 * src/nm-netlink-monitor.c: Include <net/if.h> instead of <linux/if.h>
11863 as we prefer glibc over kernel headers, if possible.
11865 2006-03-27 Robert Love <rml@novell.com>
11867 Patch by Jon Escombe <list@dresco.co.uk>:
11868 * gnome/applet/nm-gconf-wso.c: Add missing NM_AUTH_TYPE_WPA_EAP case.
11869 * gnome/applet/nm-gconf-wso-wpa-eap.c: If retrieving the gconf values
11870 fail, don't bail out. We don't expect all of the various WPA-EAP
11871 values to be present.
11872 * src/nm-ap-security.c: We need to match all capabilities for each
11873 encryption type, not any one of them.
11875 2006-03-27 Robert Love <rml@novell.com>
11877 * src/backends/NetworkManagerSuSE.c: Revert 2006-03-17 commit and again
11878 restart, not reload, ypbind. Unfortunately there is no superior
11881 2006-03-24 Christopher Aillon <caillon@redhat.com>
11883 * gnome/applet/applet-notifications.c:
11884 When displaying a notification, make sure to get rid of the
11885 previous notification so as to not have competing bubbles,
11886 and stop leaking the old one.
11888 * gnome/applet/applet.c:
11889 * gnome/applet/applet.h:
11890 Add a new 'notification' member to the applet, and zero it out
11891 and free it appropriately.
11893 2006-03-23 Robert Love <rml@novell.com>
11895 Patch by j <j@bootlab.org>:
11896 * gnome/applet/applet.glade: Don't set the invisible_char property,
11897 which simply overrides the GTK default. By and by, this behavior
11898 ought to be fixed in Glade.
11900 2006-03-22 Robert Love <rml@novell.com>
11902 * src/dhcp-manager/nm-dhcp-manager.c: Bump timeout to 45 seconds.
11904 2006-03-22 Robert Love <rml@novell.com>
11906 Bug fix by Timo Hoenig <thoenig@suse.de>:
11907 * gnome/applet/applet-dbus.c: Let the applet reconnect to DBUS on
11908 disconnect. Otherwise, we have the daemon surviving DBUS restarts
11909 and the applet going AWOL.
11911 2006-03-22 Robert Love <rml@novell.com>
11913 * src/dhcp-manager/nm-dhcp-manager.c: Create NM_DHCP_TIMEOUT
11914 preprocessor define and use it instead of open-coded the DHCP
11915 timeout, which is currently 25 seconds, everywhere.
11917 2006-03-22 Robert Love <rml@novell.com>
11919 Implement "Dynamic WEP", which is basically WPA authentication and WEP
11920 key exchange via WPA, ostensibly providing good security without
11921 requiring hardware that supports full WPA. Also, add UI elements to
11922 allow the user to select the pairwise & group cipher for WPA Enterprise
11924 * gnome/applet/applet.glade: Update glade file.
11925 * gnome/applet/nm-gconf-wso-wpa-eap.c: Serialize and deserialize the
11926 key type, too, to and from gconf.
11927 * gnome/applet/wireless-security-option.c: Add "wpa_eap" parameter to
11928 wso_wpa_create_key_type_model(), noting whether we are handling PSK
11929 or EAP configuration, and in the latter case add in "Dynamic WEP" if
11930 the capabilities match.
11931 * gnome/applet/wso-private.h: Update wso_wpa_create_key_type_model()'s
11933 * gnome/applet/wso-wpa-eap.c: Manage UI elements for the key type and
11934 serialize from UI to DBUS.
11935 * gnome/applet/wso-wpa-psk.c: Cannot fail and always returns at least
11937 * libnm-util/dbus-helpers.c: Update nmu_security_serialize_wpa_eap(),
11938 nmu_security_serialize_wpa_eap_with_cipher(), and
11939 nmu_security_deserialize_wpa_eap() to take a "key_type" parameter and
11940 serialize/deserialize the key type via DBUS as the new third DBUS
11942 * libnm-util/dbus-helpers.h: Update prototypes.
11943 * src/nm-ap-security-wpa-eap.c: Deserialize the key type from DBUS,
11944 too. If the key type is WEP104, do Dynamic WEP, which means
11945 "IEEE8021X" for "key_mgmt". Also add support for user-specified
11946 pairwise and group ciphers (fixes a FIXME).
11948 2006-03-21 Robert Love <rml@novell.com>
11950 * src/NetworkManagerSystem.c, src/NetworkManagerSystem.h: Add
11951 nm_system_get_mtu(), which returns a user-provided or system-mandated
11952 MTU value for a given device, if any, or zero if no such value
11953 exists. Add nm_system_set_mtu() to set the MTU for a given device
11954 if we have a provided value.
11955 * src/nm-device.c: Set the MTU of devices.
11956 * src/backends/NetworkManagerSuSE.c: Read MTU, if any, from sysconfig.
11957 * src/backends/NetworkManagerDebian.c,
11958 src/backends/NetworkManagerGentoo.c,
11959 src/backends/NetworkManagerRedHat.c,
11960 src/backends/NetworkManagerSlackware.c: Implement stub functions.
11962 2006-03-21 Robert Love <rml@novell.com>
11964 * src/backends/NetworkManagerSuSE.c: Strip hypens from hex key in
11965 configuration file.
11967 2006-03-17 Robert Love <rml@novell.com>
11969 * src/backends/NetworkManagerSuSE.c: Do "rcypbind reload" to send the
11970 signal SIGHUP to ypbind, not "rcypbind restart" to physically restart
11971 it, in case it is not running in the first place. We just want its
11972 configuration reloaded. Also, do not "rcypbind stop" on device down.
11974 2006-03-15 Robert Love <rml@novell.com>
11976 * gnome/applet/applet.glade, gnome/applet/wso-wep-ascii.c,
11977 gnome/applet/wso-wep-hex.c, gnome/applet/wso-wep-passphrase.c: The
11978 label "WEP 40/128-bit" is inconsistent because the physical key size
11979 is 40 or 104-bits, to which a 24-bit initialisation vector is
11980 appended, forming a 64 or 128-bit traffic key. Thus, the label ought
11981 to read "40/104" or "64/128". I do not care much which, but most
11982 users think of "silver" and "gold" encryption as 64 and 128-bits, so
11983 let's stick with that. Thus, s/"40/128"/"64/128"/g. Also, since our
11984 WEP passphrase support only handles 128-bit keys, and any future
11985 64-bit passphrase support will require a new option (no way to auto-
11986 detect the target key size), explicitly label our passphrase support
11987 "WEP 128-bit Passphrase".
11989 2006-03-15 Robert Love <rml@novell.com>
11991 * src/dhcp-manager/nm-dhcp-manager.c: Do not start dhcdbd, but rely on
11992 the system init scripts (or some other mechanism) starting it (or a
11993 compatible DBUS service) before NetworkManager runs. This means that
11994 distributions might need to update their init scripts. This fixes
11995 possible races and is quite a bit cleaner.
11996 * initscript/SUSE/networkmanager.in: Update to start dhcdbd before
11997 starting the NetworkManager daemon.
12000 2006-03-14 Robert Love <rml@novell.com>
12002 * src/backends/NetworkManagerSuSE.c: Check that we have a valid AP
12003 before adding anything.
12005 2006-03-13 Robert Love <rml@novell.com>
12007 * gnome/vpn-properties/nm-vpn-properties.c: Hide the next page's
12008 widgets, too, if they exist, in case the user hit the back button.
12009 Fixes a bug where the details page contains the widgets of multiple
12010 VPN modules (Novell bug #157048).
12012 2006-03-13 Robert Love <rml@novell.com>
12014 Patch by Timo Hoenig <thoenig@suse.de>:
12015 * dispatcher-daemon/NetworkManagerDispatcher.c: Let the dispatcher
12016 daemon survive DBUS restarts, too.
12018 2006-03-10 Robert Love <rml@novell.com>
12020 * gnome/applet/applet.glade: Add toggles to show/obfuscate the
12022 * gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
12023 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-eap.c,
12024 gnome/applet/wso-wpa-psk.c: Show and obfuscate passphrases and keys
12025 in response to "toggled" signal on new toggle.
12027 2006-03-10 Robert Love <rml@novell.com>
12029 * src/nm-ap-security-wpa-eap.c: Pass fake empty strings for
12030 serialization if strings are NULL, lest DBUS get angry.
12032 2006-03-10 Robert Love <rml@novell.com>
12034 * src/nm-ap-security-wpa-eap.c: Don't log the password.
12036 2006-03-09 Robert Love <rml@novell.com>
12038 * src/backends/NetworkManagerSuSE.c: Read in WEP and WPA static
12041 2006-03-09 Dan Williams <dcbw@redhat.com>
12043 Track pending call requests in the applet, and report how many are
12044 outstanding, and how long each completed one takes.
12046 * gnome/applet/applet-dbus-devices.c
12047 gnome/applet/applet-dbus-vpn.c
12048 - Track pending calls
12050 * gnome/applet/applet-dbus.[ch]
12051 - Remove some unused enums
12052 - (nma_dbus_send_with_callback, nma_dbus_send_with_callback_replied):
12053 new functions to track dbus pending calls and spit out some
12054 statistics about them
12056 2006-03-09 Robert Love <rml@novell.com>
12058 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Have the function
12059 nm_ap_set_timestamp() take the second and micro-second parameters as
12060 direct arguments, which avoids both a dynamic memory allocation and a
12061 structure-to-structure copy! Add a new interface, the aptly named
12062 nm_ap_set_timestamp_via_timestamp(), to set the timestamp from an
12063 existing GTimeVal, as nm_ap_set_timestamp() once did, for use with
12064 the return from nm_ap_get_timestamp(). New users should use the new
12065 nm_ap_set_timestamp(), not nm_ap_set_timestamp_via_timestamp(), for
12066 the extreme benefit to performance.
12067 * src/NetworkManagerAPList.c, src/nm-dbus-nmi.c,
12068 src/backends/NetworkManagerSuSE.c: Use the new functions as needed.
12070 2006-03-08 Robert Love <rml@novell.com>
12072 * gnome/applet/applet.glade: Hide the password entry text with
12075 2006-03-08 Robert Love <rml@novell.com>
12077 * src/NetworkManagerSystem.h, src/nm-device.c, NetworkManagerDebian.c,
12078 NetworkManagerRedHat.c, NetworkManagerGentoo.c,
12079 NetworkManagerSlackware.c: Pass nm_system_device_get_system_config()
12080 a second argument, NMData.
12081 * src/nm-ap-security.h, src/nm-ap-security.c: Export nm_ap_security_new.
12082 * src/backends/NetworkManagerSuSE.c: Add wireless networks from ifcfg-*
12083 config files as trusted.
12085 2006-03-06 Robert Love <rml@novell.com>
12087 * gnome/applet/Makefile.am: Define AUTOSTARTDIR.
12088 * gnome/applet/applet.c: Add 'Remove' option to the right click menu,
12089 to exit the applet. As a sweet side-effect, idea courtesy of Chris
12090 Rivera, detect if the applet was auto-started. If so, ask the user
12091 if he or she would like to stop automatically running the applet on
12092 login. If so, disable autostart.
12094 2006-03-06 Robert Love <rml@novell.com>
12096 * NetworkManager.pc.in: Provide an -I to the NetworkManager include
12097 directory in CFLAGS so developers can actually use NetworkManager.h.
12099 2006-03-06 Robert Love <rml@novell.com>
12101 * src/dhcp-manager/nm-dhcp-manager.c: Use preprocessor defines and not
12102 open-coded integer constants. Add state_to_string() to map a given
12103 state to a textual description, and provide that when notifying of
12105 * src/dhcp-manager/nm-dhcp-manager.h: Provide defines for the dhcdbd
12106 states, copied and cleaned up from dhcdbd.d. Ideally, we would use
12107 this header directly, but it is currently not installed on most
12110 2006-03-05 Dan Williams <dcbw@redhat.com>
12112 Process netlink messages in device subclasses rather than in
12113 NetworkManager.c. Also add support for recognizing Wireless Events.
12116 - Find GLIB_GENMARSHAL
12119 - Since we're marshalling custom types for wireless event signals,
12120 we get to create our own marshallers using GLIB_GENMARSHAL
12122 * src/NetworkManager.c
12123 - (nm_monitor_wired_link_state): renamed to nm_monitor_setup
12124 - (nm_monitor_setup): renamed from nm_monitor_wired_link_state, and
12125 cut down somewhat. We no longer process signals here.
12126 - (nm_data_new): create the netlink monitor here, and remove a
12127 useless call to nm_policy_schedule_device_change_check()
12128 - (nm_data_free): get rid of the netlink monitor here
12129 - (nm_device_link_activated, nm_device_link_deactivated): removed
12130 - (main): don't create the netlink monitor here, let nm_data_new
12131 do that. Call nm_policy_schedule_device_change_check() right
12132 before we jump to the mainloop to figure out which device
12135 * src/NetworkManagerSystem.[ch]
12136 - (nm_system_get_rtnl_index_from_iface, nm_system_get_iface_from_rtnl_index):
12137 convert back and forth from interface names to interface
12140 * src/nm-device-802-11-wireless.c
12141 - (real_init): connect to wireless-event signals from the netlink
12143 - (nm_device_802_11_wireless_event): new function, schedule handler
12144 for wireless event signals from the netlink monitor object. We
12145 want the handler to run in the device's context
12146 - (wireless_event_helper): handle wireless-event signals from netlink
12147 - (nm_device_802_11_wireless_dispose): disconnect wireless-event
12150 * src/nm-device-802-11-wireless.h
12151 - remove unused prototype for nm_device_802_11_wireless_new
12153 * src/nm-device-802-3-ethernet.c
12154 - (real_init): new function; set up signal handlers for link events
12155 - (nm_device_802_3_ethernet_link_activated): new function, schedule
12156 handler for netlink link activated events on device's main loop
12157 - (link_activated_helper): when we get a link activated event, set
12158 the device's link to be active
12159 - (nm_device_802_3_ethernet_link_deactivated): new function; schedule
12160 handler for netlink link deactivated events on device's main loop
12161 - (link_deactivated_helper): when we get a link deactivated event, set
12162 the device's link to be inactive
12163 - (nm_device_802_3_ethernet_dispose): disconnect signal handler on
12166 * src/nm-device-802-3-ethernet.h
12167 - remove unused prototype for nm_device_802_3_ethernet_new
12169 * src/nm-device.[ch]
12170 - (nm_get_device_by_iface_locked): variant of nm_get_device_by_iface
12171 but locks the device list
12172 - (nm_device_set_active_link): a little bit of cleanup and de-indenting
12174 * src/nm-netlink-monitor.[ch]
12175 - (nm_netlink_monitor_class_install_signals): New signal
12177 - (nm_netlink_monitor_new): keep reference to NMData so we can get
12179 - (nm_netlink_monitor_event_handler): expand for wireless events too
12181 * src/nm-marshal-main.c
12182 - Include generated nm-marshal.c and nm-marshal.h
12184 * src/nm-marshal.list
12185 - List of custom marshal functions
12187 2006-03-05 Dan Williams <dcbw@redhat.com>
12189 * gnome/applet/applet-notifications.h
12190 - Protect prototype of nma_send_event_notification() because it
12191 includes libnotify-specific types
12192 - Include libnotify/libnotify.h too, since we technically need it
12194 * gnome/applet/applet.c
12195 - (nma_show_vpn_failure_dialog): fix usage of g_return_if_fail
12196 - (nma_show_vpn_login_banner_dialog): add some error checking
12198 2006-03-04 Dan Williams <dcbw@redhat.com>
12200 Clean up activation cancellation. Should be a lot faster now. Observed
12201 an issue with wireless devices between stage 2 and 3 of activation, where
12202 activation would be cancelled, but the device thread wouldn't notice until
12203 the supplicant association timed out. Reorganize activation such that
12204 a cancellation handler gets immediately scheduled in the device's thread,
12205 and devices have a chance to perform any custom cleanup too.
12207 * src/nm-device.[ch]
12208 - (activation_cancel_handler): new device-type-specific function
12209 for cleaning up device-type-specific stuff on cancellation
12210 - (cancel_activation): removed
12211 - (nm_device_activation_cancel): subsume functionality of
12212 real_cancel_activation, but instead of doing anything, punt
12213 operation to a handler that's run in device-thread context
12214 - (nm_device_schedule_activation_handle_cancel): fix spelling of
12216 - (activation_handle_cancel_helper): cancellation handler run in
12217 device-thread context, calls device-type-specific cancelation,
12218 then tears down the activation request
12219 - (real_activation_cancel_handler): generic cancellation handler,
12220 deals with cancelling any in-process DHCP request
12221 - (nm_device_activate_stage1_device_prepare,
12222 nm_device_activate_stage2_device_config,
12223 nm_device_activate_stage3_ip_config_start,
12224 nm_device_activate_stage4_ip_config_get,
12225 nm_device_activate_stage4_ip_config_timeout,
12226 nm_device_activate_stage5_ip_commit): don't call
12227 nm_device_schedule_activation_handle_cancel() any more, since
12228 cancellation will have been already scheduled for us by
12229 nm_device_activation_cancel(). Just exit the function and
12230 assume that the cancel handler will be called next.
12232 * src/nm-device-802-3-ethernet.c
12233 - (real_act_stage2_config): remove; didn't do anything anyway
12235 * src/nm-device-802-11-wireless.c
12236 - (supplicant_status_cb): ensure we don't do anything if the activation
12238 - (real_activation_cancel_handler): implement; cancel user key request
12239 on activation cancellation
12241 2006-03-04 Dan Williams <dcbw@redhat.com>
12243 * src/nm-device-802-11-wireless.c
12244 - (supplicant_send_network_config): assume that drivers that don't
12245 support WPA pretty much suck, and can't handle NM scanning
12246 along with wpa_supplicant.
12248 2006-03-03 Robert Love <rml@novell.com>
12250 * configure.in: Bump version to 0.6.0.
12253 2006-03-03 Robert Love <rml@novell.com>
12255 * configure.in: Require DBUS 0.60 or later.
12257 2006-03-03 Dan Williams <dcbw@redhat.com>
12259 Fix a crash if an "Other wireless network" was chosen, failed, then
12260 chosen again from the applet's menu. If the other network wasn't
12261 noticed in a scan, it wouldn't have any capabilities, but would still
12262 be listed because the user forced the network. To fix this, we set
12263 sensible capabilities on the forced network, which will get overwritten
12264 with the correct ones if the network shows up later in a scan.
12266 * src/nm-ap-security.h
12267 - Add a new "get_default_capabilities_func" member to the
12270 * src/nm-ap-security.c
12271 - (nm_ap_security_get_default_capabilities): new function
12273 * src/nm-ap-security.c
12274 src/nm-ap-security-wep.c
12275 src/nm-ap-security-wpa-psk.c
12276 src/nm-ap-security-wpa-eap.c
12277 - Implement get_default_capabilities_func() for all, which
12278 uses the information contained in a specific NMAPSecurity
12279 object to determine default AP capabilites necessary
12280 to support that object
12282 As a secondary measure, we now prune artificial access points that fail
12283 to be activated right away. The thing failed, and we have no scan data for
12284 it, so it's pretty much useless since security information is only saved
12285 in the applets when a connection is successful.
12287 * src/NetworkManagerAPList.c
12288 - (nm_ap_list_merge_scanned_ap): mark any ap noticed in a scan
12289 not artificial. If we see it, it's no longer a figment of the
12290 user's imagination :)
12292 * src/NetworkManagerPolicy.c
12293 - (nm_policy_activation_failed): send along the failed AP if we
12296 * src/nm-device-802-11-wireless.c
12297 - (real_activation_failure_handler): remove artificial APs from
12298 the device list, because activation failed
12300 2006-03-02 Robert Love <rml@novell.com>
12302 Add support for retrieving both the per-device speed and the
12303 per-network maximum supported rate. Then change the getProperties
12304 DBUS API for both networks and devices to report this informaiton.
12305 Finally, display the information via both nm-applet and nm-tool:
12306 * gnome/applet/applet-dbus-devices.c: Grab the speed from getProperties
12308 * gnome/applet/applet.c: Display the device's speed in the 'Connection
12309 Information' dialog.
12310 * gnome/applet/applet.glade: Update the UI to show per-device speed.
12311 * gnome/applet/nm-device.c, gnome/applet/nm-device.h: Add interfaces
12312 network_device_get_speed() and network_device_set_speed() for
12313 retrieving and setting, respectively, a network device's current
12315 * src/nm-dbus-device.c: Send the device's speed on getProperties.
12316 * src/nm-device-802-11-wireless.c: Return the rate in Mb/s, not Kb/s,
12317 in the function nm_device_802_11_wireless_get_bitrate() -- it does
12318 not matter (yet) what the units are, because we only feed it its own
12319 output. Implement SIOCGIRATE and set the per-network maximum
12320 supported rate during scanning.
12321 * src/nm-device-802-11-wireless.h: Export the function
12322 nm_device_802_11_wireless_get_bitrate().
12323 * src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h: Add
12324 function nm_device_802_3_ethernet_get_speed() for returning an
12325 802.3's current speed, in Mb/s.
12326 * test/nm-tool.c: Display the per-device current speed, if available,
12327 and the per-network maximum rate.
12329 2006-03-02 Dan Williams <dcbw@redhat.com>
12331 * src/nm-device-802-11-wireless.c
12332 - (nm_device_802_11_wireless_set_scan_interval): don't scan-spam the
12333 card when it gets initialized. Since devices don't get added to
12334 the scan list until they are initialized, this function wasn't
12335 setting the intitial scan interval correctly, and was leaving
12336 it at 0. This caused cards to get many scan requests in a short
12337 amount of time when they were initialized
12339 2006-03-02 Robert Love <rml@novell.com>
12341 * gnome/applet/applet.c: Do not set the pixbuf if we don't have an
12342 active device. But do not do what we used to do and override the
12343 state, which caused the dreaded icon race of '05.
12345 2006-03-02 Robert Love <rml@novell.com>
12347 Commit Dan's update of my previous commit:
12348 * src/nm-device-802-11-wireless.c: Always set the mode, because the
12349 set_mode() function itself does the check. But do only set the
12350 frequency if in Ad-Hoc mode.
12352 2006-03-02 Robert Love <rml@novell.com>
12354 Patch by Brian Magnuson <magnuson@rcn.com>:
12355 * src/nm-device-802-11-wireless.c: During scanning, only set the
12356 wireless mode to infrastructure if it is not currently in
12357 infrastructure mode. For some driver, setting the mode is a costly
12358 operation, apparently.
12360 2006-03-01 Rodrigo Moya <rodrigo@novell.com>
12362 * Makefile.am: use the correct dir for autostart mechanism.
12364 2006-02-28 Dan Williams <dcbw@redhat.com>
12366 Patch from Brian Magnuson <magnuson@rcn.com>
12367 * gnome/applet/applet.c
12368 - (nma_show_vpn_failure_dialog): fix errors left over from
12369 libnotify support changes
12371 2006-02-28 Dan Williams <dcbw@redhat.com>
12373 * src/vpn-manager/nm-vpn-act-request.[ch]
12374 - (nm_vpn_act_request_is_activated): don't use a switch/case for
12376 - (nm_vpn_act_request_is_failed): new function; return whether or
12377 not the vpn activation request has failed
12379 * src/vpn-manager/nm-vpn-manager.c
12380 - (nm_vpn_manager_deactivate_vpn_connection): tell the vpn service
12381 daemon to kill the connection when the activation request fails.
12382 Fixes issue where NM would get confused if the VPN activation
12383 request timed out, and would not allow further VPN connections
12386 2006-02-28 Dan Williams <dcbw@redhat.com>
12388 * gnome/applet/applet.c
12389 - (nma_menu_add_vpn_menu): until the NM VPN manager can deal with
12390 overlapping connection requests, disable all VPN menu items
12391 but the active VPN connection
12393 2006-02-28 Dan Williams <dcbw@redhat.com>
12395 * src/vpn-manager/nm-vpn-connection.c
12396 - (nm_vpn_connection_set_parent_device): fix C&P error which
12397 called g_object_unref() on the connection's parent device
12398 when it should have been ref-ed instead. Fixes crash with
12399 repeated vpn connect requests
12401 2006-02-28 Christopher Aillon <caillon@redhat.com>
12403 * gnome/applet/applet.glade:
12404 Mark a few strings non-translatable, since they shouldn't be.
12406 2006-02-28 Dan Williams <dcbw@redhat.com>
12408 * src/vpn-manager/nm-vpn-service.c
12409 - (nm_vpn_service_start_connection): if the vpn service daemon is
12410 already running, don't blindly ask it to connect, but wait until
12411 it's in the STOPPED state first. Fixes an assertion when user
12412 starts a second vpn connection without stopping the first.
12413 - (nm_vpn_service_stage2_daemon_wait): ensure the vpn service's
12414 dbus service exists before continuing with the connection
12415 process, and reduce latency while waiting for it to become
12417 - (nm_vpn_service_schedule_stage2_daemon_wait): reduce latency
12418 waiting for the vpn service daemon to become available
12419 - General log message cleanups; show progress via "Stage x of 4"
12420 rather than not telling anyone how many stages there are
12422 2006-02-28 Robert Love <rml@novell.com>
12424 * src/NetworkManagerSystem.h: Add nm_system_should_modify_resolv_conf.
12425 * src/backends/NetworkManagerSuSE.c: Implement the interface
12426 nm_system_should_modify_resolv_conf() for SUSE.
12427 * src/backends/NetworkManagerDebian.c,
12428 src/backends/NetworkManagerGentoo.c,
12429 src/backends/NetworkManagerRedHat.c,
12430 src/backends/NetworkManagerSlackware.c: Add stub.
12431 * src/named-manager/Makefile.am: Grab includes from src.
12432 * src/named-manager/nm-named-manager.c: Allow backends to disable the
12433 automatic updating of resolv.conf. This is useful for testing,
12434 broken static configurations, and administrator lock-down.
12436 2006-02-28 Dan Williams <dcbw@redhat.com>
12438 * src/nm-device-802-11-wireless.c
12439 - Move all the wpa_supplicant-related management stuff into its
12440 own struct, just for oranization's sake
12441 - (supplicant_exec): when exec-ing wpa_supplicant, connect its stdout
12442 to a GIOChannel/GSource
12443 - (supplicant_log_stdout): new function; grab output from the
12444 wpa_supplicant stdout pipe and write it to our logs.
12446 2006-02-27 Christopher Aillon <caillon@redhat.com>
12448 * src/nm-device-802-11-wireless.c:
12449 Err, fix thinko in my previous commit.
12451 2006-02-28 Robert Love <rml@novell.com>
12453 * gnome/applet/wso-wpa-eap.c: Fix misc. FIXME statements.
12455 2006-02-28 Robert Love <rml@novell.com>
12457 * libnm-util/dbus-helpers.c, src/nm-ap-security-wpa-eap.c,
12458 src/nm-ap-security-wpa-psk.c, gnome/applet/nm-gconf-wso-wpa-eap.c,
12459 gnome/applet/nm-gconf-wso-wpa-eap.c: Fix FIXMEs: Callers of the DBUS
12460 deserializers are responsible for freeing the returned DBUS strings.
12462 2006-02-27 Christopher Aillon <caillon@redhat.com>
12464 * src/nm-device-802-11-wireless.c:
12465 The scan list is being pruned prematurely. We should prune after
12466 the device has gone MIA for three scans, not one. Split out the
12467 interval to realtime seconds function to better serve this.
12469 2006-02-27 Robert Love <rml@novell.com>
12471 * dispatcher-daemon/NetworkManagerDispatcher.c, src/NetworkManager.c:
12472 Open the pid file O_TRUNC, so if it already exists we truncate it to
12473 zero length. Also, be more verbose about warnings generated during
12474 writing out the pid file. Finally, always write out the pid file if
12475 in daemon mode. Use "--pid-file" to override the default.
12477 2006-02-27 Robert Love <rml@novell.com>
12479 Patch by R. Vinay <rvinay@novell.com>:
12480 * gnome/vpn-properties/nm-vpn-properties.c: Remove the gconf key
12481 'last_attempt_success' when removing a VPN connection, too. (Fixes
12482 Novell bug #153628).
12484 2006-02-27 Robert Love <rml@novell.com>
12486 * gnome/applet/applet.glade: Set "activates_default" on passphrase
12487 entry so user can hit <ENTER> after entering passphrase (Novell bug
12490 2006-02-27 Dan Williams <dcbw@redhat.com>
12493 - Mass search/replace of:
12495 NMWirelessApplet -> NMApplet
12496 NM_*_WIRELESS_APPLET -> NM_*_APPLET
12497 (it ain't just for wireless anymore, ma!)
12498 - Fix duplicate function name printing when using nm_warning
12499 - wireless-applet.glade -> applet.glade
12501 2006-02-27 Dan Williams <dcbw@redhat.com>
12503 * dispatcher-daemon/NetworkManagerDispatcher.c
12504 - Accept --pid-file with a path to a pidfile, write it out on
12505 startup, and delete it on shutdown
12507 * src/NetworkManager.c
12508 - Accept --pid-file with a path to a pidfile, write it out on
12509 startup, and delete it on shutdown
12510 - Move nm_print_usage() lower
12512 * initscripts/RedHat/NetworkManager.in
12513 - Use new --pid-file option
12514 - Fix service stopping to wait a bit for NM to quit
12516 * initscripts/RedHat/NetworkManagerDispatcher.in
12517 - Use new --pid-file option
12519 2006-02-26 Dan Williams <dcbw@redhat.com>
12522 - make and install nm-crash-logger
12524 * src/nm-logging.[ch]
12525 - New files; consolidate logging and crash handling
12527 * src/nm-crash-logger.c
12529 - Standalong crashlogger for NM, grab a backtrace
12532 * src/NetworkManager.[ch]
12533 - Remove signal handling and put it into nm-logging.c
12535 2006-02-26 Dan Williams <dcbw@redhat.com>
12538 gnome/applet/Makefile.am
12539 - Conditionalize all the notify stuff
12541 Merge most of Chris Aillon's notification patch:
12543 * gnome/applet/applet-notifications.[ch]
12544 - New files; show a notification
12546 * gnome/applet/applet-dbus-devices.[ch]
12547 - (nmwa_dbus_device_activated, nmwa_dbus_device_activated_cb,
12548 nmwa_dbus_device_deactivated, nmwa_dbus_device_deactivated_cb):
12549 new functions, do the right thing when a device change occurs
12551 * gnome/applet/applet-dbus.c
12552 - (nmwa_dbus_filter): Split out DeviceNowActive and DeviceNoLongerActive
12553 signals, so we can handle them specially
12555 * gnome/applet/applet.[ch]
12556 - nmwa_schedule_vpn_login_banner -> nmwa_show_vpn_login_banner
12557 - nmwa_schedule_vpn_failure_alert -> nmwa_show_vpn_failure_alert
12558 - (nmwa_notify_state): remove
12559 - (nmwa_update_state); remove call to nmwa_notify_state, since the
12560 notification work is now done when the appropriate dbus signals
12562 - (nmwa_show_vpn_login_banner, nmwa_show_vpn_failure_alert): don't
12563 defer execution of the notification/dialog stuff. That was an
12564 artifact of the previous multi-threaded nature of the applet
12565 and is now pointless.
12566 - (nmwa_notify_vpn_failure, nmwa_notify_vpn_login_banner): remove,
12567 no longer needed. Function folded into applet-notifications.c
12569 * src/NetworkManagerPolicy.c
12570 - (nm_policy_activation_finish): send the AP along with the device
12571 status change signal, if the connection is wireless. Should
12572 fix the race where applet would show a connection to "unknown"
12574 2006-02-25 Robert Love <rml@novell.com>
12576 Add WPA Enterprise support:
12577 * gnome/applet/Makefile.am: Build the files nm-gconf-wso-wpa-eap.c and
12578 nm-gconf-wso-wpa-eap.h.
12579 * gnome/applet/nm-gconf-wso-wpa-eap.c,
12580 gnome/applet/nm-gconf-wso-wpa-eap.h: Add WPA Enterprise Gconf
12581 serialization and deserialization.
12582 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
12583 gnome/applet/wireless-security-option.c, gnome/applet/wso-wpa-psk.c,
12584 gnome/applet/wso-wpa-psk.h: Clean up, support new defines.
12585 * gnome/applet/wireless-applet.glade: Add UI for configurating security
12586 settings related to WPA Enterprise.
12587 * gnome/applet/wireless-security-manager.c: Invoke wso_wpa_eap_new() to
12588 instantiate WPA Enterprise wireless-security-option.
12589 * gnome/applet/wso-wpa-eap.c, gnome/applet/wso-wpa-eap.h: New files.
12590 Implement WPA Enterprise wireless-security-option object.
12591 * include/NetworkManager.h: Add new NM_AUTH_TYPE_* and NM_EAP_METHOD_*
12593 * libnm-util/cipher-wpa-psk-hex.c,
12594 libnm-util/cipher-wpa-psk-passphrase.c: Cleanup.
12595 * libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h: Add
12596 nmu_security_serialize_wpa_eap() to serialize input to DBUS method,
12597 nmu_security_serialize_wpa_eap_with_cipher() to serialize input
12598 including the cipher to DBUS method, and
12599 nmu_security_deserialize_wpa_eap() to deserialize from DBUS return
12601 * src/Makefile.am: Build the files nm-ap-security-wpa-eap.c and
12602 nm-ap-security-wpa-eap.h
12603 * src/NetworkManagerAP.c: Add NM_AUTH_TYPE_WPA_EAP to
12604 NM_802_11_CAP_KEY_MGMT_802_1X cipher to capability mapping.
12605 * src/nm-ap-security-wpa-eap.c, src/nm-ap-security-wpa-eap.h: New
12606 files. Implement NMAPSecurityWPA_EAP object.
12607 * src/nm-ap-security-wpa-psk.c: Cleanup.
12608 * src/nm-ap-security.c: Support NM_AUTH_TYPE_EAP cipher and instantiate
12609 an NMAPSecurityWPA_EAP object via the method
12610 nm_ap_security_wpa_eap_new_deserialize().
12611 * src/nm-dbus-nm.c: Cleanup.
12612 * test/nm-tool.c: Display "Enterprise" for wireless networks providing
12613 WPA Enterprise support.
12615 2006-02-24 Robert Love <rml@novell.com>
12617 Patch from Timo Hoenig <thoenig@suse.de>:
12618 * src/NetworkManagerDbus.c: Survive DBUS restarts like a champ.
12620 2006-02-24 Robert Love <rml@novell.com>
12622 Patch from Dan Winship <danw@novell.com>:
12623 * gnome/applet/eggtrayicon.c: Update EggTrayIcon code. Set the gdk
12624 area to transparent.
12626 2006-02-21 Dan Williams <dcbw@redhat.com>
12628 * gnome/applet/applet.[ch]
12629 gnome/applet/applet-dbus.c
12630 - Implement notification support for VPN messages too
12632 2006-02-21 Dan Williams <dcbw@redhat.com>
12634 * gnome/applet/applet-dbus-info.c
12635 - Clean up warning messages to not double-print the function
12637 2006-02-21 Dan Williams <dcbw@redhat.com>
12639 * gnome/applet/applet-compat.c
12640 - (convert_one_entry): accept entries without a key_type and
12641 convert them to unencrypted networks
12643 2006-02-21 Dan Williams <dcbw@redhat.com>
12645 * gnome/libnm_glib/libnm_glib.c
12646 - Use __func__ everywhere we can
12648 - Use dbus pending calls rather than blocking
12649 - Reduce busywaits for our thread to start and stop
12650 (gnome.org #330562)
12651 - (libnm_glib_dbus_init): Use dbus_bus_get_private() so we don't
12652 stomp on others using the default shared dbus connection.
12653 Fixes #rh177546# and gnome.org #326572
12655 2006-02-21 Dan Williams <dcbw@redhat.com>
12657 Patch from Rodney Dawes <dobey@novell.com>
12659 gnome/applet/Makefile.am
12660 gnome/applet/applet.c
12661 - Add libnotify support if '--enable-notify=yes' is passed
12664 2006-02-16 Kang Jeong-Hee <keizie@gmail.com>
12666 * configure.in (ALL_LINGUAS): ko added. (Korean)
12668 2006-02-15 Robert Love <rml@novell.com>
12670 * src/nm-device-802-11-wireless.c: Use LOCALSTATEDIR preprocessor
12671 define, not an open-coded "/var", for WPA_SUPPLICANT_GLOBAL_SOCKET
12672 and WPA_SUPPLICANT_CONTROL_SOCKET.
12674 2006-02-15 Robert Love <rml@novell.com>
12676 * src/nm-device-802-11-wireless.c, src/nm-device.c: When printing debug
12677 information about what connection stage we are at, provide the total
12678 number of stages, e.g. "Stage 2 of 5", so users know how far along
12679 they are if they experience problems.
12681 2006-02-15 Robert Love <rml@novell.com>
12683 * gnome/vpn-properties/Makefile.am: Define SYSCONFDIR preprocessor
12684 define to $sysconfdir.
12685 * gnome/vpn-properties/nm-vpn-properties.c: Make sure we hide the VPN
12686 editing dialog, vpn_edit_widget, which fixes a bug where editing one
12687 type of VPN and then editing another results in a mangled dialog
12688 box containing the widgets from both VPNs (fixes Novell #150854).
12689 Also, some misc. cleanup and use SYSCONFDIR not open coded directory.
12691 2006-02-14 Robert Love <rml@novell.com>
12693 * src/NetworkManager.c: Call closelog() on daemon shutdown to close
12694 syslog's file descriptor.
12696 2006-02-14 Robert Love <rml@novell.com>
12698 Fix bug around since the change to "deal with APs changing settings on
12699 us," checked in on the fifth of February in the year of the dog,
12700 wherein connecting to non-broadcast encrypted networks always fails
12701 because nm_ap_get_encrypted() always returns FALSE, even when the user
12702 provided a key, because the newly-created fake AP does not have any
12703 capabilities set, which is a sypmtom of security settings not matching
12704 capabilities (Novell bug #150784):
12705 * src/NetworkManagerAP.c, src/NetworkManagerAP.h: Add new interface,
12706 nm_ap_add_capabilities_from_security(), which sets the given AP's
12707 capabilities off the given security settings. Also improve our
12708 handling of capabilities w.r.t. NM_802_11_CAP_PROTO_NONE and
12709 NM_AUTH_CIPHER_AUTO.
12710 * src/nm-device-802-11-wireless.c: Call the function
12711 nm_ap_add_capabilities_from_security() to ensure that capabilities
12712 match newly updated security settings.
12714 2006-02-14 Robert Love <rml@novell.com>
12716 * src/nm-device-802-11-wireless.c: Clean up nm_warning calls: Print the
12717 error as a string, not an integer, if possible; do not print the
12718 function name twice; always give the interface, if possible; misc.
12721 2006-02-12 Dan Williams <dcbw@redhat.com>
12723 Patch from Tom Parker <palfrey@tevp.net>
12724 * src/NetworkManagerSystem.h
12725 - Remove prototype for nm_system_device_setup_static_ip4_config(),
12728 * src/backends/NetworkManagerDebian.c
12729 - Remove some dead code (nm_system_device_setup_static_ip4_config) and
12732 2006-02-12 Dan Williams <dcbw@redhat.com>
12734 * vpn-daemons/openvpn/intltool-extract.in
12735 vpn-daemons/openvpn/intltool-merge.in
12736 vpn-daemons/openvpn/intltool-update.in
12737 vpn-daemons/pptp/intltool-extract.in
12738 vpn-daemons/pptp/intltool-merge.in
12739 vpn-daemons/pptp/intltool-update.in
12740 - Remove from CVS, they should get created by intltoolize,
12743 2006-02-12 Dan Williams <dcbw@redhat.com>
12745 * vpn-daemons/pptp/src/pppd/patchlevel.h
12746 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
12747 - Rename VERSION -> PPPD_VERSION to avoid conflict with the
12748 Makefile-defined VERSION
12750 2006-02-09 Dan Williams <dcbw@redhat.com>
12752 Patch from: Vinay A R <rvinay@novell.com>
12753 * src/vpn-manager/nm-vpn-act-request.[ch]
12754 - Added 'routes' and 'routes_count' to struct NMVPNActRequest since
12755 IPSec VPNs require them for std gateway.
12756 - (nm_vpn_act_request_new): takes arguments for 'user_routes'
12757 and 'user_routes_count'
12758 - (nm_vpn_act_request_get_user_routes): new function; gets user
12759 defined routes from NMVPNActRequest object, returns the string
12762 * src/vpn-manager/nm-vpn-manager.[ch]
12763 - (nm_vpn_manager_activate_vpn_connection): take additional arguments
12764 for 'user_routes' and 'user_routes_count'
12766 * src/vpn-manager/nm-dbus-vpn.c
12767 - (nm_dbus_vpn_activate_connection): gets 'user_routes' from
12768 nm_dbus_vpn_get_routes() to pass to nm_vpn_manager_activate_vpn_connection()
12770 * src/vpn-manager/nm-vpn-service.c
12771 - (nm_vpn_service_stage3_connect): pass user routes over dbus to
12774 Modifications by Dan:
12775 * src/vpn-manager/nm-vpn-service.c
12776 - (nm_vpn_service_stage3_connect): ensure that we don't pass NULL string
12779 * vpn-daemons/vpnc/src/nm-vpnc-service.c
12780 * vpn-daemons/pptp/src/nm-pptp-service.c
12781 * vpn-daemons/openvpn/src/nm-openvpn-service.c
12782 - Grab user routes from dbus message
12783 - Free all string arrays we got from dbus
12785 2006-02-07 Robert Love <rml@novell.com>
12787 Patch by Stefan Seyfried <seife@suse.de>:
12788 * libnm-util/cipher.c: Fix off-by-one error in cipher_bin2hexstr.
12790 2006-02-06 Robert Love <rml@novell.com>
12792 * src/nm-device-802-11-wireless.c: Fix leak in supplicant_status_cb().
12794 2006-02-06 Robert Love <rml@novell.com>
12796 * src/NetworkManagerUtils.c: kill_newline(): 'l' is unsigned so the
12797 test ">=" is never false. If no newline is found, we loop forever.
12798 We can just check for ">" because the following if() will see the
12799 zero-th argument if the while() gets that far.
12801 2006-02-05 Dan Williams <dcbw@redhat.com>
12803 Refine handling of non-broadcast networks.
12805 * src/NetworkManagerAPList.c
12806 - (nm_ap_list_merge_scanned_ap): unconditionally copy the 'broadcast'
12807 property from scanned AP to the AP from the device list
12809 * src/nm-device-802-11-wireless.c
12810 - (supplicant_send_network_config): use ap_scan=1 for all networks
12811 except non-SSID-broadcasting and Ad-Hoc networks. Use
12812 ap_scan=2 for those. Also, don't set scan_ssid for Ad-Hoc
12813 networks since those don't have APs.
12814 - (add_new_ap_to_device_list): if there's no valid SSID, mark the
12815 AP as non-SSID-broadcasting
12816 - (process_scan_results): don't handle non-SSID-broadcasting here
12818 2006-02-05 Dan Williams <dcbw@redhat.com>
12820 * src/nm-device-802-11-wireless.c
12821 - (get_supplicant_timeout): new function; return
12822 NM_SUPPLICANT_TIMEOUT * 2 for cards that support more than
12823 14 channels. These are likely a/b/g cards, like Atheros, and
12824 slow as hell to scan.
12825 - (supplicant_timeout_cb, supplicant_monitor_start): use
12826 get_supplicant_timeout()
12828 2006-02-05 Dan Williams <dcbw@redhat.com>
12830 * src/dhcp-manager/nm-dhcp-manager.c
12831 - Loose a commit race with Robert; make sure size check
12832 uses size of DHCP_SERVICE_LEN, not hardcoded 15
12834 2006-02-05 Robert Love <rml@novell.com>
12836 Patch by Christoph Brill <chrisbrill@gmx.net>:
12837 * src/dhcp-manager/nm-dhcp-manager.c: Replace two open coded defines
12838 with DHCP_SERVICE_NAME.
12840 2006-02-05 Dan Williams <dcbw@redhat.com>
12842 Remove anything having to do with device_setup_func from the
12843 AP security objects, since it's no longer used.
12845 * src/nm-ap-security.h
12846 - Kill device_setup_func and nm_ap_security_device_setup()
12848 * src/nm-ap-security-wep.c
12849 src/nm-ap-security-wpa-psk.c
12850 - (real_device_setup): remove
12852 * src/nm-ap-security.c
12853 - (real_device_setup): remove
12854 - (nm_ap_security_device_setup): remove
12856 * src/nm-device-802-11-wireless.[ch]
12857 - (nm_device_802_11_wireless_set_wep_enc_key): make static
12858 - (set_wireless_config, wireless_configure_adhoc): remove; unused
12859 and done by wpa_supplicant now anyway
12861 2006-02-05 Dan Williams <dcbw@redhat.com>
12863 * src/nm-device-802-11-wireless.c
12864 - (ap_need_key, real_act_stage2_config): deal with APs changing
12865 settings on us. Previously NM would loop asking for the
12866 key but getting the same one back. Now, if the NMI-supplied
12867 cipher doesn't overlap with the scanned AP capabilities,
12868 we request a completely new key from the user.
12870 2006-02-05 Dan Williams <dcbw@redhat.com>
12872 * src/NetworkManagerUtils.c
12873 - (nm_utils_supplicant_request_with_check, nm_utils_supplicant_request):
12874 Handle newline killing better
12876 2006-02-05 Dan Williams <dcbw@redhat.com>
12878 * gnome/applet/nm-gconf-wso.c
12879 - (real_serialize_dbus): return TRUE, not 0. Fixes serialization
12880 of unencrypted access point security info.
12882 2006-02-03 Robert Love <rml@novell.com>
12884 * src/NetworkManagerUtils.c: Even for debugging, we should not log the
12885 user's encryption key, so we print the err_msg_cmd not the command,
12886 if available. So long as SUPPLICANT_DEBUG is default, this makes
12889 2006-02-03 Christopher Aillon <caillon@redhat.com>
12891 * initscript/RedHat/NetworkManagerDispatcher.in:
12892 * initscript/RedHat/NetworkManager.in: modify the pidfile location
12893 Patch from Dan Walsh <dwalsh@redhat.com>
12895 2006-02-03 Robert Love <rml@novell.com>
12897 * dispatcher-daemon/NetworkManagerDispatcher.c,
12898 dispatcher-daemon/Makefile.am: Don't hardcode the location of /etc
12899 but use the sysconfdir.
12901 2006-02-03 Robert Love <rml@novell.com>
12903 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h:
12904 Make nm_device_802_11_wireless_get_essid() return 'const char *' not
12906 * src/nm-ip4-config.c, src/nm-ip4-config.h: Make the functions
12907 nm_ip4_config_get_hostname() and
12908 nm_ip4_config_get_nis_domain() return 'const char *' not 'char *'.
12909 * src/backends/NetworkManagerSuSE.c: Fix up for above. Also, do not
12910 leak g_strdup() result.
12912 2006-02-03 Robert Love <rml@novell.com>
12914 * src/NetworkManagerAP.c: In nm_ap_new(), default new networks to
12915 broadcast == TRUE. Also, copy broadcast and artificial properties
12916 from source network to destination in nm_ap_copy().
12917 * src/nm-device-802-11-wireless.c: Don't set broadcast flag to TRUE,
12918 since we now default new networks to non-hidden.
12920 2006-02-03 Dan Williams <dcbw@redhat.com>
12922 * gnome/applet/main.c
12923 - (main): change the NEVER->ALWAYS so we start at the
12924 beginning of the session, if being session-managed
12926 2006-02-03 Dan Williams <dcbw@redhat.com>
12928 * gnome/applet/main.c
12929 - (main): in a variation on Robert's patch, change
12930 RESTART_IMMEDIATELY -> RESTART_NEVER. Should do what
12933 2006-02-02 Robert Love <rml@novell.com>
12935 * src/Makefile.am: If we aren't going to create the run directory at,
12936 uh, run-time, create it during install. Then users just doing
12937 'make install' are cool, too. While we are here, create the
12938 dispatcher.d directory, too.
12939 * src/nm-device-802-11-wireless.c: Let the Makefile define and pass in
12940 the exact run directory.
12941 * Makefile.am: Install nm-applet.desktop.
12943 2006-02-02 Robert Love <rml@novell.com>
12945 * src/NetworkManagerAP.c: Add 'broadcast' property to the NMAccessPoint
12946 structure, which denotes whether or not the AP is hidden. This is a
12947 superset of 'artificial' -- we need 'broadcast' because a hidden AP
12948 can show up in the scan list. Add nm_ap_get_broadcast() and
12949 nm_ap_set_broadcast() accessor interfaces.
12950 * src/NetworkManagerAP.h: Add prototypes for nm_ap_get_broadcast() and
12951 nm_ap_set_broadcast().
12952 * src/nm-dbus-net.c: Add new argument, boolean broadcast, to the
12953 "getProperties" method, which denotes whether or not the given
12955 * src/nm-device-802-11-wireless.c: Set broadcast to FALSE when creating
12956 an artificial network. Set broadcast to TRUE when scanning returns
12957 an ESSID and FALSE when not.
12958 * gnome/applet/applet-dbus-devices.c: Retrieve 'broadcast' argument
12959 from "getProperties" method on a network. Possible TODO is to
12960 somehow display this.
12961 * test/nm-tool.c: Display "Hidden" if the AP does not broadcast.
12963 2006-02-02 Dan Williams <dcbw@redhat.com>
12965 * src/nm-device-802-11-wireless.c
12966 - (supplicant_interface_init): don't try to create
12967 /var/run/NetworkManager, since that should be done by
12968 the distro package. Causes problems for stuff like SELinux
12970 2006-02-02 Robert Love <rml@novell.com>
12972 Patch by Sureshkumar T <tsureshkumar@novell.com>:
12973 * src/vpn-manager/nm-vpn-connection.c, src/NetworkManagerSystem.c:
12974 Check for and handle empty string for iface.
12976 2006-02-01 Robert Love <rml@novell.com>
12978 * configure.in, man/nm-tool.1.in, man/Makefile.am: Add nm-tool(1)
12981 2006-01-31 Dan Williams <dcbw@redhat.com>
12983 * nm-applet.desktop
12984 - Add --sm-disable to Exec arguments, presuming that when
12985 using autostart, we don't want session management
12987 2006-01-31 Robert Love <rml@novell.com>
12989 * src/NetworkManagerAP.c: Add two new manufacturer default network
12990 names: linksys-a and linksys-g. These are found (at least) on the
12991 Linksys WAP55AG, which does both 802.11a and 802.11b, each with their
12994 2006-01-31 Robert Love <rml@novell.com>
12996 * src/NetworkManagerAP.c: Optimize the function
12997 nm_ap_has_manufacturer_default_essid(). I did not like its resulting
12998 machine code. This is the first in a series of code tweaks aiming to
12999 generate better machine code and make NetworkManager all the better.
13000 Just kidding. Who has time to go through the assembly generated for
13001 every function? I certainly don't. I have a wife, a kid, a job,
13002 a mortgage, a mistress. But this function was so bad, I was called
13003 to arms. Like the book.
13005 2006-01-31 Robert Love <rml@novell.com>
13007 * src/nm-device-802-11-wireless.c: Set "scan_ssid 1" if the requested
13008 AP is not broadcasting, to scan with probe request frames. Required
13009 for non-broadcast networks.
13011 2006-01-31 Robert Love <rml@novell.com>
13013 * src/nm-device-802-11-wireless.c: Make the wpa_supplicant a
13014 preprocessor define (still 20s). Fix message text in nm_info()
13015 s/too too/took too/.
13017 2006-01-30 Dan Williams <dcbw@redhat.com>
13019 * src/nm-device-802-11-wireless.c
13020 - (supplicant_monitor_start): increase connect/auth timeout to
13021 20 seconds from 10 seconds
13023 2006-01-30 Dan Williams <dcbw@redhat.com>
13026 - Define LOCALSTATEDIR
13028 * src/nm-device-802-11-wireless.c
13029 - (supplicant_exec): tell wpa_ctrl_open() to stick the local control
13030 socket where we want it to
13032 * src/wpa_ctrl.[ch]
13033 - (wpa_ctrl_open): accept location to put local control socket
13035 2006-01-30 Robert Love <rml@novell.com>
13037 * src/dhcp-manager/nm-dhcp-manager.c: Pass TRUE for ignore_error in
13038 get_ip4_string() for "domain_name".
13040 2006-01-30 Robert Love <rml@novell.com>
13042 * gnome/applet/nm-gconf-wso-wpa-psk.c, gnome/applet/nm-gconf-wso.c,
13043 gnome/applet/wireless-security-option.c, include/NetworkManager.h,
13044 libnm-util/cipher-wpa-psk-hex.c, src/nm-ap-security-wpa-psk.c,
13045 libnm-util/cipher-wpa-psk-passphrase.c, src/nm-ap-security.c: Add
13046 support for "Automatic" pairwise and group cipher configuration by
13047 letting wpa_supplicant handle the details. Add UI elements, new
13048 cipher type NM_AUTH_CIPHER_AUTO, and backend support. Works like a
13049 charm. Note this does more than add a nice feature, it fixes a bug.
13050 Apparently, some people have AP's where the pairwise cipher does not
13051 match the group cipher. Insane, but true.
13053 2006-01-30 Dan Williams <dcbw@redhat.com>
13055 * gnome/applet/applet-dbus-devices.c
13056 - (nmwa_dbus_device_get_driver_cb, nmwa_dbus_device_get_driver): new
13057 functions, grab device driver name from NetworkManager
13058 - (nmwa_dbus_device_properties_cb): call functions to get driver
13060 * gnome/applet/applet.c
13061 - (nmwa_update_info): show driver name in Connection Information
13064 * gnome/applet/nm-device.[ch]
13065 - (network_device_get_driver, network_device_set_driver): add
13066 accessors for driver name
13068 * gnome/applet/wireless-applet.glade
13069 - Add line for driver name to Connection Information dialog
13071 * src/nm-dbus-device.c
13072 - (nm_dbus_device_get_driver): new function to return driver name
13073 - (nm_dbus_device_methods): hook up driver name function to dbus
13076 - (get_driver_name): new function
13077 - (detail_device): grab and show driver name
13079 2006-01-30 Robert Love <rml@novell.com>
13081 * gnome/applet/applet.c: Apparently gtk_message_dialog_new_with_markup
13082 does not parse the markup if it is not part of the format.
13084 2006-01-30 Robert Love <rml@novell.com>
13086 * gnome/applet/passphrase-dialog.c: If wsm_set_capabilities() returns
13087 FALSE, we have no security options for this dialog, so we throw up
13088 an error dialog instead of a broken passphrase dialog. Fixes
13090 * gnome/applet/wireless-security-manager.c,
13091 gnome/applet/wireless-security-manager.h: If wsm_set_capabilities()
13092 does not add any security options, not even NONE, print a warning
13093 and return FALSE. This let's functions constructing a dialog bail
13094 out if the device's capabilities and the network's requirements have
13097 2006-01-27 Robert Love <rml@novell.com>
13099 * configure.in: Require wpa_supplicant. Detect location of binary and
13100 use it. Override with "--with-wpa_supplicant=foo".
13101 * src/Makefile.am, src/nm-device-802-11-wireless.c: Do not hardcode the
13102 path to wpa_supplicant but use the auto-detected or user-provided
13103 value from configure.
13105 2006-01-27 Robert Love <rml@novell.com>
13107 * src/backends/NetworkManagerSuSE.c: If DHCLIENT_SET_HOSTNAME is set
13108 but the DHCP server did not return a hostname, try to look up our
13109 name via DNS and set the system hostname to that.
13111 2006-01-27 Dan Williams <dcbw@redhat.com>
13113 * src/backends/NetworkManagerRedHat.c
13114 - Add NM_CONTROLLED system network script support for RH/Fedora
13116 2006-01-27 Dan Williams <dcbw@redhat.com>
13118 * src/backends/NetworkManagerGentoo.c
13119 - (nm_system_device_get_disabled): add missing function.
13122 2006-01-27 Clytie Siddall <clytie@riverland.net.au>
13124 * configure.in: Added vi in ALL_LINGUAS line.
13126 2006-01-26 Robert Love <rml@novell.com>
13128 * src/Makefile.am, src/kernel-types.h: Now that two different source
13129 files are feeling the crack-addled leakage of kernel types such as
13130 u32 and s8 -- superior to __u64 and __u8, to be sure, but not valid
13131 types in user-space -- define a header and include it as needed.
13132 * src/nm-device-802-3-ethernet.c: Include kernel-types.h
13133 * src/nm-device-802-3-ethernet.h: Remove defines.
13134 * src/wpa.c: Remove defines and include kernel-types.h.
13136 2006-01-26 Robert Love <rml@novell.com>
13138 * TODO: Update. WPA support is in the bag and HAL restarts (should)
13141 2006-01-26 Robert Love <rml@novell.com>
13143 * configure.in: Change '-Wno-unused' to '-Wno-unused-parameter'
13144 * gnome/applet/applet-compat.c, gnome/applet/applet-dbus-devices.c,
13145 gnome/applet/applet-dbus-info.c, gnome/applet/applet-dbus.c,
13146 gnome/applet/applet.c, gnome/applet/applet.h, src/nm-dbus-device.c,
13147 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13148 gnome/applet/nm-gconf-wso.c, gnome/applet/nm-gconf-wso.h,
13149 gnome/applet/other-network-dialog.c, src/nm-device.c, test/nm-tool.c,
13150 gnome/applet/passphrase-dialog.c, src/nm-device-802-11-wireless.c,
13151 gnome/applet/wireless-security-manager.c, src/nm-ip4-config.c,
13152 gnome/applet/wireless-security-option.c, src/nm-ap-security.c,
13153 gnome/applet/wso-wep-ascii.c, gnome/applet/wso-wep-hex.c,
13154 gnome/applet/wso-wep-passphrase.c, gnome/applet/wso-wpa-psk.c,
13155 libnm-util/dbus-helpers.c, src/NetworkManagerAP.c, src/nm-dbus-nmi.c,
13156 src/NetworkManagerSystem.c, src/nm-ap-security-wep.c,
13157 src/nm-device-802-11-wireless.h, test/libnm-util/test-ciphers.c,
13158 src/named-manager/nm-named-manager.c, test/test-common/test-common.c:
13159 Kill unused variables, labels, and static functions. Don't pass
13160 string literals as the format string for printf-like functions.
13162 2006-01-25 Dan Williams <dcbw@redhat.com>
13164 * gnome/applet/wireless-applet.glade
13165 - Remove WPA2 Checkbox
13167 * gnome/applet/wireless-security-manager.c
13168 - (wsm_set_capabilities): split up sections for wpa and wpa2.
13169 This means the Wireless Security menu now has two WPA options,
13170 one for "WPA Personal" and one for "WPA2 Personal"
13172 * gnome/applet/wso-wpa-psk.[ch]
13173 - (wso_wpa_psk_new): remove stuff for WPA2 checkbox, and use
13174 'wpa2' argument to determine WPA version to use
13175 - (append_dbus_params_func): pass stored WPA version to cipher
13176 rather than using the (removed) checkbox
13178 2006-01-24 Robert Love <rml@novell.com>
13180 * src/dhcp-manager/nm-dhcp-manager.c: Null-out the original byte array
13181 before we g_strdup(), not the ultimate string.
13183 2006-01-23 Dan Williams <dcbw@redhat.com>
13185 * src/NetworkManagerAP.[ch]
13186 - (nm_ap_new_from_ap): copy original essid too
13187 - (nm_ap_unref): free original essid
13188 - (nm_ap_get_orig_essid): new function
13189 - (nm_ap_set_essid): Convert essid to UTF-8 for display and dbus,
13190 but keep original essid around too
13192 * src/nm-device-802-11-wireless.c
13193 - (supplicant_send_network_config): send wpa_supplicant the
13194 _original_ essid, and not as a string, but in hex. Should
13195 allow us to connect to more APs that use wierd character
13196 encodings for their essids
13198 * utils/nm-utils.[ch]
13199 - (nm_utils_essid_to_utf8): make a best-effort to convert the essid
13200 to UTF-8. If it's not already valid UTF-8, we check LANG and
13201 use the current locale as a hint for what encoding the essid
13202 might be in. Obviously not 100% accurate, but the idea here is
13203 that if a user's locale is ex. ja_JP, they are more likely than
13204 not to be in Japan, where access points will likely be in some
13207 2006-01-23 Dan Williams <dcbw@redhat.com>
13209 * libnm-util/cipher-private.h
13210 libnm-util/cipher.c
13211 libnm-util/cipher.h
13212 - (cipher_bin2hexstr, cipher_hexstr2bin): make public
13214 2006-01-23 Robert Love <rml@novell.com>
13216 Patch by Timo Hoenig <thoenig@suse.de>:
13217 * dhcp-manager/nm-dhcp-manager.c, nm-device.c, nm-ip4-config.c,
13218 nm-ip4-config.h, NetworkManagerSystem.h: Save the hostname reported
13219 by DHCP and pass it to the backends, allowing distribution-specific
13220 behavior with respect to the DHCP-supplied hostname (if nothing else,
13221 some distributions might not want to set the hostname).
13222 * backends/NetworkManagerSuSE.c: Set the hostname if the variable
13223 DHCLIENT_SET_HOSTNAME is set to "yes" in /etc/sysconfig/network/dhcp.
13224 Also update our NIS behavior.
13225 * backends/NetworkManagerDebian.c, backends/NetworkManagerGentoo.c,
13226 backends/NetworkManagerRedHat.c, backends/NetworkManagerSlackware.c:
13227 Add stub functions.
13229 2006-01-23 Robert Love <rml@novell.com>
13231 * Makefile.am, nm-applet.desktop: Add autostart .desktop file, now that
13232 gnome-session does autostart. TODO: We need to install this to
13233 $prefix/share/autostart/.
13235 2006-01-22 Dan Williams <dcbw@redhat.com>
13237 * src/NetworkManagerAP.[ch]
13239 src/nm-device-802-11-wireless.c
13240 - Make nm_ap_get_essid return "const char *"
13242 2006-01-22 Dan Williams <dcbw@redhat.com>
13244 * src/NetworkManagerAP.[ch]
13245 - (nm_ap_get_matched, nm_ap_set_matched): remove
13247 * src/NetworkManagerAPList.[ch]
13248 - (nm_ap_list_diff): removed
13249 - (nm_ap_list_merge_scanned_ap): move AP dbus signal logic here,
13250 deal with access points changing essids on us
13252 * src/nm-device-802-11-wireless.c
13253 - (add_new_ap_to_device_list): move AP dbus signal logic to
13254 src/NetworkManagerAPList.c
13255 - (real_can_interrupt_activation): new function; allow interruption
13256 of device activation if we are waiting for a network key
13258 * src/NetworkManagerPolicy.c
13259 - (nm_policy_device_change_check): allow interruption of currently
13260 activating devices if the device allows it. Previous behavior
13261 would refuse to activate a just-plugged wired device if a
13262 wireless device was waiting for a key.
13264 * src/nm-device.[ch]
13265 - (nm_device_can_interrupt_activation): new function; ask devices
13266 whether their activation can be interrupted
13268 2006-01-20 Robert Love <rml@novell.com>
13270 * Makefile.am, configure.in: Add new man subdirectory.
13271 * man, man/NetworkManager.1.in, man/NetworkManagerDispatcher.1.in,
13272 man/Makefile.am: Add man pages for NetworkManager and its
13273 crime-solving bumbling buddy, NetworkManagerDispatcher.
13274 * man/.cvsignore: Add.
13275 * initscript/Debian/NetworkManager,
13276 initscript/Gentoo/NetworkManager.in,
13277 initscript/RedHat/NetworkManager.in,
13278 initscript/RedHat/NetworkManagerDispatcher.in,
13279 initscript/SUSE/networkmanager-dispatcher.in,
13280 initscript/SUSE/networkmanager.in: Update for /usr/sbin not /usr/bin.
13282 2006-01-20 Robert Love <rml@novell.com>
13284 * src/NetworkManagerDbus.c: Fail if NM's DBUS service is already taken,
13285 instead of queuing. This prevents the running of multiple NM
13286 daemons concurrently, which does not work whatsoever and results in
13287 neither daemon working correctly. Also, we don't handle queuing and
13288 name-owner-changes, anyhow.
13290 2006-01-20 Robert Love <rml@novell.com>
13292 * src/Makefile.am: Install the NetworkManager daemon to sbin, not bin.
13293 * dispatcher/Makefile.am: Install the NetworkManagerDispatcher daemon
13296 2006-01-19 Robert Love <rml@novell.com>
13298 * configure.in: Require hal 0.5.0 or later.
13300 2006-01-18 Robert Love <rml@novell.com>
13302 * src/NetworkManager.c, src/NetworkManagerSystem.h, src/nm-device.c:
13303 Allow backends to flag a device (in whatever distro-dependent way
13304 they so desire) as disabled. NM will ignore any such device.
13305 * src/backends/NetworkManagerDebian.c,
13306 src/backends/NetworkManagerRedHat.c,
13307 src/backends/NetworkManagerSlackware.c: Add stub function
13308 nm_system_device_get_disabled() that always returns FALSE (enabled).
13309 * src/backends/NetworkManagerSuSE.c: Add system_disabled field to the
13310 SUSE-specific configuration structure. Fill it in from the
13311 NM_CONTROLLED variable in the system networking scripts. If this var
13312 exists and is "no", we ignore the device.
13314 2006-01-17 Robert Love <rml@novell.com>
13316 * configure.in: Remove 'no' language. Replaced by 'nb', which is
13317 identical for NM. For a full discussion, see the thread at
13318 http://mail.gnome.org/archives/gnome-i18n/2004-August/msg00006.html.
13320 2006-01-17 Dan Williams <dcbw@redhat.com>
13323 - (nm_device_class_init): connect a default act_stage4_ip_config_timeout
13324 function. Fixes crash when wired DHCP fails.
13326 2006-01-16 Robert Love <rml@novell.com>
13328 * src/Makefile.am: Don't install NMLoadModules
13329 * src/NMLoadModules, test/NMLoadModules: Move the NMLoadModules script
13330 from src/ to test/ as no one uses it anymore. Note that I would be
13331 fine with removing it altogether.
13333 2006-01-16 Robert Love <rml@novell.com>
13335 * gnome/applet/eggtrayicon.c, src/nm-device.c, src/nm-ap-security.c,
13336 gnome/applet/nm-gconf-wso-wep.c, gnome/applet/nm-gconf-wso-wpa-psk.c,
13337 gnome/applet/nm-gconf-wso.c, src/nm-device-802-3-ethernet.c,
13338 gnome/vpn-properties/nm-vpn-properties.c, src/nm-ap-security-wep.c,
13339 src/nm-ap-security-wpa-psk.c, src/nm-device-802-11-wireless.c,
13340 src/nm-netlink-monitor.c: Don't miss any initializers on structure
13341 declarations, ever.
13342 * gnome/applet/applet.c: Remove useless check (NMState is unsigned and
13343 NM_STATE_DISCONNECTED is zero).
13345 2006-01-16 Robert Love <rml@novell.com>
13347 * src/nm-device-802-11-wireless.c: argv[3], not argv[4]. Fix
13348 uninitialized parameter and buffer overflow. Novell #143496.
13350 2006-01-16 Dan Williams <dcbw@redhat.com>
13352 Apply the PtP Address bits of a patch from Tim Niemueller
13354 * src/nm-ip4-config.[ch]
13355 - Add ip4_ptp_address member to object
13356 - (nm_ip4_config_copy): copy ptp address too
13357 - (nm_ip4_config_get_ptp_address, nm_ip4_config_set_ptp_address):
13359 - (nm_ip4_config_to_rtnl_addr): use ptp address when asked to,
13360 rather than local tunnel ip address
13362 * src/vpn-manager/nm-vpn-service.c
13363 - (print_vpn_config): update for PtP address
13364 - (nm_vpn_service_stage4_ip_config_get): switch parsing to
13365 DBusMessageIters in preparation for getting routes from the VPN
13366 service daemons too
13368 * vpn-daemons/openvpn/src/nm-openvpn-service-openvpn-helper.c
13369 - (send_config_info): update for PtP address, clean up code
13370 - (main): update for PtP address, clean up code, fix typo
13372 * vpn-daemons/openvpn/src/nm-openvpn-service.c
13373 - (nm_openvpn_dbus_process_helper_ip4_config): update for PtP address
13375 * vpn-daemons/pptp/src/nm-pptp-service-pppd-plugin.c
13376 - (pptp_ip_up): update for PtP address
13378 * vpn-daemons/pptp/src/nm-pptp-service.c
13379 - (nm_pptp_dbus_process_helper_ip4_config): update for PtP address
13381 * vpn-daemons/vpnc/src/nm-vpnc-service.c
13382 - (print_vpn_config): update for PtP address
13383 - (nm_vpnc_dbus_process_helper_ip4_config): update for PtP address
13385 2006-01-16 Dan Williams <dcbw@redhat.com>
13387 * gnome/applet/applet.c
13388 - (nmwa_add_networks_helper): don't indicate an active network
13389 if NM is disconnected or asleep
13391 2006-01-16 Dan Williams <dcbw@redhat.com>
13393 * src/NetworkManagerPolicy.c
13394 - (nm_policy_device_change_check): switch devices if we lose the link
13395 on an ethernet device.
13397 2006-01-16 Dan Williams <dcbw@redhat.com>
13399 * gnome/applet/wso-wpa-psk-hex.[ch]
13400 - Renamed -> wso-wpa-psk.[ch]
13402 * gnome/applet/wso-wpa-psk.[ch]
13405 * gnome/applet/wso-wpa-psk-passphrase.[ch]
13406 - Removed, rolled into wso-wpa-psk.[ch]
13408 * gnome/applet/Makefile.am
13409 - Updated for above changes
13411 * gnome/applet/wireless-applet.glade
13412 - Consolidate WPA-PSK options into one notebook
13413 widget, and make dialogs invisible by default
13414 to fix screen oddities
13416 * gnome/applet/wireless-security-manager.c
13417 - (wsm_set_capabilities): create the new wpa-psk widget rather
13418 than both the old hex & passphrase ones
13420 2006-01-16 Dan Williams <dcbw@redhat.com>
13422 * gnome/applet/other-network-dialog.c
13423 - (nmwa_ond_init): Change text to refer to "name" rather than "ESSID"
13425 2006-01-16 Dan Williams <dcbw@redhat.com>
13427 * gnome/applet/applet.c
13428 - (nmwa_show_vpn_login_banner_dialog, nmwa_show_vpn_failure_dialog,
13429 nmwa_driver_notify, show_warning_dialog): fix up focus-stealing
13430 prevention to realize window before trying to get server
13433 * gnome/applet/other-network-dialog.c
13434 - (nmwa_other_network_dialog_run): fix up focus-stealing
13435 prevention to realize window before trying to get server
13438 * gnome/applet/passphrase-dialog.c
13439 - (nmi_passphrase_dialog_new): fix up focus-stealing
13440 prevention to realize window before trying to get server
13443 2006-01-16 Robert Love <rml@novell.com>
13445 Patch from Timo Hoenig <thoenig@suse.de:
13446 * libnm-util/cipher-wep-ascii.h, libnm-util/cipher-wep-hex.h,
13447 libnm-util/cipher-wep-passphrase.h, libnm-util/cipher-wpa-psk-hex.h,
13448 libnm-util/cipher-wpa-psk-passphrase.h, libnm-util/cipher.h,
13449 libnm-util/dbus-helpers.h: add checks whether headers are used
13450 within a C++ build.
13452 2006-01-16 Dan Williams <dcbw@redhat.com>
13454 * gnome/applet/wireless-security-option.c
13455 - (wso_wpa_create_key_type_model): clarify AES-CCMP algorithm name
13457 2006-01-16 Dan Williams <dcbw@redhat.com>
13459 * libnm-util/cipher-wpa-psk-passphrase.c
13460 - (cipher_wpa_psk_passphrase_new): correct passphrase length, should
13461 be 8 - 63 characters inclusive
13463 2006-01-16 Dan Williams <dcbw@redhat.com>
13466 - (nm_dbus_nm_sleep): bring device down after quick deactivation
13468 2006-01-13 Robert Love <rml@novell.com>
13470 Patch by T Sureshkumar <tsureshkuman@novell.com>:
13471 * src/NetworkManagerSystem.c: Don't assert iface != NULL, allowing VPN
13472 modules that do not use an interface.
13474 2006-01-13 Dan Williams <dcbw@redhat.com>
13478 - Allow subclasses to implement deactivate_quickly()
13479 - (nm_device_deactivate_quickly): call subclass
13480 deactivate_quickly() methods
13481 - (nm_device_set_active_link): small cleanups, and don't
13482 deactivate the device right away because we risk a deadlock
13483 when called from device thread, waiting for the device
13484 thread to cancel activation
13486 * src/nm-device-802-11-wireless.c
13487 - (real_deactivate_quickly): new function
13488 - (nm_device_802_11_wireless_class_init): hook in real_deactivate_quickly
13489 - (real_deactivate): move supplicant cleanup to real_deactivate_quickly
13490 so that we kill the supplicant when we sleep too
13491 - (supplicant_interface_init): work around naive naming attempts of
13492 wpa_ctrl when naming sockets
13494 2006-01-13 Dan Williams <dcbw@redhat.com>
13496 * src/nm-device-802-11-wireless.c
13497 - (supplicant_cleanup): delete old device control sockets too
13498 - (supplicant_get_device_socket_path): new function to consolidate
13499 locations that need a path to a device's control socket
13501 2006-01-12 Robert Love <rml@novell.com>
13503 * src/backends/NetworkManagerSuSE.c: Put the ppp device in the
13504 description so that the description is unique for each
13505 pair (device,provider). Fixes Novell #142773.
13507 2006-01-12 Dan Williams <dcbw@redhat.com>
13509 * src/nm-device-802-11-wireless.c
13510 - (supplicant_exec): ensure GError is correctly initialized
13511 Reported by Diego González (gnome.org #326708)
13513 2006-01-11 Robert Love <rml@novell.com>
13515 * src/nm-device-802-3-ethernet.c: In case local copies of glibc do not
13516 define if_mii(), open code the same results, and do so without any
13519 2006-01-11 Robert Love <rml@novell.com>
13521 * gnome/applet/wireless-security-manager.c: Fix crash by not asserting
13522 that wso_foo_new() returned non-NULL. Instead, only append the new
13523 wso to wsm->options if the wso is non-NULL. The crux is that we
13524 assume that the relevant key types are implied by WEP and WPA as
13525 appropriate. To be sure, they should be, but we should not expect
13526 drivers to not be oozing piles of wolf fecal matter.
13528 2006-01-11 Robert Love <rml@novell.com>
13530 * configure.in: Add the gcc flags '-Wshadow' and '-Wfloat-equal'.
13531 * gnome/applet/applet.c, gnome/vpn-properties/nm-vpn-properties.c,
13532 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
13533 src/NetworkManagerPolicy.c, src/NetworkManagerSystem.c,
13534 src/nm-dbus-device.c, src/nm-device-802-3-ethernet.c,
13535 src/nm-ip4-config.c, src/vpn-manager/nm-vpn-manager.c,
13536 test/nmtestdevices.c: Fix shadowed variable usage as appropriate.
13537 * src/nm-device-802-11-wireless.c: Fix floating point comparison by
13538 comparing values within DBL_EPSILON. Also fix shadowed variable
13541 2006-01-11 Dan Williams <dcbw@redhat.com>
13543 Add options for WPA2 and WPA1+CCMP (AES).
13545 * gnome/applet/wireless-applet.glade
13546 - Add UI bits for WPA+CCMP
13548 * gnome/applet/other-network-dialog.c
13549 - (nmwa_ond_init): pass capabilities into the WirelessSecurityManager,
13550 and don't allow creation of WPA2 Ad-Hoc networks since
13551 wpa_supplicant doesn't support them
13553 * gnome/applet/wireless-security-manager.c
13554 - (wsm_set_capabilities): Add WPA2 options, and pass capability
13555 on to the specific wireless security option being created
13557 * gnome/applet/wireless-security-option.[ch]
13558 - (wso_wpa_create_key_type_model): new utility function to create
13559 the model required for WPA Key Type combo box
13561 * gnome/applet/wso-private.h
13562 gnome/applet/wireless-security-option.h
13563 - Move private function prototypes into wso-private.h
13565 * gnome/applet/wso-wpa-psk-hex.[ch]
13566 gnome/applet/wso-wpa-psk-passphrase.[ch]
13567 - (append_dbus_params_func): get WPA version from checkbox and pass
13568 it to the dbus serialization helper
13569 - (key_type_combo_changed_cb): Set the cipher's WE Cipher when the
13570 key type combo changes
13571 - (wso_wpa_psk_hex_new): set up the key type combo with the correct
13574 * libnm-util/cipher-wpa-psk-hex.c
13575 libnm-util/cipher-wpa-psk-passphrase.c
13576 - (cipher_wpa_psk_hex_set_we_cipher, cipher_wpa_psk_passphrase_set_we_cipher):
13577 new function; allow the cipher to be changed after object creation
13579 * src/nm-ap-security-wpa-psk.c
13580 - (set_description): Do WPA2 descriptions too
13582 * src/nm-ap-security.c
13583 - (nm_ap_security_new_from_ap): allow CCMP with WPA1 too
13585 2006-01-11 Robert Love <rml@novell.com>
13587 * src/nm-device-802-3-ethernet.c: Use the if_mii() inline function that
13588 is defined in <linux/mii.h> to return the mii_ioctl_data structure
13589 from the ifreq structure in lieu of an open coded solution. Removes
13590 a life-threatening type-punning.
13591 * configure.in: Remove '-Wno-strict-aliasing' as we no longer pun any
13592 types, ever, whatsoever, baby.
13594 2006-01-11 Robert Love <rml@novell.com>
13596 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.c,
13597 gnome/applet/applet.c, gnome/applet/applet.h: Consolidating
13598 assignments to applet->nm_state into a new nmwa_set_state() function
13599 for both cleanliness and to help debugging.
13601 2006-01-10 Robert Love <rml@novell.com>
13603 * src/autoip.c: Fix FIXME. In performing the link-local zeroconf IP
13604 assignment dance, we want to sleep between PROBE_MIN and PROBE_MAX
13605 seconds, exclusive. That is, we want to sleep x seconds such that
13608 2006-01-10 Robert Love <rml@novell.com>
13610 * gnome/applet/applet-dbus-info.c: Remove FIXME, we do not have to free
13611 the attr fields according to the example in the email available at
13612 mail.gnome.org/archives/desktop-devel-list/2004-May/msg00230.html.
13613 Conversely, we do have to free 'name', so we do so, fixing a leak.
13615 2006-01-10 Robert Love <rml@novell.com>
13617 * src/nm-device-802-11-wireless.c, src/nm-device-802-3-ethernet.c: Make
13618 sure that we close the socket!
13620 2006-01-10 Robert Love <rml@novell.com>
13622 * src/nm-device-802-11-wireless.c, src/nm-device-802-11-wireless.h,
13623 src/nm-device-802-3-ethernet.c, src/nm-device-802-3-ethernet.h,
13624 src/nm-device.c: Fix a FIXME! Reimplement the function
13625 nm_device_update_hw_address() in device subclass variants,
13626 nm_device_802_3_ethernet_set_address() and
13627 nm_device_802_11_wireless_set_address(), hook them up, and use them.
13628 This fixes the existing bug where MAC addresses are all zeros.
13630 2006-01-10 Robert Love <rml@novell.com>
13632 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet-dbus.h,
13633 gnome/applet/applet.c, gnome/applet/applet.h: Add 'Enable Networking'
13634 option to give users ability to globally disconnect and put NM to
13635 sleep. This is useful as a 'lockdown mode' for flying, security, and
13638 2006-01-09 Robert Love <rml@novell.com>
13640 * src/nm-device-802-3-ethernet.h: The kernel headers <linux/mii.h> and
13641 <linux/ethtool.h> leak the kernel-only types u16, u32, et al.
13642 User-space does not supply these types, so we have to define them
13643 ourselves. The relevant kernel maintainer refused to accept a patch
13644 switching these headers to the proper C99 types.
13646 2006-01-09 Dan Williams <dcbw@redhat.com>
13648 Apply Robert's 'tray icon redo' patch with fixes
13649 * gnome/applet/applet.c
13650 gnome/applet/applet.h
13651 - Instead of using a menu bar + menu item, simulate menu
13652 behavior using a popup menu. Highlight the area around
13653 the icon more like a menu too, by playing with the
13654 applet's size requisition
13656 2006-01-09 Timo Hoenig <thoenig@suse.de>
13657 * libnm-util/dbus-helpers.c
13658 libnm-util/dbus-helpers.h
13659 - (nmu_create_dbus_error_message): rename parameter 'namespace'
13660 to 'exception_namespace' (:namespace is a keyword in
13663 2006-01-09 Dan Williams <dcbw@redhat.com>
13665 * src/NetworkManagerPolicy.c
13666 - (nm_policy_device_change_check): don't autoswitch away from
13667 Ad-Hoc networks, since there's really no concept of
13671 - (nm_dbus_nm_create_wireless_network): mark created networks
13674 * src/nm-device-802-11-wireless.c
13675 - (real_activation_success_handler): add user-created Ad-Hoc
13676 networks to the device's scan list
13678 2006-01-08 Dan Williams <dcbw@redhat.com>
13680 We now require a patch for wpa_supplicant to support Ad-Hoc
13682 http://people.redhat.com/dcbw/wpa_supplicant-ctrl-iface-ap-scan.patch
13684 * src/nm-device-802-11-wireless.c
13685 - (supplicant_send_network_config): turn off wpa_supplicant's
13686 scanning. Fixes Ad-Hoc networks.
13688 2006-01-08 Dan Williams <dcbw@redhat.com>
13690 * src/nm-ap-security.c
13691 src/nm-ap-security.h
13692 - Add a user_created argument to the write_supplicant_config
13695 * src/nm-ap-security-wep.c
13696 src/nm-ap-security-wpa-psk.c
13697 src/nm-device-802-11-wireless.c
13698 - Make Ad-Hoc mode somewhat work, at least write the
13699 correct options to wpa_supplicant
13701 2006-01-08 Dan Williams <dcbw@redhat.com>
13703 * src/nm-device-802-11-wireless.c
13704 - Remove unused code from the old device activation path
13706 2006-01-08 Dan Williams <dcbw@redhat.com>
13708 * libnm-util/dbus-helpers.c
13709 - (nmu_security_serialize_wpa_psk): pass a blank key through
13710 dbus when key == NULL
13712 2006-01-08 Dan Williams <dcbw@redhat.com>
13714 * gnome/applet/nm-gconf-wso-wpa-psk.c
13715 - (nm_gconf_wso_wpa_psk_new_deserialize_dbus): feed
13716 correct arguments to nmu_security_deserialize_wpa_psk()
13718 * src/nm-ap-security-wpa-psk.c
13719 - (nm_ap_security_wpa_psk_new_deserialize): feed correct
13720 arguments to nmu_security_deserialize_wpa_psk()
13722 2006-01-08 Dan Williams <dcbw@redhat.com>
13724 * gnome/applet/wso-wpa-psk-hex.c
13725 gnome/applet/wso-wpa-psk-passphrase.c
13726 - Hook up the append_dbus_params_func() function
13728 2006-01-08 Dan Williams <dcbw@redhat.com>
13730 * src/nm-device-802-11-wireless.c
13731 - (get_wireless_capabilities): correctly detect driver WPA
13734 2006-01-08 Dan Williams <dcbw@redhat.com>
13736 * gnome/applet/Makefile.am
13737 gnome/applet/wso-wpa-psk-hex.c
13738 gnome/applet/wso-wpa-psk-hex.h
13739 - New files, implement WPA-PSK Hex key input
13741 * gnome/applet/wireless-applet.glade
13742 - Change existing wpa-psk stuff to wpa-psk-hex
13743 - Add new widgets for wpa-psk-passphrase
13745 * gnome/applet/wireless-security-manager.c
13746 - (wsm_set_capabilities): enable WPA options
13748 * gnome/applet/wso-wpa-psk-passphrase.c
13749 - (wso_wpa_psk_passphrase_new): use correct glade widgets
13750 for WPA-PSK passphrase
13752 2006-01-08 Dan Williams <dcbw@redhat.com>
13754 * include/NetworkManager.h
13755 - Add NMI_DBUS_USER_KEY_CANCELED_ERROR as a constant for
13756 applet/info-daemons
13758 * gnome/applet/passphrase-dialog.c
13759 - Use the constant. Fixes a bug where the arguments to
13760 dbus_message_new_error() were incorrect
13762 * src/nm-dbus-nmi.c
13765 2006-01-07 Dan Williams <dcbw@redhat.com>
13767 * src/nm-device-802-11-wireless.c
13768 - Add a link timeout so we allow the supplicant time to
13769 reassociate if it can, before we deactivate the card
13770 - Fix up link status and link updating so things work better
13772 2006-01-07 Dan Williams <dcbw@redhat.com>
13774 * src/nm-device-802-11-wireless.c
13775 - Switch over to using wpa_supplicant
13776 - Add a timeout of 10s for association of the supplicant
13777 - Start the monitor callback of the supplicant
13779 2006-01-07 Dan Williams <dcbw@redhat.com>
13781 * src/NetworkManagerUtils.c
13782 - (nm_utils_supplicant_request,
13783 nm_utils_supplicant_request_with_check):
13784 pass correct buffer length to wpa_ctrl_request()
13786 2006-01-07 Dan Williams <dcbw@redhat.com>
13788 * src/nm-device-private.h
13790 - (nm_device_activate_schedule_stage3_ip_config_start): make
13791 this function available to subclasses
13793 2006-01-06 Robert Love <rml@novell.com>
13795 * src/NetworkManagerPolicy.c: Always prefer wired to wireless, as the
13796 user plugging in a network cable signals their preference for to
13797 switch, unless the user explicitly selected a wireless network and
13798 therefore signaled their preference for said wireless network over
13799 wired. In other words, do exactly what makes sense.
13801 2006-01-06 Robert Love <rml@novell.com>
13803 * src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
13804 src/NetworkManagerDevicePrivate.h, src/NetworkManagerWireless.c,
13805 src/NetworkManagerWireless.h: Remove, no longer used and they keep
13806 showing up in my greps.
13808 2006-01-06 Robert Love <rml@novell.com>
13810 * gnome/applet/applet-dbus-devices.c,
13811 gnome/applet/other-network-dialog.c, gnome/applet/wso-none.c,
13812 libnm-util/dbus-helpers.c, libnm-util/dbus-helpers.h,
13813 src/nm-dbus-nm.c: Fix several issues. 'Connect to Other' and 'Create
13814 New Network' both failed in the non-encrypted case because we were
13815 not appending the security options to the DBUS message. And
13816 'Connect to Other' was also failing in the encrypted case because
13817 we were not incrementing to the next DBUS parameter. All fixed.
13818 Thanks to dcdw for some debugging help.
13820 2006-01-06 Robert Love <rml@novell.com>
13822 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
13823 gnome/applet/applet-dbus-devices.h, src/nm-dbus-nm.c: Remove global
13824 hangup code and add per-device hangup. Tie last commit into the
13825 GNOME applet. TODO: Save, understand, and respond to the state of
13826 each dialup device.
13828 2006-01-06 Robert Love <rml@novell.com>
13830 Patch by Timo Hoenig <thoenig@suse.de>:
13831 * src/NetworkManagerSystem.h, src/nm-dbus-nm.c: Add interfaces to
13832 hangup specific dialup devices.
13833 * src/backends/NetworkManagerDebian.c,
13834 src/backends/NetworkManagerGentoo.c,
13835 src/backends/NetworkManagerRedHat.c,
13836 src/backends/NetworkManagerSlackware.c: Add stub backend.
13837 * src/backends/NetworkManagerRedHat.c,
13838 src/backends/NetworkManagerSuSE.c: Add specific backend interface to
13839 hangup specific dialup devices.
13841 2006-01-04 Robert Love <rml@novell.com>
13843 * gnome/applet/applet-dbus-devices.c,
13844 gnome/applet/applet-dbus-devices.h, gnome/applet/applet.c,
13845 src/nm-dbus-nm.c: Expose a menu item for hanging up active dialup
13848 2006-01-04 Dan Williams <dcbw@redhat.com>
13850 First dump of wpa_supplicant-related code. It's not hooked up to
13851 anything yet though. Thanks to Kay Sievers for
13852 wpa_supplicant_wrapper.c, which formed the basis for this work,
13853 and to Jouni Malinen for writing wpa_ctrl.c and wpa_ctrl.h.
13857 - Add wpa_ctrl stuff from wpa_supplicant so we can talk to it
13859 * src/NetworkManagerUtils.[ch]
13860 - (nm_utils_supplicant_request, nm_utils_supplicant_request_with_check):
13861 Add convenience functions for talking to wpa_supplicant
13863 * src/nm-ap-security.[ch]
13864 src/nm-ap-security-wep.c
13865 src/nm-ap-security-wpa-psk.[ch]
13866 - Update and implement real_write_supplicant_config functions
13867 in all security types
13868 - (nm_ap_security_wpa_psk_new_from_ap): implement in
13869 nm-ap-security-wpa-psk.c
13871 * src/nm-device-802-11-wireless.c
13872 - (supplicant_cleanup, supplicant_watch_cb, supplicant_monitor_status_cb,
13873 wpa_supplicant_start, wpa_supplicant_interface_init,
13874 wpa_supplicant_send_network_config): add functions to talk to
13875 wpa_supplicant and write network config to it
13877 2006-01-04 Robert Love <rml@novell.com>
13879 * src/NetworkManagerDialup.h: add 'type' field and NM_DIALUP_TYPE
13880 values so that distribution-backends can differentiate between the
13881 various types (modem, ISDN, et cetera) of dialup device that they
13883 * src/backends/NetworkManagerSuSE.c: perform isdnctrl on interface, as
13886 2006-01-03 Dan Williams <dcbw@redhat.com>
13888 * src/NetworkManagerPolicy.c
13890 src/nm-device-802-11-wireless.c
13891 - Move wireless-specific activation failure and success code
13892 into wireless device class
13894 2006-01-03 Robert Love <rml@novell.com>
13896 Patch by Preggna S:
13897 * src/NetworkManagerSystem.c, src/vpn-manager/nm-vpn-connection.c:
13898 IPsec does not require that a VPN client be bound to an interface,
13899 due to the use of the in-kernel IPSec bits. So make the tunnel
13902 2006-01-03 Dan Williams <dcbw@redhat.com>
13904 * src/NetworkManagerAP.c
13905 - (nm_ap_add_capabilities_from_ie): presume no WEP unless
13906 the WPA IE specifies that WEP is supported
13908 * src/nm-device-802-11-wireless.c
13909 - (process_scan_results): don't mark an AP as supporting WEP
13910 if there's already other encryption capability info
13912 2006-01-03 Dan Williams <dcbw@redhat.com>
13914 * src/dhcp-manager/nm-dhcp-manager.c
13915 - Recognize activation cancellation when waiting for DHCP
13916 configuration from dhcdbd
13917 - Ignore non-dhcdbd messages
13920 - (real_act_stage3_ip_config_start): return to correct behavior
13921 of letting the dhcp-manager notify us of failure or
13922 success rather than incorrectly doing that ourselves
13923 - (nm_device_activate_stage4_ip_config_get): deal with
13924 activation cancellation a bit earlier
13926 2006-01-03 Dan Williams <dcbw@redhat.com>
13928 * src/nm-device-802-11-wireless.c
13930 - Add hooks to subclasses for stage3_ip_config_start and
13931 stage4_ip_config_timeout
13933 * src/nm-device-802-3-ethernet.c
13934 - (real_get_generic_capabilities): make devices NM-supported
13937 2006-01-03 Robert Love <rml@novell.com>
13939 * src/backends/NetworkManagerSuSE.c: update to newer API (no more
13940 nm_device_get_hw_address); use inet_aton in lieu of inet_addr as the
13941 latter cannot differentiate between error and the address -1; misc.
13944 2006-01-03 Dan Williams <dcbw@redhat.com>
13946 * src/NetworkManager.c
13947 - Move link-checking/probing into the device subclasses
13950 * src/nm-device.[ch]
13951 src/nm-device-802-11-wireless.c
13952 src/nm-device-802-3-ethernet.c
13953 - Do periodic link checking in device subclasses rather
13954 than being triggered from NetworkManager.c
13955 - discover_wireless_capabilities -> get_wireless_capabilities
13956 - discover_generic_capabilities -> get_generic_capabilities
13957 - Device subclass activation routines now return a value of type
13958 NMActStageReturn to indicate what step to perform next
13959 - Devices now override stage4_get_ip4_config if they choose
13961 2006-01-01 Dan Williams <dcbw@redhat.com>
13963 * src/nm-device-802-11-wireless.c
13964 - (real_init): don't chain up to parent init because we don't
13965 need to do that anymore
13968 - (discover_device_type): fix arguments to ioctl() to correctly
13969 pass interface name
13970 - (nm_device_new): consolidate generic device initialization into
13972 - (real_init): remove, consolidated to nm_device_new()
13973 - (nm_device_deactivate, real_deactivate): consolidate
13975 2006-01-01 Dan Williams <dcbw@redhat.com>
13977 * src/nm-activation-request.c
13978 - Change dhcp_state member of the NMActRequest structure
13979 from guint8 to guint32
13981 * src/dhcp-manager/nm-dhcp-manager.[ch]
13982 - (nm_dhcp_manager_get_state_for_device): return guint32 rather
13983 than guint8 to match the dbus argument. Turns out we were
13984 overwriting memory since we were passing in only a guint8
13986 2005-12-31 Dan Williams <dcbw@redhat.com>
13988 * refactor NMDevice into a GObject-based framework with separate
13989 objects for wired and wireless. The following files are no
13990 longer used but should stick around for a bit so we don't
13991 loose code through the cracks:
13992 NetworkManagerDevice.c
13993 NetworkManagerDevice.h
13994 NetworkManagerWireless.c
13995 NetworkManagerWireless.h
13997 The intent here is to allow each device type to manage its own
13998 connection & activation life-cycle, ie to allow wireless devices
13999 to interface with wpa_supplicant, etc. There's a fair bit of
14000 encapsulation breakage right now that should gradually get pulled
14001 back into each device, along with things like periodic property
14002 updates and link probing.
14004 2005-12-29 Dan Williams <dcbw@redhat.com>
14006 * include/NetworkManager.h
14007 - Add NM_802_11_CAP_PROTO_NONE since we need to recognize
14008 between networks that don't have any encryption at all
14010 2005-12-29 Dan Williams <dcbw@redhat.com>
14012 * test/test-common.c
14015 - Move to a test-common subdirectory
14017 * test/libnm-util/test-ciphers.c
14018 - Move test data to test-inputs.h
14019 - Test WPA ciphers too
14021 * test/libnm-util/test-dbus-helpers.c
14022 - Test serialization/deserialization of ciphers
14024 2005-12-29 Dan Williams <dcbw@redhat.com>
14026 * gnome/applet/applet-dbus-devices.c
14027 - Replace 'enc' parameter with 'capabilities' for wireless networks
14028 in dbus calls to NM
14029 - Set capabilities on WirelessNetwork objects
14030 - Receive and save type-specific device capabilities too
14032 * gnome/applet/applet-dbus-info.c
14033 gnome/applet/applet-dbus.c
14034 - Passphrase dialog no longer a singleton; new instance gets created
14035 on each request. Updates to deal with that.
14037 * gnome/applet/applet.c
14038 - (nmwa_has_encrypted_networks_helper): use AP capabilities rather
14039 than single 'encrypted' flag
14040 - (nmwa_menu_add_vpn_menu): if NM isn't connected, disable any VPN
14042 - Passphrase dialog updates per above
14044 * gnome/applet/menu-items.c
14045 - (network_menu_item_update): use AP capabilities to determine
14048 * gnome/applet/nm-device.[ch]
14049 - Add accessors for type-specific device capabilities
14051 * gnome/applet/other-network-dialog.c
14052 - Rework to respect device capabilities. i.e., if the device doesn't
14053 support WPA, remove that option from the security dropdown
14055 * gnome/applet/passphrase-dialog.c
14056 - Massive rework so that a new instance is created each time
14057 it's used, to support wireless network capabilities
14059 * gnome/applet/wireless-network.[ch]
14060 - Add accessors and members for wireless network capabilities
14062 * gnome/applet/wireless-security-manager.[ch]
14063 - (wsm_set_capabilities): called after creation to set which
14064 security options get shown to the user
14066 2005-12-29 Dan Williams <dcbw@redhat.com>
14068 * libnm-util/cipher-wpa-psk-passphrase.c
14069 - (cipher_wpa_psk_passphrase_hash_func): return key as hex string
14072 2005-12-23 Dan Williams <dcbw@redhat.com>
14074 * gnome/applet/applet-dbus-info.c
14075 - (nmi_dbus_get_key_for_network): if there's no entry in
14076 GConf for a network, assume we want a new key
14077 - (nmi_save_network_info): serialize wireless security info
14078 into GConf so its saved
14081 - Fix warning as we may not be passed security info when
14082 connecting to a wireless network
14084 2005-12-23 Dan Williams <dcbw@redhat.com>
14086 * gnome/applet/applet-compat.c
14087 - Fix bugs in GConf entry conversion
14089 * gnome/applet/applet-dbus-info.c
14090 - (nmi_dbus_get_network_properties): handle case of the BSSID
14091 list being zero-length
14093 * libnm-util/cipher-*
14094 libnm-util/dbus-helpers.c
14095 - All ciphers must now return hashed keys as UTF-8 valid
14096 hexadecimal strings, ie "8f3dae4023". They are pushed
14097 through dbus as strings too.
14098 - Consolidate various functions that do bin->hex and hex->bin
14099 conversion into cipher.c
14101 * src/nm-ap-security-wep.c
14102 src/nm-ap-security-wpa-psk.c
14103 - Handle NULL keys since we may not know keys right away
14105 * src/nm-dbus-nmi.c
14106 - (nm_dbus_get_network_data_cb): actually advance to the start
14107 of the wireless security info before we try to deserialize it
14109 * libnm-util/test-ciphers.c
14110 - Update cipher tests for the change to UTF-8 hexadecimal strings
14112 2005-12-22 Dan Williams <dcbw@redhat.com>
14114 * gnome/applet/applet-compat.[ch]
14115 - Convert old-format GConf and keyring entries
14116 when the applet starts up.
14118 * gnome/applet/applet.c
14119 - (nmwa_get_instance): Call the conversion function
14120 on startup before dbus is initialized
14122 2005-12-22 Dan Williams <dcbw@redhat.com>
14124 * gnome/applet/applet-dbus-info.c
14125 - Remove nmi_dbus_create_error_message() in favor of
14126 nmu_create_dbus_error_message()
14127 - (nmi_dbus_get_network_properties): Error message cleanups
14128 - (nmi_dbus_get_network_properties): BSSIDs are now in the 'bssids'
14129 gconf key rather than 'addresses', since they really are BSSIDs
14130 - (nmi_dbus_get_network_properties): Dispose of the security
14131 object when we're done with it
14133 2005-12-21 Dan Williams <dcbw@redhat.com>
14135 * Consolidate the info-daemon's "updateNetworkInfo" and
14136 "addNetworkAddress" calls into just "updateNetworkInfo"
14138 2005-12-21 Dan Williams <dcbw@redhat.com>
14140 * Make connection after key retrieval work again
14142 2005-12-21 Dan Williams <dcbw@redhat.com>
14144 * gnome/applet/nm-gconf-wso*
14145 - Make the serialize functions return gboolean
14148 * gnome/applet/nm-gconf-wso.c
14149 - (nm_gconf_wso_dispose, nm_gconf_wso_finalize): fix up
14150 parent class handling so we don't segfault
14152 * src/NetworkManagerAP.[ch]
14153 - (nm_ap_get_capabilities): new function, return capabilities
14154 now that something can use them
14155 - (nm_ap_set_encrypted): assume that an access point supports
14156 both WEP104 and WEP40 if its set encrypted. FIXME: can
14157 we even tell whether it just supports WEP40?
14159 * src/NetworkManagerDevice.c
14160 - (ap_need_key): resurrect and update for the New World Order
14161 - (nm_device_wireless_get_activation_ap): if we're not given
14162 security info to use, create some based on access point
14165 * src/nm-ap-security-wep.c
14166 - (nm_ap_security_wep_new_from_ap): create a new object
14167 based on a certain access point's capabilities
14169 * src/nm-ap-security.c
14170 - (nm_ap_security_new_from_ap): delegate creation of a new
14171 object based on access point capabilities to a subclass
14172 - (nm_ap_security_copy_properties): don't segfault if we
14173 don't have a key yet
14176 - (nm_dbus_nm_set_active_device): provide more informative
14177 output when errors occur. Also construct security info
14178 for a given access point if we weren't given any
14180 2005-12-21 Žygimantas Beručka <zygis@gnome.org>
14182 * configure.in: Added Lithuanian to ALL_LINGUAS.
14184 2005-12-21 Dan Williams <dcbw@redhat.com>
14187 - Add some testcases for WEP ciphers
14189 2005-12-17 Dan Williams <dcbw@redhat.com>
14193 2005-12-17 Dan Williams <dcbw@redhat.com>
14195 * include/NetworkManager.h
14196 - Finally kill NMEncKeyType
14198 * gnome/applet/applet-dbus-info.c
14199 - (nmi_save_network_info): convert to NMGConfWSO
14201 * gnome/applet/nm-gconf-wso-*.c
14202 - Implement gconf serialization functions
14204 * src/NetworkManagerPolicy.c
14205 - (nm_policy_activation_finish): fix up meaning of
14206 automatic/user_requested
14208 2005-12-17 Dan Williams <dcbw@redhat.com>
14211 - More applet cleanups
14212 - Use the dbus-method-dispatcher
14214 * libnm-util/dbus-method-dispatcher.[ch]
14215 - Generalize the implementation from NM in
14216 NetworkManagerUtils.c
14218 2005-12-16 Dan Williams <dcbw@redhat.com>
14221 - Fix up the passphrase dialog to use all the
14222 WirelessSecurityOption stuff (untested)
14224 2005-12-16 Dan Williams <dcbw@redhat.com>
14226 * Move nm_gconf_get_*_helper() functions to separate files,
14227 gconf-helpers.c & gconf-helpers.h
14229 * New NMGConfWSO objects for managing the gconf side of things.
14230 Eventually these should be merged with the
14231 WirelessSecurityOption objects and a common base (that can
14232 serialize/deserialize from dbus & gconf) should be
14233 refactored out, but for now they are separate.
14235 2005-12-16 Robert Love <rml@novell.com>
14237 * src/backends/NetworkManagerSuSE.c: Do not invoke ypbind or autofs
14238 binaries unless they exist (nm_spawn_process() emits a warning if
14239 asked to spawn a non-existant process).
14241 2005-12-16 Dan Williams <dcbw@redhat.com>
14243 * gnome/applet/applet-dbus-info.c
14244 - Clean up lots of gconf-related code
14246 2005-12-16 Robert Love <rml@novell.com>
14248 * Makefile.am: Build fix: Reorder 'SUBDIRS' so our deps are right.
14250 2005-12-16 Dan Williams <dcbw@redhat.com>
14252 * nm_device_set_enc_key -> nm_device_set_wep_enc_key
14254 * Fix up NM -> NMI get-user-key dbus calls in NM (applet
14255 bits still to be done)
14257 2005-12-16 Dan Williams <dcbw@redhat.com>
14259 * Finally move info-daemon related stuff out of
14260 NetworkManagerDbus.c to nm-dbus-nmi.c
14262 2005-12-16 Dan Williams <dcbw@redhat.com>
14264 * Kill auth_method for access points, since that's now done
14265 by NMAPSecurity objects
14267 * Add a copy-constructor of sorts to NMAPSecurity
14268 (how do you do this properly in glib???)
14270 2005-12-15 Dan Williams <dcbw@redhat.com>
14272 * Exorcise encryption key hashing on APs
14273 * Use libnm-util's serialization/deserialization in both the
14275 * Random other stuff
14277 2005-12-15 Robert Love <rml@novell.com>
14279 * gnome/applet/menu-items.c: A new icon, "network-wireless-encrypted"
14280 is being added to the icon naming spec, so let's use that (Tango CVS
14281 has the icon). Because it is new, however, we fall back to the
14282 current "gnome-lockscreen" if the new icon is not around, thus
14283 behavior is the same.
14284 * gnome/applet/applet.c: Remove setup_stock(). We do not need the
14287 2005-12-15 Robert Love <rml@novell.com>
14289 * src/gnome/applet.c: Don't show the 'Help' menu item until we have,
14290 well, help to give. Couple other misc. bits.
14292 2005-12-15 Dan Williams <dcbw@redhat.com>
14294 * libnm-util/dbus-helpers.[ch]
14295 - Make this the one-stop-shop for serializing/deserializing
14296 AP & connection security settings over dbus. Both NM
14297 and applets should use this to ensure consistent dbus
14298 API going forwared.
14300 2005-12-15 Robert Love <rml@novell.com>
14302 Patch by Timo Hoenig <thoenig@suse.de>:
14303 * src/NetworkManagerDbus.c
14304 - (nm_dbus_signal_filter) return DBUS_HANDLER_RESULT_HANDLED
14305 if HAL jumps off the system bus. Otherwise libdbus
14306 (dbus_connection_dispatch) will try to run the filter
14307 function of our libhal context which is already freed.
14309 2005-12-15 Alexander Shopov <ash@contact.bg>
14311 * configure.in: Added "bg" (Bulgarian) to ALL_LINGUAS
14313 2005-12-14 Dan Williams <dcbw@redhat.com>
14315 * include/NetworkManager.h
14316 src/NetworkManagerWireless.c
14317 - Rearrange 802.11 wireless-specific capabilities again
14320 - Forgot to add wpa.c/wpa.h to the makefiles
14322 * src/NetworkManagerAP.[ch]
14323 - Implement access point capabilities and parse the
14324 WPA/RSN IEs into the capability bitfield
14325 - Switch the "encrypted" attribute to utilize the bitfield
14326 and capabilities rather than being independent
14328 * src/NetworkManagerDevice.c
14329 - (nm_device_wireless_get_activation_ap): break it horribly
14330 until we can push NMAPSecurity objects into access point
14331 objects and through the activation chain
14332 - Stuff WPA & RSN IEs into AP capabilities
14335 - Take a shot at actually making setActiveDevice work
14338 - Make the API a bit saner
14340 2005-12-14 Dan Williams <dcbw@redhat.com>
14342 * include/NetworkManager.h
14343 - Add 802.11-specific capability for 802.1x key
14347 - Pull in WPA IE and RSN IE parsing code from
14348 wpa_supplicant so we can determine access point
14350 - Move WPA-related constants here from NetworkManagerAP.h
14351 and NetworkManagerDevice.c
14353 * src/NetworkManagerDevice.c
14354 src/NetworkManagerAP.[ch]
14355 - Use WPA-related constants from wpa.h
14357 2005-12-14 Dan Williams <dcbw@redhat.com>
14359 * include/NetworkManager.h
14360 - Update and split 802.11 wireless-specific capabilities from
14361 generic device capabilities
14363 * src/NetworkManagerDevice.c
14364 src/NetworkManagerDevicePrivate.h
14365 - (nm_device_wireless_discover_capabilities): Move 802.11
14366 wireless-specific capability checks to
14367 NetworkManagerWireless.c
14368 - Rename NMDeviceWirelessOptions -> NMDevice80211WirelessOptions
14369 - Rename NMDeviceWiredOptions -> NMDevice80211EthernetOptions
14371 * src/NetworkManagerWireless.[ch]
14372 - (nm_802_11_wireless_discover_capabilities): Check extended
14373 802.11 wireless-specific capabilities of the driver
14375 2005-12-14 Robert Love <rml@novell.com>
14377 Patch from Stefan Scheler <sscheler@suse.de>:
14378 * src/NetworkManagerDevice.c: call backend code to activate and
14380 * src/NetworkManagerSystem.h: add new NIS interfaces.
14381 * src/backends/NetworkManagerDebian.c,
14382 src/backends/NetworkManagerGentoo.c,
14383 src/backends/NetworkManagerRedHat.c,
14384 src/backends/NetworkManagerSlackware.c: add stub functions for NIS
14386 * src/backends/NetworkManagerSuSE.c: add NIS support, baby.
14388 2005-12-14 Dan Williams <dcbw@redhat.com>
14390 * src/nm-ap-security*.[ch]
14391 - Add AP security abstractions to NetworkManager
14393 * src/nm-dbus-device.c
14394 - Begin to parse new format dbus messages from the applet
14395 and construct an AP security object from the message
14397 * libnm-util/dbus-helpers.c
14398 - Use message iters so we can append the key as a fixed
14399 array of bytes, which actually works rather than
14400 using dbus_message_append_args() as we were before
14402 2005-12-14 Dan Williams <dcbw@redhat.com>
14404 * src/NetworkManagerDbus.c
14405 gnome/applet/applet-dbus.c
14406 - Fix up dbus service replacement options. The applet
14407 should allow replacement, NM itself should not.
14409 2005-12-13 Robert Love <rml@novell.com>
14411 * src/named-manager/nm-named-manager.c: Revert earlier commit.
14412 Instead, fail silently if config is NULL by not asserting and not
14413 returning FALSE. Also, make sure we always fclose() the file.
14415 2005-12-13 Robert Love <rml@novell.com>
14417 Patch by Stefan Scheler <sscheler@suse.de>:
14418 * src/nm-ip4-config.h, src/nm-ip4-config.c,
14419 src/dhcp-manager/nm-dhcp-manager.c: Add support for setting up NIS
14420 via DHCP. Still need the backends to commit the NIS domain name and
14421 and servers to yp.conf as needed.
14423 2005-12-13 Robert Love <rml@novell.com>
14425 * src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
14426 nm_vpn_manager_remove_connection() unless vpn is non-NULL.
14428 2005-12-13 Robert Love <rml@novell.com>
14430 * src/named-manager/nm-named-manager.c: Don't unref the config until
14431 after we call rewrite_resolv_conf(), because get_last_default_domain()
14432 needs to access the config. Fixes "rewrite_resolv_conf: assertion
14433 `config != NULL' failed" assertion failures and "Could not commit DNS
14436 2005-12-12 Dan Williams <dcbw@redhat.com>
14438 * libnm-util/dbus-helpers.[ch]
14439 libnm-util/Makefile.am
14440 - new helper calls to consolidate locations where
14441 NM's setDevice method is called
14443 * gnome/applet/applet-dbus-devices.c
14444 gnome/applet/wireless-security-option.c
14446 - Implement dbus message param append function for
14447 all wireless security options
14449 2005-12-12 Robert Love <rml@novell.com>
14451 * libnm-util/cipher-wep-passphrase.c,
14452 libnm-util/cipher-wpa-psk-passphrase.c, src/NetworkManagerAP.c,
14453 src/NetworkManagerAP.h, src/NetworkManagerDevice.c,
14454 src/NetworkManagerWireless.c, src/NetworkManagerWireless.h: Treat
14455 all WEP/WPA keys as "char *" and not explicitly signed or unsigned.
14456 When handling keys, we don't care what the sign is. The compiler
14457 guarantees us that we get our 8-bits, which is all we care about.
14458 * configure.in: Remove "-Wno-pointer-sign" flag. We are sign-aware!
14460 2005-12-12 Dan Williams <dcbw@redhat.com>
14462 * gnome/applet/applet-dbus-devices.[ch]
14463 gnome/applet/applet.c
14464 gnome/applet/other-network-dialog.c
14465 gnome/applet/wireless-security-manager.[ch]
14466 gnome/applet/wireless-security-option.[ch]
14468 - Push the wireless security options further into the applet
14470 2005-12-12 Robert Love <rml@novell.com>
14472 * src/dhcp-manager/nm-dhcp-manager.c: Do not fail if DHCP does not
14473 return any name servers. That is perfectly valid. (Novell #134369).
14475 2005-12-11 Dan Williams <dcbw@redhat.com>
14477 * gnome/applet/wso-*
14478 gnome/applet/wireless-security-option.*
14479 gnome/applet/Makefile.am
14480 - split each security option out so we can eventually
14481 have each one build up their own dbus message
14482 arguments to send to NM
14484 2005-12-11 Dan Williams <dcbw@redhat.com>
14486 * Make validation of the key work correctly
14488 2005-12-11 Dan Williams <dcbw@redhat.com>
14490 * Hook more bits of the Other Network Dialog up to the
14491 wireless security manager stuff, and restructure
14492 bits of the dialog so there's less code.
14494 2005-12-10 Dan Williams <dcbw@redhat.com>
14496 * gnome/applet/Makefile.am
14497 - Add libnm-util to includes
14498 - Add libnm-util to link list
14499 - Add wireless-security-common.* to compile list
14501 * gnome/applet/other-network-dialog.c
14502 - Convert to using the WirelessSecurityManager code and
14505 * gnome/applet/passphrase-dialog.c
14506 - Comment out references to stuff in the glade file that
14507 cause runtime errors until it can be fixed up
14508 to use the WirelessSecurityManager code
14510 * gnome/applet/wireless-applet.glade
14511 - Rename some widgets
14512 - Add widgets for the WirelessSecurityManager code
14513 - Remove passphrase-related stuff since that's now
14514 handled by the WirelessSecurityManager code
14516 2005-12-10 Dan Williams <dcbw@redhat.com>
14518 * gnome/applet/applet-dbus-devices.c
14519 - Print out error message details for dbus pending call callbacks
14520 - Move nmwa_dbus_update_devices() up
14522 * gnome/applet/applet-dbus-vpn.c
14523 - Print out error message details for dbus pending call callbacks
14525 2005-12-10 Dan Williams <dcbw@redhat.com>
14529 - Remove cipher-manager.* because we don't need it
14530 - Forgot to add gnome-keyring-md5 files to compile list
14532 2005-12-09 Dan Williams <dcbw@redhat.com>
14537 - Add a utility library for clients of NetworkManager. It's
14538 only targetted at applets for the moment, and contains
14539 a generalized 802.11 cipher framework for different
14540 types of keys (WEP & WPA Hex, ASCII, Passphrase)
14542 2005-12-09 Robert Love <rml@novell.com>
14544 * src/NetworkManagerDevice.c: handle error better in
14545 nm_device_set_mode().
14547 2005-12-08 Robert Love <rml@novell.com>
14549 * include/NetworkManager.h: add WPA capabilities constants
14550 * src/NetworkManagerDevice.c: detect if wireless devices support WPA
14551 or WPA2 and add the capabilities bits as appropriate.
14553 2005-12-08 Robert Love <rml@novell.com>
14555 * initscript/SUSE/networkmanager-dispatcher.in: new initscript for
14556 NetworkManagerDispatcher.
14557 * configure.in, initscript/SUSE/.cvsignore,
14558 initscript/SUSE/Makefile.am: support new networkmanager-dispatcher
14561 2005-12-08 Robert Love <rml@novell.com>
14563 * initscript/SUSE/networkmanager.in: Do not start 'networking' service.
14565 2005-12-08 Robert Love <rml@novell.com>
14567 * src/NetworkManagerDevice.c: We want to fall back on and default to
14568 IW_MODE_AUTO, not -1, which is more in line with our previous
14569 behavior. Otherwise, we try to set the wireless mode to -1 in
14570 nm_device_set_mode().
14572 2005-12-07 Robert Love <rml@novell.com>
14574 * gnome/applet/applet-dbus-info.c, include/NetworkManager.h,
14575 src/NetworkManagerAP.c, src/NetworkManagerAP.h,
14576 src/NetworkManagerAPList.c, src/NetworkManagerDbus.c,
14577 src/NetworkManagerDevice.c, src/NetworkManagerDevice.h,
14578 src/nm-dbus-nm.c: Convert NM_DEVICE_AUTH_METHOD_* to use the
14579 wireless-tools constants directly. UNKNOWN is now -1 and NONE is
14582 2005-12-07 Robert Love <rml@novell.com>
14584 * src/backends/NetworkManagerSuSE.c: In static configurations, if the
14585 supplied IP is invalid, fall back to DHCP.
14587 2005-12-07 Dan Williams <dcbw@redhat.com>
14589 * Convert NETWORK_MODE_* constants to IW_MODE_*
14590 * Make all the get_mode/set_mode functions take and return 'int'
14591 * Convert D-BUS calls that pass mode to DBUS_TYPE_INT32 rather than UINT32
14593 2005-12-07 Robert Love <rml@novell.com>
14595 * src/NetworkManagerDevice.c: strncpy() buffer check.
14596 * src/NetworkManagerUtils.c: be anal about syslog() formatting.
14598 2005-12-06 Dan Williams <dcbw@redhat.com>
14600 * gnome/applet/applet-dbus.c
14601 - (set_vpn_last_attempt_status): remove, now in applet-dbus-vpn.c
14603 * gnome/applet/applet-dbus-vpn.c
14604 - (nmwa_dbus_vpn_set_last_attempt_status): new, from applet-dbus.c
14605 - (nmwa_dbus_vpn_update_vpn_connection_stage): set last_attempt_success
14606 to TRUE here if stage was ACTIVATED
14608 2005-12-06 Dan Williams <dcbw@redhat.com>
14610 * Change nm_device_is_* functions to better names:
14611 nm_device_is_wireless() -> nm_device_is_802_11_wireless()
14612 nm_device_is_wired() -> nm_device_is_802_3_ethernet()
14614 2005-12-06 Dan Williams <dcbw@redhat.com>
14616 * Change naming of NMDeviceType to something more sensible:
14617 NM_DEVICE_TYPE_DONT_KNOW -> NM_DEVICE_TYPE_UNKNOWN
14618 NM_DEVICE_TYPE_WIRED_ETHERNET -> NM_DEVICE_TYPE_802_3_ETHERNET
14619 NM_DEVICE_TYPE_WIRELESS_ETHERNET -> NM_DEVICE_TYPE_802_11_WIRELESS
14621 2005-12-06 Dan Williams <dcbw@redhat.com>
14623 * Move NetworkManager.h -> include/NetworkManager.h
14624 * Split out VPN stuff into include/NetworkManagerVPN.h
14625 * Fix up makefiles to include new location
14626 * Fix up sources to include NetworkManagerVPN.h
14628 2005-12-06 Dan Williams <dcbw@redhat.com>
14630 Various changes in the applet to move VPN connection "state" -> "stage",
14631 which it actually is. I'd like to change the signal as well when we
14632 break compat in the near future.
14634 2005-12-06 Dan Williams <dcbw@redhat.com>
14636 Slackware patches from Paul Blazejowski <paulb@blazebox.homeip.net>
14637 * initscript/Slackware/rc.networkmanager
14640 * src/backends/NetworkManagerSlackware.c
14641 - Kill dhcpcd when starting so that dhclient can bind to DHCP on
14644 2005-12-05 Robert Love <rml@novell.com>
14646 * src/NetworkManager.c: don't call nm_data_free() when there is nothing
14647 to free, particularly here as it just barfs.
14649 2005-12-05 Dan Williams <dcbw@redhat.com>
14651 * gnome/applet/applet-dbus.c
14652 - Work with dbus 0.6 too
14654 2005-12-03 Dan Williams <dcbw@redhat.com>
14656 * src/NetworkManagerUtils.[ch]
14657 src/nm-ip4-config.c
14658 - move ip4_netmask_to_prefix() to NetworkManagerUtils.c
14659 - consolidate code into nm_utils_ip4_addr_to_nl_addr()
14661 2005-12-01 Robert Love <rml@novell.com>
14663 * gnome/applet/main.c, gnome/vpn-properties/nm-vpn-properties.c: We
14664 need a NULL for the '...' parameter, too, to fill the so-called
14667 2005-12-01 Robert Love <rml@novell.com>
14669 * src/NetworkManagerSystem.c: If iface_to_rtnl_link() returns NULL, the
14670 interface is already gone, so don't call rtnl_link_change() to down
14671 it (which will segfault, anyhow).
14673 2005-11-22 Robert Love <rml@novell.com>
14675 * src/backends/NetworkManagerSuSE.c: Don't fall back to DHCP if the
14676 gateway is not set, just print a little note. Configurations without
14677 gateways are valid.
14679 2005-11-22 Robert Love <rml@novell.com>
14683 2005-11-20 Ilkka Tuohela <hile@iki.fi>
14685 * configure.in: Added Finnish translation to ALL_LINGUAS
14687 2005-11-14 Robert Love <rml@novell.com>
14689 * vpn-daemons/openvpn: initial checkin of OpenVPN VPN Module, by Tim
14690 Niemueller <tim@niemueller.de>.
14692 2005-11-08 Dan Williams <dcbw@redhat.com>
14694 Patch from Bill Moss <bmoss@clemson.edu>
14695 * src/NetworkManagerDevice.c
14696 - (nm_device_activate_stage5_ip_config_commit): fix ordering
14697 of nm_policy_schedule_activation_finish() to prevent a
14698 race condition that causes the link to be dropped
14700 2005-11-08 Dan Williams <dcbw@redhat.com>
14702 Patch from Bill Moss <bmoss@clemson.edu>
14703 * src/NetworkManagerAPList.c
14704 src/NetworkManagerDevice.c
14705 src/NetworkManagerDbus.c
14706 - Replace occurances of ether_ntoa_r() with iw_ether_ntop() so
14707 we get more readable ether/mac addresses
14709 2005-11-02 Christopher Aillon <caillon@redhat.com>
14711 * gnome/applet/main.c: Don't set the restart command. This fixes
14712 the issue where the restart command was getting copies of all its
14713 arguments for each time the applet was restarted.
14715 2005-11-02 Robert Love <rml@novell.com>
14717 * gnome/applet/applet.c: Only send the DBUS setWirelessEnabled method
14718 if the widget state differs from our saved state. This ensures we
14719 do not enter an endless loop of death and destruction. Also, this
14720 guarantees us that we enforce the widget state.
14722 2005-11-02 Robert Love <rml@novell.com>
14724 * gnome/applet/applet.c: add nmwa_enable_wireless_set_active().
14725 * gnome/applet/applet-dbus-devices.c: invoke the new function
14726 nmwa_enable_wireless_set_active() to ensure that the state of the
14727 'Enable Wireless' checkbox matches the daemon's state. This is a
14728 concern because the daemon remembers the state.
14730 2005-11-02 Robert Love <rml@novell.com>
14732 * gnome/applet/applet.c: Make menu item "Enable Wireless" not "Wireless
14733 Enabled", as checkboxes should be actions/commands not positive
14734 statements, otherwise they are confusing in the unselected case. See
14735 examples in GNOME HIG, Chapter 6.
14737 2005-11-02 Robert Love <rml@novell.com>
14739 * gnome/applet/applet.c: When wireless is disabled, act it. Do not
14740 show a list of wireless networks or the wireless devices or the
14741 "Create Wireless ..." menus. Aside from this cosmetics, this fixes
14742 a bad bug: If wireless is disabled and the user picks a wireless
14743 network, NM will switch to the network, only to immediately switch
14744 back, as wireless is disabled. This also reassures people that NM
14745 is not scanning (it is not -- I verified). Fixes Novell bug #130041.
14747 2005-11-02 Christopher Aillon <caillon@redhat.com>
14749 * gnome/applet/applet.c:
14750 * gnome/applet/applet.h:
14751 Partial backout of Dan's timeout animation patch.
14752 Timeout IDs cannot legally be 0, so revert the code in place to handle
14753 a timeout ID of 0 to denote the timeout isn't running.
14755 2005-11-02 Christopher Aillon <caillon@redhat.com>
14757 * src/NetworkManagerPolicy.c:
14758 (nm_policy_device_change_check) Clarify wireless switch nm_info text
14760 2005-10-28 Robert Love <rml@novell.com>
14762 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade: Change label to
14763 "Import Saved Configuration..." to make it clear that importing is
14764 not the next step, but an option. As an aside, a nice TODO would be
14765 to move Importing out of the vpn-specific dialog and into the main
14766 property editor, as Importing goes with Adding, but that will require
14767 some rearchitecting of the VPN stuff I suspect.
14769 2005-10-27 Dan Williams <dcbw@redhat.com>
14771 Start using libnl. You need 1.0-pre3 or higher. Eventually
14772 we should replace most of the distro-specific backend code
14775 Get it here: http://people.suug.ch/~tgr/libnl/
14779 - Add checks for libnl pkgconfig file
14780 - Use LIBNL_LIBS & LIBNL_CFLAGS
14782 * src/NetworkManagerSystem.c
14783 src/nm-ip4-config.[ch]
14784 - Use libnl rather than ioctl() for most things
14785 - Remove unused functions
14787 2005-10-27 Robert Love <rml@novell.com>
14789 * src/backends/NetworkManagerSuSE.c: fix warning message text
14791 2005-10-27 Christopher Aillon <caillon@redhat.com>
14793 * gnome/applet/applet.c: Use the copyright symbol instead of (C)
14795 2005-10-27 Christopher Aillon <caillon@redhat.com>
14797 * gnome/applet/applet.c: The applet's about dialog can advertise our
14798 project page <http://www.gnome.org/projects/NetworkManager/>
14800 2005-10-26 Christopher Aillon <caillon@redhat.com>
14802 * gnome/applet.c: Also use translator credits if we don't have
14803 the new GtkAboutDialog (older versions of GTK+)
14805 2005-10-26 Robert Love <rml@novell.com>
14807 * dispatcher-daemon/NetworkManagerDispatcher.c: print actual error string on daemon()
14808 failure; correct usage text for "--no-daemon"
14810 2005-10-25 Dan Williams <dcbw@redhat.com>
14812 * src/NetworkManagerDevice.c
14813 - (get_scan_results): cleanups, deal cleanly with ENODATA signifying
14815 - (free_process_scan_cb_data): unref the device when freeing results
14816 - (nm_device_wireless_process_scan_results): free scan results a bit later
14817 so we don't unref the device underneath ourselves
14819 2005-10-25 Dan Williams <dcbw@redhat.com>
14821 * Back out 2005-10-24 commit from Tor Krill. Patch
14822 causes nameservers never to be removed from named.
14824 2005-10-24 Dan Williams <dcbw@redhat.com>
14826 Clean up wireless scanning and wireless link probing.
14828 * src/NetworkManagerDevice.c
14829 - (nm_device_probe_wireless_link_state): instead of calling nm_get_best_ap(),
14830 just see if there's an activation request on the device, and check the
14831 current link against the activation request access point's ESSID.
14832 - (link_to_specific_ap): increase the # of failed links we tolerate from 3 to 6
14833 - (nm_device_wireless_process_scan_results): actually free our scan data, and
14834 don't call process_scan_results() on zero-length data
14835 - (nm_device_set_wireless_scan_interval): increase the init scan interval to
14836 15 seconds (from 10)
14838 2005-10-24 Dan Williams <dcbw@redhat.com>
14840 Cleanup some applet stuff:
14842 - Animation timeouts. If NM died while the applet was animating,
14843 the applet would not hide itself. This is now fixed.
14845 - Remove some dead code
14847 - Remove nmi_passphrase_dialog_schedule_cancel() and convert uses
14848 to nmi_passphrase_dialog_cancel() since we no longer use threads.
14850 - Track animation timeout using a gboolean rather than the timeout's
14851 ID, since timeout IDs can legally be 0.
14853 2005-10-24 Dan Williams <dcbw@redhat.com>
14855 * src/backends/interface_parser.c
14856 - Add void to function declarations that need it
14857 to match patch from Engin AYDOGAN
14859 * src/backends/interface_parser.h
14860 - Remove unused prototype for ifparser_interfaces()
14862 Patch from Engin AYDOGAN <engin@bzzzt.biz>
14863 * src/backends/interface_parser.h:
14864 - Compile fixes for gcc 4.0.2 (add void)
14866 2005-10-24 Dan Williams <dcbw@redhat.com>
14868 Patch from Tor Krill <tor@krill.nu>
14869 * src/named-manager/nm-named-manager.c
14870 - Write more than just the first nameserver to /etc/resolv.conf
14871 - Write out valid /etc/resolv.conf on exit
14873 2005-10-21 Christopher Aillon <caillon@redhat.com>
14875 * gnome/applet/applet-dbus-vpn.c:
14876 Get rid of spurious newlines in debug console output
14878 2005-10-21 Christopher Aillon <caillon@redhat.com>
14880 * src/backends/NetworkManagerGentoo.c:
14881 Fix path to killall. Patch from Dave Shanker <dshanker@gmail.com>
14883 2005-10-20 Robert Love <rml@novell.com>
14885 * src/NetworkManagerDevice.c: Use fabs() and DBL_EPSILON to avoid a
14886 direct comparison of floating point values, which is never correct.
14887 Also some misc. cleanup.
14889 2005-10-19 Robert Love <rml@novell.com>
14891 * vpn-daemons/vpnc/nm-vpnc.desktop.in: add fields
14893 2005-10-19 Robert Love <rml@novell.com>
14895 * gnome/vpn-properties/nm-vpn-properties.c: Correctly set the
14896 sensitivity of the buttons. Specificaly, do the right thing if
14897 there are no entries.
14899 2005-10-19 Christopher Aillon <caillon@redhat.com>
14901 * configure.in: Update check for adequate wireless-tools
14902 with an AC_TRY_COMPILE for the new symbols we use.
14904 2005-10-19 Dan Williams <dcbw@redhat.com>
14906 * src/NetworkManagerDevice.c
14907 - (process_scan_results): don't drop the last (or only)
14908 access point we see
14910 2005-10-19 Christopher Aillon <caillon@redhat.com>
14912 * src/backends/NetworkManagerSlackware.c:
14913 Patch from Nico <lordllucifer@gmail.com>
14914 - Update the Slackware backend.
14916 2005-10-18 Christopher Aillon <caillon@redhat.com>
14918 * gnome/applet/other-network-dialog.c: Use g_get_host_name ()
14919 if we've got GLib 2.8.0
14921 2005-10-18 Robert Love <rml@novell.com>
14923 * src/NetworkManagerDevice.c: invoke the long-in-the-tooth named
14924 function nm_schedule_state_change_signal_broadcast() when we
14925 deactivate a device, too.
14927 2005-10-18 Robert Love <rml@novell.com>
14929 * gnome/applet/applet.c: nmwa_context_menu_update(): 'iface' could
14930 be used uninitialized.
14932 2005-10-18 Christopher Aillon <caillon@redhat.com>
14934 * test/libnm_glib_test.c: Test unregistering, too.
14936 2005-10-17 Christopher Aillon <caillon@redhat.com>
14938 * configure.in: Bump to 0.5.0
14940 2005-10-17 Dan Williams <dcbw@redhat.com>
14943 - Remove WPA-related constants so they aren't part of the
14946 2005-10-17 Christopher Aillon <caillon@redhat.com>
14948 * gnome/applet/applet.c:
14949 * gnome/applet/applet.h:
14950 Desensitize the 'Connection Information' menu item when there is
14951 no active connection.
14953 2005-10-17 Christopher Aillon <caillon@redhat.com>
14955 * gnome/libnm_glib/libnm_glib.c:
14956 Make libnm_glib_unregister_callback () actually unregister the callback
14958 2005-10-17 Robert Love <rml@novell.com>
14960 * src/NetworkManagerDevice.c: Actually wait 20s, as we intend, not
14961 two seconds -- tries is updated every 1/10 of a second, not every
14964 2005-10-17 Christopher Aillon <caillon@redhat.com>
14966 * gnome/applet/applet-dbus-info.c:
14967 Let D-BUS know that we haven't handled a message when we haven't.
14969 2005-10-17 Robert Love <rml@novell.com>
14971 * src/nm-ip4-config.c: use GPOINTER_TO_UINT and not a straight cast
14972 in order to remain 64-bit clean.
14974 2005-10-17 Christopher Aillon <caillon@redhat.com>
14976 * gnome/applet/applet-dbus-info.c:
14977 Find network encryption keys asynchronously
14979 2005-10-17 Robert Love <rml@novell.com>
14981 * src/backends/NetworkManagerDebian.c,
14982 src/backends/NetworkManagerRedHat,
14983 src/backends/NetworkManagerSuSE.c: allow '#' as a valid resolv.conf
14986 2005-10-17 Robert Love <rml@novell.com>
14988 * src/backends/NetworkManagerSuSE.c: use SYSCONFDIR not open-coded
14991 2005-10-17 Christopher Aillon <caillon@redhat.com>
14993 * src/NetworkManagerDevice.c: (process_scan_results)
14994 Fix logic that checks to see whether we have an ESSID.
14996 2005-10-15 Dan Williams <dcbw@redhat.com>
14998 Move scanning code into NetworkManager rather than use iwlib's
14999 iw_scan() function, so that we can figure out AP capabilities.
15002 - Add AP capability bits
15004 * src/NetworkManagerAP.[ch]
15005 - Add capability field to NMAccessPoint structure
15006 - Add WPA & RSN Information Element fields and accessor
15007 functions to NMAccessPoint
15009 * src/NetworkManagerDevice.c
15010 - Remove usage of iw_scan
15011 - Add scanning code to NetworkManager rather than use
15012 iw_scan() from iwlib
15014 * src/NetworkManagerUtils.[ch]
15015 - (nm_dispose_scan_results): remove, unused
15017 2005-10-14 Christopher Aillon <caillon@redhat.com>
15019 * gnome/libnm_glib/libnm_glib.c:
15020 * gnome/libnm_glib/libnm_glib.h:
15021 Use guint instead of gint for callback IDs.
15023 2005-10-12 Christopher Aillon <caillon@redhat.com>
15025 * gnome/applet/applet.c:
15026 Fix icon animation smoothness issues. nmwa_redraw_timeout gets called
15027 every 1000ms. It will unconditionally call nmwa_update_state which
15028 kills the existing animation timeout and registers a new one with a
15029 callback to draw a new frame every 100ms. There are 11 connecting
15030 icon frames, so the last 2 frames kept getting dropped. Only reset
15031 the animation timeout if we aren't animating.
15033 2005-10-11 Dan Williams <dcbw@redhat.com>
15035 * gnome/applet/applet-dbus-devices.c
15036 - (nmwa_dbus_update_device_info_from_hal), (hal_net_physdev_cb):
15037 We want to grab the product & vendor from net.physical_dev
15038 rather than info.parent.
15040 2005-10-11 Dan Williams <dcbw@redhat.com>
15042 * src/NetworkManagerDevice.c
15043 - Use the driver's WE version for scanning rather than
15044 the WE version NM was compiled with. Fixes random
15045 crashes in iw_scan () in iwlib.
15047 2005-10-10 Dan Williams <dcbw@redhat.com>
15049 * Remove nm_system_load_device_modules() from backend files
15050 and from NetworkManager.c
15052 2005-10-10 Dan Williams <dcbw@redhat.com>
15054 * src/NetworkManagerPolicy.c
15055 - Fix some bugs introduced by the capabilities patch
15057 2005-10-10 Dan Williams <dcbw@redhat.com>
15059 * gnome/applet/applet-dbus-info.c
15060 - (nmi_dbus_get_network_key): hide the menu when putting up
15061 the keyring dialog. (not sure if the code is right...)
15063 2005-10-09 Dan Williams <dcbw@redhat.com>
15065 Patch from Bill Moss <bmoss@clemson.edu>
15066 * src/NetworkManagerDevice.c
15067 - (nm_device_set_user_key_for_network): don't try to set auth
15068 mode on the AP from the allowed list if it's NULL
15070 2005-10-09 Dan Williams <dcbw@redhat.com>
15072 * Replace the "driver support level" stuff with capabilities. The
15073 capability field is a bitfield that is more flexible than the
15074 old driver support level thing. It's mostly so we can easily
15075 figure out what supports WPA and what doesn't, but should be
15076 quite useful later.
15078 2005-10-09 Dan Williams <dcbw@redhat.com>
15085 - Added new "nm-tool" tool that gives quite a bit more
15088 2005-10-07 Robert Love <rml@novell.com>
15090 * gnome/applet/applet-dbus-info.c, gnome/applet/applet.c,
15091 gnome/applet/applet.h, gnome/vpn-properties/nm-vpn-properties.c,
15092 src/dhcp-manager/nm-dhcp-manager.c, test/libnm_glib_test.c,
15093 test/nmtest.c test/nmtestdevices.c: mark functions 'static' as
15096 2005-10-07 Robert Love <rml@novell.com>
15098 * configure.in: Change our compile flags for the betterment of mankind.
15099 Add "-Wstrict-prototypes" because we comply anyhow and missing a
15100 prototype is very bad on 64-bit platforms as types default to int but
15101 sizeof(int) != sizeof(long) and add "-Wmissing-prototypes" &
15102 "-Wmissing-declarations" to warn if we define an exported function
15103 but fail to put it in a header.
15105 2005-10-07 Robert Love <rml@novell.com>
15107 * src/NetworkManagerWireless.c: remove stale, unused function, who goes
15108 by the name nm_update_device_wireless_timeouts() and once tried,
15109 without success, to steal my pet turtle.
15111 2005-10-07 Robert Love <rml@novell.com>
15113 * Cleanup prototypes: put some functions in header files and mark
15114 others as 'static' -- feel free to invert
15115 * src/vpn-manager/nm-dbus-vpn.c: remove prototype of
15116 nm_vpn_manager_vpn_connection_list_copy()
15117 * src/vpn-manager/nm-vpn-act-request.c: remove prototype of
15118 nm_vpn_service_get_dbus_connection()
15119 * src/vpn-manager/nm-vpn-manager.h: add prototypes for
15120 nm_vpn_manager_vpn_connection_list_copy()
15121 * src/vpn-manager/nm-vpn-service.c: make
15122 nm_vpn_service_act_request_failed() and
15123 nm_vpn_service_stage2_daemon_wait() static
15124 * src/vpn-manager/nm-vpn-service.h: add prototype for
15125 nm_vpn_service_get_dbus_connection()
15127 2005-10-06 Christopher Aillon <caillon@redhat.com>
15129 * gnome/applet/applet.c:
15130 * gnome/applet/applet.h:
15131 * gnome/applet/icons/Makefile.am:
15132 Convey information about the current connection stage in the
15133 icons themselves instead of creating a separate progress bar.
15135 2005-10-04 Robert Love <rml@novell.com>
15137 * src/nm-dbus-device.c: Use iw_ether_ntop(), not ether_ntoa_r(), to
15138 convert an ether_addr structure's MAC into a string, because the
15139 latter will drop leading zero's and uses lower-case, e.g. 7:3b:4
15140 versus 07:3B:04, while the former will not.
15142 2005-10-04 Robert Love <rml@novell.com>
15144 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15145 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15146 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15147 default route in the 'Connection Information' dialog, send primary
15148 and secondary name servers in in "getProperties" DBUS method, add
15149 network_device_{get,set}_{primary,secondary}_dns(), The primary and
15150 secondary domain name servers are crucial pieces of information
15151 that a user might need in debugging a network problem.
15153 2005-10-04 Robert Love <rml@novell.com>
15155 * gnome/applet/applet-dbus-devices.c, gnome/applet/applet.c,
15156 gnome/applet/nm-device.c, gnome/applet/nm-device.h,
15157 gnome/applet/wireless-applet.glade, src/nm-dbus-device.c: Display
15158 default route in the 'Connection Information' dialog, send default
15159 route in "getProperties" DBUS method, add network_device_set_route(),
15160 and network_device_get_route(). The Gateway is a crucial piece of
15161 connection-related information that a user might need in debugging a
15164 2005-10-03 Robert Love <rml@novell.com>
15166 * src/backends/NetworkManagerSuSE.c: Fix Glib error, GError must be
15169 2005-10-02 Dan Williams <dcbw@redhat.com>
15171 * Shorten time taken to sleep by fastpathing bits of device deactivation
15172 necessary for sleep.
15174 * Fix issue where deactivating a device might deactivate the active
15175 VPN connection, even if the VPN was not using the device.
15177 2005-10-02 Dan Williams <dcbw@redhat.com>
15179 * gnome/applet/applet.c
15180 - Adjust signal strength -> icon mapping values slightly
15181 (so that 51% signal doesn't show a 75% icon) by adding
15182 5% to the values. ex: > 5% now shows 25% icon, > 30%
15183 shows 50% icon, etc.
15185 2005-09-29 Robert Love <rml@novell.com>
15187 * src/NetworkManager.c: removed unused variable.
15189 2005-09-28 Dan Williams <dcbw@redhat.com>
15191 Support for named + DBus, using Red Hat DBus patches for named. You
15192 can find those patches here, with "dbus" in the patch's filename:
15194 http://cvs.fedora.redhat.com/viewcvs/devel/bind/
15196 Don't forget the named dbus service file either.
15198 Instead of writing a config file and spawing a named process, NM will
15199 use an already-running dbus-enabled named if it finds one. NM will
15200 update named's forwarder configuration on the fly using dbus.
15202 If there is no dbus-enabled named running, NM will automatically fall
15203 back to writing the most-recent DNS server information to /etc/resolv.conf
15204 and calling nm_system_update_dns() to kick the system's resolver.
15206 Accordingly, all named-related configure-time options have been removed.
15208 2005-09-26 Robert Love <rml@novell.com>
15210 * src/backends/NetworkManagerSuSE.c, (nm_system_get_dialup_config): Add
15212 * src/backends/NetworkManagerSuSE.c, (verify_and_return_provider): Fix
15213 bug in error path if "ASKPASSWORD" is "no".
15215 2005-09-26 Robert Love <rml@novell.com>
15217 * src/named-manager/nm-named-manager.c: only '#' is officially a valid
15218 comment in /etc/resolv.conf -- ';' is not.
15220 2005-09-19 Dan Williams <dcbw@redhat.com>
15222 * src/backends/NetworkManagerRedHat.c:
15223 * src/backends/NetworkManagerDebian.c:
15224 * src/backends/NetworkManagerSlackware.c:
15225 * src/backends/NetworkManagerGentoo.c:
15226 * src/backends/NetworkManagerSUSE.c:
15227 Fix invocations of "/sbin/ip address" to use short form instead
15229 2005-09-19 Christopher Aillon <caillon@redhat.com>
15231 * src/nm-dbus-device.c: Don't assert when getting
15232 addresses of a not yet connected interface.
15234 * gnome/applet/applet.c: Free icons if loading fails.
15235 Use translator-credits so translators can make themselves known.
15237 2005-09-15 Christopher Aillon <caillon@redhat.com>
15239 * src/NetworkManagerAP.c:
15240 * src/NetworkManagerAP.h:
15241 * src/NetworkManagerDevice.c:
15242 Set a blacklist for certain common manufacturer default ESSIDs:
15243 APs with these ESSIDs are extremely likely to be completely
15244 different networks: connecting to one should not make NM
15245 auto-connect to every other AP with the same default ESSID.
15247 2005-09-12 Christopher Aillon <caillon@redhat.com>
15249 * gnome/applet/wireless-applet.glade:
15250 The passphrase entry should also activate the default
15252 * src/gnome-keyring-md5.c: Updated code from gnome-keyring
15254 * gnome/applet/applet-dbus-devices.c:
15255 * gnome/applet/applet.c:
15256 * gnome/applet/nm-device.c:
15257 * gnome/applet/nm-device.h:
15258 * src/NetworkManagerUtils.c:
15259 * src/NetworkManagerUtils.h:
15260 * src/nm-dbus-device.c:
15261 I've got a fever, and the only cure for it is less ioctl.
15262 Make NM push IP data rather than make the applet open a socket
15265 2005-09-10 Christopher Aillon <caillon@redhat.com>
15267 * gnome/applet/applet.c:
15268 * gnome/applet/applet-dbus-devices.c:
15269 * gnome/applet/applet-dbus-info.c:
15270 * gnome/applet/passphrase-dialog.c:
15271 * gnome/libnm_glib/libnm_glib.c:
15272 * gnome/vpn-properties/nm-vpn-properties.c:
15274 * src/backends/NetworkManagerRedHat.c:
15275 * src/named-manager/nm-named-manager.c:
15276 * src/NetworkManagerAPList.c:
15277 * src/NetworkManager.c:
15278 * src/NetworkManagerDbus.c:
15279 * src/NetworkManagerDevice.c:
15280 * src/NetworkManagerPolicy.c:
15281 * src/NetworkManagerSystem.c:
15282 * src/nm-dbus-device.c:
15283 * src/nm-dbus-nm.c:
15284 * src/vpn-manager/nm-vpn-manager.c:
15285 * src/vpn-manager/nm-vpn-service.c:
15286 * test/libnm_glib_test.c:
15287 * test/nminfotest.c:
15288 * test/nmtestdevices.c:
15289 Fix a bunch of 'unused variable' compiler warnings
15291 * NetworkManager.h:
15292 * gnome/applet/applet-dbus-info.c:
15293 * gnome/applet/applet-dbus-info.h:
15294 * gnome/applet/applet.c:
15295 * gnome/applet/applet.h:
15296 * src/NetworkManager.c:
15297 * src/NetworkManagerDbus.c:
15298 * src/NetworkManagerDbus.h:
15299 * src/NetworkManagerDevice.c:
15300 * src/NetworkManagerDevice.h:
15301 * src/NetworkManagerMain.h:
15302 * src/NetworkManagerWireless.c:
15303 * src/NetworkManagerWireless.h:
15304 * src/nm-dbus-nm.c:
15305 Make NetworkManager be smart about how frequently to scan
15306 based on its current state. Remove the UI for choosing when
15307 to scan. Scanning still may disabled completely by the user
15308 via the "Wireless Enabled" menu item.
15310 2005-09-09 Christopher Aillon <caillon@redhat.com>
15312 * gnome/applet/applet.c:
15313 Also overlay the vpn connecting icons onto the wired icon,
15316 * gnome/vpn-properties/nm-vpn-properties.glade:
15317 Clean up a few strings to use better grammar and proper casing.
15319 2005-09-08 Christopher Aillon <caillon@redhat.com>
15321 * gnome/applet/vpn-connection.c:
15322 * gnome/applet/vpn-connection.h:
15323 Add nmwa_vpn_connection_is_activating ()
15325 * gnome/applet/applet.c:
15326 * gnome/applet/applet.h:
15327 * gnome/applet/icons/nm-vpn-connecting*.png:
15328 Add new VPN connecting icons from Diana Fong <dfong@redhat.com>, letting
15329 the user know something's happening between clicking the VPN item and it
15330 actually being connected.
15332 2005-09-07 Christopher Aillon <caillon@redhat.com>
15334 * gnome/applet/applet-dbus-info.c: need to free attributes in the
15335 failure case as well.
15337 2005-09-07 Rodrigo Moya <rodrigo@novell.com>
15339 * gnome/panel/eggtrayicon.[ch]:
15340 * examples/python/systray/eggtrayicon.[ch]: updated code from libegg.
15342 2005-09-07 Dan Williams <dcbw@redhat.com>
15344 Patch from Bill Moss <bmoss@clemson.edu>
15345 * src/applet-dbus.c
15346 - (nmwa_dbus_filter): strip whitespace from beginning
15347 and end of VPN login banner
15349 2005-09-07 Dan Williams <dcbw@redhat.com>
15351 * The great VPN Manager rewrite of 2005
15353 2005-09-07 Christopher Aillon <caillon@redhat.com>
15355 * gnome/applet/menu-items.c:
15356 * gnome/applet/nm-device.c:
15357 * gnome/applet/wireless-network.c:
15358 * gnome/libnm_glib/libnm_glib.c:
15359 * src/NetworkManagerDbusUtils.c:
15360 * vpn-daemons/vpnc/src/nm-vpnc-service.c:
15361 g_malloc0 doesn't return NULL
15363 2005-09-06 Dan Williams <dcbw@redhat.com>
15365 Patch from Tomislav Vujec <tvujec@redhat.com>
15366 * src/NetworkManagerDevice.c
15367 - (nm_get_device_by_udi): don't return a device when we
15368 actually didn't find what we were looking for
15370 2005-09-06 Christopher Aillon <caillon@redhat.com>
15372 * gnome/applet/applet-dbus-devices.c:
15373 * gnome/applet/applet-dbus-devices.h:
15374 * gnome/applet/applet-dbus.c:
15375 * src/NetworkManagerDbus.c:
15376 * src/NetworkManagerDbus.h:
15377 * src/NetworkManagerDevice.c:
15378 * src/nm-dbus-device.c:
15379 Make NM push updates about active device strength when it changes,
15380 rather than having the applet poll every 2s.
15382 2005-09-05 Christopher Aillon <caillon@redhat.com>
15384 * gnome/applet/applet-dbus-devices.c: Remove duplicate call to
15385 network_device_set_strength
15387 2005-09-04 Dan Williams <dcbw@redhat.com>
15389 Patch from Bill Nottingham <notting@redhat.com>
15390 * src/NetworkManagerDevice.c
15391 - (nm_device_activation_cancel): reset the quit_activation flag
15393 2005-09-04 Dan Williams <dcbw@redhat.com>
15395 * src/nm-activation-request.c
15396 - (nm_act_request_unref): actually free the structure,
15397 which we didn't seem to be doing before
15399 2005-09-04 Dan Williams <dcbw@redhat.com>
15401 Patch from John Palmieri <johnp@redhat.com>
15402 * gnome/applet/applet-dbus-devices.c
15403 - Fix up unreffing of DBusMessage objects
15405 2005-09-04 Dan Williams <dcbw@redhat.com>
15407 Patch from John Palmieri <johnp@redhat.com>
15408 * gnome/applet/nm-device.c
15409 - (nm_device_unref): clear network_device's memory _before_ freeing it
15411 2005-09-02 Christopher Aillon <caillon@redhat.com>
15413 * gnome/applet/applet.c: Use a check menu item for Wireless Enabled
15415 2005-09-02 Bill Nottingham <notting@redhat.com>
15417 * src/backends/NetworkManagerRedHat.c: use nm_warning, not nm_error
15419 2005-09-01 Dan Williams <dcbw@redhat.com>
15421 * src/NetworkManager.c
15422 - (nm_remove_device_from_list): rename to nm_remove_device
15423 - (nm_hal_device_removed): call nm_remove_device()
15425 * src/NetworkManagerDevice.c
15426 - Change the NMWirelessScanCB member 'reschedule' which
15427 wasn't used to 'force' to indicate that we need to
15428 force a scan when adding a device
15431 - (nm_dbus_nm_sleep): Deactivate all devices and remove them
15432 from the device list
15433 - (nm_dbus_nm_wake): Re-add all devices to the device list
15435 2005-09-01 Robert Love <rml@novell.com>
15437 * gnome/applet/applet.c: nmwa_update_info: iface is used uninitialized
15438 and the check "!iface" in the error case is probably never true.
15440 2005-09-01 Dan Williams <dcbw@redhat.com>
15442 Patch from Bill Nottingham <notting@redhat.com>
15443 * src/backends/NetworkManagerRedHat.c
15444 - Add initial dialup support to Red Hat/Fedora backend
15446 2005-09-01 Dan Williams <dcbw@redhat.com>
15448 * gnome/applet/applet-dbus-devices.c
15449 - Sort both wireless networks and devices again, which got
15450 broken when removing threading
15452 2005-09-01 Christopher Aillon <caillon@redhat.com>
15454 * gnome/applet/applet.c:
15455 Only show the "Stop/Start All Wireless Devices" menuitem
15456 if we actually have wireless devices.
15458 * gnome/applet/applet-dbus-info.c:
15459 * gnome/applet/applet.c:
15460 * gnome/applet/other-network-dialog.c:
15461 * gnome/applet/vpn-password-dialog.c:
15462 Drop the gtk_dialog_run () calls in favor of connecting to
15463 "response" signals, needed now that the applet is not threaded.
15465 2005-08-31 Dan Williams <dcbw@redhat.com>
15467 Patch from Bill Moss <bmoss@clemson.edu>
15468 * src/NetworkManagerDevice.c
15469 - (nm_device_wireless_scan): fix scan timeout values
15471 2005-08-30 Dan Williams <dcbw@redhat.com>
15473 * gnome/applet/wireless-applet.glade
15474 - HIG-ify the Other Wireless Networks dialog a bit more
15475 - Fix some potential segfaults in the info dialog
15477 2005-08-30 Dan Williams <dcbw@redhat.com>
15479 * gnome/applet/applet-dbus-devices.c
15480 - Remove nmwa_dbus_get_hal_device_string_property(); unused
15482 2005-08-30 Dan Williams <dcbw@redhat.com>
15484 * gnome/applet/applet-dbus.[ch]
15485 - Remove all the nmwa_dbus_call_method_xxxx functions since
15486 they weren't being used anyway
15488 2005-08-30 Bastien Nocera <hadess@hadess.net>
15490 * test/nmtestdevices.c: (print_usage), (main):
15491 Check the number of arguments, and fix a typo
15493 2005-08-29 Dan Williams <dcbw@redhat.com>
15495 Patch from Dumitru Ciobarcianu <Dumitru.Ciobarcianu@iNES.RO>
15496 * gnome/applet/applet.c
15497 - Define GTK_STOCK_INFO for GTK 2.6 and lower
15499 2005-08-29 Dan Williams <dcbw@redhat.com>
15502 - Don't use threads any more. Anything that blocks
15503 (like gtk_dialog_run()) will have to get fixed up which
15504 should happen quickly. We really only had threads to make
15505 the animation smooth, and when everything got converted over
15506 to DBus Pending Calls, the need for threads kind of went away
15508 2005-08-29 Christopher Aillon <caillon@redhat.com>
15510 * gnome/applet/applet.c: Draw VPN connections as radio items
15511 since we don't yet support multiple VPNs.
15512 * gnome/applet/other-network-dialog.c: Use stock icon for Connect
15513 * gnome/vpn-properties/nm-vpn-properties.c: Use stock icon for Delete
15515 2005-08-29 Dan Williams <dcbw@redhat.com>
15517 Patch from j@bootlab.org
15518 - Make --without-named work
15519 - Make --with-dhcdbd work correctly
15521 2005-08-27 Josep Puigdemont i Casamajó <josep.puigdemont@gmail.com>
15523 * configure.in: Added "ca" to ALL_LINGUAS.
15525 2005-08-26 Christopher Aillon <caillon@redhat.com>
15527 * Fix up VPN state handling between the applet and NetworkManager,
15528 so that the applet doesn't show a VPN as connected when one
15530 - The applet no longer has a pointer to the active VPN's
15531 name, but tracks each VPNs state individually
15532 - NM no longer has a "getActiveVPNConnection" method
15533 - NM no longer broadcasts the "VPNConnectionChange" signal
15534 - NM now broadcasts a "VPNConnectionStateChange" signal
15535 whenever the state of a VPN changes
15537 2005-08-26 Dan Williams <dcbw@redhat.com>
15539 * gnome/applet/applet-dbus-devices.c
15540 gnome/applet/applet-dbus-vpn.c
15541 - Remove calls to dbus_pending_call_ref() because we already
15542 "own" the pending call
15543 - Remove calls to dbus_pending_call_get_completed() because
15544 when we are in the callback, the pending call is completed
15547 2005-08-22 Dan Williams <dcbw@redhat.com>
15549 Patch by Bill Moss <bmoss@clemson.edu>
15550 * src/dhcp-manager/nm-dhcp-manager.c
15551 - (nm_dhcp_manager_cancel_transaction): Give dhcdbd/dhclient
15552 some time to send out a RELEASE if they like
15554 2005-08-22 Dan Williams <dcbw@redhat.com>
15556 Noticed by Bill Moss <bmoss@clemson.edu>
15557 * src/NetworkManagerDbus.c
15558 - (nm_dbus_get_user_key_for_network_cb): deactivate the device
15559 instead of just cancelling its activation
15561 * src/NetworkManagerDevice.c
15562 - (nm_device_deactivate): some small cleanups
15563 - (nm_device_set_user_key_for_network): deactivate the device
15564 instead of just cancelling its activation
15566 2005-08-22 Dan Williams <dcbw@redhat.com>
15568 Noticed by Bill Moss <bmoss@clemson.edu>
15569 * src/NetworkManagerDevice.c
15570 - (nm_device_wireless_scan): fix scan timeout, we were
15571 waiting way too long for scans to complete
15573 2005-08-22 Dan Williams <dcbw@redhat.com>
15575 Patch from j@bootlab.org:
15576 * src/backends/NetworkManagerDebian.c
15577 - Make the Debian backend work for static IP again
15579 2005-08-20 Christopher Aillon <caillon@redhat.com>
15581 * gnome/applet/other-network-dialog.c:
15582 The "Create New Network" and "Connect to Other Network"
15583 dialogs share alot of code, but shouldn't share a window
15584 title. Give them different ones.
15586 * gnome/applet/wireless-applet.glade:
15587 * vpn-daemons/vpnc/auth-dialog/gnome-two-password-dialog.c:
15588 Some more minor UI tweaks.
15590 2005-08-19 Christopher Aillon <caillon@redhat.com>
15592 * gnome/applet/other-network-dialog.c:
15593 * gnome/applet/wireless-applet.glade:
15594 Also need mnemonic widgets, and underline enabled.
15596 2005-08-19 Dan Williams <dcbw@redhat.com>
15598 * vpn-daemons/vpnc/nm-vpnc-service.c
15599 - (vpnc_watch_cb): remove no-longer-relevant comment
15600 - (write_config_option): new function, helper to write
15601 config options to vpnc's stdin
15602 - (nm_vpnc_config_write): use the new helper, make the
15605 2005-08-19 Christopher Aillon <caillon@redhat.com>
15607 * gnome/applet/passphrase-dialog.c:
15608 * gnome/applet/wireless-applet.glade:
15609 Make the passphrase dialog response based, and treat
15610 responses other than OK (such as Esc, [X]) as a cancel.
15612 2005-08-18 Christopher Aillon <caillon@redhat.com>
15614 * initscript/Gentoo/NetworkManager:
15615 * initscript/RedHat/NetworkManager:
15616 * initscript/RedHat/NetworkManagerDispatcher:
15617 * initscript/SUSE/networkmanager:
15618 CVS remove these in place of .in replacements
15621 * initscript/Gentoo/NetworkManager.in:
15622 * initscript/RedHat/NetworkManager.in:
15623 * initscript/RedHat/NetworkManagerDispatcher.in:
15624 * initscript/SUSE/networkmanager.in:
15625 These scripts now are generated so they work still when
15626 NM is built using a bindir other than /usr/bin
15628 2005-08-18 Dan Williams <dcbw@redhat.com>
15630 * gnome/applet/main.c
15631 - Revert previous change for --no-session since
15632 --sm-disable does the same thing
15634 2005-08-18 Dan Williams <dcbw@redhat.com>
15636 * gnome/applet/applet-dbus-info.c
15637 - (nmi_dbus_create_error_message): new function
15638 - (nmi_dbus_get_key_for_network): correctly use dbus error creation
15639 functions. Also don't check for both device _and_ network before
15640 asking for a user's key, because we may not have gotten all our
15641 networks back from NM quite yet (due to the dbus pending calls
15642 coming in later). Fixes a hang in NM/nm-applet.
15644 * src/NetworkManagerDbus.c
15645 - (nm_dbus_get_user_key_for_network_cb): handle error conditions in a
15646 slightly more sane manner, even though we are still broken for
15647 certain other error conditions.
15648 - (nm_dbus_get_user_key_for_network): need to pass the network's essid
15649 to the info-daemon too
15651 * src/NetworkManagerDevice.c
15652 - Fix some debug messages to be info messages instead
15654 2005-08-18 Dan Williams <dcbw@redhat.com>
15656 * gnome/applet/main.c
15657 - Add new "--no-session" parameter that disables applet
15658 session management, ie for testing
15660 2005-08-18 Christopher Aillon <caillon@redhat.com>
15662 * gnome/applet/other-network-dialog.c:
15663 * gnome/applet/wireless-applet.glade: More mnemonics
15665 2005-08-17 Robert Love <rml@novell.com>
15667 * initscript/SUSE/networkmanager: update
15669 2005-08-17 Dan Williams <dcbw@redhat.com>
15671 * Tag NM_0_4_1_RELEASE
15673 2005-08-17 Christopher Aillon <caillon@redhat.com>
15675 * gnome/applet/applet.c: More translatable string cleanup
15678 2005-08-17 Dan Williams <dcbw@redhat.com>
15680 * gnome/applet/applet-dbus-info.c
15681 - (nmi_dbus_get_key_for_network): Grab new "new_key" parameter
15682 from the dbus message, which tells us to unconditionally
15683 ask the user for a new key. Otherwise, we pull the key from
15684 the keyring and return it. If we fail to get the key from the
15685 keyring, we ask the user for a new key.
15686 - (nmi_dbus_get_network_key): new function to grab the key for
15687 an essid from the keyring.
15688 - (nmi_dbus_get_network_properties): don't access the keyring here.
15689 Also, don't return any key in the dbus message.
15691 * src/NetworkManagerDbus.[ch]
15692 - (nm_dbus_get_user_key_for_network): Add "new_key" parameter to
15693 indicate that we unconditionally want a new key. This function
15694 is now also used to get keys from the info-daemon which are
15695 pre-stored, not just for asking the user for a new key. The
15696 "new_key" parameter indicates whether or not we wish to ask the
15697 user for a new key.
15698 - (nm_dbus_get_network_data_cb): we no longer get a key from the
15699 info-daemon in the return message, so use NULL instead. The
15700 key will be filled in at connect time by calling
15701 nm_dbus_get_user_key_for_network()
15703 * src/NetworkManagerDevice.c
15704 - (nm_device_wireless_configure): update for "new_key" param to
15705 nm_dbus_get_user_key_for_network(). We initially set new_key
15706 to FALSE to see if we have a stored key in the info-daemon, but
15707 if the connection is unsuccessful at this stage we request a
15710 2005-08-17 Dan Williams <dcbw@redhat.com>
15712 * gnome/applet/icons/nm-no-connection.png
15713 gnome/applet/icons/nm-device-wired.png
15714 - Use Diana's new RJ45 connector icons
15716 2005-08-17 Dan Williams <dcbw@redhat.com>
15718 * src/NetworkManagerPolicy.c
15719 - (nm_policy_device_change_check): clarify switching rules if
15720 both new and old devices are valid; mainly, don't switch
15721 away from user-requested wireless connection back to a wired
15724 2005-08-17 Dan Williams <dcbw@redhat.com>
15726 * gnome/applet/Makefile.am
15727 - Relocate the applet to /usr/bin since it is no longer
15728 executed by anything, but directly by the user
15730 2005-08-17 Dan Williams <dcbw@redhat.com>
15732 Patch from Bill Moss <bmoss@clemson.edu>
15734 * gnome/applet/applet-dbus-info.[ch]
15735 - (nmi_save_network_info): save timestamp for network if it
15736 was a change requested by the user
15737 - (nmi_dbus_update_network_info): get user_requested from dbus
15738 message and pass to nmi_save_network_info()
15740 * gnome/applet/applet.c
15741 - (nmwa_update_network_timestamp): remove
15742 - (nmwa_menu_item_activate): don't set timestamp on networks
15743 here, only after a successful connect in nmi_save_network_info()
15745 * src/NetworkManagerDbus.[ch]
15746 - (nm_dbus_update_network_info): pass user_requested into the
15749 * src/NetworkManagerPolicy.c
15750 - (nm_policy_activation_finish): pass user_requested to
15751 nm_dbus_update_network_info()
15753 2005-08-16 Robert Love <rml@novell.com>
15755 * gnome/applet/applet.c: Better "Dial Up" menu item.
15757 2005-08-16 Robert Love <rml@novell.com>
15759 * gnome/applet/applet.c: use GTK_STOCK_INFO not PROPERTIES for the
15760 "Connection Information" menu item.
15762 2005-08-16 Dan Williams <dcbw@redhat.com>
15764 Patch from j@bootlab.org
15765 * vpn-daemons/vpnc/Makefile.am: Fix for autoreconf
15767 * configure.in: allow specifying the path to dhcdbd
15769 2005-08-16 Robert Love <rml@novell.com>
15771 Patch from j@bootlab.org
15772 * src/backends/NetworkManagerDebian.c, src/backends/interface_parser.c,
15773 src/backends/interface_parser.h: Debian dialup support.
15775 2005-08-16 Christopher Aillon <caillon@redhat.com>
15777 * vpn-daemons/vpnc/properties/nm-vpnc-dialog.glade:
15778 * gnome/applet/applet.c: Add some mnemonics for VPNC
15780 * vpn-daemons/.cvsignore: fix this up a little bit
15782 2005-08-16 Robert Love <rml@novell.com>
15784 * src/backends/NetworkManagerSuSE.c: improve the SUSE-backend dial up
15787 2005-08-16 Christopher Aillon <caillon@redhat.com>
15789 * gnome/applet/applet.c: Split markup out of translatable strings
15790 and clean up logic a little bit. (fixes #309012)
15792 2005-08-15 Christopher Aillon <caillon@redhat.com>
15794 * gnome/vpn-properties/nm-vpn-properties.c:
15795 * gnome/vpn-properties/nm-vpn-ui-interface.h:
15796 * vpn-daemons/vpnc/properties/nm-vpnc.c:
15797 Makeshift fix to remove newlines from translatable strings.
15798 Note that we now return an allocated string, so callers of
15799 get_confirmation_details () must now call g_free () on the
15800 result. (fixes #309033).
15802 2005-08-12 Robert Love <rml@novell.com>
15804 * gnome/applet/applet-dbus.c: remove newlines from translatable
15805 strings--not needed here anyway. (fix b.g.o #309011)
15806 * src/nm-netlink.monitor.c: don't translate "%s" (fix b.g.o #172391)
15808 2005-08-11 Robert Love <rml@novell.com>
15810 * gnome/applet/applet.c: mark string as translatable.
15812 2005-08-11 Robert Love <rml@novell.com>
15814 * initscript/SUSE/networkmanager: update.
15816 2005-08-11 Dan Williams <dcbw@redhat.com>
15818 * src/nm-dhcp-manager.c
15819 - (nm_dhcp_manager_get_ip4_config): if for some reason we don't get
15820 an gateway returned from DHCP, try to use the address of the DHCP
15821 server as the gateway instead. Found by Ralf Ertzinger.
15823 2005-08-10 Robert Love <rml@novell.com>
15825 * gnome/applet/applet.c: Make applet->dbus_thread joinable so we can
15826 wait for it on exit; call exit() in nmwa_destroy() to jump ship.
15828 2005-08-10 Dan Williams <dcbw@redhat.com>
15830 Patch from Bill Moss <bmoss@clemson.edu>
15831 * Consolidate writes of access point information updates to the info daemon
15832 so that we only do it when the connection to the access point was
15833 successful. Also consolidates updates to GConf in the Gnome applet.
15835 * src/nm-netlink-monitor.c
15836 - Silence compile warning when calling g_object_new()
15838 2005-08-08 Dan Williams <dcbw@redhat.com>
15840 Patch from Steev <steev@steev.net>:
15841 * src/backends/NetworkManagerGentoo.c
15842 - Stub new dialup backend functions
15844 2005-08-08 Dan Williams <dcbw@redhat.com>
15846 Patch from Colin Slater:
15847 * src/backends/NetworkManagerGentoo.c
15848 - (nm_system_update_dns): Fix exit status check for restarting
15851 2005-08-05 Robert Love <rml@novell.com>
15853 * NetworkManager.h,
15854 gnome/applet/applet-dbus-devices.c,
15855 gnome/applet/applet-dbus-devices.h,
15856 gnome/applet/applet-dbus.c,
15857 gnome/applet/applet.c,
15858 gnome/applet/applet.h,
15859 src/NetworkManager.c,
15860 src/NetworkManagerMain.h,
15861 src/NetworkManagerSystem.h,
15862 src/backends/NetworkManagerRedHat.c,
15863 src/backends/NetworkManagerSuSE.c,
15864 src/nm-dbus-nm.c: basic dialup support using distro infrastructure
15866 2005-08-05 Robert Love <rml@novell.com>
15868 * gnome/applet/other-network-dialog.c: default the adhoc network to the
15869 machine's hostname to make adhoc creation idiot-proof.
15871 2005-08-04 Robert Love <rml@novell.com>
15873 * gnome/applet/other-network-dialog.c: fix leak. "label" needs to be
15876 2005-08-04 Dan Williams <dcbw@redhat.com>
15878 * gnome/applet/applet-dbus-info.c
15879 gnome/applet/applet-dbus-info.h
15880 - (nmi_dbus_update_network_auth_method->nmi_save_network_info): generalize
15881 to store key, key type, and auth method rather than just auth method
15882 - (nmi_dbus_update_network_info): new function
15883 - (nmi_dbus_info_message_handler): updateNetworkAuthMethod -> updateNetworkInfo
15885 * gnome/applet/passphrase-dialog.c
15886 - (nmi_passphrase_dialog_ok_clicked): call nmi_save_network_info() instead
15887 of saving the info ourselves
15889 * gnome/libnm_glib/libnm_glib.c
15890 - Remove the stupid version check for dbus
15892 * src/NetworkManagerAP.c
15893 src/NetworkManagerAP.h
15894 - (nm_ap_get_enc_key_source): return 'const char *' rather than 'char *'
15896 * src/NetworkManagerDbus.c
15897 src/NetworkManagerDbus.h
15898 - (nm_dbus_update_network_auth_method -> nm_dbus_update_network_info): Update
15899 more than just the auth method
15901 * src/NetworkManagerDevice.c
15902 - Update network info at the appropriate times
15904 2005-07-29 Ray Strode <rstrode@redhat.com>
15906 * src/NetworkManager.c (nm_info_handler): don't use input as format
15907 string (Spotted by Ian Jackson).
15909 2005-07-27 Dan Williams <dcbw@redhat.com>
15913 - Random cleanups of spacing
15915 * gnome/applet/applet.h
15916 gnome/applet/other-network-dialog.c
15917 gnome/applet/passphrase-dialog.c
15918 - Conslidate usage of NMWAEncryptionKeyTypes enum
15920 Patch from Bill Moss:
15921 - Make Other Wireless Networks work again with encryption keys
15923 2005-07-26 Dan Williams <dcbw@redhat.com>
15925 Patch from Steev <steev@steev.net>:
15926 * src/backends/NetworkManagerGentoo.c
15927 src/backends/Makefile.am
15928 - Fix up Gentoo backend
15930 2005-07-26 Robert Love <rml@novell.com>
15932 * src/backends/NetworkManagerSuSE.c: misc. cleanup
15934 2005-07-25 Robert Love <rml@novell.com>
15936 * gnome/applet/applet.c: make the "Wired" menu item a radio button,
15937 in the same group as the wireless networks, since they are all
15938 mutually exclusive.
15940 2005-07-24 Ray Strode <rstrode@redhat.com>
15942 * src/nm-netlink-monitor.c (nm_netlink_monitor_new):
15943 remove unneeded NULL arg from g_object_new(). Any
15944 warnings caused by not having the extra NULL are just a
15945 result of a bug in glib 2.7.0 - 2.7.2.
15947 2005-07-22 Robert Love <rml@novell.com>
15949 * gnome/libnm_glib/libnm_glib.c: support D-BUS version 0.35, too
15951 2005-07-22 Robert Love <rml@novell.com>
15953 * src/nm-netlink-monitor.c: g_object_new() needs at least three
15954 parameters (gcc 4.0.2 warning fix).
15956 2005-07-18 Robert Love <rml@novell.com>
15958 Suggested by Aaron Bockover (abockover@novell.com)
15959 * gnome/applet/other-network-dialog.c: ASCII is an acronym, thus
15961 * gnome/applet/passphrase-dialog.c: ditto
15962 * gnome/applet/wireless-applet.glade: ditto
15964 2005-07-13 Dan Williams <dcbw@redhat.com>
15966 Patch from Ray Strode <halfline@gmail.com>
15967 * vpn-daemons/vpnc/nm-vpnc-service.c
15968 - Don't let vpnc daemonize, fixes some races with PID file reading
15970 2005-07-13 Dan Williams <dcbw@redhat.com>
15972 Patch from Ray Strode <halfline@gmail.com>
15973 * Random cleanups for strict CFLAGS
15975 2005-07-07 Dan Williams <dcbw@redhat.com>
15977 Patch from Derek Atkins <warlord@MIT.EDU>
15978 * src/nm-dbus-net.c:
15979 - (nm_dbus_get_ap_from_object_path): differentiate similar ESSIDs
15981 2005-07-07 Dan Williams <dcbw@redhat.com>
15983 Patch from Jos Dehaes <jos_dehaes@fastmail.fm>
15984 * src/backends/NetworkManagerGentoo.c
15985 - Gentoo backend Static IP nameserver fixes
15986 - General Gentoo backend goodness
15988 2005-07-07 Dan Williams <dcbw@redhat.com>
15990 Patch from Bastien Nocera:
15991 * gnome/applet/applet.c
15992 - Fix up error reporting when icons or glade files are missing
15994 2005-07-07 Robert Love <rml@novell.com>
15996 * gnome/applet/applet.c: do not draw the VPN menu's seperator if there
15997 are not any VPN connections above it.
15999 2005-07-07 Robert Love <rml@novell.com>
16001 * gnome/applet/applet.c: whoops, left some "dog" debugging code in.
16003 2005-07-05 Robert Love <rml@novell.com>
16005 * src/NetworkManagerSystem.c: bail out if asked to set a gateway of
16008 2005-07-05 Robert Love <rml@novell.com>
16010 * src/NetworkManagerDevice.c: use link-local (autoip) on DHCP failure
16011 on wired or unencrypted wireless.
16013 2005-07-01 Robert Love <rml@novell.com>
16015 * src/NetworkManagerSystem.c: Print the error via strerror().
16017 2005-06-30 Robert Love <rml@novell.com>
16019 * gnome/vpn-properties/nm-vpn-properties.c: display an error dialog and
16020 then exit if the glade file is not found. currently the application
16023 2005-06-30 Robert Love <rml@novell.com>
16025 * src/nm-dbus-nm.c: Patch by Bill Moss <bmoss@clemson.edu> to
16026 explicitly up all interfaces on wake from sleep.
16028 2005-06-30 Robert Love <rml@novell.com>
16030 * gnome/applet/applet.c: Add right-click menu item "Connection Info"
16031 with information about the currently active connection.
16032 * gnome/applet/applet.h: (ditto)
16033 * gnome/applet/wireless-applet.glade: (ditto), new file
16035 2005-06-30 Robert Love <rml@novell.com>
16037 * src/NetworkManagerDevice.c: g_malloc0 cannot fail.
16038 * src/nm-dbus-nm.c: print when we sleep and wake up.
16039 * gnome/applet/menu-items.c: whitespace, misc. cleanup.
16040 * configure.in: look in "/usr/sbin" for dhcdbd, too. (it shouldn't be
16041 in /sbin unless D-BUS is, folks).
16042 * README: update to reflect nm-applet replacing NetworkManagerInfo.
16044 2005-06-27 Robert Love <rml@novell.com>
16046 * src/nm-dbus-nm.c: fix "setWirelessEnabled" call for the enabling
16049 2005-06-27 Robert Love <rml@novell.com>
16051 * gnome/applet/applet.c: make the 'Wireless Network Discovery' menu
16054 2005-06-26 Robert Love <rml@novell.com>
16056 * src/NetworkManagerDevice.c: be specific about which device in
16059 2005-06-23 Adam Weinberger <adamw@gnome.org>
16061 * src/nm-netlink-monitor.c: correct spelling error.
16063 2005-06-23 Robert Love <rml@novell.com>
16065 * gnome/applet/applet-dbus-info.c: gnome keyring support!
16066 * gnome/applet/passphrase-dialog.c: more of that keyring!
16068 2005-06-23 Robert Love <rml@novell.com>
16070 * configure.in: remove extraneous GNOMEKEYRING directives.
16071 * gnome/applet/Makefile.am: s/GNOMEKEYRING/GNOME_KEYRING/.
16072 * gnome/applet/applet.c: nmwa_icons_init: make style local.
16073 * gnome/applet/passphrase-dialog.c: whitespace.
16075 2005-06-23 Robert Love <rml@novell.com>
16077 * src/NetworkManagerDevice.c: division in assignment was flipped.
16079 2005-06-23 David Zeuthen <david@fubar.dk>
16081 * gnome/applet/vpn-password-dialog.c (child_stdout_data_cb): Send a
16082 signal to the child to indicate that we got what we wanted when we
16083 see two new-lines right after each other.
16084 (nmwa_vpn_request_password): Pass a structure with several members
16085 instead of just the passwords
16087 2005-06-23 Dan Williams <dcbw@redhat.com>
16089 * src/NetworkManager.c
16090 src/NetworkManagerMain.h
16091 - (nm_get_hal_ctx): new function, move Hal initialization code here
16092 - (nm_hal_init): new function, init libhal context then add devices
16093 - (nm_hal_deinit): new function, clean up libhal context
16094 - (nm_data_free): Move Hal cleanup here
16095 - (main): check whether Hal is running, and if so, get a list of
16096 network devices from it
16098 * src/NetworkManagerDbus.c
16099 - (nm_dbus_signal_filter): trap NameOwnerChanged signals for Hal,
16100 and when it appears, get a list of network devices from it. If
16101 Hal goes away, clean up the libhal context
16103 2005-06-22 Robert Love <rml@novell.com>
16105 * dispatcher-daemon/NetworkManagerDispatcher.c: fix FIXME: check
16106 permissions of scripts before executing.
16108 2005-06-21 Robert Love <rml@novell.com>
16110 * initscript/SUSE/networkmanager: update.
16111 * src/backends/NetworkManagerSuSE.c: cleanup.
16113 2005-06-21 Robert Love <rml@novell.com>
16115 * gnome/applet/applet.c: use menu mnemonics.
16116 * gnome/applet/menu-items.c: (ditto)
16118 2005-06-21 Robert Love <rml@novell.com>
16120 * applet/applet-dbus-devices.c: mark non-static functions static.
16121 * applet/applet-dbus-vpn.c: (ditto)
16122 * applet/applet.c: (ditto)
16123 * applet/nm-device.h: (ditto)
16124 * applet/other-network-dialog.c: (ditto)
16125 * applet/passphrase-dialog.c: (ditto)
16126 * NetworkManager.c: (ditto)
16127 * NetworkManagerDbus.c: (ditto)
16128 * NetworkManagerDevice.c: (ditto)
16129 * NetworkManagerPolicy.c: (ditto)
16130 * NetworkManagerUtils.c: (ditto)
16131 * NetworkManagerWireless.c: (ditto)
16132 * NetworkManagerWireless.h: (ditto)
16133 * nm-netlink-monitor.c: (ditto)
16134 * applet/applet-dbus-info.c: (ditto), add FIXME's.
16135 * vpn-manager/nm-dbus-vpn.c: (ditto), remove shadowed variable.
16136 * autoip.c: include autoip.h.
16137 * autoip.h: new file. define get_autoip().
16138 * nm-netlink-monitor.h: define nm_netlink_close_connection().
16139 * NetworkManagerDbus.h: remove duplicate definitions.
16141 2005-06-20 Robert Love <rml@novell.com>
16143 * Makefile.am: Add missing intltool-foo.in generated files to
16144 EXTRA_DIST so that 'distcheck' works. Also add DISTCLEANFILES
16145 with the start of stuff to cleanup on 'distclea'.
16146 * configure.in: add AC_PROG_INTLTOOL macro so that we do the intltool
16147 stuff right and 'distcheck' works.
16148 * po/POTFILES.in: Remove examples/python/systray/eggtrayicon.c. If
16149 we keep it, we need to add all of examples/* to EXTRA_DIST and do
16150 Makefile.am for each. And systray/Makefile needs to be redone.
16152 2005-06-19 Dan Williams <dcbw@redhat.com>
16154 * src/NetworkManagerDevice.c
16155 - (nm_device_wireless_process_scan_results): scan every 20s when
16156 disconnected and scanning is ALWAYS_SCAN or WHEN_UNASSOCIATED
16158 2005-06-19 Dan Williams <dcbw@redhat.com>
16160 * WEXT_DEBUG->IOCTL_DEBUG, extend checking to all ioctl() calls
16162 2005-06-18 Ray Strode <rstrode@redhat.com>
16164 * src/nm-netlink-monitor.c
16165 (nm_netlink_monitor_event_handler): check for the presence
16166 of either error condition not both.
16168 (nm_netlink_monitor_error_handler): emit error signal if
16171 (nm_netlink_monitor_event_handler),
16172 (nm_netlink_monitor_error_handler),
16173 (nm_netlink_monitor_disconnect_handler): if an
16174 assertion fails disconnect the event handler to prevent
16177 * src/nm-netlink-monitor.h: add new error condition
16178 NM_NETLINK_MONITOR_ERROR_WAITING_FOR_SOCKET_DATA
16180 2005-06-18 Ray Strode <rstrode@redhat.com>
16182 * src/nm-netlink-monitor.c
16183 (nm_netlink_monitor_event_handler): remove bogus < 0
16184 check on unsigned value and return early if the kernel
16185 didn't send any bytes.
16187 2005-06-17 Robert Love <rml@novell.com>
16189 * initscript/SUSE/networkmanager: Change the Provides and default
16192 2005-06-16 Dan Williams <dcbw@redhat.com>
16194 Patch from Robert Love:
16195 * gnome/applet/applet.c
16196 - Beautify some applet menu item names
16198 2005-06-17 David Zeuthen <davidz@redhat.com>
16200 * gnome/vpn-properties/nm-vpn-ui-interface.h: Require users of this
16201 API to define NM_VPN_API_SUBJECT_TO_CHANGE to acknowledge API churn.
16202 Also add new methods can_export, import_file and export.
16204 * gnome/vpn-properties/nm-vpn-properties.glade: Add an Export button
16207 * gnome/vpn-properties/nm-vpn-properties.c:
16208 Define NM_VPN_API_SUBJECT_TO_CHANGE so we can actually include
16209 nm-vpn-ui-interface.h.
16210 (update_edit_del_sensitivity): Also update "Export" sensitivity
16211 (add_vpn_connection): Also add new SVC_NAME column
16212 (import_settings): New function
16213 (retrieve_data_from_selected_connection): New function
16214 (edit_cb): Use retrieve_data_from_selected_connection to simplify
16216 (export_cb): New function
16217 (init_app): Also setup the "export" widget
16218 (main): Support the --import-service and --import-file commandline
16221 * gnome/libnm_glib/libnm_glib.c (libnm_glib_dbus_filter): Also support
16224 2005-06-16 Dan Williams <dcbw@redhat.com>
16226 Patch from Robert Love:
16227 * gnome/applet/menu-items.c
16228 - (network_menu_item_new): pass -1 as wireless network
16229 menu items height size request rather than ascent / 2
16231 2005-06-16 Dan Williams <dcbw@redhat.com>
16233 * Clean up wording in Wireless Scan Methods menu items and constants
16235 2005-06-16 Robert Love <rml@novell.com>
16238 - remove gtkcell* files
16240 2005-06-15 Dan Williams <dcbw@redhat.com>
16242 Patch from Robert Love: make the applet stetic
16244 * gnome/applet/Makefile.am
16245 - Don't compile the gtkcellview and gtkcellrendererprogress files
16247 * gnome/applet/gtkcellview.h
16248 gnome/applet/gtkcellview.c
16249 gnome/applet/gtkcellrendererprogress.h
16250 gnome/applet/gtkcellrendererprogress.c
16253 * gnome/applet/menu-items.c
16254 - Progress bars are 5:1 size ratio
16255 - Use GTK progress bars rather than internal ones
16257 2005-06-15 Dan Williams <dcbw@redhat.com>
16259 Patch from Robert Love:
16260 * initscript/SUSE/networkmanager
16263 2005-06-15 Dan Williams <dcbw@redhat.com>
16265 * src/backends/NetworkManagerSuSE.c
16266 src/backends/NetworkManagerRedHat.c
16267 src/backends/NetworkManagerDebian.c
16268 - (set_ip4_config_from_resolv_conf): Fix typo I made, '==' -> '='
16270 2005-06-15 Dan Williams <dcbw@redhat.com>
16272 * src/backends/NetworkManagerDebian.c
16273 - Add nm_system_device_get_use_dhcp() to debian backend
16275 Patch from Kay Sievers:
16276 * src/backends/NetworkManagerSuSE.c
16277 - Update debian backend for static IP nameservers
16279 * src/NetworkManagerDevice.c
16280 - Actually set the device to use static IP or DHCP rather
16283 2005-06-15 Dan Williams <dcbw@redhat.com>
16285 Patch from Thom May:
16286 * src/backends/NetworkManagerDebian.c
16287 - Update debian backend for static IP nameservers
16289 2005-06-15 Dan Williams <dcbw@redhat.com>
16291 Patches from Robert Love:
16292 * gnome/applet/wireless-applet.glade
16293 - Tighten up wording
16295 * src/NetworkManagerDevice.c
16296 - Remove misplaced ';'
16299 initscript/Makefile.am
16300 initscript/SUSE/Makefile.am
16301 initscript/SUSE/networkmanager
16302 - Add SUSE initscript
16304 2005-06-12 David Zeuthen <davidz@redhat.com>
16306 * gnome/vpn-properties/nm-vpn-ui-interface.h: New file
16308 * gnome/vpn-properties/nm-vpn-properties.glade: New file
16310 * gnome/vpn-properties/nm-vpn-properties.c: New file
16312 * gnome/vpn-properties/Makefile.am: New file
16314 * src/vpn-manager/nm-vpn-manager.h: Rework prototypes to take an
16317 * src/vpn-manager/nm-vpn-manager.c
16318 (nm_vpn_manager_activate_vpn_connection): Take an array of passwords
16319 instead of just a single one
16321 * src/vpn-manager/nm-dbus-vpn.c:
16322 (nm_dbus_vpn_get_vpn_connection_properties): Also append service_name
16324 (nm_dbus_vpn_activate_connection): Rework to take an array of passwords
16326 * gnome/applet/vpn-password-dialog.h (nmwa_vpn_request_password):
16327 Change the interface here to give a list of passwords. Also, don't
16328 require username, but do require service
16330 * gnome/applet/vpn-password-dialog.c: Look up the VPN .name files for
16331 the binary for the auth-dialog and use that instead of putting up a
16332 dialog asking for a single password
16334 * gnome/applet/vpn-connection.[ch]: Don't remember the user_name,
16335 however do remember the service
16337 * gnome/applet/main.c (main): Setup i18n
16339 * gnome/applet/applet.c (nmwa_update_state): Add a line "VPN
16340 connection to '%s'" to the tooltip if we are connected using VPN
16341 (nmwa_menu_vpn_item_activate): Check last_attempt_success gconf
16342 key to determine whether we the auth-dialog needs to
16343 reprompt. Also cope with the fact that the auth-dialog now returns
16344 an array of passwords.
16345 (nmwa_menu_configure_vpn_item_activate): New handler for
16346 "Configure VPN..." menu item
16347 (nmwa_menu_add_vpn_menu): Add the "Configure VPN..." menu item
16348 (is_vpn_available): New function to determine if we got any
16349 NM-compatible VPN software installed
16350 (nmwa_menu_add_devices): Use is_vpn_available to add VPN menu
16351 items only if we have NM-compatible VPN software installed
16352 (nmwa_gconf_vpn_connections_notify_callback): Slightly rework the
16353 logic for detecting when VPN connections are removed
16355 * gnome/applet/applet-dbus.h: Removed the prototypes for
16356 nmwa_dbus_vpn_activate_connection, nmwa_dbus_vpn_deactivate_connection
16357 since these are defined elsewhere
16359 * gnome/applet/applet-dbus.c (set_vpn_last_attempt_status): New
16360 function used to keep track of whether the last attempt succeded
16361 (nmwa_dbus_filter): Update last_attempt according to whether the
16362 VPN connection could be established or not
16364 * gnome/applet/applet-dbus-vpn.h (nmwa_dbus_vpn_deactivate_connection):
16365 Change prototype to take an array of passwords, not just a single
16368 * gnome/applet/applet-dbus-vpn.c (nmwa_dbus_vpn_properties_cb): Only
16369 update service, not user
16370 (nmwa_dbus_vpn_remove_one_vpn_connection): Check that applet->
16371 dbus_active_vpn_name is not NULL before using it
16372 (nmwa_dbus_vpn_activate_connection): Send the passwords as a
16373 string array instead of assuming a single password
16375 * gnome/applet/applet-dbus-info.c:
16376 (nmi_dbus_get_vpn_connection_properties): Use the logged in user for
16377 user name; don't read from gconf
16379 * gnome/applet/Makefile.am: Also export SYSCONFDIR and
16382 * gnome/Makefile.am (SUBDIRS): Add vpn-properties
16384 * configure.in: Add checks for gmodule-2.0.
16385 Generate gnome/vpn-properties/Makefile. Don't generate any Makefile's
16386 in vpn-daemons nor vpn-daemons/vpnc. We have separate autotooled
16387 projects under vpn-daemons now. See vpn-daemons/vpnc/Changelog
16390 * vpn-daemons/Makefile.am: Removed
16392 * vpn-daemons/README: New file to describe extensions points for VPN
16395 2005-06-10 Dan Williams <dcbw@redhat.com>
16397 * src/backends/NetworkManagerRedHat.c
16398 - (get_current_profile_name): new function, grab current network profile name from
16399 /etc/sysconfig/network
16400 - (set_ip4_config_from_resolv_conf): new function, parse a resolv.conf and
16401 update an IP4 Config structure's settings from it
16402 - (nm_system_device_get_system_config): if we're using static IP on this device,
16403 get DNS info from current network profile
16405 2005-06-09 Dan Williams <dcbw@redhat.com>
16407 Patch from Robert Love:
16408 * src/NetworkManagerDevice.c
16409 src/NetworkManagerUtils.c
16410 - 64-bit build fixes
16412 2005-06-09 Dan Williams <dcbw@redhat.com>
16414 Patch from Kay Sievers and Robert Love:
16416 src/backends/Makefile.am
16417 src/backends/NetworkManagerSuSE.c
16420 2005-06-09 Dan Williams <dcbw@redhat.com>
16423 - Add NMWirelessScanMethod enum for scan methods
16425 * gnome/applet/applet-dbus-devices.c
16426 - (nmwa_dbus_update_scanning_enabled_cb): remove
16427 - (nmwa_dbus_update_scanning_enabled): remove
16428 - (nmwa_dbus_update_devices): don't call nmwa_dbus_update_scanning_enabled() anymore
16429 since it got removed
16430 - (nmwa_dbus_enable_scanning): remove
16432 * gnome/applet/applet-dbus-info.c
16433 - (nmi_dbus_signal_update_scan_method): new function, signal NetworkManager to
16434 update the wireless scanning method from NMI
16435 - (nmi_dbus_get_wireless_scan_method): new function, return wireless scanning
16436 method value to NetworkManager
16437 - (nmi_dbus_info_message_handler): respond to the "getWirelessScanMethod" method call
16439 * gnome/applet/applet-dbus-info.h
16440 - Add prototype for nmi_dbus_signal_update_scan_method
16442 * gnome/applet/applet.c
16443 - (scanning_menu_update): new function, update one GtkCheckMenuItem from the
16444 Wireless Scanning menu based on current wireless scan method
16445 - (nmwa_menu_scanning_item_activate): new function, callback for GTK "activate"
16446 signal for Wireless Scanning menu items, tell NetworkManager the new method
16447 and update our menu items to make sure the right one is checked
16448 - (nmwa_set_scanning_enabled_cb): remove
16449 - (nmwa_context_menu_update): remove references to pause_scanning_item
16450 - (nmwa_context_menu_create): remove pause_scanning_item, and add new Wireless
16452 - (nmwa_gconf_get_wireless_scan_method): new method, pull wireless scanning method
16454 - nmwa_gconf_networks_notify_callback -> nmwa_gconf_info_notify_callback: generalize
16455 so we get notified of preference values too
16456 - (nmwa_get_instance): monitor GCONF_PATH_WIRELESS rather than GCONF_PATH_WIRELESS_NETWORKS
16458 * gnome/applet/applet.h
16459 - GCONF_PATH_WIRELESS added, one level below GCONF_PATH_WIRELESS_NETWORKS
16460 - Add wireless scan method member to applet data
16461 - Remove pause_scanning_item, add Wireless Scanning submenu
16463 * src/NetworkManager.c
16464 - (nm_data_new): default to NM_SCAN_METHOD_ON
16465 - (main): grab scanning method from NMI if we can
16467 * src/NetworkManagerDbus.c
16468 - (nm_dbus_update_wireless_scan_method_cb): new function, callback from
16469 nm_dbus_update_wireless_scan_method()
16470 - (nm_dbus_update_wireless_scan_method): new function to grab scanning method
16472 - (nm_dbus_nmi_is_running): redundant function, removed
16473 - (nm_dbus_signal_filter): trap "WirelessScanMethodUpdate" signal, grab scanning method
16474 when NMI comes back
16476 * src/NetworkManagerDevice.c
16477 - (nm_device_is_activated): return TRUE if the device is activated
16478 - (nm_device_wireless_scan): don't scan if the scan method is OFF, or if its AUTO
16479 and we are activated
16482 - (nm_dbus_nm_set_scanning_enabled): removed
16483 - nm_dbus_nm_get_scanning_enabled -> nm_dbus_nm_get_wireless_scan_method
16484 - (nm_dbus_nm_methods_setup): remove [get | set] ScanningEnabled and add "getWirelessScanMethod"
16486 2005-06-09 Dan Williams <dcbw@redhat.com>
16489 src/vpn-manager/nm-vpn-service.c
16490 - NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
16492 2005-05-27 Dan Williams <dcbw@redhat.com>
16494 * vpn-daemons/vpnc/nm-vpnc-service.c
16495 - (vpnc_watch_cb): wait a bit before trying to read vpnc's pidfile.
16496 Should fix the bug where the VPN connection terminates the first time.
16498 2005-05-20 Dan Williams <dcbw@redhat.com>
16501 - Differentiate VPN config signals between bad VPN config options
16504 * gnome/applet/applet-dbus-info.h
16505 - Add prototypes for wireless network and vpn connection update functions
16507 * gnome/applet/applet-dbus.c
16508 - (nmwa_dbus_filter): trap new VPN config error signals from NetworkManager
16510 * gnome/applet/applet.c
16511 - (nmwa_schedule_vpn_failure_dialog): new dialog text for new VPN config
16513 - (nmwa_gconf_networks_notify_cb): re-enable wireless network change notify
16514 propogation to NetworkManager
16515 - (nmwa_gconf_vpn_connections_notify_cb): re-enable vpn connection change
16516 notify propogation to NetworkManager
16518 * src/NetworkManagerDbus.c
16519 - (nm_dbus_update_one_allowed_network): make sure to specify which AP list we
16520 are updating so a network can be removed from it if necessary
16522 * src/vpn-manager/nm-vpn-manager.c
16523 - (nm_vpn_manager_process_signal): trap new vpn config error signals
16525 * vpn-daemons/vpnc/nm-vpnc-service.c
16526 - (nm_vpnc_dbus_signal_failure): generalize function for all VPN error signals
16527 - (nm_vpnc_dbus_signal_launch_failed): remove
16528 - (nm_vpnc_dbus_signal_connect_failed): remove
16529 - (nm_vpnc_helper_timer_cb): update for new generalized error signal function
16530 - (nm_vpnc_schedule_helper_timer): increase timeout to 10s
16531 - (vpnc_watch_cb): don't whine about exit code if vpnc exited cleanly, update
16532 for new generalized error signal function, remove config file stuff
16533 - (nm_vpnc_start_vpnc_binary): grab a stdin pipe to vpnc after spawning it so
16534 we can write configuration options to it
16535 - (nm_vpnc_config_file_generate): removed
16536 - (nm_vpnc_config_write): write configuration options to the vpnc stdin pipe
16537 - (nm_vpnc_config_options_validate): validate the config options we receive
16538 from NetworkManager to block potential exploits
16539 - (nm_vpnc_dbus_handle_start_vpn): call option validation function before
16541 - (nm_vpnc_dbus_process_helper_config_error): actually propogate config error
16544 2005-05-16 Dan Williams <dcbw@redhat.com>
16546 * vpn-daemons/vpnc/nm-vpnc-service-vpnc-helper.c
16547 - (main): Work correctly with vpnc 0.3.3 by exiting if the "reason" code
16550 2005-05-16 Dan Williams <dcbw@redhat.com>
16552 Patch from Tomislav Vujec <tvujec@redhat.com>
16553 * gnome/applet/applet-dbus-info.c
16554 - (nmi_dbus_get_vpn_connection_routes): new function, pull routes out of
16555 GConf and pass them to NetworkManager. New key is 'routes' under
16556 the VPN connection, and should be a string list
16558 * src/NetworkManagerSystem.c
16559 - (nm_system_vpn_device_set_from_ip4_config): if user-defined routes exist,
16560 set them on the device when we set the rest of the VPN config. Ensure
16561 they are in the correct format since they are passed directly to the
16564 * src/backends/NetworkManagerRedHat.c
16565 src/backends/NetworkManagerDebian.c
16566 - (nm_system_device_add_route_via_device_with_iface): new function
16568 * src/vpn-manager/nm-dbus-vpn.c
16569 - (nm_dbus_vpn_get_routes): grab VPN routes from NetworkManagerInfo
16571 * src/vpn-manager/nm-vpn-manager.c
16572 - (nm_vpn_manager_handle_ip4_config_signal): grab routes from NMI and pass
16573 them into the IP4 config functions
16575 2005-05-15 Dan Williams <dcbw@redhat.com>
16577 From Filip Miletic:
16581 - Serbian translation added
16583 2005-05-15 Dan Williams <dcbw@redhat.com>
16585 * dispatcher-daemon/NetworkManagerDispatcher.c
16586 - (main): sync arguments with NetworkManager and the applet, now use
16587 "--no-daemon" rather than "daemon=no"
16588 - (nmd_print_usage): Fix script path in usage message
16590 2005-05-15 Dan Williams <dcbw@redhat.com>
16592 * src/NetworkManagerDevice.[ch]
16593 src/NetworkManagerPolicy.c
16594 src/NetworkManager.c
16596 - Remove the "just_added" parameter from nm_device_deactivate(). We no
16597 longer send the DeviceNoLongerActive signal unconditionally, but only
16598 when the device is actually active.
16600 * dispatcher-daemon/NetworkManagerDispatcher.c
16601 - (nmd_execute_scripts): convert to GLib directory functions from opendir(),
16602 and simplify the logic
16603 - (nmd_get_device_name): copy value from dbus reply so we don't segfault when
16604 we free it later on
16606 * initscript/RedHat/Makefile.am
16607 initscript/RedHat/NetworkManagerDispatcher
16608 - Add initscript for NetworkManagerDispatcher
16611 Patch from Bill Moss:
16612 * dispatcher-daemon/NetworkManagerDispatcher.c
16613 - Remove IP4AddressChange signal code including nmd_get_device_ip4_address()
16615 * src/NetworkManagerDbus.c
16616 - (nm_dbus_signal_device_ip4_address_change): remove. If the device goes up,
16617 and DeviceNowActive gets signaled, then the device has a new IP address
16618 anyway. There's no need for a separate signal.
16620 * src/NetworkManagerDevice.c
16621 - (nm_device_update_ip4_address): Don't send IP4AddressChange signal
16623 * src/NetworkManagerPolicy.c
16624 - (nm_policy_activation_finish): Send DeviceNowActive signal when the device
16625 activates successfully. This kind of went missing when I reworked the
16628 2005-05-15 Dan Williams <dcbw@redhat.com>
16631 - Check for dhcdbd and error if its not found
16633 * src/dhcp-manager/Makefile.am
16634 src/dhcp-manager/nm-dhcp-manager.c
16635 - Use path to dhcdbd that configure found
16637 2005-05-14 Dan Williams <dcbw@redhat.com>
16639 * gnome/applet/nm-device.c
16640 - (network_device_sort_wireless_networks, sort_networks_function): New functions to
16641 sort wireless networks alphabetically
16643 * gnome/applet/applet-dbus-devices.c
16644 - (mwa_dbus_devices_lock_and_copy): Sort network device's wireless network lists
16645 before copying them over to the GUI
16647 2005-05-14 Dan Williams <dcbw@redhat.com>
16649 * src/NetworkManager.c
16650 - (device_stop_and_free): Deactivate VPN connections before deactivating devices,
16651 fixes a deadlock on shutdown with a VPN connection active. This function locks
16652 the device list, as does nm_get_active_device() which is called from
16653 nm_vpn_manager_deactivate_vpn_connection().
16655 2005-05-14 Dan Williams <dcbw@redhat.com>
16658 - Add signals for VPN Launch and Connect failures
16660 * gnome/applet/applet-dbus.c
16661 - (nmwa_dbus_filter): Trap new VPN launch & connect failure signals
16663 * gnome/applet/applet.c
16664 - (nmwa_show_vpn_failure_dialog): generalize old nmwa_show_vpn_login_failure_dialog()
16665 function to handle all VPN failure messages
16666 - (nmwa_schedule_vpn_failure_dialog): generalize old nmwa_schedule_vpn_login_failure_dialog()
16667 function to hanlde all VPN failure messages
16668 - (show_warning_dialog): work around focus-stealing prevention
16670 * gnome/applet/other-network-dialog.c
16671 gnome/applet/passphrase-dialog.c
16672 - (update_button_cb): Make sure the OK button is enabled when it should be, fixes
16673 problem where it never enabled for ASCII Key and Hex Key types
16675 * gnome/applet/wireless-applet.glade
16676 - Add window title to Other Wireless Network Dialog
16678 * src/vpn-manager/nm-dbus-vpn.c
16679 - (nm_dbus_vpn_signal_vpn_failed): generalize old nm_dbus_vpn_signal_vpn_login_failed()
16680 function to handle all VPN failure messages
16682 * src/vpn-manager/nm-vpn-manager.c
16683 - (nm_vpn_manager_process_signal): trap and proxy VPN launch & connect failure signals too
16685 * vpn-daemons/vpnc/nm-vpnc-service.c
16686 - (nm_vpnc_dbus_signal_launch_failed): new function
16687 - (nm_vpnc_dbus_signal_connect_failed): new function
16688 - (nm_vpnc_helper_timer_cb): signal connect failure on timeout
16689 - (vpnc_watch_cb): signal connection failure when vpnc exits with connection failure
16690 - (nm_vpnc_start_vpnc_binary): search a number of locations for vpnc
16691 - (nm_vpnc_dbus_handle_start): send launch failure signal when we fail to launch vpnc
16693 2005-05-11 Dan Williams <dcbw@redhat.com>
16695 * vpn-daemons/vpnc/nm-vpnc-service.c
16696 - (nm_vpnc_start_vpnc_binary): NULL-ify GError before using it
16697 - (nm_vpnc_config_file_generate): Attempt to ensure that the path for the config
16698 file exists before trying to write it out.
16700 2005-05-10 Dan Williams <dcbw@redhat.com>
16702 * gnome/applet/applet-dbus-device.c
16703 - (nmwa_dbus_set_device): remove check for valid key and key type, which
16704 prevented just entering ESSID and leaving key and key type up to
16705 NetworkManager (which should have them already cached)
16707 2005-05-08 Dan Williams <dcbw@redhat.com>
16709 * src/NetworkManagerPolicy.c
16710 - (nm_policy_activation_finish): Don't set NM_ACT_STAGE_ACTIVATED here, instead...
16711 - (nm_policy_schedule_activation_finish): Set NM_ACT_STAGE_ACTIVATED here to
16712 fix a situation where NM is told to terminate and the device stops activation,
16713 but the main thread isn't aware of that because it would never have run
16714 nm_policy_activation_finish() to set the ACTIVATED flag, because the main loop
16717 * src/NetworkManagerDevice.c
16718 - (nm_device_probe_wired_link_state): cosmetic fixes
16719 - (nm_device_activate_stage5_ip_config_commit): Don't check link state if
16720 we've failed to activate or been canceled.
16721 - (nm_ac_test): nm_debug -> nm_info for "waiting for device to cancel" message
16723 2005-05-08 Dan Williams <dcbw@redhat.com>
16725 * src/NetworkManagerWireless.c
16726 - (nm_wireless_qual_to_percent): Fix #if -> #ifdef, print out the "updated"
16727 value of WEXT quality structures, and add a debug message when we cannot
16728 determine any quality % at all
16730 2005-05-08 Dan Williams <dcbw@redhat.com>
16732 * src/dhcp-manager/nm-dhcp-manager.c
16733 - (nm_dhcp_manager_begin_transaction): Tell dhclient to release leases when
16736 2005-05-06 Dan Williams <dcbw@redhat.com>
16738 * gnome/applet/applet-dbus-device.c
16739 gnome/applet/applet-dbus-info.c
16740 gnome/applet/applet-dbus.c
16741 gnome/applet/applet.c
16742 gnome/applet/applet.h
16743 - (nmwa_get_device_for_nm_device) -> (nmwa_get_device_for_nm_path)
16745 * gnome/applet/applet-dbus.c
16746 - (nmwa_dbus_filter): trap DeviceCarrierOn/DeviceCarrierOff signals
16747 so we notice when wired device's carriers come back on. Should
16748 fix issue with wired devices being grayed out even if the cable
16749 is in, for devices that support carrier detection.
16751 * gnome/applet/applet.c
16752 - (nmwa_driver_notify): bash focus-stealing prevention in the face
16753 - (nmwa_act_stage_to_pixbuf): Clarify wireless ACT_STAGE_DEVICE_CONFIG
16755 - (nmwa_menu_item_activate, nmwa_menu_add_device_item, nmwa_menu_item_data_free):
16756 Fix situation where applet wouldn't respond to menu selections
16758 * src/NetworkManager.c
16759 src/NetworkManagerDevice.c
16760 src/NetworkManagerDbus.c
16761 src/NetworkManagerDbus.h
16762 - (nm_dbus_signal_device_status_change) -> (nm_dbus_schedule_device_status_change_signal)
16764 * src/NetworkManagerDbus.c
16765 - (nm_dbus_send_network_not_found, nm_dbus_schedule_network_not_found_signal):
16766 Remove, no longer used or relevant
16767 - (nm_dbus_signal_device_status_change): Better signal enum->string matching
16768 - (nm_dbus_schedule_device_status_change_signal): add
16770 * src/NetworkManagerDevice.c
16771 - (nm_device_worker_thread_stop): don't try to join a NULL worker thread
16772 - (nm_device_set_link_active): Fix up switching for non-carrier-detect devices,
16773 ie don't deactivate them unless explicitly told to by the user. Also send
16774 CARRIER_OFF / CARRIER_ON signals when link changes
16775 - (nm_device_set_essid, nm_device_set_enc_key, nm_device_is_up, nm_device_set_mode):
16776 Don't print error message when device is no longer around
16777 - (nm_device_deactivate): kill any current DHCP process attached to this device,
16778 not just during activation
16780 * src/NetworkManagerPolicy.c
16781 - (nm_policy_auto_get_best_device): Ignore semi-supported devices completely from
16782 auto-device-selection.
16783 - (nm_policy_device_change_check): Don't interrupt semi-supported devices
16785 * src/NetworkManagerSystem.c
16786 - (nm_system_device_set_up_down_with_iface): Quiet first warning message when device
16787 is no longer present (Bill Moss)
16789 * src/backends/shvar.c
16790 - (svOpenFile): Open read-only to make SELinux happy
16792 * src/backends/NetworkManagerRedHat.c
16793 - (nm_system_device_get_system_config): Use SYSCONFDIR rather than hardcoding
16794 the path to the ifcfg-* files
16796 2005-05-05 Dan Williams <dcbw@redhat.com>
16798 * Expose activation stages to NetworkManager clients, like the applet
16799 * Add Diana's progress icons to the applet, cued off NM activation stage
16800 * Use more descriptive tooltips, cued off NM activation stage
16802 2005-05-05 Ray Strode <rstrode@redhat.com>
16804 * src/nm-netlink-monitor.c:
16805 - Use clear_event_source instead of g_nullify_pointer() again.
16807 2005-05-05 Dan Williams <dcbw@redhat.com>
16809 * gnome/applet/main.c
16810 - Fix session management so the applet is actually managed now
16812 * gnome/applet/passphrase-dialog.c
16813 - (nmi_passphrase_dialog_show): bash focus-stealing prevention in the face
16815 2005-05-05 Dan Williams <dcbw@redhat.com>
16817 Patch from Bill Moss:
16818 * gnome/libnm_glib/libnm_glib.c
16819 - Fix for dbus-0.33
16821 2005-05-05 Dan Williams <dcbw@redhat.com>
16823 Suggestion from Bill Moss:
16824 * src/NetworkManagerSystem.c
16825 - (nm_system_device_set_up_down_with_iface): ignore ENODEV
16828 * src/NetworkManager.c
16829 - (nm_data_free): move destruction of the various managers after
16830 release of device list, because deactivating and freeing a device
16831 requires at least the named manager
16832 - (nm_poll_and_update_wireless_link_state):
16833 (nm_device_link_activated):
16834 (nm_device_link_deactivated):
16835 don't grab the device list lock when actually updating device
16836 link status or strength, since nm_device_set_link_active()
16837 needs to call nm_get_active_device(), which also locks the device list.
16839 * src/NetworkManagerDevice.c
16840 - (nm_device_set_link_active): if a device's link switches from off->on,
16841 and it's wired, and the active device is wireless (or there is no
16842 active device), activate the new device whose link just came on
16843 - (link_to_specific_ap): try to smooth over intermittency in wireless links
16844 my only calling the link to the current ap "failed" when more than 2
16845 consecutive link checks have failed
16847 2005-05-04 Dan Williams <dcbw@redhat.com>
16849 * src/NetworkManagerDevice.c
16850 - (nm_device_probe_wireless_link_state): don't lock the scan mutex here
16851 but let link_to_specific_ap() do the locking where it needs
16853 Patch from Bill Moss:
16854 * src/NetworkManagerSystem.c
16855 - Set MTU of VPN devices to 1412
16857 2005-05-04 Dan Williams <dcbw@redhat.com>
16859 * Remove NM_STATE_SCANNING from NetworkManager.h and applet code
16861 * Fix some holes in device activation and retaining the currently connected
16864 2005-05-03 Dan Williams <dcbw@redhat.com>
16866 * Kill dhcpcd. We now use "dhcdbd", a dbus daemon that controls dhclient.
16867 This means that NetworkManager shouldn't have DHCP issues anymore. It also
16868 means you need dhcdbd, which you can get here (get the latest one):
16870 http://people.redhat.com/jvdias/dhcdbd/
16872 Technically NetworkManager can use any DHCP daemon that uses the same DBUS
16873 interface as dhcdbd.
16875 * Rewrite device activation to facilitate the new DHCP infrastructure and
16876 future improvements. Its now "activation request" based, ie there is a single
16877 activation request composed of the device, access point, and other info which
16878 follows the entire activation process. There are 5 stages of the activation
16879 process which correspond to:
16881 1) Device preparation
16882 2) Device configuration (bring it up, set ESSID/Key/etc)
16883 3) IP Config Start (fire off DHCP if we're using it)
16884 4) IP Config Get (grab config from DHCP or static config files)
16885 5) IP Config Commit (set device's IP address, DNS, etc)
16887 Note that there is no longer a "scanning" step, since the access point must
16888 be known _before_ activation starts. If the access point drops out or does
16889 not exist for some reason, the entire activation process fails and must be
16890 restarted for a different access point or device.
16892 Patch from Bill Moss:
16893 * gnome/applet/applet.c
16894 - Fix type of vpn_failure dialog -> vpn_banner dialog
16896 2005-04-27 Dan Williams <dcbw@redhat.com>
16898 * gnome/applet/applet-dbus-vpn.c
16899 gnome/applet/applet.c
16900 gnome/applet/applet.h
16901 - Fix up active VPN handling so that we reliably know when a VPN
16902 connection has been deactivated
16904 * src/vpn-manager/nm-vpn-manager.c
16905 - Remove duplicate VPNConnectionChange signal
16907 2005-04-27 Dan Williams <dcbw@redhat.com>
16909 Patch from Peter Jones:
16910 * Remove usage of varargs to fix crashes on PPC (RH #154336)
16912 Patch from Bill Moss:
16913 * src/NetworkManagerSystem.c
16914 - Fix checking of return value from ioctl()
16916 2005-04-27 Dan Williams <dcbw@redhat.com>
16918 * Fix choosing of wireless networks and "Other wireless network..." from the applet
16919 * Warn and exit if icons cannot be found
16921 2005-04-27 Dan Williams <dcbw@redhat.com>
16923 Patch from Tom Parker:
16924 * Update debian backend
16926 2005-04-27 Dan Williams <dcbw@redhat.com>
16928 * Merge the applet and the info-daemon, and move the converged
16929 applet under gnome/applet
16930 * Move libnm_glib to gnome/libnm_glib
16931 * Convert most dbus calls between the applet, info-daemon, and NM
16933 * Fix a few things valgrind noticed
16934 * Make NM broadcast state more reliably
16936 2005-04-22 Pawan chitrakar <pawan@nplinux.org>
16938 * configure.in: Added ne in ALL_LINGUAS
16940 2005-04-15 Dan Williams <dcbw@redhat.com>
16942 * libnm_glib/libnm_glib: Fix up for dbus-0.32, and remove
16943 code for dbus 0.2x versions
16945 2005-04-15 Dan Williams <dcbw@redhat.com>
16947 Patches from Tom Parker:
16949 - Join with worker thread rather than polling for its exit
16951 Patch from Bill Moss:
16952 - Cull duplicate ESSIDs from the scan list, taking highest strength AP
16954 2005-04-15 Dan Williams <dcbw@redhat.com>
16956 - Fixes to pass 'make distcheck'
16958 2005-04-15 Dan Williams <dcbw@redhat.com>
16960 Initial VPN Support
16962 - reworks device IP configuration, backend files have changed and will need
16963 to be updated for all distributions. I will try to do what I can for
16964 them, but I cannot test them.
16966 - Move named directory to src/named-manager
16967 - Make backends directory self-contained
16969 2005-04-06 Dan Williams <dcbw@redhat.com>
16971 Add debug code for socket/file descriptor leaks. We register every socket
16972 that we open (except for stuff in dhcpcd/) for tracking, and print out the
16973 list of sockets that we forgot to close on shutdown. This also consolidates
16974 about 4 places where we opened sockets into 1 function in NetworkManagerUtils.c
16976 2005-04-06 Dan Williams <dcbw@redhat.com>
16979 - (dhcp_interface_free): fix a file descriptor leak that may have
16980 caused network drivers to not unload due to refcounts > 0
16982 2005-04-04 Dan Williams <dcbw@redhat.com>
16984 * panel-applet/NMWirelessAppletDbus.c
16985 - (nmwa_dbus_call_nm_method): remove some commented code
16987 * src/NetworkManagerAPList.[ch]
16988 - (nm_ap_list_remove_ap_by_essid): new function
16990 * src/NetworkManagerDevice.c
16991 - (nm_device_wireless_force_use): remove access points from the ignore list
16992 when the user forces them
16994 * src/nm-dbus-device.c
16995 - (nm_dbus_device_get_active_network): fix up escaping of object paths
16997 2005-04-04 Dan Williams <dcbw@redhat.com>
16999 Patch from Tom Parker: include "nm-utils.h" for backend files that need it
17001 2005-04-04 Dan Williams <dcbw@redhat.com>
17003 * src/NetworkManagerDevice.c:
17004 - (nm_completion_scan_has_results): restore pre-completion-patch behavior
17005 of only erroring after the second consecutive scan times out. Also
17006 don't exit when the card requires more time than we can give it, just
17007 log the event and continue.
17009 2005-04-01 Steve Murphy <murf@e-tools.com>
17011 * configure.in: Added "rw" to ALL_LINGUAS.
17013 2005-04-01 Dan Williams <dcbw@redhat.com>
17015 Perform scans during device activation, if needed. Both activation
17016 and scans run in the same GMainContext. Therefore, if an access point
17017 is not found by the time the device starts activation, it will not
17018 be available until after activation. We now try to scan during
17019 activation (in nm_wa_test) every 15s so that all available access
17020 points are more likely to be found and available for the activation
17023 Also change nm_wireless_link_state_handle() to only update the "best"
17024 AP if we are not forcing a device and if we are not about to change
17025 state. This attempts to work around a race when forcing a device,
17026 where the forced AP would get cleared out too soon by the link state
17027 checking timeout in the main thread, and the activation attempt with
17028 that AP would fail.
17030 2005-04-01 Dan Williams <dcbw@redhat.com>
17033 - Update with new translatables
17035 2005-03-31 Dan Williams <dcbw@redhat.com>
17037 * panel-applet/NMWirelessAppletDbus.c
17038 - Fix device names now that hal has changed device parenting for
17041 2005-03-31 Dan Williams <dcbw@redhat.com>
17043 Tighten up handling of wireless devices that don't support wireless
17044 scanning (ie, Orinoco). Due to restructuring of code, these devices
17045 hadn't been doing pseudo-scanning for a while either and would just
17046 spin waiting for an access point. They are now manual devices where
17047 the user must choose the access point from the menu every time. All
17048 "allowed" access points are listed in the applet's menu regardless
17049 of whether or not they can be seen by the card, since it can't scan
17052 * src/NetworkManager.c
17053 - (nm_wireless_link_state_handle): new function, but only update
17054 the "best" ap for non-scanning devices when its not activating,
17055 and when no device is being forced on the card
17056 - (nm_link_state_monitor): split wireless link state handling out
17057 into separate function
17059 * src/NetworkManagerDevice.c
17060 - (nm_device_copy_allowed_to_dev_list): new function
17061 - (nm_device_new): populate non-scanning cards' AP lists with
17062 access points from the "allowed" list
17063 - (nm_device_new): don't start a scanning timeout for devices that
17065 - (nm_device_activation_schedule_finish): new parameter, should be
17066 the AP that failed to be connected to, pass it on to the
17067 activation finish function in NetworkManagerPolicy.c
17068 - (nm_device_activate_wireless): don't ever try to get a new AP
17069 for non-scanning devices, just fail. The user must choose
17070 a new access point manually.
17071 - (nm_device_activate): grab the AP that failed connection and
17073 - (nm_device_update_best_ap): Clear the best AP if we don't have
17074 a link to it, user must manually choose a new one
17075 - (nm_device_do_pseudo_scan): remove function
17076 - (nm_device_wireless_process_scan_results): remove bits for non-
17077 scanning cards since they never get here
17078 - (nm_device_wireless_scan): remove bits for non-scanning devices,
17079 and fake the scan list for test devices a bit earlier
17081 * src/NetworkManagerPolicy.c
17082 - (nm_policy_activation_finish): use the failed_ap that we get
17083 passed rather than getting the best_ap from the card, which
17084 may have changed since we were scheduled
17085 - (nm_policy_allowed_ap_list_update): for non-scanning devices,
17086 update their scan list directly from the allowed list when
17087 we get updates to the allowed list from NetworkManagerInfo
17089 * src/NetworkManagerPolicy.h
17090 - New member for failed access point in NMActivationResult
17092 -------------------------------------
17094 Driver Notification patch: notifies the user when their driver
17095 sucks. Gives them the option to ignore further insertions
17096 of the card that has the sucky driver.
17099 - Remove the SEMI_SUPPORTED member from the NMDriverSupportLevel
17100 enum and replace it with NO_CARRIER_DETECT and
17103 * panel-applet/NMWirelessApplet.[ch]
17104 - Merge essid.glade -> wireless-applet.glade
17105 - Implement the "Your driver sucks" notification dialog
17107 * panel-applet/NMWirelessAppletDbus.c
17108 - Change stuff from getSupportsCarrierDetect->getDriverSupportLevel
17109 - Grab hardware address for each device from NM too
17110 - Check whether the driver for each device sucks or not whenever
17111 a new device is noticed
17113 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17114 - Deal with stuff being in wireless-applet.glade now rather than essid.glade
17116 * src/NetworkManager.c
17117 - Fix a double-unref on device removal
17119 * src/NetworkManagerUtils.c
17120 - Set appropriate driver support level on a device that doesn't
17121 support scanning or carrier detection
17123 * src/nm-dbus-device.c
17124 - New "getHWAddress" dbus method on devices
17125 - getSupportsCarrierDetect -> getDriverSupportLevel
17127 2005-03-31 Dan Williams <dcbw@redhat.com>
17129 * src/NetworkManagerDevice.c
17130 - (nm_device_wireless_scan): Fix leak of scan results in some
17133 2005-03-29 Dan Williams <dcbw@redhat.com>
17135 * src/NetworkManager.c
17136 - (nm_poll_and_update_wireless_link_state): make code less indented
17138 Patch from Bill Moss:
17139 * src/NetworkManager.c
17140 - (nm_device_update_link_state): Update signal strength on wireless
17141 devices every time we update link state too.
17143 2005-03-29 Dan Williams <dcbw@redhat.com>
17145 * src/NetworkManagerDevice.c
17146 - (nm_device_set_essid): Work around Orinoco cards which need
17147 extra time after setting the ESSID
17149 2005-03-29 Dan Williams <dcbw@redhat.com>
17151 * src/NetworkManagerDevice.c
17152 - Merge one more bit of Peter Jones' completion patch
17154 2005-03-29 Dan Williams <dcbw@redhat.com>
17156 * src/NetworkManagerDevice.c
17157 - (nm_device_force_use): Fix possible segfault
17159 2005-03-29 Dan Williams <dcbw@redhat.com>
17161 * src/NetworkManagerDevice.c
17162 - Use iw_get_ext() where we should rather than iw_set_ext()
17164 2005-03-29 Dan Williams <dcbw@redhat.com>
17166 * src/NetworkManagerDevice.c
17167 - (nm_device_set_up_down): remove check for unsupported devices
17168 that caused NM to not bring devices up when they were
17169 added to the device list.
17171 2005-03-28 Dan Williams <dcbw@redhat.com>
17173 * src/NetworkManagerDevice.c
17174 - (mdio_read): Fix two bugs that caused all devices to fail
17175 the MII carrier detection support checks
17177 2005-03-26 Dan Williams <dcbw@redhat.com>
17179 * src/NetworkManagerDevice.c
17180 - (nm_device_wireless_scan): Remove duplicated scanning code
17182 2005-03-25 Dan Williams <dcbw@redhat.com>
17184 * panel-applet/NMWirelessApplet.c
17185 - (nmwa_about_cb): Add some more contributors
17186 - (nmwa_update_state): show the applet when there's no connection
17187 - Enable the "Stop/Resume all wireless devices" option in the
17189 - New "no connection" icon
17191 * src/NetworkManager.c
17192 - (nm_poll_and_update_wireless_link_state): don't do anything if
17193 wireless is disabled or we're asleep
17195 * src/NetworkManagerDHCP.c
17196 - Remove trailing "\n" on debug messages
17198 * src/NetworkManagerDbus.c
17199 - (nm_dbus_network_status_from_data): new state "asleep"
17201 * src/NetworkManagerDevice.c
17202 - Merge most of Peter Jones' "completion" patch that greatly reduces
17203 latency and wait times for most operations
17204 - (nm_device_wireless_scan): Don't scan when asleep
17206 * src/NetworkManagerPolicy.c
17207 - (nm_policy_get_best_device): return no device when asleep
17208 - (nm_policy_allowed_ap_list_update): From Bill Moss: merge properties
17209 for all wireless devices on update, not just active device
17211 * src/NetworkManagerUtils.c
17212 - Merge Peter Jones' "completion" patch
17215 - (nm_dbus_nm_set_wireless_enabled): bring down wireless devices when
17216 we're told to disable them
17217 - (nm_dbus_nm_sleep, nm_dbus_nm_wake): new functions for sleep/wake
17220 - New variants of the warn/info/error/debug print functions that can take
17221 variables rather than static strings
17223 2005-03-24 Dan Williams <dcbw@redhat.com>
17225 * src/NetworkManagerUtils.c
17226 - (nm_get_device_driver_name): driver names are now on the parents of
17227 "Network Interface" objects, so look for them there
17229 2005-03-24 Dan Williams <dcbw@redhat.com>
17232 - Escape some forgotten object paths before we shove them through dbus
17234 2005-03-24 Dan Williams <dcbw@redhat.com>
17236 * dhcpcd/dhcpcd.[ch]
17237 src/NetworkManagerDHCP.c
17238 - Switch names from "*_record_*" -> "*_element_*" to clarify things a bit
17239 (ie, dhcp_option_record_len -> dhcp_option_element_len)
17241 * src/NetworkManagerDbus.c
17244 * src/nm-dbus-dhcp.c
17245 - Make the API suck less. There is now only 1 type of each function,
17246 ie only "getInteger" and no longer also "getIntegerv". All types
17247 are returned encapsulated in a DBUS_TYPE_ARRAY, even for options
17248 that will never have more than 1 element. This should simplify
17251 * test/nm-dhcp-opt-test.c
17252 - Make the tool not segfault
17253 - adapt to new DHCP Options API
17255 2005-03-22 Dan Williams <dcbw@redhat.com>
17257 * src/NetworkManager.c
17258 - (nm_wired_link_deactivated): actually ignore netlink events from
17261 2005-03-22 Dan Williams <dcbw@redhat.com>
17263 * src/NetworkManager.c
17264 - (nm_wired_link_activated): actually ignore netlink events from
17267 2005-03-17 Dan Williams <dcbw@redhat.com>
17269 Patch from Tom Parker:
17270 * src/nm-netlink-monitor.c
17272 * info-daemon/NetworkManagerInfoDbus.c
17273 - (nmi_dbus_update_network_auth_method): free GConf values
17275 Patch from Nathaniel McCallum <npmccallum@gentoo.org>:
17276 * src/NetworkManagerDevice.c
17277 - (nm_device_set_wireless_config): wait for successful
17278 association longer for some cards (Atheros a/b/g)
17280 2005-03-15 Ray Strode <rstrode@redhat.com>
17282 * src/NetworkManager.c:
17283 (sigterm_pipe_handler):
17286 2005-03-15 Ray Strode <rstrode@redhat.com>
17288 * src/NetworkManagerDbus.c:
17289 Fix some sign weirdness that gcc4 doesn't like,
17290 and add a header file so PPC can hopefully find
17293 2005-03-14 Ray Strode <rstrode@redhat.com>
17295 Fourth (probably working) cut at porting to
17296 dbus 0.30 api and new hal. This cut adds
17297 some new logging macros to make debugging
17300 * dispatcher-daemon/NetworkManagerDispatcher.c:
17301 * info-daemon/NetworkmanagerInfo.c:
17302 * info-daemon/NetworkManagerInfoPassphraseDialog.c:
17303 * info-daemon/NetworkManagerInfoVPN.c:
17304 * src/NetworkManager.c:
17305 * src/NetworkManagerAP.c:
17306 * src/NetworkManagerAPList.c:
17307 * src/NetworkManagerDHCP.c:
17308 * src/NetworkManagerDbus.c:
17309 * src/NetworkManagerDevice.c:
17310 * src/NetworkManagerPolicy.c:
17311 * src/NetworkManagerSystem.c:
17312 * src/NetworkManagerUtils.c:
17313 * src/NetworkManagerWireless.c:
17315 * src/nm-dbus-nm.c:
17316 * src/backends/NetworkManagerDebian.c:
17317 * src/backends/NetworkManagerGentoo.c:
17318 * src/backends/NetworkManagerRedHat.c:
17319 * src/backends/NetworkManagerSlackware.c:
17320 use new logging macros.
17322 * dispatcher-daemon/NetworkManagerDispatcher.c:
17323 (nmd_dbus_filter): s/dbus_free/g_free/
17325 * info-daemon/Makefile.am: link in utils library.
17326 * info-daemon/NetworkmanagerInfo.c: use new logging
17328 (nmi_dbus_get_network): don't assume enumerations
17330 (nmi_dbus_nmi_message_handler): don't free what
17331 doesn't belong to us.
17333 * libnm_glib/libnm_glib.c:
17334 (libnm_glib_get_nm_status):
17335 (libnm_glib_init): don't free what doesn't
17337 (libnm_glib_dbus): strdup result, so it doesn't get
17338 lost when message is unref'd.
17340 * panel-applet/NMWirelessAppletDbus.c:
17341 (nmwa_dbus_update_devices): s/dbus_free/g_free/
17343 * src/NetworkManager.c:
17344 (nm_monitor_wired_link_state): request initial status
17345 dump of all cards when we start up, instead of relying
17346 on /sys/.../carrier.
17347 (nm_info_handler), (nm_set_up_log_handlers):
17348 log handlers to specify what syslog priorites
17349 the logging macros default to.
17351 * src/NetworkManagerAPList.c:
17352 (nm_ap_list_populate_from_nmi):
17353 s/dbus_free_string_array/g_strfreev/
17355 * src/NetworkManagerDbus.c:
17356 (nm_dbus_get_network_object):
17357 validate d-bus message argument types.
17358 Advance message iterator after reading argument,
17359 prepend instead of append to GSList.
17361 * src/NetworkManagerDevice.c:
17362 (nm_device_probe_wired_link_status):
17363 remove redundant /sys in /sys path. remove wrong
17364 contents == NULL means has carrier assumption.
17366 * src/nm-netlink-monitor.c
17367 (nm_netlink_monitor_request_status): implement
17368 function to ask kernel to dump interface link
17369 status over netlink socket.
17371 * test/*.c: s/dbus_free/g_free/
17373 * utils/nm-utils.h:
17374 (nm_print_backtrace): new macro to print backtrace.
17375 (nm_get_timestamp): new macro to get sub-second precise
17377 (nm_info), (nm_debug), (nm_warning), (nm_error):
17378 new logging functions. nm_info just prints,
17379 nm_debug includes timestamp and function,
17380 nm_warning includes function, nm_error includes
17381 backtrace and sigtrap.
17383 2005-03-11 Ray Strode <rstrode@redhat.com>
17385 Third (unfinished, partially working) cut at porting to
17386 dbus 0.30 api and new hal.
17388 * info-daemon/NetworkManagerInfoDbus.c:
17389 don't free null arrays.
17391 * panel-applet/NMWirelessAppletDbus.c:
17392 * src/nm-dbus-device.c:
17393 * src/nm-dbus-net.c:
17394 * src/NetworkManagerDbus.c: more
17395 STRING -> OBJECT_PATH fun
17396 * src/NetworkManagerDevice.c:
17397 * src/NetworkManagerDevice.h:
17398 (rename nm_device_get_link_active): rename to
17399 nm_device_has_active_link
17400 (nm_device_wireless_link_active): rename to
17401 nm_device_probe_wireless_link_state
17402 (nm_device_wired_link_active): rename to
17403 nm_device_probe_wired_link_state. Rewrite to
17404 use carrier file since hal doesn't maintain
17405 link state anymore.
17406 (nm_device_update_link_active): rename to
17407 nm_device_update_link_state
17408 * src/NetworkManagerPolicy.c
17409 (nm_policy_activation_finish): check for NULL
17413 * src/NetworkManagerMain.h:
17414 * src/NetworkManager.c:
17415 * src/nm-netlink-monitor.c:
17416 * src/nm-netlink-monitor.h: New class to support
17417 monitoring wired ethernet link status, since HAL
17418 doesn't export that information anymore.
17420 2005-03-09 Ray Strode <rstrode@redhat.com>
17422 Second (unfinished, unworking) cut at porting to
17425 * dispatcher-daemon/NetworkManagerDispatcher.c:
17426 * info-daemon/NetworkManagerInfoDbus.c:
17427 * panel-applet/NMWirelessAppletDbus.c:
17428 * src/NetworkManagerDbusUtils.c:
17429 * src/NetworkManagerDbusUtils.h:
17430 * src/nm-dbus-device.c:
17431 * src/nm-dbus-nm.c:
17432 * test/nmtest.c: support dbus "object path" type
17436 * info-daemon/Makefile.am:
17437 * libnm_glib/Makefile.am:
17438 * panel-applet/Makefile.am:
17439 * dispatcher-daemon/Makefile.am
17441 * test/Makefile.am:
17442 * utils/Makefile.am:
17443 * utils/nm-utils.c:
17444 * utils/nm-utils.h: new utils static lib
17446 2005-03-07 Ray Strode <rstrode@redhat.com>
17448 * info-daemon/NetworkManagerInfoDbus.c:
17449 * libnm_glib/libnm_glib.c:
17450 * panel-applet/NMWirelessAppletDbus.c:
17451 * src/NetworkManager.c:
17452 * src/NetworkManagerDbus.c:
17453 * src/NetworkManagerDevice.c:
17454 * src/NetworkManagerUtils.c:
17455 * src/nm-dbus-device.c:
17456 * src/nm-dbus-dhcp.c:
17457 * src/nm-dbus-net.c:
17458 * src/nm-dbus-nm.c:
17459 * test/nminfotest.c:
17460 First (unfinished, unworking) cut at porting to dbus 0.30 api.
17462 2005-03-04 Dan Williams <dcbw@redhat.com>
17467 2005-03-04 Dan Williams <dcbw@redhat.com>
17469 Patch from Peter Jones:
17470 - Make stuff work with gcc 4.0
17472 2005-02-28 Maxim Dziumanenko <mvd@mylinux.com.ua>
17474 * uk.po: Added "uk" (Ukrainian) to ALL_LINGUAS.
17476 2005-02-27 Jim Huang <jserv@kaffe.org>
17478 * configure.in: Added "zh_TW" (Traditional Chinese) to ALL_LINGUAS.
17480 2005-02-27 Dan Williams <dcbw@redhat.com>
17482 Patch from Bill Moss:
17483 * panel-applet/NMWirelessAppletDbus.c
17484 - Make sure strength for current access point is up-to-date when we
17485 update the gui data model
17487 2005-02-27 Alessio Frusciante <algol@firenze.linux.it>
17489 * configure.in: Added "it" (Italian) to ALL_LINGUAS.
17491 2005-02-27 Dan Williams <dcbw@redhat.com>
17493 * src/backends/NetworkManagerRedHat.c
17494 - (nm_system_init): Kill any dhclient processes lying around as well
17495 as stopping 'nifd' if its already been started. NetworkManager
17496 subsumes the functions of nifd (kicking mDNSResponder, autoip)
17498 2005-02-27 Dan Williams <dcbw@redhat.com>
17500 * panel-applet/NMWirelessApplet.c
17501 - (nmwa_destroy): Really mean to destroy GUI data model first, then
17502 dbus data model, not the GUI data model twice.
17504 2005-02-27 Dan Williams <dcbw@redhat.com>
17506 * panel-applet/NMWirelessApplet.[ch]
17507 panel-applet/NMWirelessAppletDbus.[ch]
17508 - Move to incremental network updates. Instead of blowing away our list
17509 of devices every time we get a signal from NetworkManager, we now
17510 incrementally add/remove networks when NetworkManager notifies us that
17511 a new network has appeared or disappered. Strength updates now happen
17512 on-the-fly for each access point as well. There are now two copies of
17513 data from NetworkManager: one for the dbus side, and one for the gui side.
17514 When the dbus side data is modified, it is copied over to the gui side
17515 so we don't have to hold the data_mutex for long periods of time (and
17516 therefore block animation of the applet's icon).
17517 - Clean up some memleaks too
17519 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17520 - Minor code beautification
17522 * src/NetworkManagerAPList.c
17523 - (nm_ap_list_merge_scanned_ap): return whether or not the access point is
17524 completely new and whether or not an existing one's strength was updated.
17525 Try to fix multiple access points and signal strength by using the highest
17526 signal strength in each scan for any given ESSID.
17528 * src/NetworkManagerDbus.[ch]
17529 - (nm_dbus_signal_wireless_network_change): consolidate signals that deal with
17530 wireless networks; now we have only WirelessNetworkUpdate which includes
17531 a UINT32 for Appeared, Disappeared, or StrengthChanged (see NetworkManager.h).
17532 - Kill usage of DbusMessageIter
17534 * src/NetworkManagerDevice.c
17535 - (nm_device_wireless_process_scan_results): Use the same timestamp for all APs
17536 in the same scan result list. Copy ESSIDs-by-address earlier on, for each
17537 AP rather than all-at-once. Also don't ever remove the AP a card is
17538 currently associated with from the network list.
17539 - Update for new signals during scan, send out Appeared, Disappeared, or
17540 StrengthChanged when necessary.
17542 2005-02-25 Dan Williams <dcbw@redhat.com>
17545 - Line break the README
17547 2005-02-25 Dan Williams <dcbw@redhat.com>
17549 * panel-applet/NMWirelessAppletOtherNetworkDialog.c
17550 - Remove usage of gtk_window_set_default_size()
17552 * panel-applet/essid.glade
17553 - Stick default size here
17554 - Add in random crap that current glade wants to add in now
17556 2005-02-25 Dan Williams <dcbw@redhat.com>
17558 * src/backends/NetworkManagerRedHat.c
17559 - For non-caching-nameserver/non-named case, ensure that nscd is running
17560 and that we actually tell nscd to reload the hosts cache when it changes
17562 2005-02-25 Dan Williams <dcbw@redhat.com>
17564 * info-daemon/NetworkManagerInfoDbus.c
17565 - (nmi_dbus_get_network_properties): whack usage of DbusMessageIter
17567 * test/nminfotest.c
17568 - Whack usage of DbusMessageIter
17569 - Clean up DbusError and DbusMessage handling and freeing
17570 - Remove unused unregister handler
17573 - Whack usage of DbusMessageIter
17575 * test/nmtestdevices.c
17576 - Whack usage of DbusMessageIter
17578 2005-02-25 Dan Williams <dcbw@redhat.com>
17581 - New signal type NMNetworkStatus in preparation for the "WirelessNetworkUpdate"
17584 2005-02-25 Dan Williams <dcbw@redhat.com>
17586 * named/nm-named-manager.c
17587 - Ensure that pid and watch variables for child named process get cleared out
17588 when the child goes away.
17590 2005-02-22 Dan Williams <dcbw@redhat.com>
17592 * src/NetworkManagerPolicy.c
17593 - (nm_policy_activation_finish): Deactivate a device if its activation fails,
17594 and NULL out data->active_device so that we have to choose another one.
17595 This may make NetworkManager keep attempting to connect to a wired network
17596 if it fails, but if it keeps failing the wired network has more problems than
17597 just NetworkManager.
17599 * src/backends/NetworkManagerRedHat.c
17600 - (nm_system_update_dns): fix to actually run nscd -i hosts when nscd
17603 * named/nm-named-manager.c
17604 - (rewrite_resolv_conf): Call nm_system_update_dns() when not using
17605 named so that the distro can flush whatever name service caching
17608 2005-02-21 Dan Williams <dcbw@redhat.com>
17610 * src/NetworkManagerDHCP.[ch]
17611 - (nm_device_dhcp_remove_timeouts): new function
17613 * src/NetworkManagerDevice.c
17614 - Use nm_device_dhcp_remove_timeouts() everywhere that we need to
17615 remove the DHCP timeouts.
17617 2005-02-21 Dan Williams <dcbw@redhat.com>
17619 * panel-applet/NMWirelessApplet.[ch]
17620 panel-applet/menu-info.[ch]
17621 - Give the panel applet some major love: menu items are no longer
17622 subclasses of GtkCheckMenuItem, they are actual GtkCheckMenuItems.
17623 This allows the applet to actually reflect theme changes correctly,
17624 since themeing of subclassed items in GTK _sucks_.
17626 2005-02-18 Dan Williams <dcbw@redhat.com>
17628 * libnm_glib/libnm_glib.[ch]
17629 test/libnm_glib_test.c
17630 - Clean up libnm_glib API a bit, callback is now passed a libnm_glib_ctx
17631 and its data, and doesn't have to free the callback data anymore
17633 2005-02-18 Dan Williams <dcbw@redhat.com>
17635 * panel-applet/NMWirelessApplet.c
17636 - Revert 2005-02-18 William Jon McCann fix for standard
17637 copyright string until it passes 'make distcheck'.
17638 With standard copyright string, xgettext complains
17639 about "Non-ASCII string at ...".
17641 2005-02-18 Dan Williams <dcbw@redhat.com>
17643 * panel-applet/essid.glade
17644 panel-applet/NMWirelessAppletOtherNetworksDialog.c
17645 - Correct spelling of "adaptor"->"adapter"
17647 2005-02-18 William Jon McCann <mccann@jhu.edu>
17649 * panel-applet/NMWirelessApplet.c: Use GTK_CHECK_VERSION() macro.
17650 (nmwa_about_cb): Use standard copyright string. Update comment
17651 text to reflect that it is a notification area applet. Remove
17652 leading newline in authors list.
17653 (nmwa_menu_show_cb, nmwa_setup_widgets): Populate menu on show
17654 instead of on parent menu item activation. Fixes #167550.
17656 2005-02-18 William Jon McCann <mccann@jhu.edu>
17658 * panel-applet/essid.glade: Capitalize items as per HIG.
17661 2005-02-16 William Jon McCann <mccann@jhu.edu>
17663 * panel-applet/gtkcellrendererprogress.[ch]: Only compile these
17664 files for GTK 2.4 or lower, since now public in GTK 2.6.
17666 * panel-applet/essid.glade: Don't specify window size.
17668 2005-02-17 Dan Williams <dcbw@redhat.com>
17670 Caught by Bill Moss:
17672 - Time remaining for DHCP transaction calculation was incorrectly
17673 inside a #ifdef DEBUG
17675 2005-02-15 Christophe Merlet <redfox@redfoxcenter.org>
17677 * configure.in: Added fr (French) to ALL_LINGUAS.
17679 2005-02-14 Dan Williams <dcbw@redhat.com>
17681 * src/NetworkManagerDHCP.c
17682 - (set_domain_searches): Fix free of invalid pointer
17684 2005-02-14 Dan Williams <dcbw@redhat.com>
17686 Patch from Peter Jones:
17688 - Ensure we return RET_DHCP_CEASED everywhere we should
17689 * dhcpcd/udpipgen.c
17690 - Use faster TOS for IP packets
17691 - Don't set ip_id since we're UDP
17693 Patch from Tomislav Vujec:
17694 * src/nm-dbus-dhcp.c
17695 test/nm-dhcp-opt-test.c
17696 - Clean up warnings to enable cvs tree compilation.
17698 2005-02-14 Tomislav Vujec <tvujec@redhat.com>
17702 - Add the Croatian locale.
17704 2005-02-14 Colin Walters <walters@verbum.org>
17706 * src/NetworkManagerDHCP.c (set_domain_searches): Handle space-separated
17707 list of domains to search.
17709 * src/NetworkManagerMain.h (NMData): Handle multiple domain searches.
17711 2005-02-13 Dan Williams <dcbw@redhat.com>
17714 - Debug output cleanups of DHCP option printing and parsing.
17716 2005-02-13 Dan Williams <dcbw@redhat.com>
17718 Patch from Dan Reed: DHCP options D-BUS API
17719 Exposes the DHCP options that a device receives to clients over D-BUS.
17725 - Correct names, option length, and types for DHCP options
17727 * dhcpcd/dhcpcd.[ch]
17728 - Clarify function names that access DHCP options & data
17730 * src/NetworkManagerDHCP.c
17731 - Use new DHCP data access functions
17733 * src/NetworkManagerDbus.c
17734 - Message handler for DHCP functions
17736 * src/nm-dbus-dhcp.[ch] (new)
17737 - DHCP dbus methods
17739 * test/nm-dhcp-opt-test.c
17740 - Test DHCP D-BUS API and return all present DHCP options
17742 2005-02-12 Dan Williams <dcbw@redhat.com>
17745 test/nmclienttest.c
17747 - Move nmclienttest.c -> nmtest.c
17749 2005-02-12 Dan Williams <dcbw@redhat.com>
17751 * dhcpcd/buildmsg.c
17752 - Pad DHCP packets until they are at least 300 bytes in size.
17754 2005-02-11 Dan Williams <dcbw@redhat.com>
17757 - (dhcp_init): only print out client ID and class ID if they are specified
17759 * src/NetworkManagerDbus.[ch]
17760 src/nm-dbus-nm.[ch]
17761 src/nm-dbus-device.[ch]
17762 src/nm-dbus-net.[ch]
17763 - Move NM, Device, and Net functions to separate files and use the
17764 dbus method list stuff in NetworkManagerDbusUtils.c to do
17767 * src/NetworkManagerDbusUtils.c
17768 - Add new validate_method called before each dispatch (if present)
17769 that can validate the method call
17771 * src/NetworkManagerWireless.c
17772 - (nm_wireless_qual_to_percent): Fix misplaced "!" that caused signal
17773 levels never to be evaluated
17775 Patch from j@bootlab.org
17776 * src/NetworkManagerDevice.c
17777 - Add typedef for "u64"
17779 * src/backends/NetworkManagerDebian.c
17780 - Copy in Dave Woodhouse's fixes for IPv6
17782 2005-02-11 Dan Williams <dcbw@redhat.com>
17784 Patch from Dave Woodhouse for IPv6:
17785 * src/NetworkManagerUtils.c
17786 - (nm_ethernet_address_is_valid): Check for prism54 dummy MAC address
17787 and multicast addresses
17789 * src/NetworkManagerDevice.c
17790 - (nm_device_set_up_down): make sure our cached MAC address is up-to-date
17791 after bringing up a card.
17793 2005-02-10 Dan Williams <dcbw@redhat.com>
17795 Patch from Dave Woodhouse:
17796 * src/NetworkManagerSystem.h
17797 src/backends/NetworkManagerDebian.c
17798 src/backends/NetworkManagerGentoo.c
17799 src/backends/NetworkManagerSlackware.c
17800 - New nm_system_device_add_ip6_link_address() function to add link-local
17801 address on an interface. Stubbed in Debian, Gentoo, and Slackware.
17803 * src/backends/NetworkManagerRedHat.c
17804 - (nm_system_device_add_ip6_link_address): implement
17805 - (nm_system_device_flush_addresses): revert to previous behavior of
17806 flushing all addresses
17808 2005-02-10 Dan Williams <dcbw@redhat.com>
17810 Patch from Tom Parker:
17811 * src/NetworkManagerDevice.c
17812 - Remove the "#include <pci/types.h>" since both the ethtool.h and
17813 mii.h headers are broken, and instead use our own typedefs
17815 2005-02-10 Dan Williams <dcbw@redhat.com>
17817 * dhcpcd/buildmsg.c
17818 - (fill_host_and_class_id): only fill in client and class IDs if
17819 they are set by callers.
17822 - (class_id_setup): don't autogenerate a class ID, only use one
17823 we're given, if any.
17824 - (client_id_setup): don't autogenerate a client ID, only use one
17825 we're given, if any.
17828 - (dhcp_interface_init): ensure that client options are correctly
17831 * src/NetworkManagerDHCP.c
17832 - (nm_device_dhcp_request): pass hostname to dhcp library
17834 2005-02-10 Dan Williams <dcbw@redhat.com>
17837 - #rh147661# Don't send kernel version in DHCP requests
17839 * src/NetworkManagerSystem.h
17840 src/backends/NetworkManagerDebian.c
17841 src/backends/NetworkManagerGentoo.c
17842 src/backends/NetworkManagerRedHat.c
17843 src/backends/NetworkManagerSlackware.c
17844 - Remove the nm_system_device_run_dhcp() and nm_system_device_stop_dhcp()
17845 functions, they are no longer used anyway
17847 * src/backends/NetworkManagerRedHat.c
17848 - (nm_system_device_flush_addresses): only flush "scope global" and "scope site"
17849 addresses in an attempt to keep IPv6 local-scope addresses around
17851 2005-02-10 Dan Williams <dcbw@redhat.com>
17853 * src/NetworkManager.c
17854 - (nm_create_device_and_add_to_list): change the add message slightly
17856 * src/NetworkManagerUtils.c
17857 - (nm_get_wireless_driver_support_level, nm_get_wired_driver_support_level):
17858 Return driver name to calling function
17859 - (nm_get_driver_support_level): print out the driver a device is using
17860 during the support check
17862 Patch from Dave Woodhouse:
17863 * dhcpcd/udpipgen.c
17864 - (in_cksum): copy last byte of odd-sized packets into a
17865 'u_short' rather than a 'u_char', should fix wrong checksums
17866 on big-endian platforms
17868 2005-02-09 Dan Williams <dcbw@redhat.com>
17870 * Clean up usage of GSList objects and looping through their members
17871 * Clean up DHCP rebind/renew timeouts, hopefully they will work correctly
17873 * Fix problem where even if scanning was turned off, card would still
17874 cycle through frequencies.
17876 2005-02-08 Dan Williams <dcbw@redhat.com>
17878 * panel-applet/NMWirelessApplet.c
17881 2005-02-08 Dan Williams <dcbw@redhat.com>
17883 Patch from Bill Moss
17884 * panel-applet/NMWirelessApplet.c
17885 - Restore correct ESSID in tooltips
17887 2005-02-07 Dan Williams <dcbw@redhat.com>
17889 * panel-applet/NMWirelessApplet.[ch]
17890 - Add a context menu that contains:
17891 Pause/Resume Wireless Scanning
17892 Stop/Start All Wireless Devices
17894 - Grab active device strength off active device,
17897 * panel-applet/NMWirelessAppletDbus.[ch]
17898 - Add DBUS accessors for "getSupportsCarrierDetect", "setScanningEnabled",
17899 "getScanningEnabled", "setWirelessEnabled", and "getWirelessEnabled"
17900 - Update active device strength every 2 seconds, not every 1 second
17902 * panel-applet/menu-info.c
17903 - Only disable wired devices in the menu when they support carrier detection,
17904 and don't currently have a link. Non-carrier-detect devices will always
17908 src/NetworkManagerDbusUtils.[ch]
17909 - Add new new dbus utils sources
17911 * src/NetworkManager.c
17912 - Fixes for new link detection, we no longer need to call nm_device_update_link_active()
17913 with the boolean parameter
17914 - Set scanning_enabled & wireless_enabled to TRUE
17916 * src/NetworkManagerDbus.c
17917 - Use new dbus util method dispatcher functions for org.freedesktop.NetworkManager methods
17918 - Implement scanning & wireless enable/disable calls
17919 - Remove the dbus vtable unregister handlers, weren't doing anything with them anyway
17921 * src/NetworkManagerDevice.c
17922 - New link detection stuff again...
17923 o Create device's mainloop earlier (but don't run it earlier)
17924 o Hook up new carrier-detect support stuff
17925 o Add in the ethtool & mii support detection code
17926 - Don't scan if scanning is disabled
17928 * src/NetworkManagerPolicy.c
17929 - Never automatically choose a device that doesn't support carrier detection
17930 - Don't automatically choose a wireless device if wireless is disabled
17932 2005-02-07 Dan Williams <dcbw@redhat.com>
17934 * libnm_glib/libnm_glib.c
17935 - Small cleanup in element list iteration
17937 2005-02-07 Dan Williams <dcbw@redhat.com>
17939 * src/NetworkManagerWireless.c
17940 - (nm_wireless_qual_to_percent): Fix up wireless quality calculations
17941 to be in line with the WEXT quality specification
17943 2005-02-02 Dan Williams <dcbw@redhat.com>
17945 Patch from Nathan Fredrickson <nathan@silverorange.com>
17946 * Fix up compile for deprecation of libgnomeui
17947 - Switch to <glib/gi18n.h> from <libintl.h>
17948 - Remove <libgnomeui/libgnomeui.h> includes
17949 - Use gtk_window_set_default_icon_from_file() rather than
17950 gnome_window_set_default_icon_from_file()
17952 * named/nm-named-manager.c
17953 - (generate_named_conf): Fix return-nothing in non-void
17956 2005-02-02 Dan Williams <dcbw@redhat.com>
17958 * Clean up unused variables and the like
17960 2005-02-02 Dan Williams <dcbw@redhat.com>
17962 * src/NetworkManagerAPList.c
17963 - (nm_ap_list_merge_scanned_ap): merge strength too
17965 * src/NetworkManagerUtils.c
17966 - (nm_lock_mutex, nm_register_mutex_desc): new calls to facilitate debugging
17967 of locking issues by printing out prettier information than g_mutex_lock
17968 - Print out names of mutexes registered with nm_register_mutex_desc()
17969 - (nm_try_lock_mutex): don't do the waiting thing when trying to lock, causes
17970 us to seemingly block here for too long
17972 * src/NetworkManager.c
17973 src/NetworkManagerAPList.c
17974 src/NetworkManagerDevice.c
17975 - Convert to using nm_lock_mutex/nm_unlock_mutex rather than the glib variants
17976 so we get better debug information printed
17978 * src/NetworkManagerDbus.c
17979 - (nm_dbus_devices_handle_request): reduce usage of nm_device_need_ap_switch()
17980 since it sometimes has locking side effects
17981 - (nm_device_get_association_pause_value): Reduce 802.11a card pause value to 8s
17983 - (nm_device_need_ap_switch): If we can't acquire the scan lock, return saying
17984 we don't need a switch. This gets called often enough that we can't block
17985 until the scan mutex is acquired, because we'll block on device activation
17986 and a few other things, which hangs main thread for too long.
17988 * src/NetworkManagerPolicy.c
17989 - (nm_policy_auto_get_best_device): reduce the possiblity that
17990 nm_device_need_ap_switch() will be called
17992 2005-02-02 Dan Williams <dcbw@redhat.com>
17994 * panel-applet/NMWirelessApplet.c
17995 - Display name of wireless network we are connecting to or connected to
17996 in the tooltip of the applet
17998 2005-02-02 Dan Williams <dcbw@redhat.com>
18000 * src/NetworkManagerDHCP.c
18001 - Hopefully fix double-default-route problem by cleaning up the default
18002 route added by DHCP code right before the DHCP transaction begins
18004 2005-02-02 Dan Williams <dcbw@redhat.com>
18006 * named/nm-named-manager.c
18007 - Write out valid resolv.conf when we exit
18009 2005-02-01 Dan Williams <dcbw@redhat.com>
18011 Patch from Colin Walters:
18012 * named/nm-named-manager.c
18013 - Make multi-domain search options work
18015 2005-01-31 Dan Williams <dcbw@redhat.com>
18017 * info-daemon/NetworkManagerInfoDbus.c
18018 - (nmi_dbus_nmi_message_handler): make sure 'dialog' exists before using it
18020 * src/NetworkManagerDevice.c
18021 - (nm_device_new): Don't store the entire range struct, use only what we need
18022 (which is currently avg_quality, max_quality, and frequencies). Also
18023 zero device structure when we've free'd it to maybe expose errors down
18025 - (nm_device_update_signal_strength): grab the scan mutex before getting
18026 quality data from the card since quality will be useless during a scan.
18027 Call updated wireless qual-to-percent function with values stored in
18028 nm_device_new() earlier.
18029 - Remove some unused functions (nm_device_get_max_quality(), nm_device_get_noise(),
18030 nm_device_get_bad_crypt_packets())
18031 - (nm_device_activate_wireless_adhoc): use new frequency values we go in
18033 - (get_initial_auth_method): always use the Auth method that's in the allowed
18034 list if available. Problem was this: when the WEP key is wrong, NM will
18035 try OS then SK modes, and then get stuck in SK mode after that. This
18037 - (nm_device_wireless_process_scan_results): work with new qual-to-percent
18040 * src/NetworkManagerWireless.c
18041 - (nm_wireless_qual_to_percent): try to make this function actually work and
18042 mimic iwlib behavior. Use card's idea of quality divided by max_qual
18043 if that's all present, otherwise fall back to signal-to-noise ratios.
18045 2005-01-29 Dan Williams <dcbw@redhat.com>
18047 * initscript/RedHat/NetworkManager
18048 - Don't spit out sysctl stuff to console
18050 * libnm_glib/libnm_glib.c
18051 - (libnm_glib_init): call dbus_g_thread_init()
18053 * panel-applet/NMWirelessAppletDbus.c
18054 - (nmwa_dbus_worker): call dbus_g_thread_init()
18056 * src/NetworkManager.c
18057 - (main): call dbus_g_thread_init()
18059 * src/NetworkManagerAPList.c
18060 - (nm_ap_list_print_members): use LOG_ERR instead of LOG_DEBUG
18061 so we can actually see what's there in a normal syslog
18063 * src/NetworkManagerDevice.c
18064 - (nm_device_activate_wireless): print out the "waiting for access point"
18065 message only once, then say what access point we actually got after
18067 - (nm_device_need_ap_switch): If a scan is in progress when we're in this
18068 function, wait until the scan is done. Scans may change the ESSID of
18069 the card, making this function think we need to switch access points
18070 - (nm_device_wireless_process_scan_results): for artificial access points
18071 don't check against the card's ESSID, but the best_ap's ESSID. This
18072 prevents collisions with the scanning code, which may change the card's
18073 ESSID and cause the access point to get dropped from the device's AP
18074 list. Also increase the keep-around time to 2m from 60s since the max
18075 scan interval could be 60s in some cases.
18077 * src/NetworkManagerPolicy.c
18078 - (nm_policy_activation_finish): Don't add invalid MAC addresses to GConf
18079 - (nm_policy_allowed_ap_list_update): When we update, make sure we copy over
18080 the new properties and ESSIDs to the device's AP list. Fixes some races
18081 between NM and NMI.
18083 2005-01-27 Dan Williams <dcbw@redhat.com>
18085 * info-daemon/NetworkManagerInfoDbus.c
18086 - (nmi_dbus_add_network_address): if the network doesn't yet exist in
18087 GConf, make a minimal entry for it (essid & timestamp)
18089 * src/NetworkManagerAPList.c
18090 - (nm_ap_list_populate_from_nmi): Don't try to grab network data if
18091 NetworkManagerInfo isn't running
18093 * src/NetworkManagerDbus.[ch]
18094 - (nm_dbus_nmi_is_running): new function
18096 * src/NetworkManagerDevice.c
18097 - (nm_device_wireless_force_use): Don't set the created AP's MAC
18098 address to garbage.
18100 * src/NetworkManagerPolicy.c
18101 - (nm_policy_activation_finish): On successful activation, make sure
18102 the "best" AP has a MAC address, and don't tell NMI to add the
18103 current AP's MAC address to GConf if the AP is an Ad-hoc AP.
18104 - (nm_policy_allowed_ap_list_update): Update a wireless card's "best"
18105 access point after refreshing our allowed list if it doesn't already
18106 have a "best" access point.
18108 2005-01-25 Dan Williams <dcbw@redhat.com>
18110 * panel-applet/NMWirelessAppletDbus.c
18111 - (nmwa_dbus_filter): Fix dbus 0.23 ServiceOwnerChanged checks
18112 so we check for NM_DBUS_SERVICE rather than not for it
18114 * libnm_glib/libnm_glib.c
18115 - (libnm_glib_dbus_filter): Fix for dbus 0.23, trapping
18116 ServiceOwnerChanged signal
18118 2005-01-25 Dan Williams <dcbw@redhat.com>
18121 - Check DBUS version in configure, and set the C macros
18122 DBUS_VERSION_[MAJOR,MINOR,MICRO]
18124 * info-daemon/NetworkManagerInfoDbus.c
18125 - Remove #if 0-d section of code that quit NMI if NM went away.
18127 * panel-applet/NMWirelessAppletDbus.c
18128 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18130 * src/NetworkManager.c
18131 src/NetworkManagerMain.h
18132 src/NetworkManagerDbus.c
18133 - Trap the "ServiceOwnerChanged" signal that's new in dbus-0.23
18134 - Make updating of our Allowed Wireless Network lists from NMI
18135 an idle function in the main thread now, with a high priority.
18137 2005-01-24 Dan Williams <dcbw@redhat.com>
18139 * panel-applet/gtkcellview.[ch]
18140 panel-applet/menu-info.c
18141 - Fix GTK version checks to be <= rather than <
18144 - Include the libtool archive of libnm_glib rather than
18145 trying to pull in the .so
18147 2005-01-24 Dan Williams <dcbw@redhat.com>
18149 * src/NetworkManagerDevice.c
18150 src/NetworkManagerDevicePrivate.h
18151 - Block nm_device_new() until our device's worker thread has had a
18152 chance to start up. Fixes a race between main thread and worker
18153 thread starting that caused activation requests to get lost.
18155 2005-01-24 Dan Williams <dcbw@redhat.com>
18157 * initscript/RedHat/NetworkManager
18158 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18159 to add the NM startup script at priority 50, which was
18162 2005-01-24 Colin Walters <walters@redhat.com>
18164 * named/named.conf: Use any port for query source instead of
18165 restricting to port 53.
18167 2005-01-24 Dan Williams <dcbw@redhat.com>
18169 * initscript/RedHat/NetworkManager
18170 - Remove the ### BEGIN INIT INFO section, which caused chkconfig
18171 to add the NM startup script at priority 50, which was
18174 2005-01-24 Dan Williams <dcbw@redhat.com>
18176 Patch from Tom Parker <palfrey@tevp.net>
18177 * Fix up compile warnings & errors in the wireless applet
18179 2005-01-24 Dan Williams <dcbw@redhat.com>
18181 * panel-applet/NMWirelessApplet.c
18182 - Convert 24x24 icons back to 22x22 and use the 22x22 ones
18184 2005-01-24 Dan Williams <dcbw@redhat.com>
18186 * panel-applet/gtkcellview.[ch]
18187 - Only compile these files for GTK 2.4 or lower, since
18188 GtkCellView is now public in GTK 2.6. Fixes crasher
18189 when choosing "Other Wireless Networks" from the panel
18192 2005-01-21 Dan Williams <dcbw@redhat.com>
18194 * src/NetworkManager.c
18195 - Daemonize earlier so that glib doesn't get confused (?)
18197 2005-01-21 Dan Williams <dcbw@redhat.com>
18199 * panel-applet/NMWirelessApplet.[ch]
18200 panel-applet/NMWirelessAppletDbus.c
18201 panel-applet/menu-info.c
18202 src/NetworkManagerDevice.c
18203 - Disable wired devices in the menu when they have no link.
18205 2005-01-21 Dan Williams <dcbw@redhat.com>
18207 * Cache last-known-good wireless authentication method in
18208 NetworkManagerInfo, and use that method first during
18209 wireless device activation. Should speed up devices that
18210 need Shared Key authentication method since Open System is
18213 * Remove the hack to not do full activation on wired connections
18214 that are active when we launch, it causes too many problems
18215 with name resolution and was a hack in the first place.
18217 * Re-work wireless device activation again somewhat to have a
18218 clearer chain of events and to use last-known-good
18219 authentication method of the access point. Also provide
18220 better status throughout activation to ensure the applet
18221 can tell the user exactly what's going on.
18223 * Remove the "find wireless network" code and now simply attempt
18224 to activate with that access point. This reduces the delay
18225 between selecting "Other wireless Network" and actually
18226 connecting to that network.
18228 * Correctly stop the device's worker thread when its removed.
18230 2005-01-21 Dan Williams <dcbw@redhat.com>
18233 - Clean up some of the debug messages
18235 2005-01-21 Dan Williams <dcbw@redhat.com>
18237 * Add new icons, more frames of animation
18238 * Remove some hacks to get the panel applet to display correct
18239 status, an NM update will soon follow that will fix the
18242 2005-01-19 Kjartan Maraas <kmaraas@gnome.org>
18244 * panel-applet/NMWirelessApplet.c: #include <config.h> must be
18245 the first include for working i18n. Also, don't include it in .h files
18246 * panel-applet/NMWirelessApplet.h: Same
18247 * panel-applet/NMWirelessAppletOtherNetworkDialog.c: Same
18248 * panel-applet/menu-info.c: Same
18250 2005-01-18 Dan Williams <dcbw@redhat.com>
18253 - Remove some debug messages
18254 - Wrap others in #ifdef DEBUG/#endif
18256 * src/NetworkManager.c
18257 - Remove some debug messages
18258 - Clarify some debug messages
18259 - Remove code related to old single-thread wireless scanning
18261 * src/NetworkManagerAP.[ch]
18262 - New AP property "last_seen" to track how recently an AP was
18264 - Start using 'const' more in function arguments
18266 * src/NetworkManagerAPList.[ch]
18267 - (nm_ap_list_merge_scanned_ap): new, selectively update attributes
18268 of an AP found in an AP list from a source AP, or if not found
18269 in the list add the source AP
18270 - (nm_ap_list_combine): remove, no longer needed
18272 * src/NetworkManagerDevice.c
18273 - Each device now has a "worker" thread from start to end of its life.
18274 Scanning for wireless devices now happens in that thread,
18275 not in a single "wireless scanning thread" for all devices as
18276 previously. Activation consists of adding an idle handler to the
18277 thread's main loop/context, which gets run at the next available
18279 - Wireless scanning is also simplified, there is now only one list of
18280 access points per wireless device, and APs older than 60s are
18281 removed from the list. Previously, we kept results for the last
18282 3 scans and merged whole lists, which was complicated.
18283 - Cleaned up activation debug messages.
18284 - Wireless activation and access-point search routines now use Open System
18285 authentication before trying Shared Key.
18286 - Removed some code in nm_device_update_best_ap() that could cause cards
18287 to loose their link to the access point.
18288 - Scanning now uses a backoff algorithm, where the inverval becomes
18289 progressively longer between scans when the list of scanned access
18290 points doesn't change. A change will revert to the shortest scan
18293 * src/NetworkManagerWireless.[ch]
18294 - Remove code related to old single-thread wireless scanning
18296 2005-01-18 Colin Walters <walters@redhat.com>
18298 * src/NetworkManagerDHCP.c (set_nameservers): Free and clear list
18299 of older nameservers.
18301 2005-01-18 Colin Walters <walters@redhat.com>
18303 * named/nm-named-manager.c (generate_named_conf): Many fixes
18304 to config file generation.
18305 (safer_kill): Remove, was too much trouble for little gain.
18306 (nm_named_manager_start): Run named as NM_NAMED_USER.
18308 * configure.in: Add option --with-named-user.
18310 2005-01-14 Colin Walters <walters@redhat.com>
18312 Patch from ed@catmur.co.uk (Ed Catmur)
18314 * named/nm-named-manager.c: Add "context" property.
18315 Use it to add child watch source in specific GMainContext.
18317 * src/NetworkManager.c (nm_data_new): Initialize
18318 named with correct main context. Start named only
18321 2005-01-14 Colin Walters <walters@redhat.com>
18323 * named/nm-named-manager.c (generate_named_conf): Write config
18324 and pid files into NM_NAMED_DATA_DIR; this allows things to
18325 work better with FC3 named SELinux policy. Also fix up silly
18328 * configure.in: Add --with-named-dir option.
18330 2005-01-14 Colin Walters <walters@redhat.com>
18332 * configure.in: Make named support require passing --with-named.
18334 * named/nm-named-manager.c: Support writing resolv.conf directly
18335 without running named.
18337 2005-01-13 Dan Williams <dcbw@redhat.com>
18339 * named/nm-named-manager.c
18340 - Use syslog(LOG_WARNING) rather than g_warning() (gnome.org #163961)
18342 * src/NetworkManagerDevice.c
18343 - Rework wireless link detection code to be more reliable
18345 2005-01-12 Dan Williams <dcbw@redhat.com>
18347 * initscripts/RedHat/NetworkManager
18348 - Change initial level to "-" rather than "345" so that
18349 we don't activate ourselves by default on install
18351 2005-01-12 Dan Williams <dcbw@redhat.com>
18354 - Client library for applications using glib
18358 - Split NM_CFLAGS and NM_LIBS into separate variables
18359 like DBUS_*, HAL_* and GLIB_*
18361 * src/NetworkManager.c
18362 src/NetworkManagerMain.h
18363 - (nm_schedule_status_signal_broadcast): at the earliest convenience,
18364 broadcast a status changed signal over DBUS from the main thread.
18365 Still unused anywhere for the moment.
18367 Patch from j@bootlab.org
18368 * panel_applet/NMWirelessAppletDbus.c
18369 src/NetworkManagerDbus.c
18370 - Correct INT32->UINT32 mistmatch between NM and the panel applet
18371 for the "getMode" method call
18373 2005-01-10 Dan Williams <dcbw@redhat.com>
18375 * src/NetworkManagerDevice.c
18376 - Minor fixups & corrections to "auto" frequency mode, make it
18377 less chatty with syslog
18379 2005-01-10 Dan Williams <dcbw@redhat.com>
18381 * src/NetworkManagerDevice.c
18382 - Implement "auto" frequency/channel support, since cards like Atheros
18383 can't use other frequencies at all when you've told it to use a
18384 specific one, even for scanning.
18385 - Grab the scan mutex around places where we can't tolerate wireless
18386 settings changing underneath us, like nm_device_wireless_network_exists()
18387 and nm_device_activate_wireless()
18389 * src/NetworkManagerWireless.c
18390 - Back scan interval off to 20s instead of 14s
18392 2005-01-09 Dan Williams <dcbw@redhat.com>
18394 * src/NetworkManagerDevice.c
18395 - Don't set mode/freq/bitrate if that mode/freq/bitrate is
18396 already set. Stops some drivers like Atmel from continually
18397 reloading the firmware, which they do upon every configuration
18400 2005-01-09 Dan Williams <dcbw@redhat.com>
18403 - Use correct timeout value
18405 * info-daemon/NetworkManagerInfoDbus.c
18406 src/NetworkManagerDbus.c
18407 - Consolidate communication between NM and NMI by doing only 1 dbus
18408 method call to get Wireless Network info from NMI instead of 6
18410 * src/NetworkManager.c
18411 - Make sure to cancel activation when we receive a SIGTERM, otherwise
18412 when we didn't have an AP to use, we'd wait for one forever without
18415 * src/NetworkManagerDevice.c
18416 - nm_device_activation_cancel(): Fix a race between dhcp and quitting
18417 activation, dhcp might not have started yet but we don't quit activation
18418 before starting it, so the quit signal gets lost
18420 2005-01-07 Dan Williams <dcbw@redhat.com>
18423 - Rework the DHCP client code to be much less chatty when
18424 it receives non-DHCP UDP packets during the DHCP run
18425 (reported by and preliminary patches from Bill Moss)
18427 * Move wireless scanning to a separate thread. This thread forwards the
18428 results to the main thread when done where they are integrated into
18429 the device's access point lists. This keeps the main thread (which
18430 does all the DBUS communication) from being blocked for long periods
18431 of time by wireless scanning.
18433 * Make state modification an idle routine in the main loop, and trigger
18434 state changes rather than polling for them.
18436 * src/backends/NetworkManagerGentoo.c
18437 - Fix up invalid C90 code (reported by Christoph Ruessler)
18439 * src/NetworkManagerDevice.c
18440 - Revert IPv6 patch for wired devices from 2004-12-22 for
18441 router advertisements, causing problems and infinite loop
18442 during "best" device determination due to link going up/down
18443 (reported by Bill Moss)
18445 Apply patch from Peter Jones
18446 * src/NetworkManagerDevice.c
18447 - Shortcut for link-checking for ipw2x00 cards
18448 - Split out association check into separate routine
18450 2004-01-05 Colin Walters <walters@redhat.com>
18452 * named/named.conf: Add PID_FILE.
18454 * named/nm-named-manager.c: Always generate a pid
18455 file, since older BIND versions don't support
18458 2005-01-01 Satoru SATOH <ss@gnome.gr.jp>
18460 * configure.in (ALL_LINGUAS): Added ja (Japanese).
18462 2004-12-22 Dan Williams <dcbw@redhat.com>
18464 * src/NetworkManagerDevice.c
18465 - Silently fail when setting bitrate doesn't work
18468 Patches from j@bootlab.org:
18469 * src/backends/NetworkManagerDebian
18470 - Update backend to match functionality in RedHat backend
18471 * src/NetworkManagerDevice.c
18472 - Take down then bring up wired devices after connection so
18473 they send out ipv6 router advertisements
18475 2004-12-21 Colin Walters <walters@verbum.org>
18477 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_update_devices): Correctly
18478 test for NETWORK_MODE_ADHOC; spotted by: Greg <gonufer@gmail.com>.
18480 2004-12-21 Colin Walters <walters@redhat.com>
18482 * configure.in: Correct named detection.
18484 2004-12-21 Colin Walters <walters@redhat.com>
18486 * src/NetworkManager.c (nm_data_new): Initialize named.
18487 Also, set up a signal handler for SIGINT/SIGTERM, and exit
18488 the mainloop when these signals are received.
18489 (nm_data_free): Unref named.
18490 (sigterm_handler, sigterm_pipe_handler): New functions for
18493 * src/NetworkManagerMain.h (NMData): Add signal handling and
18496 * src/NetworkManager.c (nm_device_unref): Quit device mainloop on
18499 * src/NetworkManagerDHCP.c (set_nameservers): New function;
18500 set nameservers from DHCP response data.
18501 (set_domain_search): Set domain search from DHCP response.
18502 (nm_device_dhcp_configure): Invoke them.
18504 * src/NetworkManagerSystem.c
18505 (nm_system_device_update_resolv_conf): Delete. Deleting
18506 code is totally sweet.
18508 * src/Makefile.am (NetworkManager_LDADD): Add libnamed.
18510 * named/nm-named-manager.h, named/nm-named-manager.c: New files;
18511 implements an object which controls a nameserver. Currently
18514 * configure.in: Check for named.
18516 * Makefile.am (SUBDIRS): Add named dir.
18518 * named/named.conf: New template config file.
18520 2004-12-20 Colin Walters <walters@redhat.com>
18522 * src/NetworkManagerPolicy.c (nm_policy_get_best_device): Fix usage of '=='
18525 2004-12-17 Dan Williams <dcbw@redhat.com>
18527 * Ad Ad-Hoc networking mode support. In Ad-Hoc mode, we only try to get
18528 link-local addresses instead of doing DHCP.
18530 * In the panel applet, there's a new "Create new Wireless Network..." item
18532 * The panel applet also sticks around now even if NetworkManager dies, but
18533 it doesn't hide its icon when NM isn't around. Not hiding the icon is
18534 a bug, I'll fix that later.
18536 * We also don't use 'nscd' anymore in the RH backend, it was impeding name
18537 lookups after a switch rather than actually doing them.
18539 * Clean up some of those warnings in nm_ap_list_* functions
18541 * Delay between scans changed to 15s instead of 10s
18543 2004-12-15 Dan Williams <dcbw@redhat.com>
18545 Patch from Tom Parker
18546 * Add autoip/Link Local Addressing support when we fail to get a DHCP
18549 * Longer pause after setting ESSID on cards that support a larger number
18550 of channels to give the card time to find the right channel
18552 * Add system hook to restart mDNSResponder (or whatever the local implementation
18553 of Multicast DNS is) when we activate interfaces
18555 2004-12-15 Dan Williams <dcbw@redhat.com>
18557 * Rework the DHCP code again to revert to sending full ethernet frames
18558 rather then relying on the kernel to do the right thing with our
18561 2004-12-06 Dan Williams <dcbw@redhat.com>
18564 - Fix some minor errors in dhcp_handle_transaction() that caused
18565 unexpected early timeouts of DHCP transactions
18568 - DHCP retransmit time from 4s -> 5s
18570 2004-12-05 Dan Williams <dcbw@redhat.com>
18572 * Major rework of the DHCP code, taking some cues from pump. We don't
18573 write raw Ethernet packets anymore, which simplifies the code quite
18574 a bit. The new code should be more robust, not hang in recvfrom()
18575 as much, and generally work better. This also means that we need
18576 to force HAL/dbus to use a created GMainContext rather than the
18577 default context, since having the DHCP renew/rebind thread using
18578 its own GMainContext seemed to give dbus a fit. There is also more
18579 debugging information printed from the DHCP loop to help with future
18582 * Also, if the DHCP server doesn't give us the "routersOnSubnet" option,
18583 assume that the default gateway should be the DHCP server.
18585 Patch from Matthew Schick <matt oss-institute org>
18586 * src/backends/NetworkManagerGentoo.c
18587 - Fix compilation error due to missing "ip4_broadcast"
18589 2004-12-03 Dan Williams <dcbw@redhat.com>
18591 * initscript/Makefile.am
18592 * initscript/Debian/NetworkManager
18593 * initscript/Gentoo/NetworkManager
18594 * initscript/RedHat/NetworkManager
18595 * initscript/NMLaunchHelper.c
18596 - Remove NMLaunchHelper, if you need to wait until the network
18597 comes up, use the dead code from CVS.
18599 2004-12-01 Colin Walters <walters@redhat.com>
18601 * configure.in: Suck in gcc warnings code from Rhythmbox,
18602 but use fewer default flags, and in particular add -Wno-unused,
18603 since the codebase has a lot of unused variables.
18605 * test/nmtestdevices.c (create_device):
18606 * test/nminfotest.c (get_network_string_property)
18607 (get_networks_of_type):
18608 * test/nmclienttest.c (main):
18609 * src/NetworkManagerDbus.c (nm_dbus_create_error_message):
18610 * initscript/NMLaunchHelper.c (get_nm_status):
18611 * info-daemon/NetworkManagerInfoPassphraseDialog.c (update_button_cb):
18612 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_create_error_message):
18613 Fix declarations after statements.
18615 2004-12-01 Colin Walters <walters@redhat.com>
18617 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_return_vpn_password): New method.
18618 (nmi_dbus_get_vpn_userpass): New method.
18619 (nmi_dbus_nmi_message_handler): Invoke it.
18621 * info-daemon/NetworkManagerInfoDbus.h (nmi_dbus_return_vpn_password): Prototype.
18623 * info-daemon/NetworkManagerInfoVPN.h,
18624 info-daemon/NetworkManagerInfoVPN.c: New files; responds
18625 to requests for VPN passwords.
18627 * configure.in (GNOME_KEYRING_LIBS): Check for gnome-keyring.
18629 2004-12-01 Colin Walters <walters@redhat.com>
18631 * test/nmtestdevices.c, test/nmclienttest.c: Add missing
18634 2004-12-01 Colin Walters <walters@redhat.com>
18636 * panel-applet/NMWirelessAppletDbus.c
18637 (nmwa_dbus_update_active_device_strength): Fix missing
18640 2004-12-01 Colin Walters <walters@redhat.com>
18642 * panel-applet/NMWirelessApplet.c: Add missing include.
18644 2004-12-01 Colin Walters <walters@redhat.com>
18646 * src/NetworkManagerWireless.c (nm_wireless_qual_to_percent):
18647 Remove useless CLAMP (); the value is unsigned, and the case tests
18648 qual->qual < 100, so the value must always be between 0 and 100.
18650 2004-12-01 Colin Walters <walters@redhat.com>
18652 * dhcpcd/buildmsg.c, dhcpcd/dhcp_test.c: Add missing includes.
18654 2004-11-22 Colin Walters <walters@verbum.org>
18656 * src/backends/NetworkManagerRedHat.c (nm_system_update_dns): Run
18657 "nscd -i hosts" to invalidate the host cache instead of restarting nscd,
18658 which is essentially a noop since nscd caches hosts on disk too.
18660 2004-11-22 Colin Walters <walters@redhat.com>
18662 * src/Makefile.am (NetworkManager_SOURCES): Add
18663 NetworkManagerDevicePrivate.h.
18665 2004-11-22 Dan Williams <dcbw@redhat.com>
18667 * src/NetworkManagerDevicePrivate.h
18668 - Split out the NMDevice struct to a different file so that stuff like
18669 NetworkManagerDHCP.c and NetworkManagerSystem.c can use it
18673 - (dhcpSendAndRecv): do non-blocking sends and receives, and check to see if we
18674 need to cancel the dhcp request during the send and recv
18677 - Move the DHCP option enum to dhcpcd.h
18679 * src/NetworkManagerDHCP.c
18680 - Split out the actual IP/netmask/etc setting code
18681 - New Renew/Rebind functions
18682 - New timer setup function for renew/rebind operations
18684 * src/NetworkManagerDevice.c
18685 - For device activation, if we are using DHCP then keep the activation thread
18686 alive until device deactivation. We need to renew/rebind the DHCP address
18687 after the T1 (renew) and T2 (rebind) times have expired.
18688 - Increase some timeouts after bringing wireless cards up/down
18690 2004-11-17 Dan Williams <dcbw@redhat.com>
18692 * Cache access point MAC addresses in NetworkManagerInfo after you've explicitly
18693 connected to them. Then, after a scan, match up non-ESSID-broadcasting access
18694 points with any cached MAC addresses from NetworkManagerInfo. Allows us to
18695 show known access points that don't broadcast their ESSID in the menus without
18696 any user intervention whatsoever.
18698 * info-daemon/NetworkManagerInfoDbus.c
18699 - (nmi_dbus_get_network_addresses, nmi_dbus_add_network_address): new functions
18700 for dbus method calls "getNetworkAddresses" and "addNetworkAddress"
18702 * src/NetworkManagerAP.[ch]
18703 - Add a "user_addresses" data member to the NMAccessPoint structure
18704 - (nm_ap_get_user_addresses, nm_ap_set_user_addresses): new functions for accessing
18705 the user_addresses data member
18707 * src/NetworkManagerAPList.c
18708 - (nm_ap_list_get_ap_by_address): check user_addresses list too, instead of just
18709 the AP's reported address
18710 - (nm_ap_list_update_network): grab the user_addresses list from NetworkManagerInfo
18712 * src/NetworkManagerDHCP.c
18713 - Increase DHCP timeout from 25s -> 30s
18715 * src/NetworkManagerDbus.[ch]
18716 - (nm_dbus_get_network_addresses, nm_dbus_add_network_address): have NMI get/set
18719 * src/NetworkManagerDevice.c
18720 - (nm_device_set_wireless_config): bring down the interface, wait 4s, bring it up,
18721 wait 2s, then configure it. Sometimes Prism54 cards will freeze up with
18722 "mgnt tx queue full", seemingly in response to NM controlling the card too much.
18723 So, we take the card down to clear it out.
18724 - (nm_device_do_normal_scan): Copy over AP ESSIDs from the allowed access point list
18725 too, since that's where the user_addresses are
18727 * src/NetworkManagerPolicy.c
18728 - (nm_state_modification_monitor): Tell NMI to add an AP's hardware address to
18729 that wireless networks' user_addresses list upon successful activation
18731 2004-11-16 Dan Williams <dcbw@redhat.com>
18733 * src/NetworkManagerDevice.[ch]
18734 - (nm_device_clear_activation_fail): new function
18736 * src/NetworkManagerPolicy.c
18737 - (nm_state_modification_monitor): clear the activation_failed flag on devices
18738 when we've dealt with the failure so the user doesn't get failure-dialog-spammed
18740 2004-11-16 Dan Williams <dcbw@redhat.com>
18742 * src/NetworkManagerDevice.c
18743 - (nm_device_activate_wireless): Unref best_ap upon success so we don't
18744 leak the structure, better updating of now_scanning status
18745 - (nm_device_wireless_network_exists): Rewrite for better/faster checking
18747 2004-11-15 Dan Williams <dcbw@redhat.com>
18749 Major rework of link detection code. We now use DHCP
18750 as part of the link detection which proves to be much more robust,
18751 and also supports Open System authentication for wireless networks.
18753 We no longer use external DHCP client programs. Instead, we use
18754 our own DHCP client, based on substantially reworked bits of 'dhcpcd'
18755 which was written by:
18756 Yoichi Hariguchi <yoichi@fore.com>
18757 Sergei Viznyuk <sv@phystech.com>
18758 http://www.phystech.com/download/
18759 It resides in the "dhcpcd" directory and was refactored into a general
18760 purpose DHCP client library by me.
18762 Also misc fixes (CPPFLAGS->AM_CPPFLAGS, move some stuff around),
18763 move src/backends/NetworkManagerSystem.h -> src/NetworkManagerSystem.h
18765 2004-11-15 Dan Williams <dcbw@redhat.com>
18767 Patch from Tom Parker <palfrey@tevp.net>:
18769 * src/NetworkManagerDevice.c
18770 - Less output to console when no access
18771 points are found during a scan
18773 2004-11-15 Dan Williams <dcbw@redhat.com>
18775 Patch from Tom Parker <palfrey@tevp.net>:
18777 * src/backends/interface_parser.c
18779 - Check for inp == NULL
18782 2004-11-13 Colin Walters <walters@redhat.com>
18784 Patch from Tom Parker <palfrey@tevp.net>:
18786 * src/Makefile.am (CPPFLAGS): Switch to AM_CPPFLAGS.
18788 * src/backends/NetworkManagerRedHat.c: Switch to
18789 including shvar.h instead of shvar.c.
18791 * src/backends/NetworkManagerDebian.c: Don't include
18792 interface_parser.c in source file.
18794 (libnmbackend_la_SOURCES): Don't include shvar.[ch]
18795 and interface_parser.[ch].
18796 * src/Makefile.am (libnmbackend_la_SOURCES) <TARGET_REDHAT>:
18797 Include shvar.c and shvar.h here.
18798 (libnmbackend_la_SOURCES) <TARGET_DEBIAN>: Include
18799 interface_parser.c and interface_parser.h here.
18801 2004-11-12 Colin Walters <walters@redhat.com>
18803 * configure.in: Strip out TARGET_DISTRO and
18804 SYSTEM_BACKEND_FILE variables. Switch to Automake
18807 * src/Makefile.am (noinst_LTLIBRARIES): Add libnmbackend.la.
18808 (libnmbackend_la_SOURCES): Use Automake conditionals
18809 to add distro-specific files.
18811 * initscript/Makefile.am (SUBDIRS): Update to
18814 2004-11-12 Colin Walters <walters@redhat.com>
18816 Patches from j bootlab org
18818 * src/Makefile.am (EXTRA_NetworkManager_SOURCES):
18819 Add interface_parser.[ch].
18821 * src/backends/NetworkManagerDebian.c (nm_system_device_run_dhcp): Invoke
18822 dhclient with "-lf /var/lib/dhcp/dhclient-%s.leases".
18824 2004-11-12 Colin Walters <walters@redhat.com>
18826 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_service_init): Delete
18827 call to nmi_dbus_is_running too, not necessary anymore.
18828 * info-daemon/NetworkManagerInfoDbus.c: Include stdlib.h to
18831 2004-11-11 Colin Walters <walters@verbum.org>
18833 * info-daemon/NetworkManagerInfoDbus.c (nmi_dbus_is_running):
18835 (nmi_dbus_service_init): Call dbus_bus_acquire_service with
18836 the DBUS_SERVICE_FLAG_PROHIBIT_REPLACEMENT flag, and
18837 then check the result for DBUS_SERVICE_REPLY_SERVICE_EXISTS.
18838 This avoids a race condition that made it pretty easily
18839 possible to get two NetworkManagerInfo daemons running.
18841 2004-11-11 Colin Walters <walters@verbum.org>
18843 * src/NetworkManager.c (main): Use daemon(3).
18845 * info-daemon/NetworkManagerInfo.c (main): Ditto.
18847 * dispatcher-daemon/NetworkManagerDispatcher.c (main): Ditto.
18849 2004-11-10 Dan Williams <dcbw@redhat.com>
18851 Patches from j bootlab org
18852 * src/NetworkManagerDevice.c
18853 - (nm_device_activate_wireless): wait 5 seconds before attempting to detect
18854 whether the card has a link or not, some cards are slow
18855 - (nm_device_activation_configure_ip): make ipv6 work a bit better
18857 * info-daemon/NetworkManagerInfoPassphraseDialog.c
18858 - Disable the "Login" button on the passphrase dialog until the user
18859 enters a valid passphrase or key
18861 Patches from Tom Parker <palfrey tevp net>
18862 * src/backends/NetworkManagerDebian.c
18863 - Add static IP support to the debian backend
18865 * src/backends/interface_parser.[ch]
18866 - Parse debian interface config files
18868 2004-11-08 Dan Williams <dcbw@redhat.com>
18870 * src/NetworkManagerDevice.c
18871 - Some random fprintf->syslog conversions
18872 - (nm_device_wireless_network_exists): double-check for network
18873 - (nm_device_find_and_use_essid): Copy over encryption key no matter what
18875 * src/NetworkManagerWireless.[ch]
18876 - (nm_wireless_[128|64]bit_ascii_to_hex): make "ascii" argument unsigned again
18877 so that the binary->ascii conversion works (if unsigned, the bitshift
18878 will fill with zeros, which is what's required). Also mask bitshift
18879 result with 0xF for futher assurance.
18881 2004-11-06 Dan Williams <dcbw@redhat.com>
18883 * src/NetworkManagerUtils.c
18884 - (nm_get_wireless_driver_support_level): default to
18885 FULLY_SUPPORTED rather than UNSUPPORTED, forgot to
18886 flip this when changing from whitelist->blacklist of
18889 2004-11-05 Dan Williams <dcbw@redhat.com>
18891 Patch from Robert Paskowitz:
18892 * src/backends/NetworkManagerGentoo.c
18893 - Update static IP config code
18895 2004-11-05 Dan Williams <dcbw@redhat.com>
18897 * info-daemon/NetworkManagerInfoDbus.c
18898 src/NetworkManagerDbus.[ch]
18899 src/NetworkManagerDevice.c
18900 - Keep track of the # of attempts to get the WEP key
18901 from the user and pass that along to the info daemon
18903 2004-11-05 Dan Williams <dcbw@redhat.com>
18905 * src/NetworkManagerUtils.c
18906 - Blacklist wireless cards rather than whitelisting them.
18907 - Grab driver name from HAL rather than trying to find it
18910 2004-11-03 Dan Williams <dcbw@redhat.com>
18912 * panel-applet/NMWirelessAppletOtherNetworkDialog.c,
18913 - Disable OK button until valid data is entered
18914 for encryption stuff too
18916 * panel-applet/NMWirelessApplet.c
18917 - Report card strength for current AP if the card
18918 doesn't report strength data for scanned access
18921 * src/NetworkManagerDevice.c
18922 - Smooth out cards reported quality, Atmel card was
18923 intermittently reporting no quality data but soon
18926 * src/NetworkManagerWireless.c
18927 - Better quality data percentage calculation. Atmel
18928 cards (mine at least) seem to report the quality
18929 in percentage format already, so honor that
18931 Patch from <j@bootlab.org>
18933 info-daemon/NetworkManagerInfoPassphraseDialog.c
18934 info-daemon/passphrase.glade
18935 panel-applet/NMWirelessAppletOtherNetworkDialog.c
18936 panel-applet/essid.glade
18937 src/NetworkManagerAP.c
18938 src/NetworkManagerDevice.c
18939 src/NetworkManagerWireless.[ch]
18940 - Support ASCII WEP keys, in both 40/64 bit and 104/128 bit
18942 2004-11-03 Dan Williams <dcbw@redhat.com>
18944 * src/NetworkManagerDevice.[ch]
18945 - (nm_device_set_enc_key): Add parameter to set Authentication
18946 Mode (Open System, Shared Key, or None). We're still using
18947 Shared Key for now though.
18949 2004-11-02 Bryan Clark <clarkbw@cvs.gnome.org>
18951 * panel-applet/menu-info.c: change from bold text to light
18952 colored, may cause problems with some themes, i've tested a lot
18953 and they seem fine.
18955 * panel-applet/NMWirelessApplet.c: fix strength tooltip
18957 2004-11-01 Colin Walters <walters@verbum.org>
18959 * src/NetworkManagerWireless.h, src/NetworkManagerWireless.c
18960 (nm_wireless_128bit_key_from_passphrase): Add const.
18962 * src/NetworkManagerAP.h, src/NetworkManagerAP.c
18963 (nm_ap_set_enc_key_source): Add const.
18965 2004-11-01 Colin Walters <walters@verbum.org>
18967 * .cvsignore: Update.
18969 2004-10-29 Dan Williams <dcbw@redhat.com>
18971 * src/NetworkManagerDevice.c
18972 - (nm_device_wireless_network_exists): Actually use the encryption
18973 key we got from the applet when attempting to find a wireless network
18974 - Don't bring devices down so much since on some cards it triggers
18975 firmware hotplugs each time
18977 * src/NetworkManagerDbus.c
18978 - (nm_dbus_nm_set_active_device): free the passphrase we may have gotten
18981 2004-10-29 Dan Williams <dcbw@redhat.com>
18983 * src/NetworkManager.c
18984 - (nm_hal_device_property_modified): unlock a locked active
18985 wireless device when a wired connection gets a link.
18986 (Means you'll switch to wired whenever you plug in no
18989 2004-10-29 Dan Williams <dcbw@redhat.com>
18991 * panel-applet/NMWirelessAppletOtherNetworksDialog.[ch]
18992 - New files, implement the "Other wireless network" dialog
18994 * panel-applet/NMWirelessApplet.c
18995 - Move "other wireless network" dialog to separate file
18997 * panel-applet/NMWirelessAppletDbus.[ch]
18998 - Take key and key_type paramaters for the set_device function
19000 * panel-applet/essid.glade
19001 - Add UI bits for encryption settings
19003 * src/NetworkManagerDbus.c
19004 - Retrieve key and key_type params for "setActiveDevice" method call
19006 - unref AP returned from nm_device_get_best_ap() when needed
19008 * src/NetworkManagerDevice.c
19009 - (nm_device_get_best_ap): ref the ap before returning it
19010 - unref AP returned from nm_device_get_best_ap() when needed
19011 - (nm_device_activate_wireless): add "ap" parameter so we don't
19012 need to call nm_device_get_best_ap() here, it was pretty much
19014 - (AP_NEED_KEY): break second link check condition out into separate
19015 function, and fix segfault when ap->enc_key_source was NULL
19016 - (nm_device_find_and_use_essid): take key and key_type parameters and
19017 pass them along to nm_device_wireless_network_exists(). If the
19018 network does exist, set the passed-in key+key_type on the AP
19020 * src/NetworkManagerPolicy.c
19021 - unref AP returned from nm_device_get_best_ap() when needed
19023 2004-10-28 Dan Williams <dcbw@redhat.com>
19025 * src/NetworkManagerUtils.c
19026 - (nm_spawn_process): Fix a potential dereference of NULL
19028 Patches from Peter Jones:
19030 * src/NetworkManagerDevice.c
19031 - (nm_device_test_wireless_extensions): Better check for
19034 * src/NetworkManagerUtils.c
19035 - (nm_spawn_process): Pass in valid stdout and stderr so
19036 executed programs don't randomly SIGPIPE and fail
19037 - (nm_get_wired_driver_support_level): quash hal warning
19038 when checking for USB ethernet device
19040 2004-10-27 Dan Williams <dcbw@redhat.com>
19042 * info-daemon/NetworkManagerInfo.c
19043 info-daemon/NetworkManagerInfoDbus.c
19044 info-daemon/NetworkManagerInfoPassphraseDialog.c
19045 panel-applet/NMWirelessApplet.c
19046 - Properly escape gconf keys
19048 * src/NetworkManager.c
19049 - remove unused variables
19051 * src/NetworkManagerAP.c
19052 - (nm_ap_new_from_ap): Don't redundantly set new APs
19053 refcount since it got set in nm_ap_new()
19055 * src/NetworkManagerAPList.c
19056 - (nm_ap_list_combine): Give up ownership of newly created
19057 access points to the ap list, fixes memleak
19059 * src/NetworkManagerDevice.c
19060 - Remove cached_ap_list4 member since its not really needed
19061 - (nm_device_wireless_network_exists): Try to get correct
19062 encryption status of a found AP if its already in our
19064 - (nm_device_do_normal_scan): Clean up scanning a bit, make
19065 memory allocs/deallocs a bit clearer and shorter-lived
19067 2004-10-26 Ray Strode <rstrode@redhat.com>
19069 * panel-applet/NMWirelessApplet.c:
19070 (custom_essid_item_selected): kill some compiler
19073 2004-10-26 John (J5) Palmieri <johnp@redhat.com>
19075 * info-daemon/NetworkManagerInfoDbus.c
19076 - (nmi_dbus_is_running): New function for determining if nmi is already running
19077 - (nmi_dbus_service_init): exit if another instance of nmi is already running
19079 2004-10-23 Dan Williams <dcbw@redhat.com>
19081 * info-daemon/NetworkManagerInfoDbus.c
19082 - Trap the "DeviceActivationFailed" signal
19084 * docs/NetworkManager DBUS API.txt
19085 - Add "DeviceActivationFailed" signal
19087 * panel-applet/NMWirelessAppletDbus.c
19088 - Quash the "NetworkManager service not available" message
19090 * src/NetworkManagerDbus.[ch]
19091 - Add the "DeviceActivationFailed" signal
19093 * src/NetworkManagerDevice.c
19094 - Add support for activation_failed flag
19095 - Fix deadlock where activation thread didn't clean itself up, making
19096 main thread still believe it was alive forever (didn't reset activation
19097 flags like activating, just_activated, etc when IP configuration
19100 * src/NetworkManagerPolicy.c
19101 - Implement logic for DeviceActivationFailed signal, and when activation fails
19102 for wireless networks, try to fall back to some other access point
19104 2004-10-23 Dan Williams <dcbw@redhat.com>
19106 * panel-applet/NMWirelessApplet.[ch]
19107 - Place the GtkMenuBar inside a GtkEventBox, and add the Event Box
19108 to the applet object, so we can get tooltips
19109 - Add tooltips (RH #136866)
19111 * src/NetworkManagerDevice.c
19112 - When trying to find a wireless network, try to connect with encryption
19113 turned on first, so that we can more accurately detect whether or not
19114 we need to use encryption for the actual association later on
19116 2004-10-21 Dan Williams <dcbw@redhat.com>
19118 * Add some support for telling NetworkManagerInfo to tell the user
19119 that they are using a device that's not fully supported
19121 * Fix some assertions in debug messages due to null access point args
19123 2004-10-21 Dan Williams <dcbw@redhat.com>
19125 * src/NetworkManagerDevice.c
19126 - Don't try to activate/bring up/down unsupported
19129 * src/NetworkManagerUtils.c
19130 - Fix case of PCI ID checks for driver support levels
19132 2004-10-21 Dan Williams <dcbw@redhat.com>
19135 - New file, now contains commonly used structures and bits
19136 for the dbus API of NetworkManager
19139 - Deliver NetworkManager.h to ${includedir}/NetworkManager
19141 * src/NetworkManager.h
19142 - Rename -> src/NetworkManagerMain.c
19144 * Various fixups all around to use NetworkManager.h and new
19145 src/NetworkManagerMain.h, remove redundant bits that got
19146 moved into NetworkManager.h
19148 * src/NetworkManagerDevice.[ch]
19149 src/NetworkManagerUtils.[ch]
19150 src/NetworkManagerPolicy.c
19151 src/NetworkManagerDbus.c
19152 - Whitelist wireless drivers, and blacklist some wired
19153 drivers. Also blacklist cipsec and ethernet-over-usb
19154 devices at this time (RH #135722, RH #135648)
19155 - Don't leak unsupported devices out over dbus, or allow
19156 them to be set as the active device. Skip over them
19157 during automatic device picking
19159 * test/nmclienttest.c
19160 - Clean up the dbus code a lot
19162 Tue Oct 19 14:20:29 2004 Jonathan Blandford <jrb@redhat.com>
19164 * configure.in: post release bump.
19166 Tue Oct 19 14:19:24 2004 Jonathan Blandford <jrb@redhat.com>
19169 * NEWS: Released NetworkManager-0.3.1
19171 2004-10-18 Dan Williams <dcbw@redhat.com>
19173 Patches from Thom May:
19174 * test/nmtestdevices.c
19175 - Include <string.h>
19176 * src/backends/NetworkManagerDebian.c:
19177 - (nm_system_device_run_dhcp, nm_system_device_stop_dhcp)
19178 (nm_system_device_flush_routes, nm_system_device_flush_addresses)
19179 Move to using g_strdup_printf rather than arbitrary buffers
19180 - (nm_system_device_setup_static_ip4_config) Implement function.
19181 - (nm_system_kill_all_dhcp_daemons) Use killall -q rather than killall
19183 2004-10-17 Dan Williams <dcbw@redhat.com>
19185 * info-daemon/NetworkManagerInfoDbus.c
19186 - Display name of network in the "network not found" dialog
19188 * panel-applet/NMWirelessAppletDbus.c
19189 - (nmwa_dbus_call_nm_method): new function replaces all other
19190 nmwa_dbus_get_[string|string_array|int|boolean] methods
19191 - nmwa_dbus_get_network_name() and nmwa_dbus_get_device_name()
19192 consolidated into nmwa_dbus_get_object_name()
19194 2004-10-15 Dan Williams <dcbw@redhat.com>
19196 * src/NetworkManagerDbus.c
19197 info-daemon/NetworkManagerInfoDbus.c
19198 - Display an error dialog when the user tries to use an
19199 "Other wireless network" that's not found.
19201 2004-10-15 Dan Williams <dcbw@redhat.com>
19203 * panel-applet/NMWirelessApplet.[ch]
19204 - Fix up corner cases in applet state, making it
19205 look more responsive. Change state to "connecting" when
19206 the user is forcing a device too.
19208 2004-10-15 Dan Williams <dcbw@redhat.com>
19210 * src/NetworkManagerAPList.c
19211 - (nm_ap_list_update_network): Disown AP after the list takes ownership
19213 * src/NetworkManagerDbus.c
19214 - (nm_dbus_nm_set_active_device): Simplify the device setting logic
19216 * src/NetworkManagerDevice.c
19217 - Disown APs after the device's AP list takes ownership
19219 2004-10-15 Dan Williams <dcbw@redhat.com>
19221 * panel-applet/NMWirelessApplet.c
19222 - Update our applet state from the GUI thread
19224 * panel-applet/NMWirelessAppletDbus.c
19225 - Greatly simplify the locking to make the GUI thread
19226 smoother. Update a private copy of the device list
19227 and active device and only when done talking to
19228 NetworkManager turn it over to the GUI thread.
19230 2004-10-15 Dan Williams <dcbw@redhat.com>
19232 * src/NetworkManagerAP.[ch]
19233 - Add "artificial" get/set functions, set for APs that
19234 aren't discovered as part of a scan but instead
19235 discovered by force-setting the ESSID
19237 * src/NetworkManagerDevice.[ch]
19238 - (nm_device_wireless_network_exists): pass back whether
19239 or not the discovered AP was encrypted. Also, try
19240 falling back to encrypted mode on the card if unencrypted
19241 association doesn't work
19242 - (nm_device_find_and_use_essid): If the network requested
19243 did in fact exists, but it wasn't in our scan list, add
19244 an "artificial" entry for it. Some Cisco cards don't
19245 see non-ESSID-broadcasting APs in their scan but can still
19246 associate with them if you know the ESSID, this works around
19248 - (nm_device_do_normal_scan): Carry "artificial" APs over from scan
19249 to scan if the card is currently associated with that AP
19251 2004-10-15 Dan Williams <dcbw@redhat.com>
19253 ---- We have a website ----
19254 http://people.redhat.com/dcbw/NetworkManager
19256 Patch from Robert Paskowitz:
19257 * src/NetworkManager.c
19258 - (main): Make sure we are run as root
19259 * src/NetworkManagerDevice.c
19260 - Fix type in ad-hoc setting function
19262 Patch from Thom May:
19263 * src/backends/NetworkManagerDebian.c
19264 - Make Debian backend compile again
19266 2004-10-14 Dan Williams <dcbw@redhat.com>
19268 * Tagged NetworkManager-0_3
19270 2004-10-14 Dan Williams <dcbw@redhat.com>
19272 Patch from Robert Paskowitz:
19274 src/NetworkManagerDevice.[ch]
19275 src/backends/NetworkManagerDebian.c
19276 src/backends/NetworkManagerGentoo.c
19277 src/backends/NetworkManagerRedHat.c
19278 src/backends/NetworkManagerSlackware.c
19279 - Add support for grabbing and using a broadcast address
19280 from system config files
19281 - Some Gentoo backend fixes for grabbing network config
19282 - Fix LOG_WARN->LOG_WARNING
19284 2004-10-14 Dan Williams <dcbw@redhat.com>
19286 * NEWS: a few small fixes in the credits
19288 Thu Oct 14 19:12:58 2004 Jonathan Blandford <jrb@redhat.com>
19290 * NEWS: prep for release.
19292 Thu Oct 14 16:47:12 2004 Jonathan Blandford <jrb@redhat.com>
19294 * panel-applet/NMWirelessAppletDbus.c
19295 (nmwa_dbus_update_device_wireless_networks): remove warnings.
19297 Thu Oct 14 16:40:39 2004 Jonathan Blandford <jrb@redhat.com>
19299 * panel-applet/NMWirelessApplet.c (animation_timeout): Make
19300 applet->state == APPLET_STATE_NO_NM animation.
19302 * panel-applet/NMWirelessApplet.c (custom_essid_item_selected):
19303 set the text correctly.
19305 2004-10-14 Dan Williams <dcbw@redhat.com>
19307 * src/NetworkManager.c
19308 - Only accept and manager 802.3 and 802.11 devices
19310 * src/NetworkManagerDbus.[ch]
19311 - (nm_dbus_nm_set_active_device): move most of the actual activation
19312 logic into NetworkManagerDevice.c
19313 - (nm_dbus_network_status_from_data): new function
19314 - (nm_dbus_signal_network_status_change): new function, unused for now
19315 - (nm_dbus_nm_message_handler): use nm_dbus_network_status_from_data () now
19317 * src/NetworkManagerDevice.[ch]
19318 - (nm_device_find_and_use_essid): new function. Search for, and if found use,
19321 2004-10-14 John (J5) Palmieri <johnp@redhat.com>
19323 * info-daemon/NetworkManagerInfo.c
19324 - (main): Added session management
19326 2004-10-14 Dan Williams <dcbw@redhat.com>
19328 * panel-applet/NMWirelessAppletDbus.[ch]
19329 - Expose network_device_[un]ref()
19330 - Expose wireless_network_[un]ref()
19331 - (wireless_network_new_with_essid): new function, create and return
19332 a wireless network with a particular essid
19334 * panel-applet/NMWirelessApplet.c
19335 - Hook up the "other network" dialog to do something
19337 Wed Oct 13 19:31:53 2004 Jonathan Blandford <jrb@redhat.com>
19339 * panel-applet/NMWirelessApplet.c: Add an essid dialog. It
19340 doesn't work yet, but it looks okay.
19342 * panel-applet/icons/*png: Resize to 22x22 and install in the
19345 2004-10-13 Dan Williams <dcbw@redhat.com>
19347 * panel-applet/NMWirelessApplet.c
19348 - Add function to print out applet_state in a readable
19351 * src/NetworkManager.c
19352 - (main): Don't segfault when nm_dbus_init() fails, we had
19353 a left-over call to hal_shutdown() into which we passed NULL
19355 * src/NetworkManagerAP.c
19356 - (nm_ap_set_essid): Allow NULL essids
19358 * src/NetworkManagerAPList.[ch]
19359 - More use of nm_ap_list_[un]lock ()
19360 - (nm_ap_list_get_ap_by_essid): don't warn when looking for a NULL
19361 network/essid, just return nothing. Also skip over NULL
19362 essid access points in the list when searching
19363 - (nm_ap_list_get_ap_by_address): new function
19364 - (nm_ap_list_update_network): set the access point's key source to
19365 NULL when the key returned from NetworkManagerInfo is NULL or
19367 - nm_ap_list_update_keys() -> nm_ap_list_update_properties(), and
19368 copy timestamp over too
19369 - (nm_ap_list_copy_essids_by_address): new function, attempt to
19370 find the correct ESSID for a blank-essid access point by searching
19371 through another list and matching access point MAC addresses
19372 - (nm_ap_list_diff): exclude blank-essid access points from the diffs
19374 * src/NetworkManagerDbus.c
19375 - (nm_dbus_nm_set_active_device): deal with random networks the user
19376 may specify. This is mainly for access points that don't
19377 broadcast their essid. So if the user tells us to associate with
19378 some random ESSID that's not in our access point list, we find
19379 out if the access point does in fact exist (by attempting association
19380 and then matching that access point's MAC address with the essid the
19381 user gave us) and then we switch to it.
19382 - (nm_dbus_devices_handle_request): don't add blank-essid access points
19383 to the returned list of networks for the "getNetworks" method
19385 * src/NetworkManagerDevice.[ch]
19386 - Extra debugging info for link detection
19387 - (nm_device_ap_list_get_ap_by_address): new function, return an AP
19388 based on MAC address
19389 - (nm_device_get_path_for_ap): ignore blank-essid access points
19390 - (nm_device_wireless_network_exists): new function, find out whether
19391 a random ESSID exists by attempting to associate with it
19392 - (nm_device_do_normal_scan): allow blank-essid access points in our
19393 device list as long as they have an AP MAC address we can use.
19394 Also send WirelessNetwork[Dis]Appeared signals for non-active
19395 devices too. Lets the applet update more frequently.
19397 * src/backends/NetworkManagerGentoo.c
19398 - Patch from: Robert Paskowitz
19399 - Update backend code for Gentoo
19400 - Implement nm_system_device_update_config_info ()
19402 * test/nmclienttest.c
19403 - (set_network_device): new function, takes a command-line argument
19404 and tells NetworkManager to use that wireless network
19406 Wed Oct 13 John (J5) Palmieri <johnp@redhat.com>
19408 * info-daemon/NetworkManagerInfo.c (nmi_spawn_notification_icon): Stop respawning
19409 if the notification icon crashes 5 times within 5 seconds of each respawn
19411 Tue Oct 12 22:53:04 2004 Jonathan Blandford <jrb@redhat.com>
19413 * panel-applet/NMWirelessApplet.c (nmwa_update_state): remove
19416 Tue Oct 12 22:44:15 2004 Jonathan Blandford <jrb@redhat.com>
19418 * panel-applet/NMWirelessApplet.h: Change the name of the icons.
19420 * panel-applet/NMWirelessApplet.c: (animation_timeout),
19421 (nmwa_update_state), (nmwa_destroy), (nmwa_setup_widgets),
19422 (nmwa_icons_free), (nmwa_icons_load_from_disk), (nmwa_icons_init):
19423 Change the name of the icons.
19425 * panel-applet/menu-info.c: (nm_menu_wired_class_init),
19426 (nm_menu_wired_expose_event), (nm_menu_network_class_init),
19427 (nm_menu_wireless_class_init), (nm_menu_wireless_new),
19428 (nm_menu_wireless_expose_event): Really bad hack to get the style
19429 to draw in the right color.
19431 Tue Oct 12 John (J5) Palmieri <johnp@redhat.com>
19433 * info-daemon/NetworkManagerInfo.c (main): Add child watch to respawn
19434 Notification if it crashes
19436 Fri Oct 8 07:19:55 2004 Jonathan Blandford <jrb@redhat.com>
19438 * panel-applet/NMWirelessAppletDbus.c (nmwa_dbus_get_double):
19439 (nmwa_dbus_get_string): remove unused functions
19441 * panel-applet/NMWirelessApplet.c (nmwa_about_cb):
19442 (nmwa_cancel_timeout), (nmwa_get_menu_pos), (nmwa_factory):
19443 remove unused functions
19445 * panel-applet/NMWirelessApplet.c: Rewrite icon code.
19447 2004-10-12 Dan Williams <dcbw@redhat.com>
19449 * panel-applet/NMWirelessAppletDbus.c
19451 wireless_network_new
19452 wireless_network_copy
19454 network_device_copy
19456 * src/NetworkManagerDevice.[ch]
19458 nm_device_set_mode_managed
19459 nm_device_set_mode_adhoc
19460 - Use these functions where appropriate
19461 - When creating a new wireless device, force the card
19462 to managed/Infrastructure mode as soon as possible
19464 2004-10-12 Dan Williams <dcbw@redhat.com>
19466 * src/NetworkManagerDevice.c
19467 - Force wireless cards into Infrastructure mode before we use them
19469 2004-10-12 Dan Williams <dcbw@redhat.com>
19472 - Remove bit about static IP address support
19474 * src/NetworkManagerUtils.c
19475 - (nm_spawn_process): Add some error reporting
19477 * src/NetworkManagerDevice.c
19478 - (nm_device_activation_configure_ip): hook up to the static config
19479 routines in the backends
19481 * src/backends/NetworkManagerRedHat.c
19482 - (nm_system_device_update_config_info): use shvar.c routines to
19483 parse the config file iformation, not our own
19484 - (nm_system_device_setup_static_ip4_config): new function, based
19485 heavily on 'ifup' script and 'ipcalc' tool code. Set up a device
19486 with a static IP address and gateway
19488 * src/backends/shvar.[ch]
19489 - Parser (filched from initscripts package) for ifcfg-* files
19491 * src/backends/NetworkManagerSystem.h
19492 src/backends/NetworkManagerGentoo.c
19493 src/backends/NetworkManagerDebian.c
19494 src/backends/NetworkManagerSlackware.c
19495 - Stub nm_system_device_update_config_info() and nm_system_device_setup_static_ip4_config()
19497 2004-10-11 Dan Williams <dcbw@redhat.com>
19500 - Remove bit about more robust AP diffing since I just implemented it
19502 2004-10-11 Dan Williams <dcbw@redhat.com>
19504 * src/NetworkManagerAP.c
19505 - (nm_ap_new, nm_ap_new_from_ap): Don't crash when we don't have
19506 enough RAM to allocate new AP structures, but return NULL instead
19508 * src/NetworkManagerAPList.[ch]
19509 - (nm_ap_list_is_empty): new function
19510 - (nm_ap_list_combine): new function, combine two access point lists
19511 - (nm_ap_list_copy_keys): new function, copy keys from one list
19514 * src/NetworkManagerDevice.[ch]
19515 - Rename some functions to be clearer:
19516 nm_device_get_best_ap_frozen -> nm_device_is_best_ap_frozen
19517 nm_device_just_activated -> nm_device_is_just_activated
19518 nm_device_activating -> nm_device_is_activating
19519 nm_device_now_scanning -> nm_device_is_scanning
19520 - Cache the last 4 scans so that the access point list is more stable.
19521 We combine the lastest two scans and use that as the AP list,
19522 and diff that combined list against the combination of the earliest
19523 two cached scans for the WirelessNetworkAppeared/Dissappeared signals
19525 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19527 * info-daemon/NWManagerInfo.h
19528 - (struct NetworkManagerInfo): add shutdown_timeout GSource
19530 * info-daemon/NWManagerInfoDbus.c
19531 - (shutdown_callback): new function
19532 - (nmi_dbus_filter): Create a 30 second timeout until shutdown
19533 if NetworkManager goes away. Kill the timeout
19534 if NetworkManager restarts before the 30 seconds
19536 - (nmi_dbus_service_init):
19537 - call gtk_main_quit if NetworkManager is not running
19538 - add filters to monitor dbus service creations and
19541 2004-10-08 John (J5) Palmieri <johnp@redhat.com>
19543 * panel-applet/NMWirelessApplet.c
19544 - (nmwa_update_state): Hide notification icon if we are only
19545 showing one wired card and no wireless interfaces
19546 (Red Hat Bug #134895)
19548 * panel-applet/NMWirelessAppletDbus.c
19549 - (nmwa_dbus_filter): changed exit to gtk_main_quit ()
19551 * info-daemon/NWManagerInfo.c
19552 - (main): Terminated the notification_icon_cmd array with a NULL
19554 2004-10-08 Hendrik Brandt <hebra@cvs.gnome.org>
19556 * configure.in (ALL_LINGUAS): Added de (German).
19558 2004-10-08 Dan Williams <dcbw@redaht.com>
19560 * src/NetworkManagerDevice.c
19561 - Be a bit more robust about link checking, ie make sure that
19562 the WEP key we were given actually has some data in it
19564 2004-10-08 Dan Williams <dcbw@redhat.com>
19566 * info-daemon/NetworkManagerInfo.c (main):
19567 - Initialize GError object to NULL
19569 2004-10-08 Dan Williams <dcbw@redhat.com>
19571 * panel-applet/NMWirelessAppletDbus.c
19572 - Die if NetworkManagerInfo dies, since it manages our lifetime
19574 2004-10-08 Dan Williams <dcbw@redhat.com>
19576 * info-daemon/NetworkManagerInfo.[ch]
19577 info-dameon/NetworkManagerInfoDbus.[ch]
19578 info-daemon/NetworkManagerInfoPassphraseDialog.[ch]
19579 - Preserve original label text in the passphrase dialog so that
19580 it actually gets updated with the new network name the next
19581 time around. Previously, we were overwriting it so you'd get
19582 the wrong network name to enter a key for
19583 - Add a "Key Type" combo to the passphrase dialog, user selects
19584 encryption key type now, type is stored in GConf too
19585 - Adjust NM<->NMI DBUS protocol to pass the key type back to NM too
19587 * src/NetworkManagerAP.[ch]
19588 - Remove all the encyption method magic. It's now set by the user
19589 and NetworkManager retrieves the type of encryption key from
19592 * src/NetworkManagerAPList.[ch]
19593 src/NetworkManagerDbus.[ch]
19594 - Adjust to new way of setting encryption key and method
19595 - Pull encryption method down from NMI along with key
19597 * src/NetworkManagerDevice.[ch]
19598 - Removed encryption method fallback magic as the method is now
19599 determined by the user. This greatly simplifies the connection
19601 - More robust connection/link logic. Besides removing the encryption
19602 method fallback magic, check whether or not the card is receiving
19603 invalidly encrypted packets, which usually indicates that we have
19605 - Don't blindly forge ahead when DHCP fails (still not completely fixed)
19607 * test/nminfotest.c
19608 - Test out new "Key Type" stuff in the NMI passphrase dialog
19610 2004-10-07 Dan Williams <dcbw@redhat.com>
19612 * info-daemon/NetworkManagerInfo.conf
19613 - Allow root user to run NMI too
19615 2004-10-06 Dan Williams <dcbw@redhat.com>
19617 * src/NetworkManagerDevice.[ch]
19618 src/NetworkManagerDbus.c
19619 doc/NetworkManager DBUS API.txt
19620 - Add a new status tag "scanning", which is set when there
19621 is no active network connection, but NetworkManager is
19622 looking for an access point to associate with
19624 * panel-applet/main.c
19625 - Cast the applet appropriately for gtk_widget_show_all ()
19627 Mon Oct 4 12:55:41 2004 Jonathan Blandford <jrb@redhat.com>
19629 * panel-applet/eggtrayicon.[ch]:
19630 * panel-applet/main.c: Add missing file
19632 2004-10-04 Dan Williams <dcbw@redhat.com>
19634 * src/NetworkManagerDevice.[ch]
19635 - Add a slightly more robust method of determining if the WEP key
19636 is correct or not, by checking the WEP-discarded packet count
19639 * info-daemon/NetworkManagerInfo.c
19640 - (nmi_gconf_notify_callback): Fix GConf essid escaping, should
19641 un-escape values we pull out rather than escaping them
19643 2004-10-03 Marcel Telka <marcel@telka.sk>
19645 * configure.in (ALL_LINGUAS): Added sk.
19647 Fri Oct 1 18:26:03 2004 Jonathan Blandford <jrb@redhat.com>
19649 * panel-applet/menu-info.c (nm_menu_wired_class_init): update look
19650 and feel. We should be back to working, and have a good, clean
19653 2004-09-30 Dan Williams <dcbw@redhat.com>
19655 * info-daemon/NetworkManagerInfo.c
19656 info-daemon/NetworkManagerInfoDbus.c
19658 - Escape ESSIDs in gconf
19660 * src/NetworkManagerDevice.c
19661 - Fix pseudo-scanning to use netowrk list from info daemon
19663 Wed Sep 29 18:18:24 2004 Jonathan Blandford <jrb@redhat.com>
19665 * configure.in: Add a temporary --enable-notification-icon. This
19666 will prolly go away.
19668 * info-daemon/Makefile.am:
19669 * info-daemon/NetworkManagerInfo.c:
19670 * info-daemon/NetworkManagerInfo.h: Use a notification icon.
19672 * panel-applet/Makefile.am:
19673 * panel-applet/NMWirelessApplet.c: Turn into a notification icon
19674 * panel-applet/NMWirelessApplet.h:
19676 Tue Sep 28 16:35:20 2004 Jonathan Blandford <jrb@redhat.com>
19678 * panel-applet/NMWirelessApplet.c: Fix deadlock. Add a separator
19679 before 'select custom ESSID'.
19681 * panel-applet/menu-info.c: Start rewrite for better headers. Not
19682 fully complete, but syncing in prep for merge.
19684 * panel-applet/icons/*png: New images
19686 2004-09-28 Dan Williams <dcbw@redhat.com>
19688 * src/NetworkManager.c
19689 src/NetworkManagerDevice.c
19690 src/NetworkManagerPolicy.c
19691 - Don't blow away an active wired connection on startup
19693 2004-09-28 Bryan Clark <clarkbw@cvs.gnome.org>
19697 * info-daemon/NetworkManagerInfo.conf: fixed own permissions
19699 * info-daemon/NetworkManagerInfoDbus.c: added service name to
19702 Wed Sep 22 14:19:48 2004 Jonathan Blandford <jrb@redhat.com>
19704 * panel-applet/NMWirelessApplet.c: Only add essid's if we actually
19705 have a wireless card.
19707 Wed Sep 22 14:05:48 2004 Jonathan Blandford <jrb@redhat.com>
19709 * panel-applet/NMWirelessApplet.c: move the custom essid item.
19710 Also, get the right device strings.
19712 Wed Sep 22 13:51:45 2004 Jonathan Blandford <jrb@redhat.com>
19714 * panel-applet/menu-info.c (nm_menu_network_draw_indicator): Flip
19715 the logic to make this right.
19717 * panel-applet/NMWirelessApplet.c (sort_networks_function): sort
19718 devices so that wired networks are always first.
19720 2004-09-22 <clarkbw@cvs.gnome.org>
19722 * initscript/Debian/.cvsignore:
19723 * initscript/Slackware/.cvsignore:
19724 Added new cvsignores for Makefile, Makefile.in
19727 Added nmtestdevices
19729 * src/NetworkManagerDevice.c:
19730 * src/NetworkManager.c:
19731 Updated the wireless/wired HAL device strings from net.ethernet to
19732 net.80203 or net.80211 depending on wired or wireless respectively
19734 * examples/python/NetworkManager.py:
19735 s/Quality/Strength/
19737 * examples/python/systray/network_tray.py:
19738 Lots of little changes and fixes. been rotting for a while so I
19739 figured I'd finally sync them all with CVS
19741 Tue Sep 21 18:05:34 2004 Jonathan Blandford <jrb@redhat.com>
19743 * configure.in: Add graphics
19745 * panel-applet/Makefile.am: Add graphics
19747 * panel-applet/icons/*: Add graphics
19749 * panel-applet/NMWirelessApplet.c: Use new menu times to display
19750 the icons fully lined up.
19752 * panel-applet/menu-info.c:
19753 * panel-applet/menu-info.h: Add another menu type.
19755 Fri Sep 17 14:04:34 2004 Jonathan Blandford <jrb@redhat.com>
19757 * panel-applet/NMWirelessApplet.c: Redo the menu item code.
19759 * panel-applet/menu-item.[ch]: Wireless menu item.
19761 2004-09-15 John (J5) Palmieri <johnp@redhat.com>
19763 * info-daemon/NetworkManagerInfo.conf
19764 - Created a more robust security policy for the DBus service
19765 - everything is denied by default
19766 - root can own and send to the service
19767 - users logged in at the console can send to the service
19769 2004-09-13 Dan Williams <dcbw@redhat.com>
19771 * src/NetworkManagerDevice.c
19772 - (nm_device_get_essid): use iw_get_basic_config() rather than
19773 iw_get_ext (SIOCGIWESSID) since prism54 cards don't like
19776 2004-09-13 Dan Williams <dcbw@redhat.com>
19780 * docs/NetworkManager DBUS API.txt
19781 - Update for new signal strength changes
19783 * panel-applet/NMWirelessApplet.c
19784 - Make panel icon show strength of the current connection
19785 - Cleanups and memleak fixes
19787 * panel-applet/NMWirelessApplet.h
19788 - Add data members for signal strength on devices and networks
19790 * panel-applet/NMWirelessAppletDbus.c
19791 - Free more DBusErrors
19792 - Update for new signal strength changes
19793 - Make devices and networks more like real objects, use ref/unref methods
19794 - Actually unlock the mutex when updating the active device
19796 * src/NetworkManagerAP.c
19797 - Change AP functions and data members from "quality"->"strength"
19799 * src/NetworkManagerDbus.c
19800 - Kill "getMaxQuality" and "getQuality" methods
19801 - Add "getStrength" methods for Networks and Devices
19803 * src/NetworkManagerDevice.[ch]
19804 - Add accessors for device strength
19805 - Add functions to update strength for a device. Note that not all drivers
19806 actually support signal strength for scanned access points (Atmel drivers
19808 - Calculate signal strength for each AP during scan
19810 * src/NetworkManagerWireless.[ch]
19811 - Add function to return signal strength % from a device and a raw quality struct
19813 * test/nmclienttest.c
19814 - Update for new signal strength changes
19816 2004-09-11 Dan Williams <dcbw@redhat.com>
19818 * src/NetworkManager.c
19819 - Fix race condition between initscripts and NM on card insertion
19820 which could cause a card to keep an IP address and routes around
19821 even when it was not the active device
19823 * src/NetworkManagerDbus.c
19824 - Fix compile errors, free more DBusErrors
19826 2004-09-11 Dan Williams <dcbw@redhat.com>
19828 * docs/NetworkManager DBUS API.txt
19829 - Add an explanation of NM's API
19831 * src/NetworkManagerDbus.c
19832 - Free some more DBusErrors if needed
19834 2004-09-11 Dan Williams <dcbw@redhat.com>
19836 * panel-applet/NMWirelessApplet.c
19837 panel-applet/NMWirelessAppletDbus.c
19838 - Start using NetworkDevice/WirelessNetwork structures in more places
19839 - Update for unified device/network forcing in NetworkManager
19841 * src/NetworkManager.c
19842 - some code consolidation
19844 * src/NetworkManagerDbus.c
19845 - (nm_dbus_nm_set_active_device): "setActiveDevice" now takes either one
19846 or two arguments: the first is the NM ID of the device to switch to,
19847 and the second (optional) argument is the ESSID of a wireless network
19849 - Get rid of "setNetwork" method due to above change
19851 * src/NetworkManagerDevice.c
19852 - (nm_device_new): perform scan and update best AP on device creation
19853 - nm_device_activation_cancel_if_needed()->nm_device_activation_should_cancel()
19854 - nm_device_activation_signal_cancel()->nm_device_activation_cancel(), and
19855 spin waiting for cancellation to finish before returning
19857 * src/NetworkManagerPolicy.c
19858 - Changes here clarify the situations in which a device switch occurs, and
19859 make sure to keep using a forced device and network if the user gives
19861 - Remove old unused code
19863 2004-09-11 Martin Willemoes Hansen <mwh@sysrq.dk>
19865 * configure.in: Added Danish (da) to ALL_LINGUAS.
19867 2004-09-09 Dan Williams <dcbw@redhat.com>
19869 * panel-applet/NMWirelessAppletDbus.c
19870 - Pull fresh devices and networks from NM when wireless networks
19871 change. Provides faster feedback of a forced wireless network
19873 * src/NetworkManagerDbus.c
19874 - Return error when "getMaxQuality" is called on a wired device
19875 - Make best_ap freezing actually work again, and signal cancellation
19876 of activation if there's already a device activation when the user
19877 freezes the best_ap
19879 * src/NetworkManagerDevice.c
19880 - Don't clear out the best_ap for wireless devices when the link goes
19881 down, that's done elsewhere
19882 - Kill any dhcp daemons when cancelling device activation since they
19883 may be stuck waiting for a DHCP address, and since we're cancelling
19884 activation we don't care about that anymore
19886 * src/NetworkManagerPolicy.c
19887 - Make sure to unref the device we ref earlier (we refed it to make sure
19888 it stuck around during device activation and such)
19889 - If we were going to change the best device, but its activating currently
19890 (and therefore the change didn't occur due to the check earlier)
19891 we mark the state changed to we come back to it later when device
19892 activation has canceled and its no longer activating
19894 * src/backends/NetworkManagerRedHat.c
19895 - SIGKILL dhcp daemons rather than SIGTERM-ing them
19897 2004-09-09 Bryan Clark <clarkbw@cvs.gnome.org>
19899 * info-daemon/passphrase.glade:
19900 set passphrase input to activates_default : True
19902 * examples/python/systray/network_tray.py
19903 (network_tray.sort_networks):
19905 Added support for having wireless always scanning
19907 2004-09-09 Dan Williams <dcbw@redhat.com>
19909 NOTE: this commit changes the behavior of wireless devices in
19910 NetworkManager. They are now up all the time, scanning all
19911 the time. Only the active device has an IP address and routing
19912 information set up however. Also, NetworkManager will no longer
19913 opportunistically switch wireless networks when a better one
19914 comes in range, it will remain associated with one wireless network
19915 until that one drops out.
19917 * panel-applet/NMWirelessApplet.c
19918 panel-applet/NMWirelessAppletDbus.c
19919 - List all wireless cards and their respective networks
19921 * src/NMLoadModules
19922 - Use full path to /sbin/ip
19924 * src/NetworkManager.c
19925 - Keep wireless devices up all the time so they can scan
19927 * src/NetworkManagerDbus.c
19928 - On a WirelessNetworkUpdate signal from NMI, don't update
19931 * src/NetworkManagerDevice.c
19932 - (nm_device_set_link_active): clear out the best ap for
19933 wireless devices when the link is set to FALSE
19934 - Scan on all wireless cards, all the time
19935 - (nm_device_activation_worker): split out the wireless card
19936 link-waiting code to a separate function
19937 - Keep wireless cards up even if device activation fails
19938 - Don't update the "best" ap as much
19940 * src/NetworkManagerPolicy.c
19941 - Don't update the best ap when checking if its frozen,
19942 let link checking clear out a frozen best ap for us
19944 * src/NetworkManagerWireless.c
19945 - Scan on all wireless cards, all the time
19947 2004-09-09 Francisco Javier F. Serrador <serrador@cvs.gnome.org>
19949 * configure.in: Added 'es' (Spanish) to ALL_LINGUAS.
19951 2004-09-09 Ankit Patel <ankit@redhat.com>
19953 * configure.in: Added 'gu' (Gujarati) to ALL_LINGUAS.
19955 2004-09-09 Pablo Saratxaga <pablo@mandrakesoft.com>
19957 * configure.in: Added Walloon (wa) to ALL_LINGUAS.
19959 2004-09-08 Bryan Clark <clarkbw@cvs.gnome.org>
19961 * examples/python/NetworkManager.py:
19962 added CONNECTED, CONNECTING, and DISCONNECTED states
19963 added methods to return number of devices of a single type
19965 * examples/python/systray/network_tray.py:
19966 did some tweaks to get the menu looking near what it is supposed
19967 to look like. Also did a Airo card hack to make it show the
19970 2004-09-08 Dan Williams <dcbw@redhat.com>
19972 * panel-applet/no-networkmanager.png
19973 panel-applet/Makefile.am
19974 panel-applet/NMWirelessApplet.c
19975 - Add a "NetworkManager not running" icon and use it
19976 - Use new consolidated GConf keys rather than Preferred/Trusted
19980 * info-daemon/NetworkManagerInfo.c
19981 info-daemon/NetworkManagerInfoDbus.[ch]
19982 info-daemon/NetworkManagerInfoPassphraseDialog.c
19983 - There are now no longer two separate lists of wireless networks,
19984 but one list where each network is "trusted" or not trusted
19985 - Add a "getNetworkTrusted" dbus method
19986 - "WirelessNetworkUpdate" signal now sent rather than
19987 "PreferredNetworkUpdate/TrustedNetworkUpdate" signals
19988 - Start freeing some dbus errors (not completed yet)
19990 * info-daemon/passphrase.glade
19991 - Remove the "don't show" hints for pager and taskbar
19992 - Add a title since its going to be in the taskbar
19994 * src/NetworkManager.[ch]
19995 src/NetworkManagerAPList.[ch]
19996 - There are now no longer two separate lists of wireless networks,
19997 but one list where each network is "trusted" or not trusted
19999 * src/NetworkManagerAP.[ch]
20000 - Add get/set "trusted" accessors and data bit
20002 * src/NetworkManagerDbus.[ch]
20003 - Add function to get "trusted" status of a network from NetworkManagerInfo
20004 - Trap new WirelessNetworkUpdate signal rather than old separate signals
20006 * src/NetworkManagerDevice.[ch]
20007 - Add per-device config data (ip4 addr, gateway, netmask) and accessors
20008 - (nm_device_new): Get device config from backend when initializing devices
20009 - (nm_device_activation_worker): Split out device configuration on
20010 activation to deal with static/dynamic IP differences, and try encryption
20011 fallbacks on a device if the encryption method for the best AP is not good
20012 - (nm_device_update_best_ap): convert to new consolidated access point lists from
20013 NetworkManagerInfo, and copy over latest NMI info to best_ap when setting it
20015 * src/NetworkManagerWireless.c
20016 - libgcrypt code wasn't converting the MD5 digest to an ascii string, fix it
20018 * src/backends/NetworkManagerRedHat.c
20019 src/backends/NetworkManagerSystem.h
20020 - (nm_system_device_update_config_info): Add function to get device configuration
20021 from system data in ifcfg-* files
20023 * src/backends/NetworkManagerDebian.c
20024 src/backends/NetworkManagerGentoo.c
20025 src/backends/NetworkManagerSlackware.c
20026 - Add stub functions for getting device configuration
20028 2004-09-07 Dan Williams <dcbw@redhat.com>
20030 * src/backends/NetworkManagerRedhat.c
20031 src/backends/NetworkManagerSlackware.c
20032 - Use full path to /sbin/ip everywhere
20034 2004-09-07 Dan Williams <dcbw@redhat.com>
20036 Patch from: Narayan Newton <narayan_newton@yahoo.com>
20039 initscript/Makefile.am
20040 initscript/Slackware/Makfile.am
20041 initscript/Slackware/rc.networkmanager
20043 src/backends/NetworkManagerSlackware.c
20044 - Add Slackware support
20046 2004-09-07 Dan Williams <dcbw@redhat.com>
20048 Patches below from:
20050 Mark Roach <mrroach@okmaybe.com>
20051 Thom May <thom@debian.org>
20054 initscript/Debian/NetworkManager
20055 initscript/Debian/Makefile.am
20056 - Initscript for Debian
20058 * src/backends/NetworkManagerDebian.c
20059 - Add missing system init function to allow compilation
20062 2004-09-03 Raphael Higino <raphaelh@cvs.gnome.org>
20064 * configure.in: Added 'pt_BR' to ALL_LINGUAS.
20066 2004-09-03 Akagic Amila <bono@linux.org.ba>
20068 * configure.in: Added 'bs' to ALL_LINGUAS.
20070 2004-09-02 Colin Walters <walters@verbum.org>
20072 * src/backends/NetworkManagerRedHat.c (nm_system_device_run_dhcp)
20073 (nm_system_device_stop_dhcp, nm_system_device_flush_routes): Use
20074 g_strdup_printf instead of arbitrarily sized buffers.
20076 2004-09-01 Colin Walters <walters@verbum.org>
20078 * NetworkManager.pc.in: New file.
20080 * Makefile.am, .cvsignore, configure.in: Add NetworkManager.pc.
20082 2004-09-01 Amanpreet Singh Alam <aalam@redhat.com>
20084 * configure.in: Punjabi(pa) is added to po/.
20086 2004-08-31 Dan Williams <dcbw@redhat.com>
20088 * Remove 'debug' extern global from all files since we now
20091 * src/NetworkManager.[ch]
20092 - Break out routine that get the net.interface property from HAL,
20093 removing that logic from nm_create_device_and_add_to_list()
20094 - (nm_create_device_and_add_to_list): make this a bit more general so
20095 it doesn't do the talking to HAL. Also add arguments to facilitate
20096 the create of test devices.
20097 - (nm_data_mark_state_changed): rename from nm_data_set_state_modified()
20098 - (nm_data_new, main, nm_print_usage): add new argument "--enable-test-devices"
20099 which makes NetworkManager listen for dbus commands to create test
20100 devices, which have no backing hardware. Use when you're on a plane
20101 for example, and/or forgot your wireless card at home. Test devices
20102 _cannot_ be created unless NM is started with --enable-test-devices.
20104 * src/NetworkManagerDbus.[ch]
20105 - New "getLinkActive" method for devices
20106 - New "setLinkActive" method for devices (only works on test devices)
20107 - New "createTestDevice" method on NetworkManager object to create a test
20108 device of a specified type (ie wired, wireless). UDI is created from
20109 scratch, as is the interface name. Only works when NM is started with
20110 --enable-test-devices switch.
20111 - New "removeTestDevice" method on NetworkManager object which removes a
20112 test device. Only works when NM is started with --enable-test-devices
20114 * src/NetworkManagerDevice.[ch]
20115 - Logic to facilitate test devices. Add variables to NMDevice struct to indicate
20116 whether a device is a test device or not, and what its link status is.
20117 - Deal with test devices in most functions. For those that work directly on hardware
20118 special-case test devices.
20119 - (nm_device_new): don't create a test device if test devices weren't enabled on the
20121 - (nm_device_update_link_active): split out logic for wired and wireless device link
20122 checking to separate functions to facilitate test device link checking.
20123 - (nm_device_set_enc_key): Since some drivers for wireless cards are daft and
20124 don't make a distinction between System Authentication and Encryption
20125 (namely Cisco aironet), we use Open System auth when setting a WEP key
20126 on the card. We don't deal with Shared Key auth yet.
20127 - (nm_device_activation_worker): split the activation cancel check logic out into
20128 a separate routine nm_device_activation_cancel_if_needed()
20129 - (nm_device_activation_signal_cancel): rename from nm_device_activation_cancel()
20130 - (nm_device_fake_ap_list): Test wireless devices obviously cannot scan, so create
20131 a list of fake access points that they can "see"
20132 - (nm_device_is_test_device): return whether or not a device is a test device
20134 * src/NetworkManagerPolicy.c
20135 - (nm_policy_get_best_device): attempt to deal with wireless network selection,
20136 previously if you "locked"/forced NM to use a wireless device but then
20137 selected a wireless network for NM to use, it would switch to a wired device.
20138 So, if the active device is wireless and it has a "forced" best AP, use it
20139 if the "forced" best AP is still valid
20140 - (nm_state_modification_monitor): deal with NULL best devices, for example
20141 there were no usable network devices, or the last one was removed
20143 * src/backends/NetworkManager*.c
20144 - Deal with test devices, mostly just return success for operations like getting
20147 * test/nmtestdevices.c
20148 - Test tool to create/remove/link-switch test devices
20150 2004-08-30 Bryan Clark <clarkbw@cvs.gnome.org>
20152 * examples/python/NetworkManager.py:
20153 added convience functions has_wired_device and has_wireless_device
20155 * examples/python/systray/network_tray.py:
20156 cleaned up a bunch of cruft, added support for listing wireless
20157 networks just like the real applet. This is probably all I'm
20158 going to work on this applet from now on.
20159 TODO: add support for actually changing networks and devices
20161 * examples/python/NetworkManager.py (NetworkManager.get_device):
20162 changed "nm.networks" into a dict from a list so I can store all
20163 the cool information about networks in there
20165 * examples/python/systray/network_tray.py:
20166 Added nice message when you try to run without running make first
20168 * examples/python/NetworkManager.py:
20169 Bug fixes to the code so we get all the device information
20170 that we need in get_device()
20172 * examples/python/NMTester.py:
20173 Fixed _print_device_list to print_device_list
20175 2004-08-29 Seth Nickell <seth@gnome.org>
20179 Actually properly setup the Debian backend in configure.
20181 2004-08-29 Colin Walters <walters@verbum.org>
20183 * test/nminfotest.c: Include string.h and stdlib.h.
20184 (get_network_string_property, get_networks_of_type): Return NULL.
20186 * test/nmclienttest.c (get_device_name, get_active_device): Return
20189 * src/backends/NetworkManagerRedHat.c (nm_system_device_stop_dhcp): Just
20190 use strlen, fgets always NULL-terminates the string.
20192 * src/NetworkManagerDbus.c (nm_dbus_nmi_filter,
20193 dbus_message_get_member): Remove /* in comment.
20195 * src/NetworkManagerUtils.c (LOCKING_DEBUG): Ditto.
20197 * src/NetworkManager.c (quit): Unused, delete.
20198 (nm_data_free): Cast arg to GFunc.
20200 * panel-applet/NMWirelessAppletDbus.c: Need to include
20201 string.h, and dbus-glib-lowlevel.h (the latter is needed
20202 for dbus_connection_setup_with_g_main at present).
20203 (nmwa_dbus_update_wireless_network_list): Parenthesize
20204 assignment in conditional.
20205 (nmwa_dbus_worker): Return NULL.
20207 * panel-applet/NMWirelessApplet.c (nmwa_redraw)
20208 (nmwa_get_menu_pos, nmwa_toplevel_menu_activate)
20209 (nmwa_menu_add_text_item, nmwa_setup_widgets): Kill unused variables.
20210 (nmwa_populate_menu): Return NULL on failure, instead of just
20213 * initscript/NMLaunchHelper.c (g_timeout_add): Cast arg to GSourceFunc.
20215 * info-daemon/NetworkManagerInfoNetworksDialog.c (nmi_networks_dialog_init): Kill unused
20218 * info-daemon/NetworkManagerInfo.c (nmi_print_usage): Unused,
20221 2004-08-29 Colin Walters <walters@verbum.org>
20223 * src/NetworkManagerDbus.c (nm_dbus_get_network_timestamp): Return
20224 a GTimeVal instead of time_t. This is easier to work with,
20225 since time_t may be a long or double, we don't know.
20227 * src/NetworkManagerDbus.h: Update prototype.
20229 * src/NetworkManagerAP.c (struct NMAccessPoint): Store a GTimeVal
20231 (nm_ap_get_timestamp): Update to return GTimeVal.
20232 (nm_ap_set_timestamp): Update to take GTimeVal.
20234 * src/NetworkManagerDevice.c (nm_device_update_best_ap): Update
20235 to handle GTimeVal.
20237 * src/NetworkManagerAPList.c (nm_ap_list_update_network): Handle
20239 (nm_ap_list_print_members): Fix warnings in printf format.
20241 2004-08-29 Colin Walters <walters@verbum.org>
20243 * panel-applet/NMWirelessApplet.c: Include config.h.
20245 2004-08-29 Colin Walters <walters@verbum.org>
20247 * configure.in: Generate config.h.
20249 * configure.in: Dump dependency on OpenSSL; we can't
20250 use it since this package is GPL:
20251 http://www.gnome.org/~markmc/openssl-and-the-gpl.html
20252 Instead, check for libgcrypt, use it if available,
20253 otherwise use included MD5 code.
20255 * src/gnome-keyring-md5.h, src/gnome-keyring-md5.c:
20256 Suck in from gnome-keyring, munge a bit.
20258 * src/Makefile.am (NetworkManager_SOURCES) <!WITH_GCRYPT>: Include
20259 gnome-keyring-md5.h gnome-keyring-md5.c.
20260 (NetworkManager_LDADD) <WITH_GCRYPT>: Add dep on LIBGCRYPT_LIBS.
20262 * src/NetworkManagerWireless.c (nm_md5): New function, uses
20263 libgcrypt or included gnome-keyring md5 bits.
20264 (nm_wireless_128bit_key_from_passphrase): Use nm_md5.
20266 2004-08-28 Kjartan Maraas <kmaraas@gnome.org>
20268 * configure.in: Add «nb» and «no» to ALL_LINGUAS.
20270 2004-08-27 Bryan Clark <bclark@redhat.com>
20272 * examples/python/systray/Makefile:
20274 Updated the clean section
20276 * examples/python/systray/trayiconmodule.c:
20277 * examples/python/systray/trayicon.override:
20278 * examples/python/systray/network_tray.py:
20279 * examples/python/systray/eggtrayicon.h:
20280 * examples/python/systray/eggtrayicon.c:
20281 * examples/python/systray/Makefile:
20282 * examples/python/README:
20283 * examples/python/NetworkManager.py:
20284 * examples/python/NMTester.py:
20286 Initial commit of these python example files
20288 Fri Aug 28 2004 Dan Williams <dcbw@redhat.com>
20290 * panel-applet/NMWirelessApplet.c
20291 - Make current device bold
20292 - Show more user-friendly device name if we got one from hal
20294 * panel-applet/NMWirelessAppletDbus.c
20295 - Grab "info.product" key from hal for network devices
20296 - Cache the current active device
20298 2004-08-27 Adam Weinberger <adamw@gnome.org>
20300 * configure.in: Added en_CA to ALL_LINGUAS.
20302 2004-08-27 Christian Rose <menthos@menthos.com>
20304 * configure.in: Added "sv" to ALL_LINGUAS.
20306 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20308 * Tag NetworkManager-0.2
20310 Thu Aug 26 17:23:16 2004 Jonathan Blandford <jrb@redhat.com>
20312 * initscripts/Makefile.am
20313 * configure.in: Make pass distcheck
20315 * po/ChangeLog: added
20317 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20319 * panel-applet/NMWirelessApplet.c
20320 - Remove debugging code
20321 - Enable device switching from menus
20323 * panel-applet/NMWirelessAppletDbus.[ch]
20324 - Method for asking NM to switch devices
20326 * src/NetworkManagerDevice.c
20327 - Set dev->activating earlier, avoids race between
20328 the dbus signal of "DeviceActivating" and setting
20329 dev->activating (which is what NM's "status" method call
20332 Thu Aug 26 2004 Dan Williams <dcbw@redhat.com>
20334 * panel-applet/NMWirelessApplet.[ch]
20335 - Rework menu code to add devices to menu, and to show
20336 signal strength for each access point. Code cleanups
20339 * panel-applet/NMWirelessAppletDbus.c
20340 - Grab network devices from NetworkManager too
20341 - Grab quality information from NM for wireless networks
20343 * src/NetworkManagerDbus.[ch]
20344 - Add dbus methods for getting the HAL UDI from a device and
20345 for getting its base quality, if its wireless
20346 - Consolidate some functions (wireless network notifications,
20347 device notifications)
20348 - Add method for requesting NM to use a particular device
20350 * src/NetworkManager.c
20351 - Change for function consolidations from NetworkManagerDbus.c
20352 - Implement active device locking and user-requested devices
20353 (ie, tell NM to use a particular device instead of the one
20356 * src/NetworkManagerDevice.c
20357 - Add method for getting the base quality of a device, if its
20359 - Grab device base quailty info from iwlib during scans
20361 * src/NetworkManagerPolicy.c
20362 - Use a user-requested device rather than the auto-chosen device
20365 Thu Aug 26 15:12:36 2004 Jonathan Blandford <jrb@redhat.com>
20367 * Makefile.am: add po as a supdir
20369 * autogen.sh: use gnome-autogen.sh
20371 * initscript/Gentoo/.cvsignore:
20372 * initscript/RedHat/.cvsignore: Shut up cvs
20374 * panel-applet/Makefile.am: Define GNOMELOCALEDIR for bonobo.
20376 * panel-applet/NMWirelessApplet.c: (nmwa_populate_menu),
20377 (nmwa_fill): Use gettext.
20379 * configure.in: add gettext support
20381 * po/NetworkManager.pot:
20384 2004-08-26 Seth Nickell <seth@gnome.org>
20386 * panel-applet/NMWirelessApplet.c: (nmwa_destroy),
20387 (nmwa_menu_item_activate), (nmwa_toplevel_menu_activate),
20388 (nmwa_add_menu_item), (nmwa_menu_item_data_free),
20389 (nmwa_dispose_menu_items), (nmwa_populate_menu),
20390 (nmwa_setup_widgets), (do_not_eat_button_press), (nmwa_new):
20391 * panel-applet/NMWirelessApplet.h:
20393 Use a menu bar instead of a button for the main clickable
20396 2004-08-25 Dan Williams <dcbw@redhat.com>
20398 * src/NetworkManagerDevice.c
20399 - (nm_device_set_enc_key): always set device to "open" mode instead of
20400 turning encryption off, because the Cisco driver doesn't associate
20401 with WEP-enabled access points unless we are in "open"
20403 2004-08-25 Dan Williams <dcbw@redhat.com>
20405 * src/NetworkManagerWireless.c
20406 - Don't try to defererence blank passphrases
20408 2004-08-25 Dan Williams <dcbw@redhat.com>
20410 * panel-applet/NMWirelessApplet.c
20411 - Rebuild the menu whenever a user clicks
20413 2004-08-25 Dan Williams <dcbw@redhat.com>
20415 * panel-applet/NMWirelessApplet.c
20416 - (nmwa_udpate_state): Set panel icon to "wired" (for lack of better ones)
20417 when NM isn't around or when its not connected
20419 * src/NetworkManagerDevice.c
20420 - (nm_device_activation_worker): Make sure to reset dev->activating if we get
20423 2004-08-25 Dan Williams <dcbw@redhat.com>
20425 * panel-applet/NMWirelessAppletDbus.c
20426 - (nmwa_dbus_get_bool, nmwa_dbus_get_network_encrypted): correct method name
20427 for getting encryption, and don't stop on "val" once we've gotten it
20428 from NetworkManager. Short form: encryption should now show up.
20430 2004-08-25 Dan Williams <dcbw@redhat.com>
20432 * panel-applet/NMWirelessApplet.c
20433 - Set ESSID on a gconf trusted network too when force-setting the wireless
20434 network to associate with
20436 2004-08-25 Dan Williams <dcbw@redhat.com>
20439 - Rework the panel applet to do all DBUS communication in a separate
20442 2004-08-25 Dan Williams <dcbw@redhat.com>
20444 * info-daemon/NetworkManagerInfo.[ch]
20445 - Remove "get_next_priority" function
20447 * info-daemon/NetworkManagerInfoDbus.[ch]
20448 - Convert "priority" functions to "timestamp"
20450 2004-08-25 Dan Williams <dcbw@redhat.com>
20452 * src/NetworkManagerAP.[ch]
20453 - Add a "enc_method_good" member and accessors to an Access Point
20454 to signal when we've found the correct encryption method
20455 for an access point
20456 - Add a "timestamp" member and accessors, remove "priority" member
20457 and accessors (use timestamps instead)
20458 - Rename "wep_key"->"enc_key"
20459 - (nm_ap_get_enc_key_hashed): new, return the correct mangled key
20460 for a specified encryption method using the access points
20461 source encryption key/passphrase
20463 * src/NetworkManagerAPList.c
20464 - When updating a network with dbus, grab timestamp now instead of
20467 * src/NetworkManagerDBus.[ch]
20468 - Add signal for "DeviceActivating"
20469 - Switch priority->timestamp
20471 * src/NetworkManagerDevice.c
20472 - Change references of "wep_key" -> "enc_key" or "key"
20473 - Signal DeviceActivating when starting activation
20474 - When activating a wireless device, if the access point we are connecting
20475 to is encrypted, and we have a source key, try to generate a mangled
20476 key and use that (ie, generate real WEP key from a passphrase)
20477 - Rework device activation to fallback to other encryption methods if
20478 a previous one didn't work (ie, try mangling a key as a 104-bit passphrase
20479 first, then if that doesn't work fall back to direct hex key).
20480 - (nm_device_update_best_ap): fix a deadlock, and use timestamps instead of
20481 priority. We now prefer the latest access point used, rather than using
20483 - (nm_device_do_normal_scan): make the encryption method "unknown" on access
20484 points we've just discovered, and merge in correct info from the global
20487 2004-08-25 Seth Nickell <seth@gnome.org>
20489 Patch from Matthew Garrett <mjg59@srcf.ucam.org> for adding
20493 * src/backends/NetworkManagerDebian.c: (nm_system_device_run_dhcp),
20494 (nm_system_device_stop_dhcp), (nm_system_device_flush_routes),
20495 (nm_system_device_flush_addresses), (nm_system_enable_loopback),
20496 (nm_system_delete_default_route),
20497 (nm_system_kill_all_dhcp_daemons), (nm_system_update_dns),
20498 (nm_system_load_device_modules):
20500 2004-08-24 Dan Willemsen <dan@willemsen.us>
20502 * src/NetworkManager.c
20503 src/backends/NetworkManagerGentoo.c
20504 src/backends/NetworkManagerRedHat.c
20505 src/backends/NetworkManagerSystem.h
20506 - Implement preliminary Gentoo support, adding a
20507 nm_system_init function to the backend specification
20510 - Distribution auto-detection, lowercase any user-fed
20513 * initscript/.cvsignore
20514 initscript/Makefile.am
20515 initscript/RedHat/Makefile.am
20516 initscript/RedHat/NetworkManager
20517 initscript/Gentoo/Makefile.am
20518 initscript/Gentoo/NetworkManager
20519 - Refactored initscript code separately for each
20522 2004-08-23 Dan Williams <dcbw@redhat.com>
20526 src/NetworkManagerDevice.c
20527 src/NetworkManager.c
20528 src/NetworkManagerUtils.[ch]
20529 src/backends/NetworkManagerSystem.h
20530 src/backends/NetworkManagerRedHat.c
20531 src/backends/NetworkManagerGentoo.c
20532 - Refactor system-specific code into separate backends for
20535 2004-08-23 Dan Willemsen <dan@willemsen.us>
20537 * dispatcher-daemon/NetworkManagerDispatcher.c
20538 info-daemon/NetworkManagerInfo.[ch]
20539 info-daemon/NetworkManagerInfoDbus.c
20540 info-daemon/NetworkManagerInfoPassphraseDialog.c
20541 src/NetworkManager.c
20542 src/NetworkManagerAP.c
20543 src/NetworkManagerAPList.c
20544 src/NetworkManagerDbus.c
20545 src/NetworkManagerDevice.c
20546 src/NetworkManagerPolicy.c
20547 src/NetworkManagerUtils.[ch]
20548 src/NetworkManagerWireless.c
20549 - Used syslog functions for logging instead of NM_DEBUG_DISPLAY & fprintf
20551 * src/NetworkManager.c
20552 - Fixed usage wording for --no-daemon
20554 2004-08-23 Dan Williams <dcbw@redhat.com>
20556 * panel-applet/NMWirelessApplet.c
20557 - Update our state every second to get more responsive panel icon
20558 - (nmwa_update_state): remove bogus applet->pix_state = PIX_WIRED that
20559 was causing our marching ants status blips to never move when
20560 looking for a wireless network
20562 * src/NetworkManagerDevice.c
20563 - (nm_device_activation_begin): return if activation has already begun
20564 - (nm_device_do_normal_scan): merge WEP key and priority from the
20565 trusted/preferred network into the device's access point when the
20566 scan list is processed
20568 2004-08-23 Dan Williams <dcbw@redhat.com>
20570 * initscript/NetworkManager
20571 - Use NMLaunchHelper rather than sleeping
20573 * initscript/NMLaunchHelper.c
20575 - Add helper program that exits only when NM activates a device,
20576 or 10 seconds have passed, whichever happens first. This
20577 stops the boot processes until we have a network connection,
20578 which NM can't do because it daemonizes and brings the connection
20579 up in the background. Allows stuff like NFS to not die.
20581 2004-08-20 Dan Williams <dcbw@redhat.com>
20583 * info-daemon/NetworkManagerInfoPassphraseDialog.c
20584 - (nmi_passphrase_dialog_ok_clicked): when updating the wep key
20585 for a network, set the essid as well since it may not exist yet
20586 - (nmi_passphrase_dialog_init): don't star out the passphrase field,
20587 since WEP keys/passphrases are long and prone to entry-error
20589 * panel-applet/Makefile.am
20590 panel-applet/wired.png
20591 - Add (pulled from system-config-network temporarily)
20593 * panel-applet/NMWirelessApplet.[ch]
20594 - Show wired picture when a wired connection is used
20595 - Rename wireless icon enums, adding WIRELESS
20597 * src/NetworkManagerDevice.c
20598 - (nm_device_activate_wireless): unset encryption before bringing
20599 down the card and setting the essid
20600 - (nm_device_activatin_worker): request a key from the user if the
20601 AP we are connecting to is encrypted but we don't have a key
20603 - (nm_device_set_user_key_for_network): fix missing '== 0' for a
20604 strcmp() that prevented a user-entered key from actually getting
20607 2004-08-16 Dan Williams <dcbw@redhat.com>
20609 * initscript/NetworkManager
20610 - Check for /sbin/ip
20611 - Do sysctl magic that network service does
20612 - sleep 4s after start to allow network time to come up [hack]
20616 - Load all network device kernel modules (hal doesn't know devices
20617 are ethernet until the module is loaded, and therefore we don't know)
20619 * src/NetworkManager.c
20620 - (main): daemonize later, launch NMLoadModules to alert HAL of our
20621 network devices, and bring up the loopback device explicitly
20623 * src/NetworkManagerUtils.[ch]
20624 - (nm_enable_loopback): new function
20626 2004-08-13 Dan Williams <dcbw@redhat.com>
20629 panel-applet/Makefile.am
20630 - Fix up cleanfiles and server_DATA/server_in_files
20633 - Update with some comments on theory of operation
20639 2004-08-12 Dan Williams <dcbw@redhat.com>
20641 * info-daemon/passphrase.glade
20642 - Set window title to " "
20644 * panel-applet/Makefile.am
20645 panel-applet/keyring.png
20646 - Deliver to correct place
20648 * panel-applet/NMWirelessApplet.[ch]
20650 - Remove applet->have_active_device as its no longer used
20651 - (nmwa_load_theme): load keyring.png too
20652 - (error_dialog): remove
20653 - (show_warning_dialog): subsume functionality of error dialog too
20654 - (nmwa_destroy, nmwa_new): create and dispose of an application-wide GConfClient
20655 - (nmwa_handle_network_choice): add to deal with user clicking on an item from
20657 - (nmwa_menu_item_activated): GtkMenuItem "activate" signal handler
20658 - (nmwa_button_clicked, nmwa_setup_widgets): create and populate the menu on startup
20659 and when we get broadcasts of changed wireless access points only, not when the
20660 user clicks on the button to display the menu (too long of a wait)
20661 - (nmwa_add_menu_item): Make active network bold, and place a keyring icon beside
20662 networks that are encrypted
20663 - (nmwa_dispose_menu, nmwa_menu_item_data_free): dispose of the data we place on each
20664 menu item with g_object_set_data()
20666 * panel-applet/NMWirelessAppletDbus.[ch]
20667 - (nmwa_dbus_get_bool): add method to return boolean value from dbus message
20668 - (nmwa_dbus_get_active_network): add (nmwa_dbus_get_string() wrapper to get active network)
20669 - (nmwa_dbus_add_networks_to_menu): clean up, only show one instance of each ESSID in the menu
20670 - (nmwa_dbus_set_network): force NetworkManager to use a particular network for wireless cards
20671 - (nmwa_dbus_init, nmwa_dbus_filter): Trap network appear/disappear and device
20672 activation/deactivation signals and rebuild the menu when they happen
20674 * src/NetworkManager.c
20675 - (main): use new nm_spawn_process() rather than system()
20677 * src/NetworkManagerDbus.c
20678 - (nm_dbus_devices_handle_request): don't compare AP structure addresses directly, but essids
20679 instead. Since we can now force best_aps to stick around, the AP structure to which
20680 dev->options.wireless.best_ap points to won't necessarily be in the device's device list
20681 if a scan has happened since the best_ap was frozen. Also add "setNetwork" method
20682 to freeze the best_ap.
20684 * src/NetworkManagerDevice.[ch]
20685 - (nm_device_activation_worker): Use new nm_spawn_process() call rather than system()
20686 - (nm_device_*_best_ap): add freeze/unfreeze/get_frozen functions, and don't really update
20687 the best_ap in nm_device_update_best_ap() if the best_ap is frozen AND in the device's
20690 * src/NetworkManagerUtils.[ch]
20691 - (nm_spawn_process): add replacement for system() usage
20693 2004-08-11 Dan Williams <dcbw@redhat.com>
20695 * panel-applet/NMWirelessApplet.[ch]
20696 - Fix up copyright and credits to include Bastien and Eskil,
20697 who created the gnome-applets wireless applet, from whose
20698 skeleton this one was created
20699 - Rework nmwa_update_state()/nmwa_draw() so that state and which
20700 pixmap to draw is computed during nmwa_update_state()
20701 - Applet now shows itself all the time due to panel packing issues
20702 which caused the applet to previously never come back after hiding.
20703 When a wired device is the active device, the applet shows "not connected"
20705 * panel-applet/NMWirelessAppletDbus.[ch]
20706 - Clean up error messages and show what function they are from
20707 - nmwa_dbus_get_active_wireless_device()->nmwa_dbus_get_active_device()
20708 - Add new device type getters, and a status getter
20710 * src/NetworkManagerDbus.c
20711 - (nm_dbus_devices_handle_request): Don't return an active network unless that
20712 network is actually in the device's ap list
20713 - (nm_dbus_nm_message_handler): Fix silly mistake returning status
20715 * src/NetworkManagerDevice.c
20716 - (nm_device_update_best_ap): If the best AP is NULL, clear out the ESSID of the
20719 * test/nmclienttest.c
20720 - Report status of NetworkManager too
20722 2004-08-11 Dan Williams <dcbw@redhat.com>
20724 * info-daemon/NetworkManagerInfo.c:
20725 - (main): clean up Seth's code style
20727 * info-daemon/NetworkManagerInfoDbus.c:
20728 - Use the more aptly-named path/service/interface constants from NetworkManager
20729 - Don't return empty strings ("") as object paths ever, instead return errors
20731 * panel-applet/NMWirelessApplet.c:
20732 - Clean up Seth's code style
20734 * src/NetworkManager.[ch]
20735 - (nm_remove_device_from_list): remove anything having to do with pending_device
20736 - (main, nm_print_usage): change --daemon=[yes|no] -> --no-daemon
20738 * src/NetworkManagerAPList.[ch]
20739 - Move Iter struct right above the iter functions to preserve opacity
20740 - (nm_ap_list_remove_ap): implement
20741 - (nm_ap_list_update_network): deal with errors returned from nm_dbus_get_network_priority(),
20742 remove AP if NetworkManagerInfo doesn't know anything about it
20743 - (nm_ap_list_diff): user NMAPList iterators
20744 - (nm_ap_list_print_members): implement debugging function
20746 * src/NetworkManagerDbus.[ch]
20747 - (nm_dbus_nm_get_active_device): remove anything to do with pending_device
20748 - (nm_dbus_get_user_key_for_network): remove DBusPendingCall stuff (unused),
20749 and move the actual key setting stuff into NetworkManagerDevice.c
20750 - (nm_dbus_get_network_priority): return -1 now on errors
20751 - (nm_dbus_nmi_filter): fix strcmp() error that caused PreferredNetworkUpdate signals to
20752 get lost, and force the active device to update its "best" ap when AP lists change
20753 - (nm_dbus_nm_message_handler): Update conditions for returning "connecting" for a "status"
20754 method call due to pending_device member removal
20756 * src/NetworkManagerDevice.[ch]
20757 - Move NMDevice structure to the top
20758 - Add a wireless scan mutex and a best_ap mutex to the Wireless Options structure
20759 - Remove Pending Action stuff from everywhere
20760 - (nm_device_activation_*): We now "begin" activation and start a thread to do the
20761 activation for us. This thread blocks until all conditions for activation have
20762 been met (ie for wireless devices, we need a valid WEP key and a "best" ap), and
20763 then setup up the interface and runs dhclient. We have to do this because there
20764 is no guaruntee how long dhclient takes, and while we are blocking on it, we cannot
20765 run our main loop and respond to dbus method calls or HAL device removals/inserts
20766 - (nm_device_set_user_key_for_network): Move logic here from NetworkManagerDbus.c so we
20767 can tell nm_device_activation_worker() that we've got a key
20768 - (nm_device_*_best_ap): lock access to best_ap member of Wireless Options structure
20769 - (nm_device_get_path_for_ap): dumb it down so the list doesn't lock against itself when
20770 diffing (AP appear/disappear signal functions make sure the AP is actually in the device's list)
20771 - (nm_device_update_best_ap): move logic from nm_wireless_is_ap_better() here
20773 * src/NetworkManagerPolicy.c
20774 - Remove anything to do with pending_device
20775 - Adjust device activation to deal with activation-in-worker-thread
20777 * src/NetworkManagerUtils.c
20778 - Clean up locking debugging a bit
20780 * src/NetworkManagerWireless.[ch]
20781 - (nm_wireless_is_ap_better): remove, stick logic in nm_device_update_best_ap(). This function
20782 was badly named and is better as a device function
20784 * panel-applet/.cvsignore: add
20786 2004-08-09 Seth Nickell <seth@gnome.org>
20788 * panel-applet/NMWirelessApplet.c: (nmwa_timeout_handler),
20789 (nmwa_button_clicked), (nmwa_populate_menu), (nmwa_setup_widgets),
20791 * src/NetworkManagerDbus.c: (nm_dbus_nmi_filter):
20793 Don't load the menus until clicked on (also removes a call outside
20794 normal code paths at first load).
20796 Hide applet when NM is not present.
20798 Improve printf debugging stuff.
20800 2004-08-09 Dan Williams <dcbw@redhat.com>
20802 * dispatcher-daemon/NetworkManagerDispatcher.c:
20803 - Covert uses of dbus_message_iter_* over to dbus_message_get_args
20804 - Use constants for NetworkManager interface, service, and path
20806 2004-08-09 Dan Williams <dcbw@redhat.com>
20808 * src/NetworkManagerDbus.c:
20809 - (nm_dbus_nm_get_active_device, nm_dbus_nm_get_devices): Never return an empty object path,
20810 instead return an error message
20811 - (nm_dbus_devices_handle_request): Return error when getActiveNetwork/getNetworks is called
20812 on a wired device. Also never return an empty object path, instead return an error message
20814 2004-08-06 Seth Nickell <seth@gnome.org>
20816 * panel-applet/NMWirelessApplet.c: (nmwa_new):
20818 Check the error code when getting a connection.
20820 * panel-applet/NMWirelessAppletDbus.c: (nmwa_dbus_init):
20822 Check if the NM service exists when initializing (rather than
20823 assuming it does not).
20825 * src/NetworkManagerDbus.c: (nm_dbus_init):
20827 Don't acquire the well-known service name until we have
20828 registered object/path handlers and can actually receive
20831 2004-08-06 Dan Williams <dcbw@redhat.com>
20836 * src/NetworkManagerPolicy.c
20837 src/NetworkManager.c
20838 - Get access point lists from NetworkManagerInfo on-demand,
20839 and look for ServiceCreate/ServiceDeleted signals to see when
20840 we should query NMI for lists
20841 * src/NetworkManagerAPList.c
20842 - Make sure to init the list's mutex
20843 - Convert traversals of the list over to the list iter functions
20845 * src/NetworkManagerDbus.[ch]
20846 - Use more aptly-named path/service/interface constants
20847 - Treat both active and pending devices the same for "getActiveDevice"
20848 - Add a "status" method returning "connected", "connecting", or "disconnected"
20850 * src/NetworkManagerDevice.c
20851 - Honor "ignored" network list when picking best ap to use
20853 2004-08-06 Seth Nickell <seth@gnome.org>
20857 Autogenerated, remove from CVS.
20861 Don't hardcode automake version.
20864 * info-daemon/Makefile.am:
20865 * info-daemon/NetworkManagerInfo.c: (main):
20867 Use GnomeProgram et al. for doing session management.
20868 Use popt stuff for argument parsing rather than doing
20871 2004-08-05 Dan Williams <dcbw@redhat.com>
20873 * test/nminfotest.c
20874 - Update to new NMI dbus API, check different network types
20876 * info-daemon/NetworkManagerInfoDbus.c
20877 - Update to new NM dbus API, ie network type sent in query message
20879 2004-08-05 Dan Williams <dcbw@redhat.com>
20881 * An assload of changes
20883 2004-08-02 Dan Williams <dcbw@redhat.com>
20886 - new task: proper logging support
20888 * info-daemon/NetworkManagerInfo.c
20889 - Correct spelling of "canceled"
20890 - Correct casting of objects for g_signal_connect()
20892 * info-daemon/NetworkManagerInfoDbus.c
20893 - Add defines for NetworkManager namespace and object path, and use them
20894 - Add filter function to trap new signals from NetworkManager:
20895 WirelessNetworkAppeared, WirelessNetworkDisappeared
20897 * info-daemon/passphrase.glade
20898 - Change name of "ok" button to "Login to Network..."
20901 * src/NetworkManager.c
20902 - Code and debug message cleanups
20903 - Rename "nm_add_current_devices"->"nm_add_initial_devices"
20904 - (nm_add_initial_devices) Check returned string array of devices
20905 and don't try to add devices if array is NULL
20906 - (main) Initialize libhal a bit later, make code a bit clearer
20908 * src/NetworkManagerAP.[ch]
20909 - New accessor and data member "matched": used to speed up AP list
20911 - New accessor and data member "enc_method": will be used during key
20912 fallback to cache which passphrase->key conversion actually works
20913 so we don't have to do it every time
20915 * src/NetworkManagerAPList.[ch]
20916 - (nm_ap_list_find_ap_in_list) New: find an AP by essid in an AP list
20917 - (nm_ap_list_diff) New: given two lists of access points, find the differences
20918 between them, and send WirelessNetworkAppeared/Disappeared signals over
20919 dbus in response to those differences
20921 * src/NetworkManagerDbus.[ch]
20922 - (nm_dbus_get_object_path_from_ap) New: given a device and an access point,
20923 make an object path for that access point (NOTE that we don't yet check to
20924 make sure that access point is actually in the device's AP list yet)
20925 - (nm_dbus_get_ap_from_object_path) Renamed from nm_dbus_get_network_from_object_path
20926 - (nm_dbus_signal_wireless_network_appeared, nm_dbus_signal_wireless_network_disappeared)
20927 New: signal appearance/disappearance of wireless networks
20928 - (nm_dbus_set_user_key_for_network) Mark the network/ap as invalid if the user cancelled
20931 * src/NetworkManagerDevice.[ch]
20932 - (nm_device_ap_list_clear) Use nm_ap_list_free rather than doing it ourselves
20933 - (nm_device_ap_list_get) New: return the AP list (static function)
20934 - (nm_device_do_normal_scan) Destroy old AP list later, so that we can diff the
20935 new one resulting from the scan with the old one
20937 * src/NetworkManagerWireless.c
20938 - (nm_wireless_is_most_prefered_ap) "invalid" access points cannot be "best" access points
20940 * test/nminfotest.c
20941 - #define object paths and namespaces and use the #defines rather than static strings
20942 - Test out user-key functionality of NetworkManagerInfo too
20944 2004-07-29 Dan Williams <dcbw@redhat.com>
20946 * info-daemon/NetworkManagerInfoDbus.c
20947 src/NetworkManagerDbus.c
20948 - Update to current DBus (ie don't use decomposed paths when registering
20949 object paths/fallbacks)
20951 2004-07-27 Dan Williams <dcbw@redhat.com>
20953 * Remove various Makefile.in files
20956 - Add some more items
20959 - Add checks for OpenSSL/md5 headers and libs
20962 - Use OpenSSL CFLAGS
20964 * src/NetworkManagerAP.[ch]
20965 - Remove 'stamp' functions, replace with 'invalid' functions
20966 to support user cancelling WEP key entry
20968 * src/NetworkManagerDbus.c
20969 - Remove 'stamp' return functions
20970 - Treat returned user key as a passphrase and convert to a WEP key,
20971 but don't actually use the WEP key yet. We use the returned user
20972 key as a hexadecimal WEP key until we can figure out a UI for
20973 passphrase-vs-hex key
20975 * src/NetworkManagerWireless.[ch]
20976 - Add passphrase-to-128bit-key function
20978 2004-07-27 Dan Williams <dcbw@redhat.com>
20981 - Add a couple of items
20983 2004-07-27 Dan Williams <dcbw@redhat.com>
20985 * info-daemon/NetworkManagerInfo.c
20986 - Update allowed network's GConf key when user enters a WEP key explicitly
20988 * info-daemon/NetworkManagerDbus.c
20989 - Fix some comments
20990 - nmi_dbus_get_allowed_networks(): kill warning
20992 2004-07-27 Dan Williams <dcbw@redhat.com>
20994 * initscript/Makefile.in
20997 * initscript/Makefile.am
20998 - Add correct rules to install the init.d initscript
21000 * info-daemon/NetworkManagerInfoDbus.c
21001 - Remove debug fprintf
21003 * src/NetworkManagerDbus.[ch]
21004 - Remove debug fprintfs
21005 - Add macros for NetworkManagerInfo object path/namespace
21006 - Use said macros instead of constant strings
21008 2004-07-27 Dan Williams <dcbw@redhat.com>
21010 * initscript/.cvsignore
21013 * info-daemon/Makefile.am
21014 - Install .glade files and keyring.png
21015 - Fix stupid omission of a \ that caused half the flags not to be
21018 * info-daemon/NetworkManagerInfo.c
21019 - gtk_signal_connect->g_signal_connect
21020 - Alert NetworkManagerInfo to new glade file location
21022 2004-07-27 Dan Williams <dcbw@redhat.com>
21024 * test/nmclienttest.c
21026 - Add missing <dbus/dbus.h> headers
21027 - Add GPL message at top
21029 2004-07-27 Dan Williams <dcbw@redhat.com>
21031 * src/NetworkManagerAPList.[ch]
21033 - Add. Deal with allowed network list additions, deletions, and updates
21035 * dispatcher-daemon/NetworkManagerDispatcher.c
21036 - Add missing <dbus/dbus.h> header
21038 * info-daemon/NetworkManagerInfo.[ch]
21039 - Add missing <dbus/dbus.h> header
21040 - Implement the GConf notify callback to signal NetworkManager of an allowed
21042 - Better error checking
21044 * info-daemon/NetworkManagerInfoDbus.[ch]
21045 - Add missing <dbus/dbus.h> header
21046 - Convert to using dbus_message_append_args/dbus_message_get_args
21047 - Implement nmi_dbus_signal_update_allowed_network() to signal NetworkManager
21048 that an allowed network changed. We don't want to signal on individual
21049 keys _inside_ an allowed network really, just want NM to query the info
21050 daemon for updated info on all keys.
21051 - Better error checking
21053 * src/NetworkManager.[ch]
21054 - Add missing <dbus/dbus.h> header
21055 - Move allowed_ap_list free functions to NetworkManagerAPList.[ch]
21056 - Zero out NMData structure on free
21057 - No longer use a thread for allowed_ap_list updating, instead its now done
21058 through dbus queries against NetworkManagerInfo
21059 - Populate allowed_ap_list initially before adding existing network devices
21060 to the device list, so wireless devices can get their "best" AP
21062 * src/NetworkManagerDbus.[ch]
21063 - Convert to using dbus_message_append_args/dbus_message_get_args
21064 - Better error checking
21065 - Implement Allowed Network info functions to request allowed network
21066 info from NetworkManagerInfo
21067 - Implement the filter function to process signals from NetworkManagerInfo
21068 about changing allowed networks
21070 * src/NetworkManagerDevice.c
21071 - Fix file descriptor leak in nm_device_update_ip4_address()
21073 2004-07-27 Dan Williams <dcbw@redhat.com>
21078 dispatcher-daemon/.cvsignore
21079 info-daemon/.cvsignore
21080 - Add .cvsignore files to reduce noise when diffing
21082 2004-07-24 Dan Williams <dcbw@redhat.com>
21084 * src/NetworkManager.[ch]
21085 src/NetworkManagerDbus.[ch]
21086 src/NetworkManagerDevice.[ch]
21087 src/NetworkManagerPolicy.c
21088 src/NetworkManagerWireless.[ch]
21089 - Add many more g_return_if_fail()/g_return_val_if_fail() checks
21090 - Pass the NMData application data structure through all calls
21091 that need it so we can get rid of nm_get_global_data()
21092 - Change deallocation of the allowed_ap_list GSList in preparation
21093 for not completely clearing it every time we get an update,
21094 but instead getting incremental updates via GConf/dbus
21096 2004-07-22 Dan Williams <dcbw@redhat.com>
21099 - Add checks for GConf libs & headers & flags
21101 * info-daemon/Makefile.am
21102 - Add GConf flags & libs to compile/link stages of NetworkManagerInfo
21104 * info-daemon/NetworkManagerInfo.[ch]
21105 - Don't use gquarks for data storage, just use normal data storage
21106 - Add gconf bits to watch /system/networking/wireless/allowed_networks
21108 * info-daemon/NetworkManagerDbus.[ch]
21109 - Add method call for getting allowed networks
21110 - Add method calls for getting an allowed network's essid, priority, and key
21111 - Hook the method calls up to GConf
21112 - Split user key dialog code into separate function (nmi_dbus_get_key_for_network)
21113 - nmi_dbus_nmi_message_handler(): make sure to unref the reply message after sending
21115 * src/NetworkManagerDbus.[ch]
21116 - Switch for enumeration of networks to using essid instead
21120 - Add test program for NetworkManagerInfo
21122 2004-07-19 Dan Williams <dcbw@redhat.com>
21124 * src/NetworkManagerDbus.c
21125 - Switch from indexed device paths to names. Less code, more efficient.
21126 ie "/org/freedesktop/NetworkManager/0" -> "/org/freedesktop/NetworkManager/eth0"
21128 2004-07-19 Dan Williams <dcbw@redhat.com>
21130 * dispatcher-daemon/NetworkManagerDispatcher.c
21131 - (nm_dbus_filter): Remove obsolete response to NeedKeyForNetwork signal
21133 2004-07-19 Dan Williams <dcbw@redhat.com>
21136 - Add info-daemon directory
21139 - Check for glade libs and headers
21140 - Add info-daemon directory
21142 * src/NetworkManagerAP.c
21143 - nm_ap_new_from_ap(): Fix bug that resulted in an APs encryption status not getting
21144 copied over to the new AP.
21146 * src/NetworkManagerDbus.c
21147 src/NetworkManagerDbus.h
21148 - Deal with nm_device_ap_list_get_ap()->nm_device_ap_list_get_ap_by_index() change
21149 - Remove nm_dbus_signal_need_key_for_network()
21150 - Add disabled code for asynchronous user wep key callbacks
21151 - Add functions for getting, setting, and cancelling user key operations
21152 - Remove "setKeyForNetwork" device dbus method call, its on NetworkManager object instead
21153 - Add "setKeyForNetwork" dbus method call on NetworkManager object
21155 * src/NetworkManagerDevice.c
21156 src/NetworkManagerDevice.h
21157 - nm_device_update_link_active(): revert changes for wireless link detection, the WEP-key-is-wrong
21158 logic is in device activation now
21159 - nm_device_activate(): for wireless devices, if we can't associate with access point (perhaps
21160 key is wrong) trigger get-user-key pending action
21161 - Implement get-user-key pending action stuff, tie to dbus messages
21162 - Rename nm_device_ap_list_get_ap() -> nm_device_ap_list_get_ap_by_index()
21163 - Add nm_device_ap_list_get_ap_by_essid()
21164 - Instead of copying "best" access points, ref them instead so that the key we set
21167 * src/NetworkManagerPolicy.c
21168 - Deal with wrong WEP key, but right access point (and if so, return link_active = TRUE)
21169 - Don't cancel pending actions on a device if its the same device as last iteration
21170 - Only promote pending_device->active_device if activation was successfull
21173 - Rename nmclienttest->nmtest
21175 * info-daemon/Makefile.am
21176 info-daemon/NetworkManagerInfo.c
21177 info-daemon/NetworkManagerInfo.h
21178 info-daemon/NetworkManagerInfoDbus.c
21179 info-daemon/NetworkManagerInfoDbus.h
21180 info-daemon/passphrase.glade
21181 info-daemon/NetworkManagerInfo.conf
21182 info-daemon/keyring.png
21183 - Import sources for info-daemon, which pops up dialog for passphrase/key when
21184 NetworkManager asks for it, and also will (soon) provide "allowed" access point
21185 lists to NetworkManager by proxying user's GConf
21188 2004-07-15 Dan Williams <dcbw@redhat.com>
21193 * src/NetworkManager.c
21194 - nm_create_device_and_add_to_list(): call nm_device_deactivate() rather
21195 that doing the deactivation ourselves
21196 - Cancel an pending actions on a device if its being removed
21197 - Break up link state checking a bit, make non-active wireless cards
21198 deactivated to save power
21199 - Remove unused variables
21201 * src/NetworkManager.h
21202 - Add support for "pending" device
21204 * src/NetworkManagerAP.h
21205 src/NetworkManagerAP.c
21206 - Add support for determining whether and AP has encryption enabled or not
21207 - AP address is now "struct ether_addr" rather than a string
21209 * src/NetworkManagerDbus.h
21210 src/NetworkManagerDbus.c
21211 - Add signal NeedKeyForNetwork, method SetKeyForNetwork (testing only)
21212 - Changes for AP address from struct ether_addr->string
21214 * src/NetworkManagerDevice.h
21215 src/NetworkManagerDevice.c
21216 - Remove unused variables, fix warnings
21217 - Add support for Pending Actions (things that block a device from being "active"
21218 until they are completed).
21219 - First pending action: Get a WEP key from the user
21220 - Add nm_device_is_wire[d|less](), rename nm_device_is_wireless()
21221 - Clean up explicit testing of dev->iface_type to use nm_device_is_wireless()
21222 - Update wireless link checking to try to determine if the AP we are associated
21223 with is correct, but the WEP key we are using is just wrong. If its wrong,
21224 trigger the GetUserKey pending action on the device
21225 - If dhclient can't get an IP address, it brings the device down. Bring it back
21226 up in that case, otherwise we can't scan or link-check on it
21227 - Add IP address change notifications at appropriate points (still needs some work)
21228 - Add nm_device_need_ap_switch(), checks whether we need to switch access points or not
21230 * src/NetworkManagerPolicy.h
21231 src/NetworkManagerPolicy.c
21232 - Split out "best" access point determiniation into separate function
21233 - Make device activation 2-stage: first the device is pending, then
21234 in the next iteration through it becomes "active" unless it has
21237 * src/NetworkManagerUtils.h
21238 src/NetworkManagerUtils.c
21239 - Clean up unused variables and warnings
21240 - Wrap our debug macros in {} to prevent possible confusion
21242 * src/NetworkManagerWireless.c
21243 - Forgot to return current best priority, which lead to last available AP always
21244 being chosen no matter what its priority was. Corrected.
21246 2004-07-15 Dan Williams <dcbw@redhat.com>
21248 * dispatcher-daemon/Makefile.am
21251 * dispatcher-daemon/NetworkManagerDispatcher.c
21252 - Remove unused variables due to warnings
21253 - Fix some comments
21254 - Print message on receipt of NeedKeyForNetwork signal (testing only)
21256 2004-07-06 Dan Williams <dcbw@redhat.com>
21258 * src/NetworkManager.c
21259 - Add IPv4 address update for active device during link state check
21260 - Don't allow wireless cards to be powered up when they are not the
21263 * src/NetworkManagerDbus.c
21264 src/NetworkManagerDbus.h
21265 - Add DBUS IPv4 address change signal
21266 - Add DBUS IPv4 address get method for devices
21268 * src/NetworkManagerDevice.c
21269 - Make setting the WEP key actually work
21270 - Move IP address get/set/update stuff here, per-device
21271 - Power down/bring down wireless device when deactivated
21272 - For scanning wireless devices, if first scan returned ENODATA, try again
21274 * src/NetworkManagerPolicy.c
21275 - Only set the WEP key for an allowed access point if there is one.
21276 We were setting it to be blank if one wasn't specified.
21278 * src/NetworkManagerUtils.h
21279 src/NetworkManagerUtils.c
21280 - Move the IP address stuff to NetworkManagerDevice.c
21282 * dispatcher-daemon/NetworkManagerDispatcher.c
21283 - Add device IPv4 address change notification stuff
21285 2004-07-05 Dan Williams <dcbw@redhat.com>
21287 * dispatcher-daemon/NetworkManagerDispatcher.c
21288 - A bit more descriptive state message
21289 - Don't segfault when reading directory
21291 * src/NetworkManager.h
21292 - Remove NMData desired_ap member, its now
21293 per-device rather than global
21295 * src/NetworkManager.c
21296 - Remove references to desired_ap
21297 - Move the allowed AP list refresh stuff into a thread
21299 * src/NetworkManagerDevice.c
21300 src/NetworkManagerDevice.h
21301 - Each wireless device now has a "best ap"
21302 - Make device activate/deactivate functions per-device
21303 - Make wireless scanning per-device
21304 - Add IPv4 address discover functions, stub IPv6 ones
21305 - Move ethernet address validation functions to NetworkManagerUtils.c
21306 - Add wireless access point accessor function
21307 - Get/Set functions for "best ap"
21309 * src/NetworkManagerPolicy.c
21310 - Move activate/deactivate stuff into NetworkManagerDevice.c, per-device
21311 - Deal with per-device "best ap" rather than data->desired_apa
21312 - Implement allowed access point worker thread
21313 - Add nm_policy_essid_is_allowed() function
21315 * src/NetworkManagerUtils.c
21316 src/NetworkManagerUtils.h
21317 - Add nm_ethernet_address_is_valid() function
21318 - Add IPv4/IPv6 address get functions
21320 * src/NetworkManagerWireless.c
21321 src/NetworkManagerWireless.h
21322 - Move scanning stuff into NetworkManagerDevice.c, per-device
21324 2004-06-29 Dan Williams <dcbw@redhat.com>
21326 * dispatcher-daemon/NetworkManagerDispatcher.c
21327 - Implement script callout functionality
21329 2004-06-24 Dan Williams <dcbw@redhat.com>
21333 - Flush device routes and ip addresses when added to the device list
21335 * NetworkManagerDbus.c
21337 - Add missing returns in the two signal functions
21339 * NetworkManagerPolicy.c
21340 - Spacing and variable cleanups
21342 2004-06-24 Dan Williams <dcbw@redhat.com>
21347 dispatcher-daemon/Makefile.am
21348 dispatcher-daemon/Makefile.in
21349 dispatcher-daemon/NetworkManagerDispatcher.c
21350 - Add a daemon that receives signals from NetworkManager
21351 and will (eventually) call scripts in /etc/somewhere
21352 when devices go up or down.
21356 - Flush device routes and ip addresses when added to the device list
21358 * NetworkManagerDbus.c
21360 - Add missing returns in the two signal functions
21362 * NetworkManagerPolicy.c
21363 - Spacing and variable cleanups
21364 - Rename nm_policy_switch_interface->nm_policy_switch_device
21365 - nm_policy_switch_device():
21366 Use kill (pid) instead of system ("kill <pid>")
21367 - nm_state_modification_monitor():
21368 Add wireless essid to output of debug statements
21369 Correct typo in device compare to switch or not (should be !=)
21370 Don't sleep after sending "no longer active" signal, was useless
21372 2004-06-24 Dan Williams <dcbw@redhat.com>